/* Auth Pages Specific Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.back-button {
    position: fixed;
    top: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    z-index: 10;
}

.back-button:hover {
    background: var(--bg-secondary);
    transform: translateX(-5px);
}

.back-button svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.theme-toggle-auth {
    position: fixed;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 10;
}

.theme-toggle-auth:hover {
    background: var(--bg-secondary);
    transform: scale(1.05);
}

.theme-toggle-auth svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
    stroke-width: 2;
    position: absolute;
    transition: all 0.3s;
}

.auth-box {
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

/* Terminal styles for auth pages */
.auth-box.terminal-window-modern {
    background: linear-gradient(135deg, #1e1e2e 0%, #2a2a3e 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .auth-box.terminal-window-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.auth-box .terminal-body-modern {
    padding: 2rem;
    font-family: 'Space Grotesk', sans-serif;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

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

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
}

.form-group label svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    stroke: var(--accent-primary);
}

.form-group input {
    padding: 1rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

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

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.message {
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.message.show {
    display: flex;
}

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

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

.btn-submit {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.btn-submit:hover {
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.btn-submit:active {
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.auth-footer p {
    color: var(--text-secondary);
}

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

.auth-footer a:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-box {
        padding: 2rem;
    }
    
    .back-button, .theme-toggle-auth {
        top: 1rem;
    }
    
    .back-button {
        left: 1rem;
    }
    
    .theme-toggle-auth {
        right: 1rem;
    }
}

/* Ana Sayfaya Dön Butonu */
.btn-back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    margin-top: 1rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-home:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-color: var(--accent-primary);
}

.btn-back-home svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
}

/* Auth Content Wrapper - Tek Kolon Layout */
.auth-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 480px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.6s ease-out;
}

/* Auth Features - Sağ Taraf */
.auth-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.features-header {
    text-align: center;
}

.features-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Feature Card Slider */
.feature-card-slider {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.feature-card-single {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 300px;
    width: 100%;
    max-width: 500px;
    animation: fadeInScale 0.6s ease-out;
}

.feature-card-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card-single:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.2);
}

.feature-card-single:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.4s;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.feature-card-single:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.feature-card-single h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    text-align: center;
}

.feature-card-single p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: all 0.3s;
}

.dot:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: scale(1.2);
}

.dot.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    width: 32px;
    border-radius: 6px;
}

/* Animations */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-30px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .auth-content-wrapper {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
    
    .auth-features {
        display: none;
    }
}

@media (max-width: 768px) {
    .auth-container {
        padding: 1rem;
    }
    
    .auth-content-wrapper {
        gap: 2rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
    }
}

/* Light Theme Adjustments */
[data-theme="light"] .feature-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    border-color: rgba(139, 92, 246, 0.25);
}

[data-theme="light"] .feature-card::before {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.15));
}

[data-theme="light"] .feature-card:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}
