:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Override body background for auth page */
body {
    background: var(--gradient-1) !important;
    background-size: 400% 400% !important;
    animation: gradient-shift 15s ease infinite !important;
    min-height: 100vh;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.logo {
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    color: white;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.auth-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

.auth-section.active {
    display: block;
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.auth-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-control {
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.input-group .form-control {
    padding-right: 3rem;
}

.input-group-text {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    z-index: 10;
    cursor: pointer;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

.btn-primary {
    background: var(--gradient-1);
    border: none;
    padding: 0.875rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-primary:hover {
    color: var(--primary-dark) !important;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}

.divider span {
    background: white;
    padding: 0 1rem;
    color: #64748b;
    font-size: 0.9rem;
    position: relative;
}

@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }

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

    .logo {
        font-size: 2rem;
    }
}