/* EvolyBlocks Authentication v13 – images live in PUBLIC /img, styles in /css */
/* EvolyBlocks V12 – Login & Registration | standalone auth page styles only
   Keep existing header.tpl/footer.tpl and their global styles unmodified. */
body.ebn-auth-page,
body.ebn-auth-page .eb-page {background:#051123!important;color:#edf5ff!important;}
body.ebn-auth-page .eb-orb{display:none!important;}
/* V12 header.tpl adds a narrow login wrapper. Override it without editing header.tpl. */
body.ebn-auth-page .eb-page > div:first-child{
  max-width:none!important;width:100%!important;padding:0!important;margin:0!important;
}
body.ebn-auth-page .eb-header{background:#06101ef5!important;border-bottom:1px solid #735825a1!important;backdrop-filter:blur(14px)}
body.ebn-auth-page .eb-nav{min-height:74px}
body.ebn-auth-page .eb-navlinks>a,
body.ebn-auth-page .eb-navlinks .dropdown>a{color:#e8f1ff!important}
body.ebn-auth-page .eb-navlinks>a:hover,
body.ebn-auth-page .eb-navlinks .dropdown>a:hover{color:#ffcf68!important;background:#172439!important}
body.ebn-auth-page .eb-navlinks .dropdown-menu{background:#0c1a2f!important;border:1px solid #566282!important}
body.ebn-auth-page .eb-navlinks .dropdown-menu a{color:#eff5ff!important}
body.ebn-auth-page .eb-navlinks .dropdown-menu a:hover{background:#20334c!important;color:#ffe18d!important}
body.ebn-auth-page .eb-price-pill{display:none!important}
body.ebn-auth-page .eb-login{background:#0a1a30!important;border-color:#7288a4!important;color:#fff!important}
body.ebn-auth-page .eb-signup{background:linear-gradient(115deg,#ffe99e,#ffc747 55%,#f0a01b)!important;color:#102034!important;box-shadow:0 4px 17px #ffc64e4e!important}
body.ebn-auth-page .eb-hamburger{background:#0d2138!important;color:#ffe096!important;border-color:#ba8b35!important}
body.ebn-auth-page .eb-mobile{background:#08192b!important;border-top-color:#765c30!important}
body.ebn-auth-page .eb-mobile a{color:#eef3ff!important;border-color:#35435c!important}
body.ebn-auth-page .eb-footer{background:#061122!important;border-top:1px solid #72542c!important}
body.ebn-auth-page .eb-footer-col h4{color:#ffdf9c!important}
body.ebn-auth-page .eb-footer-col a,
body.ebn-auth-page .eb-footer-bottom a{color:#c8d9ef!important}
body.ebn-auth-page .eb-footer-desc,
body.ebn-auth-page .eb-footer-bottom{color:#94a8c3!important}
body.ebn-auth-page .eb-secure-card,
body.ebn-auth-page .eb-social,
body.ebn-auth-page .eb-supported span{background:#0d2036!important;border-color:#334863!important;color:#d9e7ff!important}
body.ebn-auth-page .eb-secure-card strong{color:#fff!important}
body.ebn-auth-page .eb-secure-card span{color:#97aac4!important}
body.ebn-auth-page .eb-footer-bottom{border-color:#21344f!important}
body.ebn-auth-page .eb-payout-wrap{display:none!important}
body.ebn-auth-page .eb-telegram-btn{box-shadow:0 10px 24px #0009}
body.ebn-auth-page .faucetpay-popup{z-index:2000}

.ebn-auth, .ebn-auth * {box-sizing:border-box}
.ebn-auth{
  --ebn-auth-gold:#ffce64;--ebn-auth-line:#ba8534;--ebn-auth-muted:#a5b7d0;
  position:relative;isolation:isolate;min-height:calc(100vh - 75px);
  background:#061425;color:#f5f9ff;
  padding:42px 24px 76px;overflow:hidden;font-family:Inter,Arial,sans-serif;
}
.ebn-auth::before{content:"";inset:0;position:absolute;z-index:-2;pointer-events:none;
  background:linear-gradient(180deg,rgba(4,14,32,.25),#051225 93%),url('../img/evb-auth-mountains.webp') center bottom/cover no-repeat;
  opacity:.54;
}
.ebn-auth::after{content:"";position:absolute;inset:-10% -20%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse at 82% 18%,#3f14663b,transparent 45%),radial-gradient(ellipse at 13% 76%,#065a7d32,transparent 52%);
}
.ebn-auth-layout{width:min(100%,1290px);margin:0 auto;display:grid;grid-template-columns:minmax(0,.93fr) minmax(0,1.07fr);align-items:stretch;
  border:1px solid #a77a398f;border-radius:23px;overflow:hidden;background:#061327e6;
  box-shadow:0 32px 110px #000b,0 0 38px #ffcc5330,inset 0 1px #ffffff30;
}
.ebn-auth-scene{min-height:665px;position:relative;overflow:hidden;
  background:#092038 url('../img/evb-auth-hero-desktop.webp') 64% center/auto 100% no-repeat;
  border-right:1px solid #bc8a4566;
}
.ebn-auth-scene::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#04102213 0%,transparent 42%,#031021db 86%,#020d1df2)}
.ebn-auth-scene .ebn-auth-brandmark{position:absolute;top:24px;left:26px;z-index:1;display:inline-flex;gap:9px;align-items:center;
  padding:9px 12px;background:#06162999;border:1px solid #ffe3a25a;border-radius:999px;color:#ffdda4;font-size:11px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}
.ebn-auth-brandmark img{width:20px;height:20px;filter:drop-shadow(0 0 10px #ffc55f)}
.ebn-auth-scene-copy{position:absolute;z-index:1;bottom:46px;left:34px;right:28px;max-width:480px}
.ebn-auth-kicker{display:inline-flex;align-items:center;gap:7px;color:#ffda85!important;font-size:11px;font-weight:850;letter-spacing:.15em;text-transform:uppercase;margin:0 0 15px}
.ebn-auth-scene h2{font-size:clamp(31px,3vw,47px)!important;letter-spacing:-.05em;line-height:1.04;margin:0 0 14px!important;color:#fff!important;
  font-weight:950;font-style:italic;text-shadow:0 5px 18px #000b}
.ebn-auth-scene h2 span{display:block;color:#ffd56d;text-shadow:0 0 28px #ffbf4266}
.ebn-auth-scene p.ebn-auth-scene-desc{font-size:14px;line-height:1.65;color:#dceaf9!important;max-width:425px;margin:0 0 24px}
.ebn-auth-perks{display:flex;flex-wrap:wrap;gap:9px}
.ebn-auth-perk{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;color:#f5e6c7!important;font-size:11px;font-weight:750;
  background:#081d32d9;border:1px solid #c5974982;border-radius:9px;backdrop-filter:blur(8px)}
.ebn-auth-perk img{width:16px;height:16px;display:block}
.ebn-auth-formside{min-width:0;padding:46px clamp(25px,3.4vw,57px) 42px;
  background:linear-gradient(135deg,#0e203ae8,#071528f6 52%,#08182beb);position:relative}
.ebn-auth-formside::before{content:"";position:absolute;top:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,#ffe49e88,transparent)}
.ebn-auth-formside h1{margin:0!important;color:#fff!important;font-size:clamp(27px,2.4vw,38px)!important;line-height:1.14;font-weight:900;letter-spacing:-.035em}
.ebn-auth-highlight{color:#ffd56e!important}
.ebn-auth-formintro{color:#9fb3ce!important;font-size:13px;line-height:1.6;margin:13px 0 29px}
.ebn-auth-badge{display:inline-flex;align-items:center;gap:7px;color:#ffda8c;background:#3026149c;border:1px solid #9e752e84;
  border-radius:999px;line-height:1.1;letter-spacing:.08em;font-size:10px;text-transform:uppercase;font-weight:850;padding:9px 13px;margin-bottom:17px}
.ebn-auth-note{border:1px solid #27647f8a;background:#07314769;color:#bfdeec;padding:12px 14px;border-radius:10px;font-size:12px;line-height:1.5;margin:0 0 24px}
.ebn-auth-message{border:1px solid #308974;border-radius:12px;background:#07362d9c;color:#d8fff0;padding:20px;margin:0 0 20px;text-align:center}
.ebn-auth-message h3{margin:0 0 8px;color:#fff!important;font-size:19px}
.ebn-auth-field{margin-bottom:17px;min-width:0}
.ebn-auth-field label{display:block;color:#dbe6f7!important;font-size:12px;font-weight:750;margin-bottom:8px}
.ebn-auth-field .ebn-auth-input,
.ebn-auth-field input.form-control,
.ebn-auth-field select.form-control{height:48px!important;min-height:48px;display:block;width:100%;border:1px solid #475e7b!important;
  background:#081628!important;border-radius:10px!important;box-shadow:inset 0 1px 3px #0004!important;
  color:#f3f8ff!important;font:500 14px Inter,Arial,sans-serif!important;padding:0 45px 0 15px!important;
  transition:border-color .2s,box-shadow .2s}
.ebn-auth-field input::placeholder{color:#8a9fb9!important;opacity:1}
.ebn-auth-field input:focus,.ebn-auth-field select:focus{border-color:#f3b64d!important;outline:2px solid #ffcf4f55;outline-offset:1px;box-shadow:0 0 0 4px #fbc2571d!important}
.ebn-auth-field select{appearance:none}
.ebn-auth-inputwrap{position:relative}
.ebn-auth-fieldicon{position:absolute;right:15px;top:50%;transform:translateY(-50%);pointer-events:none;display:flex;align-items:center;justify-content:center}
.ebn-auth-fieldicon img{width:19px;height:19px;filter:drop-shadow(0 0 5px #ffb54c88)}
.ebn-auth-toggle{position:absolute;right:9px;top:50%;transform:translateY(-50%);background:#142c48;border:1px solid #455f80;color:#c8def6;border-radius:8px;padding:5px 9px;font-size:11px;font-weight:800;cursor:pointer}
.ebn-auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.ebn-auth-checks{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin:5px 0 24px}
.ebn-auth-check{display:flex;align-items:flex-start;gap:9px;color:#c7d8ed;font-size:12px;line-height:1.5;cursor:pointer}
.ebn-auth-check input{accent-color:#ffcb54;width:17px;height:17px;flex:0 0 auto;cursor:pointer;margin:0}
.ebn-auth-check a,.ebn-auth-formside a.ebn-auth-link{color:#ffdb88!important;text-decoration:none!important;font-weight:800}
.ebn-auth-check a:hover,.ebn-auth-formside a.ebn-auth-link:hover{text-decoration:underline!important}
.ebn-auth-captcha{margin:14px 0 20px;max-width:100%;overflow-x:auto;color:#c7d9eb}
.ebn-auth-submit{width:100%;min-height:52px;display:flex;align-items:center;justify-content:center;gap:10px;
  border:1px solid #ffe692;border-radius:11px!important;background:linear-gradient(115deg,#fff0a6,#ffd15d 42%,#f3a921)!important;
  font-family:Inter,Arial,sans-serif;font-size:14px;font-weight:900;color:#101726!important;
  text-shadow:none;box-shadow:0 12px 28px #eaa5243a,inset 0 1px #fff7cc;cursor:pointer;transition:.18s}
.ebn-auth-submit:hover{filter:brightness(1.07);transform:translateY(-2px)}
.ebn-auth-submit:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ebn-auth-switch{margin:23px 0 0;color:#a7bad4;text-align:center;font-size:13px}
.ebn-auth-switch a{color:#ffe09a!important;font-weight:900}
.ebn-auth-shortcuts{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:23px 0 0;font-size:12px}
.ebn-auth-shortcuts a{color:#bad5f3!important;background:#0c243c;border:1px solid #375371;padding:9px 13px;border-radius:8px}
.ebn-auth-shortcuts a:hover{color:#fff!important;border-color:#c39b49}
.ebn-auth-rule{height:1px;background:linear-gradient(90deg,transparent,#8b784f85,transparent);margin:25px 0 17px}
.ebn-auth-trust{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;font-size:11px;color:#98b5cf}
.ebn-auth-trust .dot{width:5px;height:5px;border-radius:50%;background:#f1c164}
.ebn-auth-formside .select2-container{width:100%!important}
.ebn-auth-formside .select2-container--default .select2-selection--single{
  height:48px!important;min-height:48px;border-radius:10px!important;border:1px solid #475e7b!important;background:#081628!important}
.ebn-auth-formside .select2-selection__rendered{line-height:46px!important;color:#f4f8ff!important;padding-left:15px!important;font-size:13px}
.ebn-auth-formside .select2-selection__placeholder{color:#91a3c0!important}
.ebn-auth-formside .select2-selection__arrow{height:46px!important;right:10px!important}
.ebn-auth-formside .select2-selection__arrow b{border-color:#f7c966 transparent transparent!important}
.ebn-auth-formside .select2-container--open .select2-selection--single{border-color:#ffd071!important}
.ebn-auth-formside .form-group.has-feedback{margin:0}
.ebn-auth-formside .form-control-feedback{display:none}
.ebn-auth-register .ebn-auth-formside{padding-top:34px;padding-bottom:34px}
.ebn-auth-register .ebn-auth-formintro{margin-bottom:20px}
.ebn-auth-register .ebn-auth-field{margin-bottom:14px}
.ebn-auth-register .ebn-auth-scene{min-height:760px}
@media(min-width:1500px){.ebn-auth{padding-top:55px}.ebn-auth-layout{max-width:1360px}}
@media(max-width:1020px){
 .ebn-auth-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
 .ebn-auth-scene{background-position:67% center}
 .ebn-auth-scene-copy{left:23px;right:19px;bottom:31px}
 .ebn-auth-scene h2{font-size:35px!important}
 .ebn-auth-perks{gap:6px}.ebn-auth-perk{font-size:10px;padding:6px 8px}
}
@media(max-width:740px){
 .ebn-auth{padding:0 0 48px}
 .ebn-auth-layout{border-radius:0;grid-template-columns:1fr;border-left:0;border-right:0;box-shadow:none}
 .ebn-auth-scene,.ebn-auth-register .ebn-auth-scene{
   min-height:225px;height:225px;max-height:225px;border-right:0;border-bottom:1px solid #b88e4266;
   background-image:linear-gradient(180deg,#06132908,#0413272e),url('../img/evb-auth-hero-mobile.webp');background-size:auto,cover;background-position:center 46%;
 }
 .ebn-auth-scene:after{background:linear-gradient(0deg,#071626f8 0%,#05142509 90%)}
 .ebn-auth-scene-copy{bottom:14px;left:20px;right:20px}
 .ebn-auth-scene h2{font-size:25px!important;margin-bottom:0!important}
 .ebn-auth-scene-desc,.ebn-auth-perks,.ebn-auth-kicker{display:none!important}
 .ebn-auth-scene .ebn-auth-brandmark{top:12px;left:15px;font-size:9px;padding:6px 9px}
 .ebn-auth-formside,.ebn-auth-register .ebn-auth-formside{padding:25px 22px 42px}
}
@media(max-width:440px){
 .ebn-auth-scene,.ebn-auth-register .ebn-auth-scene{height:195px;min-height:195px;max-height:195px}
 .ebn-auth-grid{grid-template-columns:1fr;gap:0}
 .ebn-auth{padding:0 0 35px}
 .ebn-auth-formside,.ebn-auth-register .ebn-auth-formside{padding:24px 18px 35px}
 .ebn-auth-formside h1{font-size:26px!important}
 .ebn-auth-shortcuts{gap:7px}.ebn-auth-shortcuts a{padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.ebn-auth *{transition:none!important}}
/* Keep clear vertical rhythm even with legacy form-group rules. */
.ebn-auth-formside .ebn-auth-field.form-group.has-feedback{margin-bottom:17px!important}
.ebn-auth-register .ebn-auth-formside .ebn-auth-field.form-group.has-feedback{margin-bottom:15px!important}
/* Larger hit area for native checkboxes. */
.ebn-auth-formside .ebn-auth-check{min-height:23px}
