:root{

--bg-page:#050505;
--bg-page-2:#0b0907;

--card:#ffffff;

--gold:#d8a63a;
--gold-dark:#b88924;
--gold-light:#efca71;

--border:#e9e9e9;

--text:#171717;
--muted:#777777;
--placeholder:#9d9d9d;

--shadow:
0 18px 55px rgba(0,0,0,.18);

--radius:24px;

--input-radius:16px;

--transition:.28s cubic-bezier(.4,0,.2,1);

}

/* base */
* { box-sizing: border-box; }
html,body { height: 100%; margin: 0; font-family: 'Poppins', system-ui, -apple-system, "Segoe UI", Roboto, Arial; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; background: linear-gradient(180deg, var(--bg-page) 0%, #0b0b1a 100%); color: var(--text-strong); }


/*==================================================
FUNDO DA PÁGINA
==================================================*/

html,
body{

margin:0;
padding:0;
min-height:100%;

font-family:Poppins,system-ui,sans-serif;

background:
radial-gradient(circle at top,#191103 0%,#080808 42%,#040404 100%);

color:var(--text);

}

.page-root{

min-height:100vh;
display:flex;
flex-direction:column;

}

.top-bar{

width:100%;

padding:8px 26px 8px;

display:flex;
align-items:center;
justify-content:flex-start;

}

.top-bar{

position:fixed;

top:5px;
left:5px;
right:auto;

display:flex;
align-items:flex-start;
justify-content:flex-start;

z-index:1000;

}

/* lang/registered */
.lang-verify .lang { background:var(--glass); padding:6px 10px; border-radius:12px; color:var(--text-strong); font-weight:700; display:flex; align-items:center; gap:8px; }
.lang-verify .reg { font-size:12px; opacity:0.9; color:var(--text-dim); }

/* main area */


/* input-group (senha com eye) */
.input-group { position:relative; }
/*.toggle-pass {
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:34px;
  height:34px;
  border-radius:8px;
  border: none;
  background: transparent;
  cursor:pointer;
  background-repeat:no-repeat;
  background-position:center;
  opacity:0.95;
}*/
/* olho fechado */
/*.toggle-pass:not(.showing) { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23dbe9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.46 12C3.73 7.94 7.52 5 12 5s8.27 2.94 9.54 7c-1.27 4.06-5.06 7-9.54 7S3.73 16.06 2.46 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
/* olho aberto (mostrando) 
.toggle-pass.showing { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23dbe9ff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3C/path%3E%3C/svg%3E"); }
*/
/* button */
.btn-primary {
  width:100%;
  padding:12px 14px;
  background: linear-gradient(90deg, var(--accent-start), var(--accent-end));
  border: none;
  color: white;
  font-weight:700;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(47,140,204,0.12);
  font-size:16px;
}
.btn-primary:active { transform: translateY(1px); }

/* small links */
.links-row { display:flex; justify-content:space-between; margin-top:12px; gap:12px; }
.link-muted { color: var(--text-dim); text-decoration: none; font-size:13px; }
.legal-note { margin-top:14px; color:rgba(230,240,255,0.5); font-size:12px; }



:root{
  --brand:#39d2c7;
  --ok1:#22c55e; --ok2:#16a34a;
  --err1:#ef4444; --err2:#dc2626;
  --overlay:rgba(15,23,42,.55);
}

.app-modal{position:fixed; inset:0; display:grid; place-items:center;
  background:var(--overlay); z-index:9999; opacity:0; pointer-events:none;
  transition:opacity .18s ease;}
.app-modal.show{opacity:1; pointer-events:auto;}
.app-modal.hidden{display:none;} /* caso queira começar invisível */

.modal-card{width:min(92vw,420px); background:#fff; border-radius:16px;
  padding:18px 16px; text-align:center; box-shadow:0 12px 30px rgba(0,0,0,.15);
  transform:translateY(6px) scale(.98); transition:transform .18s ease;}
.app-modal.show .modal-card{transform:translateY(0) scale(1);}

.modal-icon{width:56px; height:56px; border-radius:999px; margin:2px auto 10px;
  display:grid; place-items:center; font-size:28px; color:#fff; font-weight:800;}
.app-modal.success .modal-icon{background:linear-gradient(135deg,var(--ok1),var(--ok2));}
.app-modal.error   .modal-icon{background:linear-gradient(135deg,var(--err1),var(--err2));}

.modal-text{margin:0 8px 12px; color:#0f172a; font:600 15px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;}

.modal-close{border:0; background:var(--brand); color:#fff; height:40px;
  border-radius:10px; padding:0 18px; font-weight:700; cursor:pointer;
  box-shadow:0 2px 10px rgba(57,210,199,.25);}
.modal-close:active{transform:translateY(1px);}

#loginBtn:disabled {
  background: linear-gradient(180deg, #2a2a2a 0%, #171717 100%) !important;
  color: #777 !important;
  border-color: #444 !important;
  opacity: 0.75;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  }


.hm-lang-box{

display:flex;
align-items:flex-start;
gap:2px;

}

.hm-lang-circle{

width:35px;
height:35px;
border-radius:50%;

display:flex;
align-items:center;
justify-content:center;

background:
linear-gradient(
180deg,
#101010,
#050505);

border:1.2px solid rgba(218,177,71,.95);

color:#ffffff;

font-size:14px;
font-weight:500;

box-shadow:
0 0 12px rgba(218,177,71,.10),
inset 0 1px rgba(255,255,255,.05);

}

.hm-lang-r{

font-size:10px;

font-weight:600;

color:#d8ae49;

margin-top:2px;

  }

/*.toggle-pass .icon-eye-off{
    display:none;
}

.toggle-pass.showing .icon-eye{
    display:none;
}

.toggle-pass.showing .icon-eye-off{
    display:block;
}*/

.eye-button .icon-eye {
    display: block;
}

.eye-button .icon-eye-off {
    display: none;
}

.eye-button.showing .icon-eye {
    display: none;
}

.eye-button.showing .icon-eye-off {
    display: block;
}

/*==================================================
CARD PRINCIPAL
==================================================*/

.auth-card{
    width:100%;
    max-width:500px;
    margin:0 auto;
    display:block;
    padding:0;
}

.auth-wrap{

flex:1;

display:flex;
justify-content:center;
align-items:center;

padding:70px 20px 20px;

  }
.form-side{
width:100%;

background:#fff;

border-radius:18px;

padding:25px 25px 40px;

box-shadow:var(--shadow);

border:1px solid rgba(0,0,0,.05);

            }

/*==================================================
TÍTULO
==================================================*/

.login-title{

margin:0;

font-size:24px;

font-weight:700;

letter-spacing:-0.2px;

line-height:1.1;

}

.title-gold{

color:var(--gold);

}

.title-dark{

color:#111;

margin:0 8px;

}

.title-line{

width:70px;
height:2px;

margin-top:8px;
margin-bottom:16px;

border-radius:50px;

background:

linear-gradient(
90deg,
transparent,
var(--gold),
var(--gold-light),
transparent);

box-shadow:

0 0 12px rgba(216,166,58,.45);

  }
/*==================================================
LABELS
==================================================*/

.form-field{

margin-bottom:23px;

}

.form-field label{

display:block;

margin-bottom:6px;

font-size:13px;

font-weight:600;

color:#232323;

}

/*==================================================
INPUT PREMIUM
==================================================*/

.input-box{

position:relative;

display:flex;
align-items:center;

background:#fff;

border:1.8px solid #e8e8e8;

border-radius:10px;

transition:var(--transition);

overflow:hidden;

}

.input-box:hover{

border-color:#d9d9d9;

}

.input-box:focus-within{

border-color:var(--gold);

box-shadow:

0 0 0 5px rgba(216,166,58,.13);

}

/*.text-input{

flex:1;

height:66px;

padding-left:66px;
padding-right:62px;

border:none;
outline:none;

background:transparent;

font-size:18px;

font-weight:500;

color:#111;

}*/

.text-input{
    flex:1;
    min-width:0;
    width:0;
    height:52px;

    padding-left:50px;
    padding-right:48px;

    border:none;
    outline:none;
    background:transparent;

    font-size:13px;
    font-weight:500;
    color:#111;
}

.text-input::placeholder{

color:var(--placeholder);

}

/*==================================================
ÍCONE DOS INPUTS
==================================================*/

.input-icon{

position:absolute;

left:16px;

display:flex;
align-items:center;
justify-content:center;

color:var(--gold);

z-index:2;

}

.icon-svg{

width:20px;
height:20px;

}

/*==================================================
BOTÃO DO OLHO
==================================================*/

.eye-button{

position:absolute;

right:8px;

width:32px;
height:32px;

display:flex;
align-items:center;
justify-content:center;

border:none;
background:none;

cursor:pointer;

color:var(--gold);

transition:.25s;

top:50%;
transform:translateY(-50%);
padding:0;
line-height:0;

}

.eye-button:hover{

transform:translateY(-50%) scale(1.08);

color:var(--gold-dark);

  }

.icon-eye,
.icon-eye-off{

width:20px;
height:20px;
display:block;

}

/*==================================================
BOTÃO ENTRAR
==================================================*/

.form-actions{

margin-top:18px;

}

.btn-primary{

height:50px;

border:none;

border-radius:12px;

background:

linear-gradient(
180deg,
#efc34b,
#d8a63a);

font-size:16px;

font-weight:700;

color:#111;

transition:var(--transition);

box-shadow:

0 10px 20px rgba(216,166,58,.35);

}

.btn-primary:hover{

transform:translateY(-2px);

box-shadow:

0 14px 28px rgba(216,166,58,.42);

}

.btn-primary:active{

transform:scale(.985);

}

/*==================================================
LINKS
==================================================*/

.links-row{

display:flex;

align-items:flex-start;

justify-content:space-between;

margin-top:20px;

gap:12px;

}

.link-card{

display:flex;
flex-direction:column;

gap:6px;

}

.link-title{

font-size:13px;

font-weight:500;

color:#222;

line-height:1.4;

}

.links-divider{

width:1px;

background:#dddddd;

align-self:stretch;

}

.gold-link{

text-decoration:none;

font-size:14px;

font-weight:700;

color:var(--gold);

transition:.25s;

}

.gold-link:hover{

color:var(--gold-dark);

}

.arrow{

margin-left:2px;

}

/*==================================================
RODAPÉ
==================================================*/

.legal-note{

margin-top:14px;

text-align:center;

font-size:12px;

color:#555;

}

.legal-link{

color:var(--gold);

font-weight:600;

text-decoration:none;

}

.legal-link:hover{

text-decoration:underline;

}

/*==================================================
LOGO PT
==================================================*/

.hm-lang-box{

display:flex;

align-items:flex-start;

gap:2px;

}

.hm-lang-circle{

width:44px;
height:44px;

border-radius:50%;

display:flex;
justify-content:center;
align-items:center;

font-size:14px;

font-weight:600;

background:#101010;

border:1.5px solid var(--gold);

color:#fff;

box-shadow:

0 0 20px rgba(216,166,58,.18);

}

.hm-lang-r{

font-size:11px;

font-weight:700;

color:var(--gold);

margin-top:2px;

}

.hm-lang-box{

display:flex;
align-items:flex-start;
gap:2px;

pointer-events:auto;

}
