/* Yedekler Auth — modern split portal */
:root {
    --auth-ink: #121820;
    --auth-muted: #667280;
    --auth-line: #e7ecf1;
    --auth-panel: #ffffff;
    --auth-soft: #f6f8fa;
    --auth-red: #D71920;
    --auth-red-dark: #A6121A;
    --auth-blue: #111111;
}

.efor-auth-shell {
    margin: 0;
    min-height: 100vh;
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--auth-ink);
    background: #161c32;
}

.efor-auth-frame {
    min-height: 100vh;
    height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 480px);
    overflow: hidden;
}

.efor-auth-frame--wide {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 480px);
}

.efor-auth-visual {
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 0;
    color: #fff;
    background: #161c32;
}

.efor-auth-visual-media {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1);
    transform-origin: center center;
    opacity: 0;
    z-index: 0;
    will-change: transform, opacity;
    transition: opacity .6s ease;
}

.efor-auth-visual-media.is-on {
    opacity: 1;
    z-index: 1;
    animation: authHeroBreath 13s ease-in-out 1 both;
}

.efor-auth-visual-media.is-on.is-quick {
    animation-duration: 2.5s;
}

.efor-auth-visual-media.is-on.is-loop {
    animation-iteration-count: infinite;
}

.efor-auth-visual-overlay {
    display: none;
}

.efor-auth-visual-brands {
    display: none;
}

.efor-auth-visual-kicker {
    margin: 0;
    text-align: center;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--efor-red, #D71920);
}

.efor-auth-visual-brands ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
}

.efor-auth-visual-brands li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 0;
    padding: 4px 18px;
    text-align: center;
    border-right: 1px solid #e2e7ee;
}

.efor-auth-visual-brands li:last-child {
    border-right: 0;
}

.efor-auth-visual-brands__logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 168px;
    object-fit: contain;
}

.efor-auth-visual-brands__tag {
    font-size: .78rem;
    font-weight: 600;
    color: var(--auth-muted);
    line-height: 1.35;
}

.efor-auth-visual-brands__tag--center {
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.efor-auth-panel {
    background: var(--auth-panel);
    display: flex;
    align-items: stretch;
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.efor-auth-panel-inner {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    padding: clamp(28px, 5vh, 56px) clamp(24px, 4vw, 40px);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.efor-auth-frame--wide .efor-auth-panel-inner {
    max-width: 460px;
}

.efor-auth-brand {
    margin-bottom: 28px;
}

.efor-auth-brand-link {
    display: inline-block;
}

.efor-auth-brand-link img {
    display: block;
    height: 56px;
    width: auto;
    max-width: min(360px, 88vw);
    aspect-ratio: 500 / 112;
    object-fit: contain;
}

.efor-auth-brand-sub {
    margin: 14px 0 0;
    color: var(--auth-muted);
    font-size: .95rem;
    font-weight: 500;
}

.efor-auth-h1 {
    margin: 0 0 8px;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.efor-auth-lead {
    margin: 0 0 28px;
    color: var(--auth-muted);
    font-size: .95rem;
    line-height: 1.55;
}

.efor-auth-actions {
    display: grid;
    gap: 12px;
}

.efor-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none !important;
    transition: transform .15s ease, background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.efor-auth-btn:hover {
    transform: translateY(-1px);
}

.efor-auth-btn-primary {
    background: var(--auth-red);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(211, 14, 21, .22);
}

.efor-auth-btn-primary:hover {
    background: var(--auth-red-dark);
    color: #fff !important;
}

.efor-auth-btn-secondary {
    background: var(--auth-ink);
    color: #fff !important;
}

.efor-auth-btn-secondary:hover {
    background: #1d2733;
    color: #fff !important;
}

.efor-auth-btn-ghost {
    background: var(--auth-soft);
    border-color: var(--auth-line);
    color: var(--auth-ink) !important;
}

.efor-auth-btn-ghost:hover {
    border-color: #c9d3de;
    color: var(--auth-ink) !important;
}

.efor-auth-btn-soft {
    background: rgba(1, 88, 162, .08);
    border-color: rgba(1, 88, 162, .18);
    color: var(--auth-blue) !important;
}

.efor-auth-btn-soft:hover {
    background: rgba(1, 88, 162, .12);
    color: var(--auth-blue) !important;
}

.efor-auth-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.efor-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0;
    color: var(--auth-muted);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.efor-auth-divider::before,
.efor-auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--auth-line);
}

.efor-auth-meta {
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.efor-auth-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--auth-soft);
    border: 1px solid var(--auth-line);
}

.efor-auth-meta-item strong {
    display: block;
    font-size: .88rem;
    margin-bottom: 2px;
}

.efor-auth-meta-item span {
    font-size: .8rem;
    color: var(--auth-muted);
    line-height: 1.4;
}

.efor-auth-meta-dot {
    width: 8px;
    height: 8px;
    margin-top: 6px;
    border-radius: 50%;
    background: var(--auth-red);
    flex-shrink: 0;
}

.efor-auth-form .form-label {
    font-size: .82rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.efor-auth-form .form-control {
    min-height: 46px;
    border-radius: 11px;
    border-color: #d7dee7;
    padding: .7rem .95rem;
    font-size: .95rem;
    background: #fff;
}

.efor-auth-form .form-control:focus {
    border-color: rgba(211, 14, 21, .45);
    box-shadow: 0 0 0 3px rgba(211, 14, 21, .12);
}

.efor-auth-form .form-check-label {
    color: var(--auth-muted);
    font-size: .9rem;
}

.efor-auth-links {
    margin-top: 18px;
    text-align: center;
    font-size: .88rem;
    color: var(--auth-muted);
}

.efor-auth-links a {
    color: var(--auth-blue) !important;
    font-weight: 700;
    text-decoration: none;
}

.efor-auth-links a:hover {
    color: var(--auth-red) !important;
}

.efor-auth-note {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--auth-soft);
    color: var(--auth-muted);
    font-size: .82rem;
    line-height: 1.45;
}

.efor-auth-register-cta {
    margin-top: 22px;
    padding: 18px 16px;
    border-radius: 14px;
    border: 1px solid var(--auth-line);
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    text-align: center;
}

.efor-auth-register-cta__label {
    margin: 0 0 12px;
    font-size: .95rem;
    font-weight: 800;
    color: var(--auth-ink);
    letter-spacing: -.01em;
}

.efor-auth-register-cta__btn {
    width: 100%;
    box-shadow: 0 8px 20px rgba(18, 24, 32, .12);
}

.efor-auth-register-cta__hint {
    margin: 12px 0 0;
    font-size: .8rem;
    line-height: 1.45;
    color: var(--auth-muted);
}

.efor-auth-foot {
    margin-top: auto;
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: .78rem;
    color: var(--auth-muted);
}

.efor-auth-foot a {
    color: var(--auth-muted) !important;
    text-decoration: none;
}

.efor-auth-foot a:hover {
    color: var(--auth-ink) !important;
}

.efor-auth-foot a.ydk-ajans {
    font-family: "Cinzel", "Trajan Pro", Trajan, "Times New Roman", serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.28em !important;
    color: #6e5b45 !important;
    text-transform: lowercase;
}

.efor-auth-foot a.ydk-ajans:hover {
    color: #3d3124 !important;
}

.efor-auth-section-label {
    margin: 18px 0 10px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--auth-muted);
}

@keyframes authHeroBreath {
    0% { transform: scale(1); }
    42% { transform: scale(1.18); }
    58% { transform: scale(1.18); }
    100% { transform: scale(1); }
}

@media (max-width: 1199.98px) {
    .efor-auth-visual-brands ul {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 991.98px) {
    .efor-auth-frame,
    .efor-auth-frame--wide {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .efor-auth-visual {
        min-height: 240px;
        max-height: 32vh;
        height: auto;
    }

    .efor-auth-visual-brands {
        padding: 18px 16px 20px;
        gap: 14px;
    }

    .efor-auth-visual-brands ul {
        grid-template-columns: 1fr 1fr;
        row-gap: 18px;
    }

    .efor-auth-visual-brands li {
        border-right: 0;
        padding: 0 8px;
    }

    .efor-auth-visual-brands li:nth-child(odd) {
        border-right: 1px solid #e2e7ee;
    }

    .efor-auth-panel {
        min-height: auto;
        height: auto;
        overflow: visible;
    }
}

@media (prefers-reduced-motion: reduce) {
    .efor-auth-visual-media,
    .efor-auth-visual-media.is-on,
    .efor-auth-visual-media.is-on.is-quick {
        animation: none;
    }

    .efor-auth-btn:hover {
        transform: none;
    }
}

/* Giriş ekranı: kayan marka bandı */
.ydk-brand-band {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 9%;
    z-index: 2;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 18px 40px -22px rgba(8, 12, 24, .55), 0 1px 0 rgba(255, 255, 255, .6) inset;
    backdrop-filter: saturate(140%) blur(6px);
}

.ydk-brand-band::before,
.ydk-brand-band::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--auth-red) 20%, var(--auth-red) 80%, transparent);
    opacity: .85;
}

.ydk-brand-band::before { top: 0; }
.ydk-brand-band::after { bottom: 0; opacity: .25; }

.ydk-brand-band__viewport {
    overflow: hidden;
    padding: 14px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
}

.ydk-brand-band__track {
    display: flex;
    width: max-content;
    animation: ydkBrandScroll calc(var(--ydk-brand-count, 36) * 2.4s) linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.ydk-brand-band__list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ydk-brand-band__list li {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    position: relative;
}

.ydk-brand-band__list li::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 1px;
    height: 28px;
    transform: translateY(-50%);
    background: #e6eaef;
}

.ydk-brand-band__list img {
    display: block;
    height: 58px;
    width: auto;
    aspect-ratio: 360 / 150;
    object-fit: contain;
    filter: saturate(.95);
    transition: transform .25s ease, filter .25s ease;
}

.ydk-brand-band__list img:hover {
    transform: scale(1.06);
    filter: saturate(1.15);
}

/* Giriş ekranı: marka bandının üstündeki yazı (arka plan yok; fotoğrafı kapatmaz) */
.ydk-auth-tagline {
    position: absolute;
    left: clamp(24px, 5vw, 64px);
    right: clamp(24px, 5vw, 64px);
    bottom: calc(100% + clamp(18px, 3vh, 34px));
    color: #fff;
    pointer-events: none;
    text-shadow:
        0 1px 1px rgba(4, 8, 18, .75),
        0 2px 6px rgba(4, 8, 18, .65),
        0 6px 18px rgba(4, 8, 18, .55),
        0 12px 36px rgba(4, 8, 18, .45);
}

/* Yazının arkasında kenarları tamamen şeffaf, çok hafif bir koyuluk; fotoğrafı kapatmadan okunurluk verir */
.ydk-auth-tagline::before {
    content: "";
    position: absolute;
    z-index: -1;
    left: -48px;
    right: auto;
    top: -34px;
    bottom: -30px;
    width: min(100% + 96px, 520px);
    background: radial-gradient(ellipse at 35% 55%, rgba(4, 8, 18, .42) 0%, rgba(4, 8, 18, .22) 45%, rgba(4, 8, 18, 0) 72%);
    filter: blur(6px);
}

.ydk-auth-tagline__lead {
    margin: 0;
    max-width: 32ch;
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: .01em;
}

.ydk-auth-tagline__sign {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
    font-size: clamp(9.5px, .68vw, 11px);
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .92);
}

.ydk-auth-tagline__sign::before {
    content: "";
    flex: 0 0 auto;
    width: 32px;
    height: 2px;
    border-radius: 2px;
    background: var(--auth-red);
    box-shadow: 0 2px 8px rgba(6, 10, 22, .35);
}

.ydk-auth-tagline__sign + .ydk-auth-tagline__sign {
    margin-top: 6px;
}

.ydk-auth-tagline__sign + .ydk-auth-tagline__sign::before {
    visibility: hidden;
}

@keyframes ydkBrandScroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 991.98px) {
    .ydk-brand-band { bottom: 0; }
    .ydk-brand-band__viewport { padding: 8px 0; }
    .ydk-brand-band__list li { padding: 0 14px; }
    .ydk-brand-band__list img { height: 40px; }
    .ydk-auth-tagline { left: 18px; right: 18px; bottom: calc(100% + 14px); }
    .ydk-auth-tagline__lead { font-size: 13px; line-height: 1.38; }
    .ydk-auth-tagline__sign { margin-top: 7px; font-size: 9px; letter-spacing: .18em; }
    .ydk-auth-tagline::before { left: -24px; top: -20px; bottom: -18px; width: min(100% + 48px, 380px); }
    .ydk-auth-tagline__sign::before { width: 22px; }
}
