
    :root{
      --red:#e30613;
      --red2:#ad000b;
      --hot:#ff3340;
      --bg:#07090f;
      --bg2:#101624;
      --card:#ffffff;
      --ink:#0f172a;
      --muted:#667085;
      --line:#e7eaf0;
      --glass:rgba(255,255,255,.10);
      --shadow:0 34px 90px rgba(0,0,0,.38);
      --r:30px;
    }

    *{box-sizing:border-box;margin:0;padding:0}
    html,body{width:100%;height:100%;min-height:100%;-webkit-text-size-adjust:100%;}
    body{
      position:fixed;
      inset:0;
      overflow:hidden;
      font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,Helvetica,sans-serif;
      color:#fff;
      background:var(--bg);
      -webkit-font-smoothing:antialiased;
      text-rendering:geometricPrecision;
      touch-action:manipulation;
    }
    button,input{font:inherit}
    button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
    a{text-decoration:none;color:inherit}

    .device{
      width:100%;
      height:var(--ab-app-h,100svh);
      min-height:var(--ab-app-h,100svh);
      max-height:var(--ab-app-h,100svh);
      position:relative;
      overflow:hidden;
      background:#07090f;
      margin:0 auto;
    }

    .login{
      width:100%;
      height:var(--ab-app-h,100svh);
      min-height:var(--ab-app-h,100svh);
      max-height:var(--ab-app-h,100svh);
      position:relative;
      overflow:hidden;
      display:flex;
      align-items:center;
      justify-content:center;
      padding:calc(18px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom));
      isolation:isolate;
      background:
        radial-gradient(circle at 16% 12%, rgba(227,6,19,.28), transparent 26%),
        radial-gradient(circle at 86% 4%, rgba(255,255,255,.13), transparent 24%),
        radial-gradient(circle at 92% 84%, rgba(227,6,19,.13), transparent 28%),
        linear-gradient(155deg,#151d2b 0%,#090d16 48%,#05070c 100%);
    }

    .login::before{
      content:"";
      position:absolute;
      inset:0;
      z-index:-3;
      opacity:.78;
      background:
        linear-gradient(180deg, rgba(2,6,13,.10), rgba(2,6,13,.85)),
        repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 76px),
        repeating-linear-gradient(0deg, rgba(255,255,255,.026) 0 1px, transparent 1px 68px);
      mask-image:linear-gradient(180deg, rgba(0,0,0,.95), rgba(0,0,0,.35));
    }

    .login::after{
      content:"";
      position:absolute;
      width:420px;
      height:420px;
      right:-210px;
      top:-170px;
      z-index:-2;
      border-radius:999px;
      background:radial-gradient(circle, rgba(227,6,19,.42) 0 0, rgba(227,6,19,.18) 34%, transparent 68%);
      filter:blur(4px);
    }

    .orbLeft,
    .orbBottom{
      position:absolute;
      z-index:-1;
      pointer-events:none;
      border-radius:999px;
      filter:blur(.1px);
      opacity:.95;
    }
    .orbLeft{
      left:-118px;
      top:14%;
      width:235px;
      height:235px;
      border:1px solid rgba(255,255,255,.10);
      background:linear-gradient(145deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
      box-shadow:inset 0 1px 0 rgba(255,255,255,.10),0 40px 90px rgba(0,0,0,.28);
    }
    .orbBottom{
      right:-74px;
      bottom:9%;
      width:156px;
      height:156px;
      background:rgba(227,6,19,.13);
      border:1px solid rgba(255,255,255,.08);
    }

    .loginShell{
      width:100%;
      max-width:424px;
      margin:0 auto;
      display:grid;
      gap:14px;
      align-items:center;
    }

    .topBrand{
      display:grid;
      justify-items:center;
      text-align:center;
      gap:9px;
      animation:fadeUp .45s ease both;
    }

    .appMark{
      width:82px;
      height:82px;
      border-radius:28px;
      display:grid;
      place-items:center;
      background:rgba(255,255,255,.96);
      border:1px solid rgba(255,255,255,.72);
      box-shadow:0 22px 44px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.95);
      overflow:hidden;
    }
    .appMark img{width:74px;height:74px;object-fit:contain;padding:7px;display:block}

    .brandText strong{
      display:block;
      color:#fff;
      font-size:25px;
      line-height:1.05;
      letter-spacing:-.9px;
      font-weight:950;
      text-shadow:0 18px 40px rgba(0,0,0,.42);
    }
    .brandText span{
      display:block;
      margin-top:5px;
      color:rgba(255,255,255,.66);
      font-size:12px;
      font-weight:850;
      letter-spacing:.24px;
    }

    .loginCard{
      width:100%;
      border-radius:32px;
      overflow:hidden;
      color:var(--ink);
      background:
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(246,248,252,.98));
      border:1px solid rgba(255,255,255,.78);
      box-shadow:var(--shadow), inset 0 1px 0 rgba(255,255,255,1);
      animation:fadeUp .52s ease .05s both;
    }

    .cardTop{
      position:relative;
      overflow:hidden;
      padding:18px 20px 15px;
      color:#fff;
      background:
        radial-gradient(circle at 86% 0%, rgba(255,82,92,.42), transparent 32%),
        linear-gradient(145deg,#090d16 0%,#171f2e 100%);
    }
    .cardTop::after{
      content:"";
      position:absolute;
      right:-70px;
      top:-72px;
      width:165px;
      height:165px;
      border-radius:999px;
      border:34px solid rgba(227,6,19,.20);
    }
    .cardTopRow{
      position:relative;
      z-index:2;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
    }
    .loginPill{
      min-height:31px;
      padding:0 12px;
      border-radius:999px;
      display:inline-flex;
      align-items:center;
      gap:8px;
      background:rgba(255,255,255,.09);
      border:1px solid rgba(255,255,255,.16);
      color:rgba(255,255,255,.88);
      font-size:11px;
      font-weight:950;
      letter-spacing:.72px;
      white-space:nowrap;
    }
    .loginPill::before{
      content:"";
      width:8px;
      height:8px;
      border-radius:999px;
      background:var(--hot);
      box-shadow:0 0 0 5px rgba(227,6,19,.16),0 0 15px rgba(227,6,19,.75);
    }
    .secureChip{
      min-height:31px;
      padding:0 10px;
      border-radius:999px;
      display:inline-flex;
      align-items:center;
      gap:6px;
      background:rgba(15,159,90,.13);
      border:1px solid rgba(74,222,128,.20);
      color:#d9ffe9;
      font-size:10.5px;
      font-weight:900;
      white-space:nowrap;
    }
    .secureChip svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
    .cardTop h1{
      position:relative;
      z-index:2;
      margin-top:15px;
      color:#fff;
      font-size:24px;
      line-height:1.08;
      letter-spacing:-.75px;
      font-weight:950;
    }
    .cardTop p{
      position:relative;
      z-index:2;
      margin-top:7px;
      color:rgba(255,255,255,.64);
      font-size:12.4px;
      font-weight:760;
      line-height:1.45;
    }

    .loginBody{
      padding:18px 20px 20px;
      background:#fff;
    }

    .form{display:grid;gap:13px}
    .error{
      display:none;
      padding:12px 13px;
      border-radius:18px;
      background:#fff1f2;
      border:1px solid #ffcdd2;
      color:#9f111b;
      font-size:12.5px;
      font-weight:850;
      line-height:1.45;
    }
    .error.show{display:block}
    .field{display:grid;gap:7px}
    .field label{
      color:#111827;
      font-size:12px;
      font-weight:950;
      letter-spacing:.04px;
      padding-left:2px;
    }
    .input-wrap{position:relative}
    .inputIcon{
      position:absolute;
      left:14px;
      top:50%;
      width:22px;
      height:22px;
      transform:translateY(-50%);
      color:#8a93a3;
      pointer-events:none;
    }
    .inputIcon svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.15;stroke-linecap:round;stroke-linejoin:round}
    .field input{
      width:100%;
      min-height:56px;
      border-radius:19px;
      border:1px solid #dfe4ec;
      background:#f8fafc;
      color:#0f172a;
      outline:none;
      font-size:15px;
      font-weight:780;
      padding:0 48px 0 48px;
      box-shadow:0 1px 0 rgba(15,23,42,.04) inset;
      transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
    }
    .field input::placeholder{color:#98a2b3;font-weight:740}
    .field input:focus{
      background:#fff;
      border-color:rgba(227,6,19,.72);
      box-shadow:0 0 0 4px rgba(227,6,19,.10),0 12px 25px rgba(15,23,42,.07);
    }
    .password-toggle{
      position:absolute;
      right:10px;
      top:50%;
      transform:translateY(-50%);
      width:44px;
      height:36px;
      border:0;
      border-radius:13px;
      background:#eef1f6;
      color:#111827;
      cursor:pointer;
      font-size:11px;
      font-weight:950;
    }
    .field .rightIcon{
      position:absolute;
      right:15px;
      top:50%;
      transform:translateY(-50%);
      color:#98a2b3;
      font-size:16px;
      pointer-events:none;
    }

    .loginOptionsFinal{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      color:#667085;
      font-size:12px;
      font-weight:850;
      margin:0 1px;
    }
    .loginOptionsFinal label{display:inline-flex;align-items:center;gap:8px;cursor:pointer;user-select:none;white-space:nowrap}
    .loginOptionsFinal input{accent-color:var(--red)}
    .loginOptionsFinal button{
      border:0;
      background:transparent;
      color:#111827;
      font-size:12px;
      font-weight:950;
      cursor:pointer;
      white-space:nowrap;
    }

    .btn{
      min-height:58px;
      border:0;
      border-radius:20px;
      padding:0 16px;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:9px;
      cursor:pointer;
      font-size:15px;
      font-weight:950;
      transition:.16s ease;
    }
    .btn:active{transform:scale(.985)}
    .btnRed{
      color:#fff;
      background:linear-gradient(135deg,#ff2e3b 0%,#e30613 45%,#9c000a 100%);
      box-shadow:0 14px 30px rgba(227,6,19,.28), inset 0 1px 0 rgba(255,255,255,.18);
      position:relative;
      overflow:hidden;
      isolation:isolate;
    }
    .btnRed::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(110deg, transparent 0 24%, rgba(255,255,255,.22) 44%, transparent 66% 100%);
      transform:translateX(-125%);
      animation:sweep 4.2s ease-in-out infinite;
      z-index:0;
      pointer-events:none;
    }
    .btnRed span{position:relative;z-index:2}
    .btn:disabled{opacity:.68;cursor:not-allowed;transform:none}

    .trustRow{
      display:grid;
      grid-template-columns:1fr 1fr;
      gap:10px;
      margin-top:14px;
    }
    .trustBox{
      min-height:62px;
      border-radius:18px;
      border:1px solid #edf0f5;
      background:#f8fafc;
      padding:11px;
      display:flex;
      gap:9px;
      align-items:center;
    }
    .trustIcon{
      width:33px;
      height:33px;
      border-radius:12px;
      flex:0 0 auto;
      display:grid;
      place-items:center;
      color:#e30613;
      background:#fff1f2;
    }
    .trustIcon svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
    .trustBox strong{display:block;color:#111827;font-size:11.8px;font-weight:950;line-height:1.15}
    .trustBox small{display:block;margin-top:2px;color:#667085;font-size:10.3px;font-weight:760;line-height:1.18}

    .legalLinks{
      display:flex;
      justify-content:center;
      gap:14px;
      flex-wrap:wrap;
      margin-top:13px;
      color:#667085;
      font-size:11.2px;
      font-weight:850;
    }
    .legalLinks a{text-decoration:underline;text-underline-offset:3px}

    .toast{
      position:fixed;
      left:50%;
      bottom:calc(22px + env(safe-area-inset-bottom));
      transform:translateX(-50%);
      z-index:2000;
      display:none;
      width:min(402px,calc(100% - 28px));
      padding:14px 15px;
      border-radius:18px;
      background:#111827;
      color:#fff;
      box-shadow:0 22px 62px rgba(0,0,0,.30);
      font-size:13px;
      font-weight:850;
      line-height:1.45;
      text-align:center;
    }
    .toast.show{display:block}

    @keyframes sweep{
      0%,58%{transform:translateX(-125%)}
      78%,100%{transform:translateX(125%)}
    }
    @keyframes fadeUp{
      from{opacity:0;transform:translateY(14px)}
      to{opacity:1;transform:translateY(0)}
    }

    @media(min-width:780px){
      body{display:flex;align-items:center;justify-content:center;background:#eef1f6;padding:26px;position:static;overflow:auto;}
      .device{
        width:440px;
        max-width:440px;
        height:calc(100dvh - 52px);
        min-height:calc(100dvh - 52px);
        max-height:calc(100dvh - 52px);
        border-radius:40px;
        overflow:hidden;
        border:1px solid rgba(255,255,255,.86);
        box-shadow:0 30px 110px rgba(15,23,42,.28);
      }
      .login{height:100%;min-height:100%;max-height:100%;border-radius:40px;}
    }

    @media(max-height:720px){
      .loginShell{gap:10px;max-width:408px}
      .appMark{width:66px;height:66px;border-radius:23px}.appMark img{width:60px;height:60px}
      .brandText strong{font-size:21px}.brandText span{font-size:11px;margin-top:4px}
      .cardTop{padding:15px 18px 12px}.cardTop h1{font-size:21px;margin-top:12px}.cardTop p{display:none}
      .loginBody{padding:15px 18px 17px}.form{gap:10px}.field input{min-height:50px;border-radius:17px}.btn{min-height:52px;border-radius:18px}.trustRow{display:none}.legalLinks{margin-top:10px;font-size:10.8px}
    }

    @media(max-height:610px){
      .topBrand{display:none}
      .loginShell{max-width:408px}.loginCard{border-radius:28px}.cardTop h1{font-size:20px}.field label{display:none}.form{gap:9px}.field input{min-height:48px}.loginOptionsFinal{font-size:11px}.btn{min-height:50px}
    }

    @media(max-width:365px){
      .login{padding-left:12px;padding-right:12px}.loginCard{border-radius:28px}.cardTop{padding-left:16px;padding-right:16px}.loginBody{padding-left:16px;padding-right:16px}.loginOptionsFinal{align-items:flex-start;flex-direction:column;gap:8px}.trustRow{grid-template-columns:1fr}.field input{font-size:14px}
    }


    /* v68 temiz mobil giriş: ekranda açıklama metni yok, kart tam ortada */
    .login{
      padding:calc(16px + env(safe-area-inset-top)) 16px calc(16px + env(safe-area-inset-bottom));
    }
    .loginShell{
      min-height:calc(var(--ab-app-h,100svh) - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
      display:flex;
      flex-direction:column;
      justify-content:center;
      gap:16px;
    }
    .topBrand{gap:8px}
    .brandText span{display:none!important}
    .cardTop{padding:18px 20px 17px;text-align:left}
    .cardTopRow.minimal{justify-content:flex-start}
    .secureChip{display:none!important}
    .cardTop h1{margin-top:14px;font-size:26px}
    .cardTop p{display:none!important}
    .loginBody{padding:20px 20px 21px}
    .trustRow{display:none!important}
    .legalLinks{margin-top:14px}

    @media(max-height:720px){
      .loginShell{gap:10px}
      .cardTop{padding:15px 18px 13px}
      .cardTop h1{margin-top:10px;font-size:22px}
      .loginBody{padding:15px 18px 16px}
      .legalLinks{display:none}
    }
    @media(max-height:610px){
      .topBrand{display:none!important}
      .loginShell{min-height:calc(var(--ab-app-h,100svh) - 24px);justify-content:center}
      .cardTop{padding:13px 16px 11px}
      .loginPill{min-height:27px;font-size:10px}
      .cardTop h1{font-size:20px;margin-top:8px}
      .loginBody{padding:13px 16px 14px}
    }

  

    .passwordModal{
      position:fixed;
      inset:0;
      z-index:999999;
      display:none;
      align-items:center;
      justify-content:center;
      padding:18px;
      background:rgba(3,6,12,.76);
      backdrop-filter:blur(14px);
    }
    .passwordModal.show{display:flex;}
    .passwordCard{
      width:min(390px,100%);
      border-radius:28px;
      background:#fff;
      color:#111827;
      overflow:hidden;
      box-shadow:0 32px 90px rgba(0,0,0,.42);
      border:1px solid rgba(255,255,255,.86);
    }
    .passwordHead{
      padding:22px 20px 10px;
    }
    .passwordHead h2{
      margin:0;
      font-size:22px;
      line-height:1.12;
      letter-spacing:-.55px;
      font-weight:950;
      color:#111827;
    }
    .passwordBody{
      padding:10px 20px 20px;
    }
    .passwordBody .field{margin-bottom:12px;}
    .passwordBody .field label{color:#111827;}
    .passwordBody .field input{
      min-height:52px;
      border-radius:17px;
      border:1px solid #d9e0ea;
      background:#fff;
      color:#111827;
      padding:0 14px;
      font-size:15px;
      font-weight:850;
      box-shadow:0 10px 24px rgba(15,23,42,.06);
    }
    .passwordBody .btn{width:100%;}
    @media(max-width:420px){
      .passwordModal{padding:12px;}
      .passwordCard{border-radius:24px;}
      .passwordHead{padding:20px 16px 8px;}
      .passwordBody{padding:10px 16px 18px;}
    }
    /* AVANGARD PDKS - iPAD AIR 11 / 13 PORTRE GİRİŞ UYUMLULUK */
@media (min-width:768px) and (max-width:1194px) and (min-height:1000px) and (orientation:portrait){

  body.screenLogin{
    position:fixed !important;
    inset:0 !important;
    width:100vw !important;
    height:var(--ab-app-h,100dvh) !important;
    min-height:var(--ab-app-h,100dvh) !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
    display:block !important;
    background:#07090f !important;
  }

  body.screenLogin .device{
    width:100vw !important;
    max-width:none !important;
    min-width:100vw !important;
    height:var(--ab-app-h,100dvh) !important;
    min-height:var(--ab-app-h,100dvh) !important;
    max-height:var(--ab-app-h,100dvh) !important;
    margin:0 !important;
    border:0 !important;
    border-radius:0 !important;
    box-shadow:none !important;
    overflow:hidden !important;
    background:#07090f !important;
  }

  body.screenLogin .login{
    width:100% !important;
    height:100% !important;
    min-height:100% !important;
    max-height:100% !important;
    border-radius:0 !important;
    padding:52px 72px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
  }

  body.screenLogin .loginShell{
    width:min(820px, 100%) !important;
    max-width:820px !important;
    min-height:auto !important;
    margin:0 auto !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:28px !important;
  }

  body.screenLogin .topBrand{
    gap:18px !important;
  }

  body.screenLogin .appMark{
    width:126px !important;
    height:126px !important;
    border-radius:42px !important;
  }

  body.screenLogin .appMark img{
    width:112px !important;
    height:112px !important;
    padding:12px !important;
  }

  body.screenLogin .brandText strong{
    font-size:48px !important;
    line-height:1.05 !important;
    letter-spacing:-1.6px !important;
  }

  body.screenLogin .loginCard{
    width:100% !important;
    border-radius:46px !important;
  }

  body.screenLogin .cardTop{
    padding:40px 48px 36px !important;
  }

  body.screenLogin .loginPill{
    min-height:44px !important;
    padding:0 20px !important;
    font-size:16px !important;
  }

  body.screenLogin .loginPill::before{
    width:13px !important;
    height:13px !important;
  }

  body.screenLogin .cardTop h1{
    margin-top:30px !important;
    font-size:52px !important;
    line-height:1.05 !important;
    letter-spacing:-1.4px !important;
  }

  body.screenLogin .loginBody{
    padding:46px 52px 48px !important;
  }

  body.screenLogin .form{
    gap:22px !important;
  }

  body.screenLogin .field{
    gap:12px !important;
  }

  body.screenLogin .field label{
    font-size:18px !important;
  }

  body.screenLogin .field input{
    min-height:78px !important;
    border-radius:26px !important;
    font-size:24px !important;
    padding:0 88px 0 72px !important;
  }

  body.screenLogin .inputIcon{
    left:24px !important;
    width:32px !important;
    height:32px !important;
  }

  body.screenLogin .inputIcon svg{
    width:32px !important;
    height:32px !important;
  }

  body.screenLogin .password-toggle{
    right:16px !important;
    width:74px !important;
    height:54px !important;
    border-radius:20px !important;
    font-size:15px !important;
  }

  body.screenLogin .loginOptionsFinal{
    font-size:18px !important;
    margin:4px 2px !important;
  }

  body.screenLogin .loginOptionsFinal button{
    font-size:18px !important;
  }

  body.screenLogin .btn{
    min-height:82px !important;
    border-radius:28px !important;
    font-size:25px !important;
  }

  body.screenLogin .legalLinks{
    margin-top:26px !important;
    gap:30px !important;
    font-size:18px !important;
  }

  body.screenLogin .orbLeft{
    width:430px !important;
    height:430px !important;
    left:-220px !important;
    top:18% !important;
  }

  body.screenLogin .orbBottom{
    width:270px !important;
    height:270px !important;
    right:-130px !important;
    bottom:4% !important;
  }
}
