/* TrialDen overrides - template CSS untouched */
/* keep the FAQ +/- icon pinned to the right on long questions */
.accordion__button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; flex-wrap: nowrap; }
.accordion__button .plus-icon { flex: none; }
/* decorative template shapes whose image files were pruned: hide cleanly */
.collection__header:before, .roadmap__item:after { background-image: none !important; }
.td-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.7rem; font-weight: 800; color: #1a1a2e; text-decoration: none; letter-spacing: -0.5px; }
.td-logo span { color: #e8543f; }
.td-logo__mark { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: #e8543f; color: #fff; font-size: 1.3rem; }
.td-logo .td-logo__mark { color: #fff; }
.td-logo--light { color: #fff; }
.td-footer-text { color: rgba(255,255,255,0.65); margin-top: 16px; line-height: 1.7; }
.td-footer-links { list-style: none; padding: 0; margin: 0; }
.td-footer-links li { margin-bottom: 10px; }
.td-footer-links a { color: rgba(255,255,255,0.65); text-decoration: none; }
.td-footer-links a:hover { color: #fff; }
.td-footer-links li { color: rgba(255,255,255,0.65); }
footer .footer__wrapper h5 { color: #fff; margin-bottom: 18px; font-weight: 700; }
.td-footer-note { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.15); }
.td-check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.td-check input[type="checkbox"] { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.td-check label { font-size: 0.9rem; line-height: 1.55; }
.td-form-note { font-size: 0.85rem; color: #666; }
.td-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.td-tabs button { padding: 10px 22px; border-radius: 30px; border: 1px solid #ddd; background: #fff; cursor: pointer; font-weight: 600; }
.td-tabs button.active { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.td-lang { display: none; }
.td-lang.active { display: block; }
.td-thanks { display: none; padding: 16px 20px; background: #e8f5e9; border: 1px solid #a5d6a7; border-radius: 8px; }
@media (max-width: 639px) {
  .td-logo { font-size: 1.4rem; }
  .td-logo__mark { width: 38px; height: 38px; }
}

/* ---- compact one-row header: shrink + hamburger below 1400px ---- */
.header-wrapper { padding: 12px 0; flex-wrap: nowrap; }
.header-wrapper .menu-area { flex-wrap: nowrap; }
.td-logo { font-size: 1.45rem; gap: 8px; }
.td-logo__mark { width: 38px; height: 38px; font-size: 1.15rem; border-radius: 10px; }
.menu > li > a { padding: 12px 12px; }
.header-wrapper .menu-area .header-btn { column-gap: 12px; }
.header-wrapper .menu-area .header-btn .default-btn { padding: 0 1.3rem; line-height: 44px; }
@media (max-width: 1399px) {
  .header-wrapper .menu-area .menu { width: 100%; position: absolute; top: 100%; left: 0; overflow: auto; max-height: 400px; transition: all ease 0.3s; transform: scaleY(0); transform-origin: top; background: rgba(29,37,59,0.99); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); }
  .header-wrapper .menu-area .menu li { width: 100%; padding: 0; }
  .header-wrapper .menu-area .menu li a { display: block; padding: 10px 25px; font-size: 15px; text-transform: capitalize; border-top: 1px solid rgba(255,255,255,0.1); color: #fff; }
  .header-wrapper .menu-area .menu li a:hover { background: rgba(29,37,59,0.6); }
  .header-wrapper .menu-area .menu.active { transform: scaleY(1); }
  .header-bar { display: block !important; }
}
@media (min-width: 1400px) {
  .header-bar { display: none !important; }
}

/* ---- LoomLedger-style SMS consent cards on the Join page ---- */
.td-consent-card { border: 1px solid #ddd; border-radius: 8px; padding: 20px 22px; margin-bottom: 16px; background: #fff; }
.td-consent-head { color: #e8543f; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; font-size: .95rem; margin-bottom: 12px; }
.td-consent-card .td-check { margin-bottom: 0; }
.td-consent-card .td-check label { font-size: .92rem; line-height: 1.6; color: #333; }
.td-consent-card .td-check a { color: #e8543f; }
.td-required { color: #e8543f; font-weight: 700; }
.td-field-hint { display: block; font-size: .8rem; color: #666; margin-top: 4px; }
/* sign-in messages are errors only: show them in red */
#signin-msg { color: #c0392b; font-weight: 600; }

/* Uploaded TrialDen PNG Logo Sizing */
.td-logo-img {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.header-wrapper .td-logo-img img {
  height: 42px;
  width: auto;
  max-width: none;
  display: block;
}
footer .td-logo-img img {
  height: 44px;
  width: auto;
  max-width: none;
  display: block;
}
@media (max-width: 639px) {
  .header-wrapper .td-logo-img img {
    height: 36px;
  }
  footer .td-logo-img img {
    height: 38px;
  }
}
