/**
 * Auth Pages Styling
 * Clean, modern auth forms inspired by VOT
 */

/* Auth page body */
.auth-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.auth-page #header {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

.auth-page .lp-navbar {
    background: transparent;
    box-shadow: none;
    border-bottom: none;
}

/* Auth container */
.auth-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* Auth card */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 2.5rem;
}

/* Auth header */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-logo {
    font-weight: 800;
    font-size: 1.75rem;
    background: var(--theme-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--theme-text-primary);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

/* Form styling */
.auth-form .form-label {
    font-weight: 500;
    color: var(--theme-text-secondary);
    margin-bottom: 0.5rem;
}

.auth-form .form-control {
    border: 1px solid var(--theme-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
    border-color: var(--theme-primary);
    box-shadow: 0 0 0 3px rgba(var(--theme-primary-rgb), 0.15);
}

.auth-form .form-control::placeholder {
    color: #94a3b8;
}

/* Password toggle */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--theme-text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: var(--theme-text-primary);
}

/* Remember me checkbox */
.auth-form .form-check-input:checked {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.auth-form .form-check-label {
    color: var(--theme-text-secondary);
}

/* Auth link */
.auth-link {
    color: var(--theme-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.auth-link:hover {
    color: var(--theme-primary-dark, #4338ca);
    text-decoration: underline;
}

/* Submit button */
.auth-form .btn-primary {
    background: var(--theme-gradient-primary);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.auth-form .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--theme-primary-rgb), 0.3);
}

.auth-form .btn-primary:active {
    transform: translateY(0);
}

.auth-form .btn-primary:disabled {
    opacity: 0.7;
    transform: none;
}

/* Button loading state */
.btn-loader {
    display: inline-flex;
    align-items: center;
}

/* Auth footer */
.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--theme-border);
}

.auth-footer p {
    color: var(--theme-text-muted);
    margin-bottom: 0;
}

/* Alert styling */
.auth-form .alert {
    border-radius: 8px;
    border: none;
    font-size: 0.875rem;
}

.auth-form .alert-danger {
    background: #fef2f2;
    color: #991b1b;
}

.auth-form .alert-success {
    background: #f0fdf4;
    color: #166534;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .auth-title {
        font-size: 1.25rem;
    }
}
