/* =========================================================
   TAM DEĞERİ — LOGIN / REFERANS GÖRSEL FINAL
   ÖNEMLİ:
   - Arka plan fotoğrafı değiştirilmez.
   - Fotoğrafa filter / brightness / blur / global overlay uygulanmaz.
   - Yalnızca UI katmanları eklenir.
   - Orta giriş paneli ekran merkezindedir.
   - Sol tanıtım alanı referans tasarıma göre düzenlenmiştir.
   ========================================================= */

:root{
    --td-navy:#0B245C;
    --td-navy-2:#173e72;
    --td-blue:#0878f6;
    --td-blue-deep:#0753de;
    --td-gold:#C88A08;
    --td-text:#4e6687;
}

*{
    box-sizing:border-box;
}

html,
body{
    margin:0;
    width:100%;
    min-height:100%;
}

body{
    font-family:"Inter","Segoe UI",Arial,sans-serif;
    color:var(--td-navy);
}

button,
input{
    font:inherit;
}

a{
    color:inherit;
}


/* =========================================================
   ARKA SAHNE — FOTOĞRAFA DOKUNMA
   ========================================================= */

.login-page{
    min-height:100vh;
    position:relative;
    overflow:hidden;
    background:#0c65b6;
}

.login-page::before{
    content:"";
    position:fixed;
    inset:0;
    z-index:0;

    background-image:url("../../media/tam_degeri_login_scene_aerial.png");
    background-repeat:no-repeat;
    background-size:cover;
    background-position:center center;

    /* FOTOĞRAF AYNEN KALIR */
    filter:none;
    opacity:1;
}

/* Global renk/pus katmanı YOK */
.login-page::after{
    display:none;
    content:none;
}

.login-shell{
    position:relative;
    z-index:1;
    min-height:100vh;
}


/* =========================================================
   SOL ÜST MARKA
   ========================================================= */

.login-topbar{
    position:relative;
    z-index:20;

    width:calc(100% - 84px);
    height:92px;
    margin:0 auto;

    display:flex;
    align-items:center;
}

.td-brand{
    display:flex;
    align-items:center;
    gap:14px;
    text-decoration:none;
}

.td-brand-mark{
    width:52px;
    height:52px;
    flex:0 0 52px;

    display:grid;
    place-items:center;

    border-radius:13px;
    background:linear-gradient(145deg,#1287ff,#0765e8);

    box-shadow:
        0 11px 24px rgba(4,76,183,.20),
        inset 0 1px 0 rgba(255,255,255,.30);
}

.td-brand-mark svg{
    width:31px;
    height:31px;
}

.td-brand-mark svg path{
    fill:none;
    stroke:#ffffff;
    stroke-width:2.35;
    stroke-linecap:round;
    stroke-linejoin:round;
}

/* Kapı turuncu */
.td-brand-mark svg .brand-door{
    stroke:#ffb020;
    stroke-width:3.5;
}

.td-brand-name{
    color:#071f53;
    font-size:27px;
    line-height:1;
    font-weight:800;
    letter-spacing:-.03em;
    white-space:nowrap;
}

.td-brand-divider{
    width:1px;
    height:43px;
    margin-left:4px;
    background:rgba(9,40,84,.28);
}

.td-brand-tagline{
    color:#385575;
    font-size:14px;
    line-height:1.32;
    font-weight:600;
}


/* =========================================================
   ANA SAHNE
   ========================================================= */

.login-layout{
    position:relative;

    width:calc(100% - 84px);
    min-height:calc(100vh - 92px);
    margin:0 auto;
}


/* =========================================================
   SOL TANITIM
   ========================================================= */

.login-benefits{
    position:absolute;
    z-index:6;

    left:4.6%;
    top:45%;
    transform:translateY(-50%);

    width:440px;
    max-width:34vw;

    isolation:isolate;
}

/*
   Sadece okunabilirlik için kenarları görünmeyen şeffaf UI ışığı.
   Fotoğraf dosyasını veya tüm sahneyi değiştirmez.
*/
.login-benefits::before{

    content:"";
    position:absolute;
    z-index:-1;

    left:-52px;
    top:-46px;
    right:-42px;
    bottom:-48px;

    background:radial-gradient(
        ellipse at 34% 42%,
        rgba(238,249,255,.80) 0%,
        rgba(235,248,255,.62) 35%,
        rgba(231,246,255,.38) 58%,
        rgba(231,246,255,.16) 76%,
        rgba(231,246,255,0) 92%
    );

    filter:blur(16px);
    pointer-events:none;
}

.benefit-kicker{

    margin-bottom:15px;

    color:#B77A08;

    font-size:10.5px;
    line-height:1;
    font-weight:800;
    letter-spacing:.25em;
}

.benefit-title{

    margin:0;
    max-width:438px;

    color:#0B245C;

    font-family:"Playfair Display","DM Serif Display",Georgia,serif;
    font-size:50px;
    line-height:1.00;
    font-weight:700;
    letter-spacing:-.032em;

    text-shadow:none;
}

.benefit-title em{
    background:linear-gradient(180deg,#D9A323 0%, #C88A08 100%);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
    background-clip:text;
    color:transparent;
    font-style:normal;
    white-space:nowrap;
}

.benefit-lead{

    max-width:415px;
    margin:18px 0 0;

    color:#365B7D;

    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:13.5px;
    line-height:1.52;
    font-weight:600;

    text-shadow:none;
}

.benefit-list{
    display:grid;
    gap:16px;
    margin-top:25px;
}

.benefit-item{
    display:flex;
    align-items:center;
    gap:16px;
}

.benefit-icon{
    width:60px;
    height:60px;
    flex:0 0 60px;

    display:grid;
    place-items:center;

    border:1px solid rgba(255,255,255,.94);
    border-radius:18px;

    background:rgba(255,255,255,.92);

    color:#C88808;

    box-shadow:
        0 12px 26px rgba(8,49,100,.09),
        inset 0 1px 0 rgba(255,255,255,1);
}

.benefit-icon svg{
    width:32px;
    height:32px;

    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.benefit-item>div:last-child{
    display:grid;
    gap:3px;
}

.benefit-item strong{

    color:#0B245C;

    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:14.5px;
    line-height:1.24;
    font-weight:800;

    text-shadow:none;
}

.benefit-item span{

    max-width:305px;

    color:#3E6080;

    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:11.5px;
    line-height:1.42;
    font-weight:500;

    text-shadow:none;
}


/* =========================================================
   ORTA GİRİŞ PANELİ — EKRANIN GERÇEK MERKEZİ
   ========================================================= */

.login-panel-wrap{

    position:fixed;
    z-index:10;

    left:56.5%;
    top:50%;
    transform:translate(-50%,-50%);

    width:clamp(398px,30.2vw,505px);
    max-width:calc(100vw - 34px);
}

.login-card{

    position:relative;
    overflow:hidden;

    width:100%;
    min-height:0;

    padding:25px 27px 20px;

    border:2px solid rgba(255,255,255,.72);
    border-radius:30px;

    background:
        linear-gradient(
            180deg,
            rgba(218,238,252,.38) 0%,
            rgba(221,238,249,.31) 58%,
            rgba(246,232,230,.29) 100%
        );

    box-shadow:
        0 26px 58px rgba(7,48,102,.14),
        inset 0 1px 0 rgba(255,255,255,.72);

    backdrop-filter:blur(10px) saturate(1.03);
    -webkit-backdrop-filter:blur(10px) saturate(1.03);
}


/* =========================================================
   PANEL MARKASI
   ========================================================= */

.login-brand{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:13px;
}

.login-logo{
    width:46px;
    height:46px;
    flex:0 0 46px;

    display:grid;
    place-items:center;

    border-radius:11px;
    background:linear-gradient(145deg,#148cff,#0764e7);

    box-shadow:
        0 10px 22px rgba(4,76,183,.18),
        inset 0 1px 0 rgba(255,255,255,.30);
}

.login-logo svg{
    width:28px;
    height:28px;
}

.login-logo svg path{
    fill:none;
    stroke:#ffffff;
    stroke-width:2.3;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.login-logo svg .brand-door{
    stroke:#ffb020;
    stroke-width:3.4;
}

.login-brand-title{

    color:#0B245C;
    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:21px;
    line-height:1.04;
    font-weight:800;
    letter-spacing:-.025em;
}

.login-brand-sub{
    width:max-content;
    max-width:275px;

    margin-top:4px;
    padding:4px 9px;

    border-radius:999px;
    background:rgba(255,255,255,.77);

    color:#375471;

    font-size:8.5px;
    line-height:1.3;
    font-weight:650;
}


/* =========================================================
   PANEL BAŞLIK
   ========================================================= */

.login-kicker{
    width:max-content;
    min-height:25px;

    margin:14px auto 0;
    padding:0 10px;

    display:flex;
    align-items:center;
    gap:6px;

    border-radius:999px;
    background:rgba(255,246,222,.91);

    color:#A9700F;

    font-size:7.5px;
    line-height:1;
    font-weight:800;
    letter-spacing:.08em;
}

.login-kicker-lock{
    font-size:8px;
}

.login-card h2{

    margin:10px 0 6px;

    color:#0B245C;

    font-family:"Playfair Display","DM Serif Display",Georgia,serif;
    font-size:33px;
    line-height:1;
    font-weight:700;
    letter-spacing:-.032em;

    text-align:center;
}

.login-intro{

    max-width:350px;
    margin:0 auto 15px;

    color:#365B7D;

    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:10.5px;
    line-height:1.5;
    font-weight:600;

    text-align:center;
}

.login-error{
    margin:0 0 13px;
    padding:9px 11px;

    border:1px solid rgba(206,62,62,.18);
    border-radius:11px;
    background:rgba(255,239,239,.90);

    color:#a83131;

    font-size:10px;
    line-height:1.4;
    font-weight:650;
}

.login-notice{
    margin:0 0 13px;
    padding:9px 11px;

    border:1px solid rgba(8,116,243,.18);
    border-radius:11px;
    background:rgba(235,246,255,.90);

    color:#125da9;

    font-size:10px;
    line-height:1.4;
    font-weight:650;
}


/* =========================================================
   E-POSTA / TELEFON
   ========================================================= */

.login-method-tabs{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;

    padding:4px;
    margin-bottom:14px;

    border:1px solid rgba(193,213,233,.82);
    border-radius:14px;

    background:rgba(233,241,248,.78);
}

.login-method-tab{
    height:37px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    border:0;
    border-radius:10px;
    background:transparent;

    color:#536D8D;

    font-size:9px;
    font-weight:700;

    cursor:pointer;
}

.login-method-tab svg{
    width:16px;
    height:16px;

    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.login-method-tab.active{
    background:#fff;
    color:#0874f3;

    box-shadow:0 5px 14px rgba(24,68,122,.10);
}

.login-method-panel.hidden{
    display:none;
}


/* =========================================================
   FORM
   ========================================================= */

.field-group{
    margin-top:11px;
}

.field-label{

    display:block;

    margin:0 0 5px;

    color:#0B245C;

    font-family:"Inter","Segoe UI",Arial,sans-serif;
    font-size:10px;
    line-height:1;
    font-weight:800;
}

.field-wrap{
    position:relative;
}

.field-icon{
    position:absolute;
    left:14px;
    top:50%;
    transform:translateY(-50%);

    width:17px;
    height:17px;

    color:#7088a5;
    pointer-events:none;
}

.field-icon svg{
    width:17px;
    height:17px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.field-input{
    width:100%;
    height:46px;

    padding:0 48px 0 42px;

    border:1px solid rgba(186,207,229,.93);
    border-radius:12px;

    outline:none;

    background:rgba(255,255,255,.87);

    color:#152F54;

    font-size:12px;
    font-weight:600;

    box-shadow:inset 0 1px 2px rgba(18,52,94,.03);
}

.field-input::placeholder{
    color:#93a4b9;
    font-weight:500;
}

.field-input:focus{
    border-color:#70a6ed;
    background:#fff;

    box-shadow:0 0 0 4px rgba(28,116,235,.09);
}

.password-toggle{
    position:absolute;
    right:8px;
    top:50%;
    transform:translateY(-50%);

    height:32px;
    padding:0 10px;

    border:0;
    border-radius:9px;

    background:rgba(255,255,255,.82);

    color:#667b98;

    font-size:8px;
    font-weight:800;

    cursor:pointer;
}

.password-toggle:hover{
    color:#0d63dc;
    background:#fff;
}

.phone-help{
    margin-top:5px;

    color:#5f7693;

    font-size:8px;
    line-height:1.35;
}


/* =========================================================
   OTURUM / ŞİFREMİ UNUTTUM
   ========================================================= */

.login-options-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;

    margin-top:9px;
}

.remember-session{
    display:flex;
    align-items:center;
    gap:8px;

    min-width:0;

    color:#395776;
    cursor:pointer;
    user-select:none;
}

.remember-session input{
    position:absolute;
    opacity:0;
    pointer-events:none;
}

.remember-session-box{
    width:17px;
    height:17px;
    flex:0 0 17px;

    display:grid;
    place-items:center;

    border:1px solid rgba(126,158,196,.86);
    border-radius:5px;
    background:rgba(255,255,255,.90);

    box-shadow:inset 0 1px 2px rgba(16,53,98,.04);
}

.remember-session input:checked + .remember-session-box{
    border-color:#0874f3;
    background:linear-gradient(145deg,#1389ff,#0764df);
}

.remember-session input:checked + .remember-session-box::after{
    content:"";
    width:7px;
    height:4px;

    border-left:2px solid #fff;
    border-bottom:2px solid #fff;

    transform:translateY(-1px) rotate(-45deg);
}

.remember-session input:focus-visible + .remember-session-box{
    outline:3px solid rgba(8,116,243,.15);
    outline-offset:2px;
}

.remember-session-copy{
    display:grid;
    gap:1px;
    min-width:0;
}

.remember-session-copy strong{
    color:#173e72;
    font-size:8.6px;
    line-height:1.15;
    font-weight:800;
}

.remember-session-copy small{
    color:#6f8299;
    font-size:6.8px;
    line-height:1.2;
    font-weight:600;
    white-space:nowrap;
}

.forgot-password-link{
    flex:0 0 auto;

    color:#075fdc;

    font-size:9px;
    font-weight:800;

    text-decoration:none;
}

.forgot-password-link:hover{
    text-decoration:underline;
}


/* =========================================================
   GİRİŞ BUTONU
   ========================================================= */

.login-btn{
    width:100%;
    height:48px;

    margin-top:10px;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    border:0;
    border-radius:13px;

    background:linear-gradient(110deg,#0ca0f8 0%,#0874f3 48%,#0752dc 100%);

    color:#fff;

    font-size:13.5px;
    font-weight:800;

    cursor:pointer;

    box-shadow:
        0 13px 25px rgba(7,92,222,.22),
        inset 0 1px 0 rgba(255,255,255,.22);
}

.login-btn:hover{
    transform:translateY(-1px);
}

.login-btn-arrow{
    font-size:18px;
}


/* =========================================================
   ALT BİLGİLER
   ========================================================= */

.recaptcha-branding{
    width:100%;

    margin-top:9px;
    padding:8px 10px;

    display:flex;
    align-items:flex-start;
    justify-content:center;
    gap:5px;

    border-radius:11px;
    background:rgba(255,255,255,.78);

    color:#3f5b7c;

    font-size:7px;
    line-height:1.4;
    font-weight:600;

    text-align:center;
}

.recaptcha-branding a{
    color:#0764de;
    font-weight:800;
    text-decoration:none;
}

.recaptcha-branding a:hover{
    text-decoration:underline;
}

.login-footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:13px;

    margin-top:11px;
}

.login-footer-copy{
    padding:8px 11px;

    border-radius:11px;
    background:rgba(255,255,255,.68);

    color:#405b7a;

    font-size:9px;
    line-height:1.35;
    font-weight:600;
}

.back-link{
    min-height:41px;
    padding:0 14px;

    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;

    border:1px solid rgba(8,105,236,.70);
    border-radius:12px;

    background:rgba(255,255,255,.76);

    color:#0764de;

    font-size:10px;
    font-weight:800;

    text-decoration:none;
}

.back-link:hover{
    background:#fff;
}

.login-security{
    width:max-content;

    margin:10px auto 0;
    padding:6px 10px;

    border-radius:999px;
    background:rgba(255,255,255,.67);

    color:#56708d;

    font-size:8px;
    font-weight:650;
}



/* Kontrollü küçük güvenlik ikonları — büyük sistem glifi oluşmasını engeller */
.login-kicker-lock{
    width:13px;
    height:13px;
    fill:none;
    stroke:#c8880e;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.recaptcha-lock{
    width:12px;
    height:12px;
    flex:0 0 12px;
    fill:none;
    stroke:#577391;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.login-security svg{
    width:12px;
    height:12px;
    fill:none;
    stroke:#c58a1b;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}

.grecaptcha-badge{
    visibility:hidden!important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width:1024px){

    .login-page{
        overflow:auto;
    }

    .login-topbar{
        width:calc(100% - 30px);
        height:72px;
    }

    .td-brand-divider,
    .td-brand-tagline{
        display:none;
    }

    .login-layout{
        width:calc(100% - 30px);
        min-height:calc(100vh - 72px);
    }

    .login-benefits{
        display:none;
    }

    .login-panel-wrap{
        position:absolute;
        left:50%;
        width:450px;
        top:50%;
    }
}


/* =========================================================
   MOBİL
   ========================================================= */

@media (max-width:560px){

    .login-topbar{
        width:calc(100% - 24px);
        height:64px;
    }

    .td-brand{
        gap:9px;
    }

    .td-brand-mark{
        width:38px;
        height:38px;
        flex-basis:38px;
        border-radius:9px;
    }

    .td-brand-mark svg{
        width:23px;
        height:23px;
    }

    .td-brand-name{
        font-size:18px;
    }

    .login-layout{
        width:calc(100% - 22px);
        min-height:calc(100vh - 64px);
    }

    .login-panel-wrap{
        left:50%;
        width:calc(100% - 22px);
        max-width:440px;
    }

    .login-card{
        padding:21px 18px 17px;
        border-radius:23px;
    }

    .login-brand{
        justify-content:flex-start;
    }

    .login-brand-title{
        font-size:19px;
    }

    .login-card h2{
        font-size:28px;
    }

    .login-intro{
        font-size:9px;
        text-align:left;
    }

    .field-input{
        height:45px;
        font-size:11px;
    }

    .login-method-tab{
        height:35px;
        font-size:9px;
    }

    .login-btn{
        height:44px;
        font-size:11px;
    }

    .login-options-row{
        align-items:flex-start;
        gap:8px;
    }

    .remember-session-copy small{
        white-space:normal;
    }

    .login-footer{
        align-items:stretch;
        flex-direction:column;
    }

    .back-link{
        width:100%;
    }
}


/* =========================================================
   DESKTOP REFERANS ORAN KİLİDİ
   1366x768 ekranında tasarım tekrar küçülüp/büyümesin.
   ========================================================= */
@media (min-width:1025px){
    .login-panel-wrap{
        width:clamp(398px,30.2vw,505px);
    }

    .login-card{
        min-height:0;
    }
}

/* =========================================================
   TAM DEĞERİ — SON EBAT AYARI
   Sadece orta giriş paneli ve sol tanıtım küçültülür.
   Sol üst marka boyutu DEĞİŞMEZ.
   ========================================================= */

@media (min-width:1025px){

    /* Sol tanıtım bloğu: aynı konum, daha kompakt */
    .login-benefits{
        transform:translateY(-50%) scale(.86) !important;
        transform-origin:left center !important;
    }

    /* Orta giriş paneli: tam merkez korunur, oran bozulmadan küçülür */
    .login-panel-wrap{
        transform:translate(-50%,-50%) scale(.86) !important;
        transform-origin:center center !important;
    }

    /* Üst marka özellikle sabit bırakılır */
    .login-topbar{
        transform:none !important;
    }
}



