/* Panel giriş (auth) ekranları ortak stilleri — view'lardaki inline style="..."
   attribute'larından taşındı (AGENTS.md md.10 view disiplini). Görünüm birebir. */

/* ui-ux-pro-max tasarım sistemi renk paleti — split giriş ekranında kullanılır. */
:root {
    --renk-birincil: #0F172A;
    --renk-ikincil: #1E293B;
    --renk-vurgu: #0369A1;
    --renk-vurgu-hover: #075985;
    --renk-zemin: #F8FAFC;
    --renk-metin: #020617;
    --renk-sinir: #E2E8F0;
    --renk-hata: #DC2626;
}

.yt-auth__logo-img {
    width: 60%;
}

.yt-auth__brand {
    font-size: 20px;
    color: white;
}

.yt-auth__honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

body.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--renk-zemin);
    font-family: 'Source Sans 3', 'Plus Jakarta Sans', system-ui, sans-serif;
}

.login-box {
    width: 380px;
    max-width: 92%;
    margin: 2rem auto;
}

.login-card-body {
    padding: 1.5rem;
}

/* Split-screen giriş ekranı (yonetim/giris) — sol görsel marka alanı, sağ form paneli.
   AdminLTE'nin body.login-page{display:flex;align-items:center;justify-content:center}
   kuralı split kapsayıcıyı içerik genişliğine küçültüp ortaladığı için önce burada
   sıfırlanır, sonra .yt-auth__split viewport'u position:fixed ile tam kaplar. */
body.yt-auth__body--split {
    display: block;
    align-items: stretch;
    justify-content: flex-start;
    flex-direction: row;
    height: auto;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--renk-zemin);
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    color: var(--renk-metin);
}

.yt-auth__split {
    position: fixed;
    inset: 0;
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.yt-auth__split-visual {
    position: relative;
    flex: 1 1 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, var(--renk-birincil) 0%, var(--renk-ikincil) 60%, var(--renk-birincil) 100%);
}

.yt-auth__split-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 45%);
}

.yt-auth__split-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.yt-auth__split-logo-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.yt-auth__split-logo-wrap::before {
    content: '';
    position: absolute;
    inset: -30%;
    z-index: 0;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, rgba(245, 158, 11, 0) 70%);
}

.yt-auth__split-logo {
    position: relative;
    z-index: 1;
    max-width: 280px;
    width: 60%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.yt-auth__split-title {
    margin: 1.5rem 0 0.25rem;
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.yt-auth__split-slogan {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.yt-auth__split-footnote {
    margin: 3rem 0 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.yt-auth__split-form {
    flex: 1 1 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--renk-zemin);
    overflow-y: auto;
}

.yt-auth__split-form-inner {
    width: 100%;
    max-width: 420px;
}

.yt-auth__split-form-inner .card {
    border: 0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}

.yt-auth__split-form-inner .login-card-body {
    padding: 2.5rem;
}

.yt-auth__split-form-header {
    margin-bottom: 1.5rem;
    text-align: left;
}

.yt-auth__split-form-title {
    margin: 0 0 0.25rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--renk-metin);
}

.yt-auth__split-form-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #64748B;
}

.yt-auth__label {
    display: block;
    margin-bottom: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--renk-metin);
}

.yt-auth__split-form-inner .form-control {
    min-height: 44px;
    border: 1px solid var(--renk-sinir);
    border-radius: 8px;
}

.yt-auth__split-form-inner .input-group-text {
    border: 1px solid var(--renk-sinir);
    border-radius: 8px;
    background: #ffffff;
}

.yt-auth__split-form-inner .form-control:focus {
    border-color: var(--renk-vurgu);
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.15);
    z-index: 3;
}

.yt-auth__split-form-inner .form-control:focus ~ .input-group-append .input-group-text {
    border-color: var(--renk-vurgu);
}

.yt-auth__split-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.yt-auth__link {
    color: var(--renk-vurgu);
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 200ms ease;
}

.yt-auth__link:hover,
.yt-auth__link:focus-visible {
    color: var(--renk-vurgu-hover);
}

.yt-auth__split-form-inner .btn-block {
    width: 100%;
    min-height: 44px;
    background-color: var(--renk-vurgu);
    border-color: var(--renk-vurgu);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.yt-auth__split-form-inner .btn-block:hover {
    background-color: var(--renk-vurgu-hover);
    border-color: var(--renk-vurgu-hover);
}

.yt-auth__split-form-inner .btn-block:focus-visible {
    box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.25);
    outline: none;
}

.yt-auth__split-form-inner .alert-danger {
    border-left: 3px solid var(--renk-hata);
    color: var(--renk-hata);
    background: rgba(220, 38, 38, 0.06);
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .yt-auth__link,
    .yt-auth__split-form-inner .btn-block {
        transition: none;
    }
}

@media (max-width: 767.98px) {
    body.yt-auth__body--split {
        overflow: visible;
    }

    .yt-auth__split {
        position: static;
        flex-direction: column;
        min-height: auto;
    }

    .yt-auth__split-visual {
        flex: 0 0 auto;
        width: 100%;
        min-height: 140px;
        padding: 1.5rem 0;
    }

    .yt-auth__split-logo {
        max-width: 160px;
    }

    .yt-auth__split-title {
        margin-top: 0.75rem;
        font-size: 1.375rem;
    }

    .yt-auth__split-slogan {
        font-size: 0.875rem;
    }

    .yt-auth__split-footnote {
        display: none;
    }

    .yt-auth__split-form {
        width: 100%;
        padding: 1.5rem 1rem;
    }

    .yt-auth__split-form-inner .login-card-body {
        padding: 1.5rem;
    }
}
