/* ============================================
   AUTH.CSS - Blue & White Theme
   ============================================ */

.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1a56db 50%, #1e40af 100%);
    padding: 20px;
}

.auth-card {
    background: white;
    padding: 45px 40px 40px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
    max-width: 440px;
    width: 100%;
    animation: fadeIn 0.5s ease;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.auth-header h1 {
    color: #1e293b;
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.auth-header p {
    color: #475569;
    font-size: 15px;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 6px;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
}

.auth-card .form-group input,
.auth-card .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
}

.auth-card .form-group input:focus,
.auth-card .form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.auth-card .form-group input::placeholder {
    color: #bbb;
}

.auth-card .form-group.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.auth-card .form-group.checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #3b82f6;
}

.auth-card .form-group.checkbox label {
    font-weight: normal;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    line-height: 1.5;
}

.auth-card .form-group.checkbox label a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 500;
}

.auth-card .form-group.checkbox label a:hover {
    text-decoration: underline;
}

.forgot-link {
    display: block;
    text-align: right;
    color: #1a56db;
    font-size: 13px;
    margin-top: 5px;
    text-decoration: none;
    cursor: pointer;
}

.forgot-link:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #1a56db);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(59, 130, 246, 0.5);
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #e2e8f0;
}

.auth-divider span {
    background: white;
    padding: 0 18px;
    position: relative;
    color: #94a3b8;
    font-size: 14px;
}

.social-btn {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: white;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1e293b;
}

.social-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.social-btn .google-icon {
    width: 20px;
    height: 20px;
}

.social-btn .google-icon svg {
    width: 100%;
    height: 100%;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    color: #475569;
    font-size: 15px;
}

.auth-footer a {
    color: #1a56db;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    text-decoration: underline;
    color: #1e40af;
}

.auth-error {
    color: #dc2626;
    background: #fef2f2;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
    border: 1px solid #fecaca;
}

.auth-error.visible {
    display: block;
}

.auth-success {
    color: #065f46;
    background: #ecfdf5;
    padding: 12px 16px;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    font-size: 14px;
    display: none;
    border: 1px solid #a7f3d0;
}

.auth-success.visible {
    display: block;
}

.password-strength {
    margin-top: 6px;
}

.password-strength .strength-bar {
    height: 4px;
    border-radius: 4px;
    background: #e2e8f0;
    transition: all 0.3s ease;
    width: 0%;
}

.password-strength .strength-text {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
    display: block;
    transition: all 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px 25px;
    }
    .auth-header h1 {
        font-size: 22px;
    }
    .auth-header p {
        font-size: 14px;
    }
    .auth-card .form-group input,
    .auth-card .form-group select {
        font-size: 14px;
        padding: 10px 14px;
    }
    .auth-btn {
        font-size: 15px;
        padding: 12px;
    }
    .auth-card .form-group.checkbox label {
        font-size: 13px;
    }
    .social-btn {
        font-size: 14px;
        padding: 10px;
    }
}