/* Auth Page Styles */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.auth-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

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

.auth-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg-elevated);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 32px;
}

.auth-tab {
    flex: 1;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.auth-tab.active {
    background: linear-gradient(135deg, var(--accent) 0%, #9333ea 100%);
    color: white;
    box-shadow: 0 4px 12px var(--glow);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.btn-block {
    width: 100%;
}

.auth-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
}

.auth-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--red);
}

.auth-message .resend-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    margin-left: 8px;
    transition: all 0.2s;
    display: inline-block;
}

.auth-message .resend-link:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

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

.auth-footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Auth Features */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateX(8px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(124, 58, 237, 0.1));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--accent-light);
}

.feature-text {
    flex: 1;
}

.feature-text strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.feature-text span {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 968px) {
    .auth-section {
        padding: 100px 0 60px;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .auth-box {
        padding: 32px;
    }
    
    .auth-features {
        order: -1;
    }
}

@media (max-width: 768px) {
    .auth-section {
        padding: 90px 0 40px;
    }
    
    .auth-box {
        padding: 28px;
        border-radius: 20px;
    }
    
    .auth-header {
        margin-bottom: 32px;
    }
    
    .auth-title {
        font-size: 28px;
    }
    
    .auth-subtitle {
        font-size: 15px;
    }
    
    .auth-tabs {
        margin-bottom: 28px;
    }
    
    .auth-tab {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-input {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    .feature-item {
        padding: 20px;
        gap: 16px;
    }
    
    .feature-icon {
        width: 48px;
        height: 48px;
    }
    
    .feature-icon svg {
        width: 24px;
        height: 24px;
    }
    
    .feature-text strong {
        font-size: 15px;
    }
    
    .feature-text span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .auth-section {
        padding: 80px 0 30px;
    }
    
    .auth-box {
        padding: 24px;
    }
    
    .auth-title {
        font-size: 24px;
    }
    
    .auth-subtitle {
        font-size: 14px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        font-size: 14px;
    }
    
    .feature-item {
        padding: 16px;
        flex-direction: column;
        text-align: center;
    }
}