#upgpep-gate{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:20px;font-family:inherit;}
#upgpep-gate[data-hidden="1"]{display:none;}
.upgpep-gate__backdrop{position:absolute;inset:0;background:rgba(15,20,21,.72);backdrop-filter:blur(4px);}
.upgpep-gate__card{position:relative;display:flex;width:100%;max-width:920px;max-height:92vh;overflow:auto;background:#fff;border-radius:14px;box-shadow:0 30px 80px rgba(0,0,0,.45);}
.upgpep-gate__brand{flex:0 0 40%;background:linear-gradient(160deg,#001E75 0%,#000F3A 100%);color:#fff !important;padding:40px 32px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;}
.upgpep-gate__brand,.upgpep-gate__brand *{color:#fff !important;}
.upgpep-gate__logo{width:190px;height:auto;border-radius:0;object-fit:contain;}
.upgpep-gate__trust-icons{display:flex;align-items:center;gap:10px;}
.upgpep-gate__trust-icons img{height:28px;width:auto;object-fit:contain;}
.upgpep-gate__brand h2{margin:0;font-size:22px;font-weight:700;color:#fff !important;}
.upgpep-gate__badges{display:flex;flex-direction:column;gap:8px;}
.upgpep-gate__badges span{font-size:12px;letter-spacing:.02em;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:6px 12px;width:fit-content;color:#fff !important;}
.upgpep-gate__brand-foot{margin-top:24px;font-size:11px;opacity:.75;line-height:1.5;color:#fff !important;}
.upgpep-gate__panel{flex:1;padding:36px 34px;display:flex;flex-direction:column;}
.upgpep-gate__tabs{display:flex;gap:8px;background:#F2F4F4;border-radius:10px;padding:4px;margin-bottom:20px;}
.upgpep-gate__tab{flex:1;border:0;background:transparent;padding:10px 12px;border-radius:8px;font-weight:600;font-size:13px;color:#5B6A6E;cursor:pointer;}
.upgpep-gate__tab.is-active{background:#fff;color:#22303A;box-shadow:0 1px 4px rgba(0,0,0,.12);}
.upgpep-gate__error{background:#FDEDEC;border:1px solid #F3C6C2;color:#B3261E;font-size:12.5px;padding:10px 12px;border-radius:8px;margin-bottom:14px;line-height:1.5;}
.upgpep-gate__notice{background:#EAF6EC;border:1px solid #BFE3C6;color:#1E7A34;font-size:12.5px;padding:10px 12px;border-radius:8px;margin-bottom:14px;line-height:1.5;}
.upgpep-gate__form{display:none;flex-direction:column;gap:14px;}
.upgpep-gate__form.is-active{display:flex;}
.upgpep-gate__form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;font-weight:600;color:#22303A;}
.upgpep-gate__form input[type="text"],.upgpep-gate__form input[type="email"],.upgpep-gate__form input[type="password"]{font-weight:400;font-size:14px;border:1px solid #D6DBDC;border-radius:8px;padding:11px 12px;outline:none;}
.upgpep-gate__form input:focus{border-color:#001E75;}
.upgpep-gate__check{flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;font-size:12px;color:#4B5A5E;line-height:1.5;}
.upgpep-gate__check input{margin-top:3px;}
.upgpep-gate__check.upgpep-shake{animation:upgpep-shake .4s;}
@keyframes upgpep-shake{0%,100%{transform:translateX(0);}25%{transform:translateX(-4px);}75%{transform:translateX(4px);}}
.upgpep-gate__submit{margin-top:4px;background:#001E75;color:#fff;border:0;border-radius:9px;padding:12px;font-weight:700;font-size:14px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px;}
.upgpep-gate__submit:hover{background:#001657;}
.upgpep-gate__submit:disabled{opacity:.7;cursor:default;}
.upgpep-gate__spinner{width:14px;height:14px;border:2px solid rgba(255,255,255,.5);border-top-color:#fff;border-radius:50%;animation:upgpep-spin .7s linear infinite;}
@keyframes upgpep-spin{to{transform:rotate(360deg);}}
.upgpep-gate__lost{align-self:center;font-size:12px;color:#5B6A6E;text-decoration:none;cursor:pointer;}
.upgpep-gate__switch{text-align:center;font-size:12.5px;color:#5B6A6E;margin:2px 0 0;}
.upgpep-gate__switch button{border:0;background:none;color:#001E75;font-weight:700;cursor:pointer;padding:0;font-size:12.5px;}
@media (max-width:720px){
  .upgpep-gate__card{flex-direction:column;max-height:94vh;}
  .upgpep-gate__brand{flex:none;padding:26px 24px;}
  .upgpep-gate__panel{padding:26px 24px;}
}
