/* TRDESTEK AJANS • Yayıncı girişi — referans tasarıma (son-onaylanan-tasarim.png) birebir uyarlama.
   Sahne, logo ve ikonlar referans görselden kesildi (assets/scene.jpg, logo*.png, ic-*.png);
   form, yazılar ve butonlar canlı HTML. Yalnızca .trd-login-* / .trd-reset-* kapsamında. */
:root{color-scheme:dark}
.trd-login-body{margin:0;min-height:100vh;min-height:100svh;background:#05070c;color:#fff;font-family:Poppins,"Segoe UI",Arial,sans-serif;overflow-x:hidden;-webkit-font-smoothing:antialiased}
.trd-login-body *{box-sizing:border-box}
.trd-login-body a{color:inherit;text-decoration:none}
.trd-login-body button,.trd-login-body input{font:inherit}
.trd-login-body :focus-visible{outline:2px solid #09cef0;outline-offset:3px}

/* Sahne: referanstaki oda, neon ışıklar ve sağdaki 3D TikTok kaidesi */
.trd-login-scene{position:fixed;inset:0;z-index:-1;background:#05070c url('assets/scene.jpg') 50% 50%/cover no-repeat}
.trd-login-scene::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 34% 60% at 50% 50%,rgba(3,5,10,.35),transparent 70%)}

.trd-login-shell{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;justify-content:center;padding:40px 20px}

/* Sol tanıtım bloğu (referans: x≈4.7%, logo üstte, başlık ortada) */
.trd-login-brand{position:absolute;left:4.7vw;top:0;bottom:0;width:min(420px,27vw);display:flex;flex-direction:column;padding:9.2vh 0 0}
.trd-login-brandmark{display:block;width:clamp(200px,15.5vw,282px)}
.trd-login-brandmark img{display:block;width:100%;height:auto}
.trd-login-brandcopy{margin-top:clamp(56px,11vh,100px)}
.trd-login-brandcopy h1{margin:0;font-size:clamp(34px,2.75vw,50px);line-height:1.16;font-weight:700;letter-spacing:.2px}
.trd-login-brandcopy h1 strong{color:#ff1d4d;font-weight:700;text-shadow:0 0 24px rgba(255,29,77,.25)}
.trd-login-brandcopy p{margin:clamp(18px,2.2vh,26px) 0 0;color:#d5dbe4;font-size:clamp(14px,1.03vw,18.5px);line-height:1.52;font-weight:400}
.trd-login-features{list-style:none;margin:clamp(22px,3.2vh,34px) 0 0;padding:0;display:flex;gap:clamp(30px,3.1vw,56px)}
.trd-login-features li{display:flex;flex-direction:column;align-items:center;text-align:center;width:clamp(64px,4.7vw,86px)}
.trd-login-features img{display:block;width:100%;height:auto;margin-bottom:2px}
.trd-login-features b{font-size:clamp(13px,.92vw,16.5px);line-height:1.28;font-weight:700;white-space:nowrap}

/* Orta panel: cam karanlık zemin, solda turkuaz → sağda kırmızı neon çerçeve */
.trd-login-center{width:min(520px,100%);position:relative;z-index:1}
.trd-login-panel{position:relative;border-radius:30px;padding:3px;background:linear-gradient(90deg,#1de8ff 0%,#16d6fa 30%,#7a63e8 50%,#ff2d70 68%,#ff1f4e 100%);box-shadow:-16px 0 50px -6px rgba(18,214,255,.6),16px 0 50px -6px rgba(255,30,80,.6),0 -10px 40px -18px rgba(255,255,255,.25),0 0 18px rgba(255,255,255,.08),0 30px 90px rgba(0,0,0,.65)}
.trd-login-panel::before{content:"";position:absolute;inset:-1px;border-radius:31px;pointer-events:none;box-shadow:inset 0 0 14px rgba(255,255,255,.35)}
.trd-login-panel-inner{border-radius:27px;min-height:606px;padding:36px 51px 38px;text-align:center;background:radial-gradient(ellipse 80% 40% at 50% 0%,rgba(40,14,28,.55),transparent 70%),linear-gradient(180deg,rgba(8,10,16,.97),rgba(6,8,13,.97));backdrop-filter:blur(6px)}
.trd-login-panel-logo{display:block;width:288px;max-width:72%;height:auto;margin:0 auto 30px}
.trd-login-panel h2{margin:0 0 12px;font-size:38px;line-height:1.1;font-weight:700;letter-spacing:.5px}
.trd-login-panel h2 em{font-style:normal;color:#ff1d4d}
.trd-login-intro{margin:0 0 30px;color:#cfd6df;font-size:15px;line-height:1.5}

.trd-login-form{display:flex;flex-direction:column;gap:16px;text-align:left}
.trd-login-field{height:56px;display:flex;align-items:center;border-radius:11px;border:1px solid #2b3240;background:rgba(5,7,12,.92);padding:0 14px 0 20px;transition:border-color .2s,box-shadow .2s;min-width:0}
.trd-login-field:focus-within{border-color:#11cdf0;box-shadow:0 0 0 3px rgba(17,205,240,.14)}
.trd-login-field>svg{width:21px;height:21px;fill:none;stroke:#e6ebf2;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.trd-login-field input{display:block;width:100%;height:100%;min-width:0;background:transparent;border:0;outline:0;color:#fff;font-size:15.5px;padding:0 14px}
.trd-login-field input::placeholder{color:#a9b1bd}
.trd-login-field input:-webkit-autofill{-webkit-text-fill-color:#fff;-webkit-box-shadow:0 0 0 40px #0a0d14 inset;caret-color:#fff}
.trd-login-field input[aria-invalid=true]{color:#ffd6e1}
.trd-login-eye{border:0;background:none;color:#e6ebf2;cursor:pointer;display:grid;place-items:center;padding:7px;border-radius:7px}
.trd-login-eye:hover,.trd-login-eye:focus-visible{background:#1a2230}
.trd-login-eye svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
/* Referanstaki gibi: şifre gizliyken üstü çizili göz */
.trd-login-eye-strike{display:block}
.trd-login-visible .trd-login-eye-strike{display:none}

.trd-login-form-meta{display:flex;justify-content:flex-end;margin:-2px 0 12px}
.trd-login-body .trd-login-linkbtn{border:0;background:none;padding:2px 0;color:#ff1d4d;font-size:13px;font-weight:600;cursor:pointer}
.trd-login-linkbtn:hover{text-decoration:underline}

.trd-login-body .trd-login-submit{width:100%;min-height:58px;display:flex;justify-content:center;align-items:center;gap:14px;border:0;border-radius:13px;color:#fff;cursor:pointer;font-size:19px;font-weight:700;letter-spacing:.6px;background:linear-gradient(90deg,#ff2c6c 0%,#e2338f 30%,#8c58e6 58%,#2fb7f2 80%,#04d2f5 100%);box-shadow:0 10px 30px rgba(255,44,108,.25),0 6px 22px rgba(4,210,245,.2);transition:transform .2s,filter .2s}
.trd-login-submit svg{width:21px;height:21px;stroke:currentColor;stroke-width:2.2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.trd-login-submit:hover{transform:translateY(-2px);filter:brightness(1.1)}

.trd-login-help{margin:28px 0 0;color:#b7bfca;font-size:14px}
.trd-login-help a{color:#ff1d4d;font-weight:600;white-space:nowrap}
.trd-login-help a:hover{text-decoration:underline}

.trd-login-feedback,.trd-login-error{font-size:13px;text-align:left;border:1px solid #0cbac280;color:#c4faff;background:#0e3040a8;border-radius:10px;padding:12px 14px;margin:-8px 0 18px;line-height:1.55}
.trd-login-error{border-color:#ec3566a8;color:#ffe6ed;background:#401224a8}
.trd-login-error ul{margin:5px 0 0;padding-left:19px}
.trd-login-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Ekran oranı referanstan (≈2.1:1) dar olduğunda sahneyi sağa kaydır: 3D TikTok kaidesi kesilmesin */
@media (max-aspect-ratio:19/10){.trd-login-scene{background-position:72% 50%}}
@media (max-aspect-ratio:33/20){.trd-login-scene{background-position:80% 50%}}

/* Sol blok paneli sıkıştırmasın: dar ekranlarda yalnız logo kalır, sonra o da gizlenir */
@media (max-width:1280px){
  .trd-login-brandcopy{display:none}
}
@media (max-width:1100px){
  .trd-login-brand{display:none}
}
@media (max-height:700px) and (min-width:761px){
  .trd-login-panel-inner{min-height:0;padding:30px 44px 32px}
  .trd-login-panel-logo{margin-bottom:22px;width:240px}
  .trd-login-intro{margin-bottom:22px}
  .trd-login-help{margin-top:22px}
}
@media (max-width:760px){
  .trd-login-shell{padding:28px 14px}
  .trd-login-scene{background-position:70% 50%}
  .trd-login-scene::after{background:linear-gradient(180deg,rgba(3,5,10,.55),rgba(3,5,10,.35) 50%,rgba(3,5,10,.6))}
  .trd-login-panel{border-radius:24px;box-shadow:-8px 0 30px -6px rgba(18,214,255,.5),8px 0 30px -6px rgba(255,30,80,.5),0 20px 60px rgba(0,0,0,.6)}
  .trd-login-panel::before{border-radius:25px}
  .trd-login-panel-inner{border-radius:21px;min-height:0;padding:34px 22px 34px}
  .trd-login-panel-logo{width:230px;margin-bottom:26px}
  .trd-login-panel h2{font-size:31px}
  .trd-login-intro{font-size:14px;margin-bottom:24px}
  .trd-login-field{height:54px;padding-left:16px}
  .trd-login-body .trd-login-submit{font-size:17px;min-height:56px}
  .trd-login-help{margin-top:26px;font-size:13px}
}
@media (max-width:360px){
  .trd-login-panel-inner{padding:28px 16px}
  .trd-login-panel h2{font-size:27px}
}
@media (prefers-reduced-motion:reduce){
  .trd-login-submit,.trd-login-field{transition:none}
}

/* ---- TrDestek entegrasyonu: Şifremi Unuttum butonu + penceresi ---- */
.trd-reset{position:fixed;inset:0;z-index:50;display:grid;place-items:center;padding:18px;background:rgba(2,5,12,.78);backdrop-filter:blur(6px)}
.trd-reset[hidden]{display:none}
.trd-reset-dialog{width:min(440px,100%);border-radius:20px;padding:2px;background:linear-gradient(145deg,#12dafb,#1678be 25%,#ff2080 70%,#ff185d);box-shadow:0 24px 70px #000a}
.trd-reset-head,.trd-reset-body{background:#070c17}
.trd-reset-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-radius:18px 18px 0 0;border-bottom:1px solid rgba(120,150,186,.18)}
.trd-reset-head h3{margin:0;font-size:18px;font-weight:800}
.trd-reset-close{border:0;background:none;color:#91a7bd;font-size:26px;line-height:1;cursor:pointer;padding:2px 8px;border-radius:8px}
.trd-reset-close:hover{color:#fff;background:#1a2a3c}
.trd-reset-body{padding:20px;border-radius:0 0 18px 18px;display:grid;gap:14px}
.trd-reset-body p{margin:0;color:#a8b8ca;font-size:13px;line-height:1.6}
.trd-reset-alert{border-radius:10px;padding:11px 13px;font-size:13px;font-weight:600;line-height:1.5}
.trd-reset-alert.is-success{color:#7ff0c4;background:#0a3b2e66;border:1px solid #2fd9a566}
.trd-reset-alert.is-error{color:#ffd0dc;background:#401224a8;border:1px solid #ec3566a8}
.trd-reset-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:4px}
.trd-reset-cancel,.trd-reset-submit{min-height:44px;padding:0 18px;border-radius:11px;font-weight:800;font-size:13px;cursor:pointer}
.trd-reset-cancel{border:1px solid rgba(120,150,186,.3);background:transparent;color:#e3ebf4}
.trd-reset-submit{border:0;color:#fff;background:linear-gradient(102deg,#f80c54,#eb227f 50%,#08c8eb)}
.trd-reset-submit:disabled{opacity:.6;cursor:wait}
body.trd-reset-open{overflow:hidden}
@media (max-width:420px){.trd-reset-actions>*{flex:1}}

/* Alan odaklanınca yalnızca kutunun turkuaz çerçevesi görünsün (input'un ikinci dış çizgisi kaldırıldı) */
.trd-login-body .trd-login-field input:focus,.trd-login-body .trd-login-field input:focus-visible{outline:none}
