:root{
  --auth-blue-1:#06145c;
  --auth-blue-2:#1434A4;
  --auth-blue-3:#2a63d7;
  --auth-card:rgba(255,255,255,.17);
  --auth-card-strong:rgba(255,255,255,.22);
  --auth-stroke:rgba(255,255,255,.24);
  --auth-text:#ffffff;
  --auth-soft:rgba(255,255,255,.82);
  --auth-gold:#f2c94c;
  --auth-orange:#e59626;
  --auth-shadow:0 22px 55px rgba(0,0,0,.22);
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

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

html{
  background:#1434A4;
}

html{
  scrollbar-width:thin;
  scrollbar-color:#2a63d7 rgba(6,20,92,.32);
}

body::-webkit-scrollbar{
  width:8px;
}

body::-webkit-scrollbar-track{
  background:rgba(6,20,92,.32);
}

body::-webkit-scrollbar-thumb{
  background:linear-gradient(180deg, #2a63d7 0%, #1434A4 100%);
  border-radius:999px;
}

body::-webkit-scrollbar-thumb:hover{
  background:linear-gradient(180deg, #3b78f0 0%, #1434A4 100%);
}

body{
  min-height:100vh;
  width:100%;
  font-family:Montserrat, Arial, sans-serif;
  color:var(--auth-text);
  overflow-x:hidden;
  background:linear-gradient(135deg, var(--auth-blue-1) 0%, var(--auth-blue-2) 52%, var(--auth-blue-3) 100%) fixed !important;
  background-image:linear-gradient(135deg, var(--auth-blue-1) 0%, var(--auth-blue-2) 52%, var(--auth-blue-3) 100%) !important;
  position:relative;
}

body::before,
body::after,
.page::before,
.page::after,
.vignette,
.streaks,
.ray,
.streak,
.dot{
  display:none !important;
  content:none !important;
  background:none !important;
  animation:none !important;
  box-shadow:none !important;
}

.page{
  position:relative;
  z-index:1;
  width:100%;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:14px;
  padding:24px 16px 28px;
  background:transparent !important;
  background-image:none !important;
}

.brand{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:4px;
}

.brand img{
  display:block;
  width:min(104px, 42vw);
  height:auto;
  object-fit:contain;
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.22));
}

.card{
  width:min(390px, 90vw);
  border-radius:12px;
  background:var(--auth-card);
  border:1px solid var(--auth-stroke);
  box-shadow:var(--auth-shadow);
  padding:20px 18px 18px;
  color:var(--auth-text);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
}

.title{
  text-align:center;
  color:var(--auth-text);
  font-weight:800;
  letter-spacing:.5px;
  font-size:clamp(24px, 4.2vw, 32px);
  line-height:1.1;
  margin:0 0 18px;
}

.field{
  margin-top:8px;
}

.input{
  width:100%;
  min-height:48px;
  padding:12px 15px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.22);
  background:var(--auth-card-strong);
  color:var(--auth-text);
  font-size:16px;
  outline:none;
  transition:border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.input::placeholder{
  color:rgba(255,255,255,.86);
}

.input:focus{
  border-color:rgba(242,201,76,.68);
  background:rgba(255,255,255,.28);
  box-shadow:0 0 0 3px rgba(242,201,76,.12);
}

.password-wrap{
  position:relative;
}

.input-with-eye{
  padding-right:48px;
}

.toggle-eye{
  position:absolute;
  right:12px;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:var(--auth-text);
  cursor:pointer;
  font-size:17px;
  line-height:1;
  opacity:.86;
}

.toggle-eye:hover{
  opacity:1;
}

.hidden-block{
  display:none !important;
}

.reset-note{
  margin:0 0 10px;
  padding:12px 14px;
  border-radius:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  color:var(--auth-text);
  font-size:14px;
  line-height:1.45;
  text-align:center;
}

.btn{
  width:100%;
  min-height:48px;
  margin-top:14px;
  padding:12px 15px;
  border:0;
  border-radius:10px;
  font-weight:900;
  letter-spacing:2.4px;
  text-transform:uppercase;
  font-size:14px;
  cursor:pointer;
  transition:transform .12s ease, opacity .12s ease, filter .12s ease;
  background:var(--auth-orange);
  color:#111b4d;
  box-shadow:0 14px 26px rgba(0,0,0,.18);
}

.btn:active{
  transform:translateY(1px);
}

.btn[disabled]{
  opacity:.64;
  cursor:not-allowed;
  filter:saturate(.75);
  box-shadow:none;
}

.divider{
  display:flex;
  align-items:center;
  gap:14px;
  margin:15px 0 12px;
  opacity:.72;
}

.divider::before,
.divider::after{
  content:"";
  flex:1;
  height:1px;
  background:rgba(255,255,255,.18);
}

.footer{
  text-align:center;
  padding-top:2px;
}

.footer .q{
  color:var(--auth-text);
  font-size:14px;
  margin-bottom:10px;
}

.footer a{
  display:inline-block;
  font-weight:900;
  letter-spacing:1.2px;
  text-transform:uppercase;
  font-size:14px;
  color:#111827;
  text-decoration:none;
  padding:9px 14px;
  border-radius:9px;
  background:var(--auth-gold);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:0 10px 22px rgba(0,0,0,.14);
  transition:transform .12s ease, filter .12s ease;
}

.footer a:hover{
  filter:brightness(1.03);
  transform:translateY(-1px);
}

.hint{
  margin-top:12px;
  text-align:center;
  font-size:14px;
  color:var(--auth-text);
  line-height:1.45;
}

.hint-whatsapp{
  color:var(--auth-gold);
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
}

.hint-whatsapp:hover{
  text-decoration:underline;
}

.toast{
  position:fixed;
  right:16px;
  bottom:16px;
  max-width:min(420px, calc(100vw - 32px));
  background:rgba(17,24,39,.94);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:12px 14px;
  color:#fff;
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  opacity:0;
  transform:translateY(10px);
  transition:.22s ease;
  z-index:10;
  pointer-events:none;
  font-size:13px;
  line-height:1.35;
}

.toast.show{
  opacity:1;
  transform:translateY(0);
}

.help-link,
a.help-link{
  display:none !important;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus{
  -webkit-text-fill-color:#ffffff;
  box-shadow:0 0 0 1000px rgba(255,255,255,.18) inset !important;
  transition:background-color 9999s ease-out 0s;
}

@media (max-width:520px){
  .page{
    justify-content:flex-start;
    padding-top:28px;
  }

  .brand img{
    width:min(118px, 44vw);
  }

  .card{
    width:min(390px, 92vw);
    padding:20px 16px 18px;
  }

  .title{
    font-size:clamp(26px, 8vw, 34px);
  }

  .hint{
    font-size:13px;
  }
}

@media (prefers-reduced-motion:reduce){
  *,
  *::before,
  *::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }
}
