/* Giriş/Kayıt Sayfası CSS (10.png - Sol Dikey Form - Büyük Logo) */

:root {
    --primary-gradient: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    --secondary-gradient: linear-gradient(135deg, #fc8181 0%, #f5576c 100%);
    --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);

    --primary-color: #e53e3e;
    --secondary-color: #c53030;
    --accent-color: #4facfe;
    --white: #ffffff;

    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.9);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;

    --transition: 0.2s ease;
}

body,
html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    background-color: #0d1b2a;
}

.auth-container {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;

    /* Soldan %10 boşluk */
    padding-left: 10%;
    padding-right: 1rem;

    position: relative;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    overflow: hidden;
    /* Prevent zoom overflow */
}

@media (max-width: 1024px) {
    .auth-container {
        justify-content: center;
        padding-left: 1rem;
    }
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    z-index: 0;
}

.background-image.active {
    opacity: 1;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.1) 0%,
            rgba(0, 0, 0, 0.2) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.auth-box {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);

    margin-top: 0;

    /* Dikey Form Yapısı */
    display: flex;
    flex-direction: column;

    width: 420px;
    height: auto;
    max-width: 95%;

    overflow: hidden;
    /* Animasyonlar kaldırıldı */
    /* animation: fadeInUp 0.8s ease-out; */
}

/* Üst Kısım: Logo ve Başlık */
.auth-header {
    flex: 0 0 auto;
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--glass-border);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
}

.auth-header .logo img {
    /* Logo Büyütüldü (160px) */
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
    object-fit: cover;
    transition: transform 0.3s ease;
    margin-bottom: 1rem;
}

/* Logo hover efekti kaldırıldı */
/* .auth-header .logo img:hover {
    transform: scale(1.05);
} */

.auth-header .title-text {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    /* Animasyon kaldırıldı */
    /* animation: fadeIn 0.6s ease-out 0.2s both; */
}

.auth-header h1:first-child {
    display: none;
}

.auth-header h1:last-child {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff !important;
    /* Dark mode'da etkilenmemesi için */
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3), 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    margin: 0;
    text-transform: uppercase;
}

.auth-header p {
    display: none;
}

/* Alt Kısım: Form Alanları */
.auth-form {
    flex: 1;
    width: 100%;
    padding: 2rem;
    display: none;
    flex-direction: column;
    justify-content: center;
}

.auth-form.active {
    display: flex;
    /* animation: fadeIn 0.4s ease-in-out; */
}

.auth-form h2 {
    display: none;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-group input,
.auth-form .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;

    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.auth-form .form-group input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(79, 172, 254, 0.2);
}

.auth-form .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-form .form-actions {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1rem !important;
    padding-top: 1rem;
}

.auth-form .btn {
    margin-top: 0.8rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.auth-form .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.4);
}

.auth-links {
    display: none;
}

.error-message {
    padding: 0;
    margin-bottom: 0.8rem;
    background: transparent;
    border: none;
    color: var(--accent-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.error-message i {
    color: var(--accent-color);
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: var(--white);
}

@media (max-width: 768px) {
    .auth-container {
        align-items: center;
        background-position: center center;
        background-size: cover;
        padding-left: 1rem;
        justify-content: center;
    }

    .auth-box {
        width: 100%;
        margin: 1rem;
    }

    /* Mobil için başlık fontunu küçült */
    .auth-header h1:last-child {
        font-size: 1.1rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}