/* ==========================================================================
   BIZBOOST - AUTHENTICATION PAGES STYLES (login.css)
   ========================================================================== */

/* Auth Page Body Setup */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(20, 125, 237, 0.06) 0%, rgba(255, 255, 255, 0) 50%),
                radial-gradient(circle at 20% 80%, rgba(74, 144, 226, 0.04) 0%, rgba(255, 255, 255, 0) 50%);
    padding: 24px;
}

/* Card Layout */
.auth-card {
    background: var(--secondary-color);
    width: 100%;
    max-width: 460px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0, 0, 0, 0.03);
    padding: 40px;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Auth Header */
.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header .logo-text {
    font-size: 2.25rem;
    margin-bottom: 12px;
}

.auth-header h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 700;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6px;
}

/* Auth Form Groups */
.auth-group {
    margin-bottom: 20px;
    position: relative;
}

.auth-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-color);
}

.auth-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input-wrapper input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dcdcdc;
    border-radius: var(--border-radius-sm);
    font-size: 0.95rem;
    background-color: var(--background-color);
    color: var(--text-color);
    transition: var(--transition-normal);
}

.auth-input-wrapper input:focus {
    border-color: var(--primary-color);
    background-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(20, 125, 237, 0.15);
}

/* Password Toggle Icon */
.toggle-password-btn {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.toggle-password-btn:hover {
    color: var(--primary-color);
}

.password-icon {
    width: 18px;
    height: 18px;
}

/* Checkbox and links alignment */
.auth-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.auth-link {
    color: var(--primary-color);
    font-weight: 700;
}

.auth-link:hover {
    text-decoration: underline;
}

/* Auth Buttons */
.auth-card .btn-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.auth-footer-text {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 30px;
}

/* Validation Feedback Styles */
.error-text {
    color: #ef4444;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
}

.input-error {
    border-color: #ef4444 !important;
    background-color: rgba(239, 68, 68, 0.02) !important;
}

.form-feedback {
    padding: 12px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}

.form-feedback.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ==========================================================================
   AUTHENTICATION BREAKPOINTS
   ========================================================================== */
@media (max-width: 480px) {
    .auth-card {
        padding: 30px 20px;
    }
    .auth-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}