/* =====================
   VARIÁVEIS
===================== */
:root{
  --green-700:#0f766e;
  --green-600:#16a34a;
  --green-500:#22c55e;
  --mint-50:#f0fdf4;
  --mint-100:#dcfce7;
  --slate-900:#0f172a;
  --slate-700:#334155;
  --slate-500:#64748b;
  --slate-200:#e2e8f0;
  --white:#ffffff;
  --shadow: 0 18px 50px rgba(15, 23, 42, .12);
  --radius: 18px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

a{
  text-decoration: none;
  color: inherit;
}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--slate-900);
  background:
    radial-gradient(1000px 600px at 15% 20%, rgba(34,197,94,.18), transparent 55%),
    radial-gradient(900px 600px at 85% 10%, rgba(15,118,110,.16), transparent 55%),
    linear-gradient(135deg, var(--mint-50), #ffffff 55%, rgba(220,252,231,.45));
  display:grid;
  place-items:center;
  padding: 24px;
}

.wrap{
  width: min(980px, 100%);
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}

.panel{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(226,232,240,.9);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow:hidden;
}

/* Lado esquerdo (branding/infos) */
.brand{
  padding: 34px 34px 30px;
  position: relative;
  min-height: 420px;
}

.brand::before{
  content:"";
  position:absolute;
  inset: -120px -120px auto auto;
  width: 360px;
  height: 360px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(34,197,94,.28), rgba(15,118,110,.12), transparent 70%);
  filter: blur(0px);
  pointer-events:none;
}

.logo{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-bottom: 20px;
}

.mark{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green-600), var(--green-700));
  display:grid;
  place-items:center;
  color: var(--white);
  box-shadow: 0 10px 24px rgba(22,163,74,.25);
  flex: 0 0 auto;
}

.logo strong{
  font-size: 16px;
  letter-spacing:.2px;
  line-height:1.1;
}

.logo small{
  display:block;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 2px;
  font-size: 12.5px;
}

.headline{
  margin: 14px 0 10px;
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -.8px;
}

.subtitle{
  margin: 0 0 18px;
  color: var(--slate-700);
  font-size: 15.5px;
  line-height: 1.55;
  max-width: 46ch;
}

.bullets{
  margin: 18px 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 10px;
}

.bullets li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: var(--slate-700);
  font-size: 14px;
  line-height: 1.4;
}

.check{
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: rgba(34,197,94,.14);
  border: 1px solid rgba(34,197,94,.25);
  display:grid;
  place-items:center;
  color: var(--green-700);
  flex: 0 0 auto;
  margin-top: 1px;
}

/* Lado direito (form) */
.login{
  padding: 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height: 420px;
}

.login h2{
  margin: 0 0 6px;
  font-size: 20px;
  letter-spacing: -.2px;
}

.login p{
  margin: 0 0 18px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 1.45;
}

form{
  display:grid;
  gap: 12px;
  margin-top: 6px;
}

.field{
  display:grid;
  gap: 6px;
}

label{
  font-size: 12.5px;
  color: var(--slate-700);
  font-weight: 600;
}

.input{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--slate-200);
  background: rgba(255,255,255,.9);
  transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
}

.input:focus-within{
  border-color: rgba(34,197,94,.55);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.input svg{ color: var(--slate-500); flex:0 0 auto; }

input{
  width:100%;
  border:0;
  outline:none;
  background:transparent;
  font-size: 14.5px;
  color: var(--slate-900);
}

input::placeholder{ color: rgba(100,116,139,.75); }

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-top: 2px;
}

.remember{
  display:flex;
  align-items:center;
  gap: 8px;
  font-size: 13px;
  color: var(--slate-700);
  user-select:none;
}

.remember input{
  width: 16px;
  height: 16px;
  accent-color: var(--green-600);
}

.link{
  font-size: 13px;
  color: var(--green-700);
  text-decoration:none;
  font-weight: 600;
}
.link:hover{ text-decoration: underline; }

.btn{
  text-decoration: none !important;
  margin-top: 6px;
  border: 0;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--green-600), var(--green-700));
  color: white;
  font-weight: 700;
  font-size: 14.5px;
  cursor:pointer;
  box-shadow: 0 14px 28px rgba(22,163,74,.22);
  transition: transform .08s ease, filter .12s ease, box-shadow .12s ease;
}
.btn:hover{text-decoration: none !important; filter: brightness(1.02); box-shadow: 0 16px 34px rgba(22,163,74,.26); }
.btn:active{ transform: translateY(1px); }

.btnGhost{   background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: none;
  width: auto;
  transition: all .15s ease;
    
}
.btn.ghost{ background:transparent; }
.btnGhost{ background: rgba(255,255,255,.82); color: black; border: 1px solid var(--line); box-shadow: 0 10px 20px rgba(0,0,0,.06); }
.btnGhost:hover{ background: #f9fafb;
  border-color: var(--slate-300); }


.divider{
  display:flex;
  align-items:center;
  gap: 10px;
  margin: 14px 0 10px;
  color: var(--slate-500);
  font-size: 12px;
}
.divider::before, .divider::after{
  content:"";
  height:1px;
  background: var(--slate-200);
  flex:1;
}

.alt{
  display:grid;
  gap: 10px;
}

.btn-ghost{
  background: #ffffff;
  color: var(--slate-700);
  border: 1px solid var(--slate-200);
  padding: 10px 16px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: none;
  width: auto;
  transition: all .15s ease;
}

.btn-ghost:hover{
  background: #f9fafb;
  border-color: var(--slate-300);
}

.footer{
  margin-top: 14px;
  font-size: 12px;
  color: var(--slate-500);
  line-height: 1.4;
  text-align:center;
}

/* Responsivo */
@media (max-width: 860px){
  .wrap{ grid-template-columns: 1fr; }
  .brand{ min-height: unset; }
  .login{ min-height: unset; }
  .headline{ font-size: 30px; }
}

/* ==============================
   AJUSTES FINAIS TENKYLAB ADMIN
============================== */

/* Garante centralização real */
.page{
  padding: 60px 0;
}

/* Remove qualquer cor herdada de links */
a{
  color: inherit;
}

/* Melhor alinhamento da área de ações */
.actions{
  align-items:center;
}

/* Card principal */
.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow:hidden;
  backdrop-filter: blur(8px);
}

.cardHead{
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(0,0,0,.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.72));
}

/* Botões não virarem link azul */
.btn-outline,
.btn-brown{
  display:inline-block;
  text-decoration:none;
}

/* Ações dentro da tabela */
.table-admin td:last-child{
  white-space:nowrap;
}

/* Espaço entre botões na célula */
.table-admin td:last-child a{
  margin-right:8px;
}