/* Authentication Pages Styling */

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    max-width: 450px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.auth-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: var(--spacing-xs);
}

.auth-subtitle {
    color: var(--gray);
    font-size: 1rem;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.875rem;
}

.form-input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: all 0.2s;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input::placeholder {
    color: var(--gray-light);
}

.form-hint {
    color: var(--gray);
    font-size: 0.75rem;
}

.form-help {
    display: block;
    color: var(--gray);
    font-size: 0.813rem;
    margin-top: 0.375rem;
    line-height: 1.4;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-xs);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    font-size: 0.875rem;
    color: var(--gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    cursor: pointer;
}

.link-text {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.link-text:hover {
    color: var(--primary-dark);
}

/* Auth Buttons */
.btn-auth,
.btn-auth-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}

.btn-auth {
    background: var(--primary);
    color: var(--white);
}

.btn-auth:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-auth:active {
    transform: translateY(0);
}

.btn-auth-secondary {
    background: var(--gray-lighter);
    color: var(--dark);
}

.btn-auth-secondary:hover {
    background: var(--gray-light);
}

.auth-divider {
    text-align: center;
    color: var(--gray);
    font-size: 0.875rem;
    margin: var(--spacing-md) 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--gray-light);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

/* Alerts */
.alert {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    margin-top: var(--spacing-md);
    font-size: 0.875rem;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        padding: var(--spacing-lg);
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
}

