/* RemindIt Common Styles
   This file contains shared styles for all RemindIt backend HTML templates
   to ensure consistent look and feel across the application.
*/

:root {
    --primary-color: #4361ee;
    --success-color: #4CAF50;
    --error-color: #F44336;
    --warning-color: #FF9800;
    --text-primary: #333;
    --text-secondary: #666;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

h1 {
    font-weight: 700;
    font-size: 28px;
    margin: 20px 0;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 16px;
}

.logo {
    margin-bottom: 20px;
    max-width: 150px;
}

.footer {
    margin-top: 30px;
    font-size: 14px;
    color: #999;
}

/* Status icons */
.status-icon {
    font-size: 64px;
    margin: 20px 0;
    height: 80px;
    width: 80px;
    line-height: 80px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.approve {
    color: var(--success-color);
    background-color: rgba(76, 175, 80, 0.1);
}

.reject {
    color: var(--error-color);
    background-color: rgba(244, 67, 54, 0.1);
}

.maybe {
    color: var(--warning-color);
    background-color: rgba(255, 152, 0, 0.1);
}

.error {
    color: var(--error-color);
    background-color: rgba(244, 67, 54, 0.1);
}

/* Button styles for response selection */
.button-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 20px 0;
    width: 100%;
}

.response-button {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-weight: 500;
}

.response-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.response-button.approve {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.response-button.maybe {
    background-color: rgba(255, 152, 0, 0.1);
    color: var(--warning-color);
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.response-button.reject {
    background-color: rgba(244, 67, 54, 0.1);
    color: var(--error-color);
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.button-icon {
    font-size: 24px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.button-text {
    font-size: 16px;
}

/* Change answer link */
.change-answer-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: var(--primary-color);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.change-answer-link:hover {
    opacity: 1;
    text-decoration: underline;
}
