:root{
  --brand:#1f9d7a;
  --text:#334155;
  --muted:#94a3b8;
  --border:#cbd5e1;
  --bg:#ffffff;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color:var(--text);
  background:#f6f7fb;
}

/* ===== LAYOUT ===== */
.auth-wrap{
  min-height:100vh;
  display:flex;
}

.auth-left{
  flex:1 1 60%;
  background:#0f6b57;
  overflow:hidden;
}

.auth-left img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.auth-right{
  flex:1 1 40%;
  background:var(--bg);
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:60px 80px 40px 60px; /* <<< move para esquerda */
}

/* ===== CARD ===== */
.card{
  width:100%;
  max-width:420px;
}

/* ===== LOGO ===== */
.brand{
  margin-bottom:36px;
}

.brand img{
  width:110px;      /* LOGO MAIOR */
  height:auto;
  display:block;
}

/* ===== TITULOS ===== */
h1{
  margin:0 0 6px 0;
  font-size:42px;
  font-weight:500;
  color:#0f6b57;
}

.sub{
  margin:0 0 26px 0;
  font-size:17px;
  color:#334155;
}

/* ===== FORM ===== */
.form-group{
  margin:0 0 16px 0;
}

.input{
  width:100%;
  height:46px;
  border:1px solid var(--border);
  border-radius:4px;
  padding:0 16px;
  font-size:14px;
}

.input:focus{
  border-color:#93c5fd;
  outline:none;
  box-shadow:0 0 0 3px rgba(59,130,246,.12);
}

.row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin:12px 0 14px;
}

.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:14px;
}

.checkbox input{
  width:18px;
  height:18px;
}

a{
  color:var(--brand);
  text-decoration:none;
}
a:hover{ text-decoration:underline; }

/* ===== BOTAO ===== */
.btn{
  width:100%;
  height:44px;
  border:none;
  border-radius:3px;
  background:var(--brand);
  color:#fff;
  font-weight:600;
  cursor:pointer;
  margin-top:10px;
}

.btn:hover{ filter:brightness(0.97); }

/* ===== LINKS ===== */
.helper{
  margin-top:20px;
  font-size:14px;
}

/* ===== ALERTAS ===== */
.alert{
  padding:10px 12px;
  border-radius:6px;
  margin-bottom:14px;
  font-size:14px;
}

.alert.error{
  background:#fee2e2;
  color:#991b1b;
  border:1px solid #fecaca;
}

.alert.ok{
  background:#dcfce7;
  color:#166534;
  border:1px solid #bbf7d0;
}

/* ===== FOOTER ===== */
.footer{
  margin-top:60px;
  font-size:12px;
  color:var(--muted);
}

.footer .links{
  display:flex;
  gap:20px;
  margin-bottom:8px;
}

/* ============================
   Presale overlay (left panel)
   ============================ */

.kdn-presale-shell{
  width:100%;
  max-width:620px;          /* a bit wider so it feels centered like the landing */
  margin:0 auto;
}

.kdn-presale-overlay{
  position:fixed;
  top:0;
  left:0;
  width:60%;
  height:100vh;
  padding:28px 28px 22px;
  color:#fff;
  z-index:10;
  overflow:auto;
  pointer-events:auto;

  display:flex;
  justify-content:center;   /* center content within the green panel */
  align-items:flex-start;
}

.kdn-presale-head{ padding:8px 6px 14px; }

.kdn-presale-title{
  font-size:26px;
  font-weight:800;
  letter-spacing:.2px;
}

.kdn-presale-subtitle{
  margin-top:6px;
  font-size:13px;
  opacity:.92;
  line-height:1.35;
  max-width:520px;
}

.kdn-presale-block{
  margin-top:10px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.18);
  border-radius:14px;
  padding:14px 14px 12px;
  max-width:560px;
}

.kdn-presale-kicker{ font-size:12px; opacity:.92; margin-bottom:10px; }

.kdn-countdown{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.kdn-cd-item{
  min-width:92px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  padding:10px 10px 8px;
  text-align:center;
}

.kdn-cd-num{ font-size:20px; font-weight:800; line-height:1; }
.kdn-cd-label{ margin-top:6px; font-size:11px; opacity:.9; }

.kdn-stat-row{ display:flex; gap:12px; margin:10px 0 8px; flex-wrap:wrap; }

.kdn-stat{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:10px 12px;
  min-width:160px;
}

.kdn-stat-val{ font-size:16px; font-weight:800; line-height:1.1; }
.kdn-stat-lbl{ margin-top:4px; font-size:11px; opacity:.9; }

.kdn-bars{ margin-top:10px; }
.kdn-bar-row{ margin-top:10px; }

.kdn-bar-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  opacity:.95;
  margin-bottom:6px;
}

.kdn-bar{
  height:10px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.15);
  border-radius:999px;
  overflow:hidden;
}

.kdn-bar-fill{
  display:block;
  height:100%;
  width:0%;                     /* start empty */
  background:rgba(255,255,255,.82);
  transition: width 1200ms ease; /* animate filling */
}

.kdn-links{
  margin-top:12px;
  font-size:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.kdn-links-label{ opacity:.9; }

.kdn-link{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
  opacity:.95;
}
.kdn-link:hover{ opacity:1; }
.kdn-link-strong{ font-weight:800; }

.kdn-price{
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,.16);
  padding-top:12px;
}

.kdn-price-label{ font-size:11px; opacity:.9; }
.kdn-price-val{ font-size:20px; font-weight:900; margin-top:4px; }

.kdn-mini-cta{ display:flex; gap:8px; flex-wrap:wrap; margin-top:10px; }

.kdn-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:12px;
  text-decoration:none;
}

.kdn-pill strong{ font-weight:900; }

.kdn-acc{
  max-width:560px;
  margin-top:12px;
  background:rgba(0,0,0,.16);
  border:1px solid rgba(255,255,255,.16);
  border-radius:14px;
  padding:10px 12px;
}

.kdn-acc summary{
  cursor:pointer;
  font-weight:800;
  font-size:12.5px;
  list-style:none;
}
.kdn-acc summary::-webkit-details-marker{ display:none; }

.kdn-acc p{ margin:8px 0 0; font-size:12px; line-height:1.45; }

.kdn-muted{ opacity:.92; }

.kdn-list{ margin:8px 0 0; padding-left:16px; font-size:12px; line-height:1.45; }

.kdn-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:10px;
}

.kdn-mini-card{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:10px;
}

.kdn-mini-title{ font-weight:900; font-size:12px; margin-bottom:6px; }
.kdn-mini-muted{ font-size:11.5px; opacity:.92; }

.kdn-footnote{ margin-top:10px; font-size:12px; font-weight:900; }

/* Bottom image */
.kdn-bottom-img{
  margin-top:14px;
  max-width:560px;
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.06);
}
.kdn-bottom-img img{
  width:100%;
  height:auto;
  display:block;
}

/* Hide overlay on mobile where the left panel is hidden */
@media (max-width: 1024px){
  .kdn-presale-overlay{ display:none; }
}

/* ===== MOBILE ===== */
@media (max-width: 1024px){
  .auth-left{
    display:none;
  }

  .auth-right{
    flex:1;
    padding:40px 28px;
    justify-content:center;
  }

  .card{
    max-width:100%;
  }

  .brand img{
    width:96px;
  }

  h1{
    font-size:34px;
  }
}


/* ============================
   Mobile presale summary
   Shows only on small screens
   ============================ */
.kdn-mobile-presale{
  display:none;
  margin:0 0 18px 0;
  padding:14px 14px 12px;
  border:1px solid var(--border);
  border-radius:10px;
  background:#ffffff;
}

.kdn-mobile-title{
  font-weight:800;
  font-size:16px;
  color:#0f6b57;
  margin:0 0 6px 0;
}

.kdn-mobile-sub{
  margin:0 0 10px 0;
  font-size:13px;
  color:var(--text);
  line-height:1.35;
}

.kdn-mobile-kicker{
  font-size:12px;
  color:#475569;
  margin:10px 0 8px;
  font-weight:700;
}

.kdn-mobile-countdown{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:0 0 10px 0;
}
.kdn-mobile-cd{
  min-width:72px;
  padding:8px 8px 6px;
  border:1px solid var(--border);
  border-radius:10px;
  text-align:center;
  background:#f8fafc;
}
.kdn-mobile-num{ font-weight:900; font-size:16px; line-height:1; color:#0f6b57; }
.kdn-mobile-lbl{ margin-top:5px; font-size:11px; color:#64748b; }

.kdn-mobile-stats{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:10px 0 6px;
}
.kdn-mobile-stat{
  flex:1 1 160px;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px;
  background:#ffffff;
}
.kdn-mobile-stat .val{ font-weight:900; color:#0f6b57; }
.kdn-mobile-stat .lbl{ font-size:11px; color:#64748b; margin-top:3px; }

.kdn-mobile-bars{ margin-top:10px; }
.kdn-mobile-bar-row{ margin-top:10px; }
.kdn-mobile-meta{
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-size:11px;
  color:#475569;
  margin-bottom:6px;
}
.kdn-mobile-bar{
  height:10px;
  border-radius:999px;
  overflow:hidden;
  background:#e2e8f0;
}
.kdn-mobile-fill{
  display:block;
  height:100%;
  width:0%;
  background:#0f6b57;
  transition: width 1200ms ease;
}

.kdn-mobile-links{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  font-size:12px;
}
.kdn-mobile-links .label{ color:#475569; font-weight:700; }
.kdn-mobile-links a{ font-weight:800; }

.kdn-mobile-price{
  margin-top:12px;
  padding-top:10px;
  border-top:1px solid var(--border);
}
.kdn-mobile-price .label{ font-size:11px; color:#64748b; }
.kdn-mobile-price .price{ font-size:16px; font-weight:900; color:#0f6b57; margin-top:3px; }

.kdn-mobile-pills{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.kdn-mobile-pill{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#f8fafc;
  font-size:12px;
  font-weight:800;
  color:#0f6b57;
  text-decoration:none;
}

.kdn-mobile-accord{
  margin-top:10px;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
  background:#ffffff;
}
.kdn-mobile-accord summary{
  font-weight:900;
  font-size:12.5px;
  cursor:pointer;
  list-style:none;
}
.kdn-mobile-accord summary::-webkit-details-marker{ display:none; }
.kdn-mobile-accord ul{
  margin:8px 0 0;
  padding-left:16px;
  font-size:12px;
  line-height:1.45;
  color:#334155;
}

.kdn-mobile-bottom{
  margin-top:12px;
  border-radius:10px;
  overflow:hidden;
  border:1px solid var(--border);
  background:#f8fafc;
}
.kdn-mobile-bottom img{ width:100%; height:auto; display:block; }

@media (max-width: 1024px){
  .kdn-mobile-presale{ display:block; }
}


/* ===== FAQ inside Questions accordion ===== */
.kdn-faq{
  margin-top:10px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:12px;
  padding:8px 10px;
}

.kdn-faq summary{
  font-weight:800;
  font-size:12.5px;
  cursor:pointer;
  list-style:none;
}

.kdn-faq summary::-webkit-details-marker{ display:none; }

.kdn-faq p{ margin:8px 0 0; font-size:12px; line-height:1.45; }


/* ===== Countdown tick effect (old clock vibe) ===== */
.kdn-tick{
  animation: kdnFlip 220ms ease-in-out;
  transform-origin: 50% 60%;
}
@keyframes kdnFlip{
  0%   { transform: perspective(300px) rotateX(0deg); filter:brightness(1); }
  40%  { transform: perspective(300px) rotateX(-30deg); filter:brightness(1.15); }
  100% { transform: perspective(300px) rotateX(0deg); filter:brightness(1); }
}

/* Blink for countdown cards when a unit changes */
.kdn-cd-item.kdn-card-blink,
.kdn-mobile-cd.kdn-card-blink{
  animation: kdnCardBlink 220ms ease-in-out;
}
@keyframes kdnCardBlink{
  0%{ transform: translateY(0); }
  40%{ transform: translateY(-1px); }
  100%{ transform: translateY(0); }
}


/* ===== Strong invert flash (more visible) ===== */
.kdn-invert{
  background:#ffffff !important;
  color:#0f6b57 !important;
  border-radius:8px;
  padding:2px 6px;
  display:inline-block;
}
.kdn-cd-item.kdn-invert-card,
.kdn-mobile-cd.kdn-invert-card{
  background:rgba(255,255,255,.92) !important;
  border-color:rgba(255,255,255,.92) !important;
}
.kdn-cd-item.kdn-invert-card .kdn-cd-num,
.kdn-mobile-cd.kdn-invert-card .kdn-mobile-num{
  color:#0f6b57 !important;
}
.kdn-cd-item.kdn-invert-card .kdn-cd-label,
.kdn-mobile-cd.kdn-invert-card .kdn-mobile-lbl{
  color:#14532d !important;
  opacity:1 !important;
}


/* ===== Fix: keep countdown box size stable during flash ===== */
.kdn-invert{
  padding:0 !important;
  border-radius:0 !important;
  display:inline !important;
  background:transparent !important;
  color:inherit !important;
}

/* Strong invert on the CARD only (no layout change) */
.kdn-cd-item.kdn-invert-card,
.kdn-mobile-cd.kdn-invert-card{
  background:#ffffff !important;
  border-color:#ffffff !important;
}
.kdn-cd-item.kdn-invert-card .kdn-cd-num,
.kdn-mobile-cd.kdn-invert-card .kdn-mobile-num{
  color:#0f6b57 !important;
}
.kdn-cd-item.kdn-invert-card .kdn-cd-label,
.kdn-mobile-cd.kdn-invert-card .kdn-mobile-lbl{
  color:#14532d !important;
  opacity:1 !important;
}

/* Mobile section buttons */
.kdn-mobile-sections{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.kdn-mobile-secbtn{
  display:inline-flex;
  align-items:center;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#ffffff;
  color:#0f6b57;
  font-size:12px;
  font-weight:800;
  text-decoration:none;
}
.kdn-mobile-secbtn:active{ transform: none; }


/* ===== Mobile section buttons layout (tidy) ===== */
.kdn-mobile-sections{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

@media (max-width: 420px){
  .kdn-mobile-sections{ grid-template-columns: 1fr; }
}

.kdn-mobile-secbtn{
  width:100%;
  justify-content:center;
  text-align:center;
  min-height:40px;
  padding:10px 12px;
  line-height:1.2;
  white-space:normal;
  border-radius:12px;
  background:#f8fafc;
}


/* Mobile panels (opened by buttons) */
.kdn-mobile-sections-panels{ margin-top:12px; }
.kdn-mobile-panel{
  border:1px solid var(--border);
  border-radius:12px;
  padding:10px 12px;
  background:#ffffff;
  margin-top:10px;
}
.kdn-mobile-panel summary{
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  list-style:none;
  color:#0f6b57;
}
.kdn-mobile-panel summary::-webkit-details-marker{ display:none; }
.kdn-mobile-panel p{ margin:8px 0 0; font-size:12.5px; line-height:1.5; color:#334155; }
