/* Auth Pages Styles */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: flex;
    width: 100%;
    min-height: 100vh;
    position: relative;
}

.auth-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
}

.auth-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
    position: relative;
    z-index: 1;
    max-width: 550px;
    margin: 0 auto;
}

.auth-sidebar {
    flex: 1;
    background: linear-gradient(135deg, rgba(193, 59, 246, 0.1) 0%, rgba(178, 6, 212, 0.1) 100%);
    border-left: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    z-index: 1;
}

.auth-sidebar-content {
    max-width: 500px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-decoration: none;
}

.auth-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.auth-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Form Container */
.auth-form-container {
    background: rgba(52, 30, 59, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
}

.form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--spacing-sm);
}

.form-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.form-link:hover {
    color: var(--secondary);
}

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition-fast);
}

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

/* Password Strength */
.password-strength {
    margin-top: var(--spacing-sm);
}

.password-strength-bar {
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.password-strength-fill {
    height: 100%;
    width: 0%;
    background: var(--text-muted);
    transition: all var(--transition-base);
}

.password-strength-fill.weak {
    width: 33%;
    background: var(--error);
}

.password-strength-fill.medium {
    width: 66%;
    background: var(--warning);
}

.password-strength-fill.strong {
    width: 100%;
    background: var(--success);
}

.password-strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 0.125rem;
}

.checkbox-label span a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-label span a:hover {
    text-decoration: underline;
}

/* Social Button */
.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
}

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    text-align: center;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border);
}

.auth-divider span {
    padding: 0 1rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Footer */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.auth-link:hover {
    color: var(--secondary);
}

/* Sidebar Content */
.auth-sidebar-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.auth-sidebar-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.auth-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.auth-feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(215, 59, 246, 0.1);
    border: 1px solid rgba(209, 59, 246, 0.2);
    border-radius: var(--radius-lg);
    color: var(--primary);
    flex-shrink: 0;
}

.auth-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.auth-feature-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Testimonial */
.auth-testimonial {
    padding: 1.5rem;
    background: rgba(50, 30, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.auth-testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-style: italic;
}

.auth-testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
}

.auth-testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}

.auth-testimonial-role {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Stats Grid */
.auth-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.auth-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}

.auth-stat-value {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.auth-stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Benefits */
.auth-benefits {
    margin-bottom: 2.5rem;
}

.auth-benefits-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.auth-benefits-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.auth-benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.auth-benefits-list li:before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    font-size: 1.125rem;
}

/* Trust Badges */
.auth-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(45, 30, 59, 0.5);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.trust-badge svg {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .auth-sidebar {
        display: none;
    }
    
    .auth-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .auth-content {
        padding: 2rem 1.5rem;
    }
    
    .auth-form-container {
        padding: 1.5rem;
    }
    
    .auth-title {
        font-size: 1.75rem;
    }
    
    .auth-stats-grid {
        grid-template-columns: 1fr;
    }
}
