:root {
    --primary-gradient: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    --nav-gradient: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
    --accent-color: #ffd700;
    --accent-color-rgb: 255, 215, 0;
    --text-dark: #2d3748;
    --text-light: #4a5568;
    --nav-text: #ffffff;
    --nav-hover: #ffd700;
}

/* Global styles */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-color: #f7fafc;
    color: var(--text-dark);
}

/* Auth pages shared styles */
.auth-wrapper {
    position: relative;
    min-height: calc(100vh - 56px);
    display: flex;
    background-color: #fff;
}

.auth-illustration {
    width: 40%;
    background: var(--nav-gradient);
    color: white;
    display: flex;
    flex-direction: column;
    position: relative;
}

.illustration-content {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.brand-logo {
    margin-bottom: 2rem;
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--accent-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.auth-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 1.75rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-card p {
    font-size: 0.9rem;
    opacity: 0.8;
    color: white;
    line-height: 1.4;
}

.auth-form {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.form-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-top: 4rem;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 64px;
    background: var(--nav-gradient);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.15);
}

.form-header i {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.75rem;
    color: white;
    z-index: 1;
}

.form-header h2 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.form-section {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #718096;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.input-with-icon input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.input-with-icon input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(var(--accent-color-rgb), 0.1);
    outline: none;
    background-color: white;
}

.input-with-icon:focus-within i {
    color: var(--accent-color);
}

.submit-btn {
    width: 100%;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    background: var(--nav-gradient);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(45, 55, 72, 0.15);
}

.form-actions {
    text-align: center;
    margin-top: 1.5rem;
}

.form-actions p {
    margin-top: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.form-actions a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.form-actions a:hover {
    color: var(--accent-color);
    background: rgba(var(--accent-color-rgb), 0.1);
}

.form-actions a i {
    font-size: 0.9rem;
}

/* Error message styling */
.error-message {
    color: #e53e3e;
    background: #fff5f5;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

/* Responsive Design */
@media (max-width: 991px) {
    .auth-wrapper {
        flex-direction: column;
    }

    .auth-illustration {
        width: 100%;
        min-height: 280px;
    }

    .auth-form {
        width: 100%;
        padding: 2rem 1rem;
    }

    .form-wrapper {
        padding: 1.5rem;
        max-width: 400px;
    }

    .features-wrapper {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    .auth-illustration {
        min-height: 240px;
    }

    .illustration-content {
        padding: 1.5rem;
    }

    .auth-title {
        font-size: 1.75rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .auth-form {
        padding: 1.5rem 1rem;
    }

    .form-wrapper {
        padding: 1.25rem;
        box-shadow: none;
    }

    .form-header {
        padding-top: 3.5rem;
    }

    .form-header h2 {
        font-size: 1.5rem;
    }
} 