.auth-screen-page{
  min-height:100vh;
  background:
    linear-gradient(rgba(10,11,13,.7), rgba(10,11,13,.76)),
    radial-gradient(950px 420px at 70% 18%, rgba(255,207,117,.2), transparent 58%),
    linear-gradient(180deg, #2d3442 0%, #1f2732 44%, #161c25 100%);
}

.auth-screen-main{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

.auth-shell{
  width:100%;
  max-width:760px;
}

.auth-card{
  position:relative;
  background:
    radial-gradient(circle at top left, rgba(84,197,43,.14), transparent 28%),
    linear-gradient(180deg, rgba(8,10,12,.9), rgba(13,16,19,.86));
  border:1px solid rgba(232,237,208,.16);
  border-radius:26px;
  overflow:hidden;
  box-shadow:0 28px 90px rgba(0,0,0,.45);
  backdrop-filter:blur(10px);
}

.auth-close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(232,237,208,.36);
  border-radius:999px;
  color:#edf3dc;
  text-decoration:none;
  font-size:24px !important;
  line-height:1;
  background:rgba(16,16,16,.45);
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}

.auth-close:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(232,237,208,.7);
  color:#ffffff;
}

.auth-header{
  padding:30px 32px 20px;
  border-bottom:1px solid rgba(232,237,208,.12);
}

.auth-title{
  margin:0;
  max-width:11ch;
  color:#edf3dc;
  font-size:clamp(40px, 6vw, 64px) !important;
  line-height:.92;
  letter-spacing:-.05em;
}

.auth-h1{
  margin:0;
  color:#f9fdef;
  font-size:20px !important;
  line-height:1.03;
  letter-spacing:.01em;
}

.auth-subtitle{
  margin:14px 0 0;
  max-width:620px;
  color:#d2dabf;
  font-size:17px !important;
  line-height:1.55;
}

.auth-body{
  padding:24px 32px 32px;
}

.auth-error{
  margin:0 0 12px;
  border:1px solid rgba(255,59,59,.92);
  background:rgba(122,10,10,.3);
  color:#ff2f2f;
  border-radius:10px;
  padding:10px 12px;
  font-weight:800;
  text-shadow:0 0 0 rgba(0,0,0,0);
}

.auth-success{
  margin:0 0 12px;
  border:1px solid rgba(122, 196, 112, .92);
  background:rgba(22, 74, 31, .72);
  color:#ffffff;
  border-radius:10px;
  padding:10px 12px;
  font-weight:800;
  text-shadow:0 0 0 rgba(0,0,0,0);
}

.auth-form{
  display:grid;
  gap:16px;
}

.auth-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.auth-label{
  display:grid !important;
  gap:8px;
  color:#e4ead3;
  font-size:15px !important;
  font-weight:700;
}

.auth-label input,
.auth-label select{
  width:100%;
  min-height:50px;
  border:1px solid rgba(219,230,194,.55);
  border-radius:14px;
  background:rgba(32,29,26,.86);
  color:#f3f7ea;
  padding:12px 14px;
  font-size:16px !important;
  transition:border-color .15s ease, box-shadow .15s ease, background .15s ease, transform .12s ease;
}

.auth-password-wrap{
  position:relative;
  display:block;
}

.auth-password-wrap input{
  padding-right:52px;
  color:#111111 !important;
}

.auth-password-wrap input[type="password"],
.auth-password-wrap input[type="text"]{
  color:#111111 !important;
  -webkit-text-fill-color:#111111;
}

.auth-password-toggle{
  position:absolute;
  top:50%;
  right:10px;
  transform:translateY(-50%);
  width:38px;
  height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(219,230,194,.4);
  border-radius:12px;
  background:rgba(18,18,18,.72);
  color:#edf3dc;
  cursor:pointer;
  transition:background .15s ease, border-color .15s ease, color .15s ease;
}

.auth-password-toggle:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(232,237,208,.7);
  color:#ffffff;
}

.auth-password-toggle svg{
  width:18px;
  height:18px;
}

.auth-label input:focus,
.auth-label select:focus{
  outline:none;
  border-color:#6bcf3d;
  box-shadow:0 0 0 3px rgba(107,207,61,.2);
  transform:translateY(-1px);
}

body.page-registro .auth-label input,
body.page-registro .auth-label select{
  background:rgba(255,255,255,.96);
  color:#111111;
  -webkit-text-fill-color:#111111;
}

body.page-registro .auth-label input::placeholder{
  color:#111111;
  opacity:1;
}

body.page-registro .auth-label input::-webkit-input-placeholder{
  color:#111111;
  opacity:1;
}

body.page-registro .auth-label input::-moz-placeholder{
  color:#111111;
  opacity:1;
}

body.page-registro .auth-label input:-ms-input-placeholder{
  color:#111111;
}
.auth-code-group{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:nowrap;
  max-width:420px;
  transition:filter .15s ease;
}
.auth-code-input{
  width:56px !important;
  min-width:56px !important;
  height:58px !important;
  min-height:58px !important;
  padding:0 !important;
  flex:0 0 56px;
  text-align:center;
  font-size:27px !important;
  font-weight:800;
  letter-spacing:.04em;
  border-radius:14px !important;
  background:rgba(255,255,255,.96) !important;
  color:#12203d !important;
  border:1px solid rgba(18,32,61,.2) !important;
}
.auth-code-group.is-complete .auth-code-input{
  border-color:#6bcf3d !important;
  box-shadow:0 0 0 3px rgba(107,207,61,.2);
}
.auth-code-timer{
  display:block;
  margin-top:10px;
  color:#d2dabf;
  font-size:14px !important;
}
.auth-code-timer strong{
  color:#ffffff;
  font-size:15px !important;
}
.auth-code-timer.is-expired strong{
  color:#ffb3b3;
}

.auth-link{
  color:#e2eacb;
  text-decoration:underline;
  text-underline-offset:2px;
}

.auth-link:hover{
  color:#89e45f;
}

.auth-check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color:#dde6c8;
  font-size:15px !important;
  line-height:1.4;
}

.auth-check input{
  margin-top:3px;
}

.auth-actions{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:4px;
}

.auth-btn{
  appearance:none;
  border:1px solid #55c52b;
  background:#55c52b;
  color:#0e2405;
  border-radius:14px;
  padding:12px 18px;
  min-width:170px;
  font-size:15px !important;
  font-weight:800;
  cursor:pointer;
  text-align:center;
  text-decoration:none;
  transition:background .15s ease, transform .12s ease, border-color .15s ease, box-shadow .15s ease;
}

.auth-btn:hover{
  background:#64d83b;
  border-color:#64d83b;
  box-shadow:0 14px 28px rgba(84,197,43,.24);
  transform:translateY(-1px);
}

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

.auth-btn-outline{
  background:transparent;
  color:#dce7c6;
  border-color:rgba(220,231,198,.56);
}

.auth-btn-outline:hover{
  background:rgba(255,255,255,.08);
  border-color:#dce7c6;
  box-shadow:none;
}

.auth-panel-note{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(84,197,43,.12);
  border:1px solid rgba(84,197,43,.24);
  color:#dff0c8;
  font-size:12px !important;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
}

.auth-panel-note::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:999px;
  background:#55c52b;
}

.auth-card-split{
  display:grid;
  gap:20px;
}

.auth-card-block{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(232,237,208,.12);
  background:rgba(255,255,255,.035);
}

.auth-card-block h2{
  margin:0 0 8px;
  color:#f5f9e6;
  font-size:23px !important;
  letter-spacing:-.03em;
}

.auth-card-block p{
  margin:0;
  color:#cfdab4;
  line-height:1.55;
  font-size:15px !important;
}

.auth-email-locked{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(84,197,43,.28);
  background:rgba(84,197,43,.08);
  color:#ecf6db;
  margin-top:14px;
}

@media (max-width:760px){
  .auth-header{ padding:22px 20px 14px; }
  .auth-body{ padding:18px 20px 24px; }
  .auth-title{ font-size:42px !important; }
  .auth-subtitle{ font-size:15px !important; }
  .auth-grid-2{ grid-template-columns:1fr; gap:12px; }
  .auth-code-group{
    gap:8px;
    max-width:100%;
  }
  .auth-code-input{
    width:48px !important;
    min-width:48px !important;
    height:52px !important;
    min-height:52px !important;
    flex:0 0 48px;
    font-size:24px !important;
  }
  .auth-actions{ flex-direction:column; align-items:stretch; }
  .auth-btn{ width:100%; min-width:0; }
}
