:root{
  --unm-red: #ba0c2f;
  --unm-teal: #00707c;
  --gray-100: #f9fbff;
  --gray-300: #e2e8f0;
  --gray-600: #475569;
  --white: #ffffff;
}

*,*::before,*::after{ box-sizing:border-box; }
    html,body { margin:0; padding:0; min-height:100vh;
      background: var(--gray-100); color: var(--gray-600);
      font-family: Arial,Helvetica,sans-serif; scroll-behavior: smooth; }
    a { color: var(--unm-red); text-decoration: none; }
    a:hover { text-decoration: underline; }
    h1,h2,h3 { margin: 0; font-weight: 700; }

    /* Top nav */
    header{ position: sticky; top:0; z-index: 40;
      display: flex; align-items: center; justify-content: space-between;
      background: var(--white); padding:.6rem 1rem;
      box-shadow: 0 1px 4px rgba(0,0,0,.08); }
    header img{ height: 46px; }
    nav{ display: flex; gap: 1rem; align-items: center; }
    nav a, nav button { text-decoration:none; border:none; background:none;
      font-weight:600; color: var(--unm-teal); cursor:pointer;
      padding:.25rem .4rem; border-radius:4px; }
    nav a:hover, nav button:hover { background: var(--gray-300); }

    /* Wizard */
    #wizard{ max-width: 900px; margin:3rem auto; padding:1.5rem;
      background: var(--white); box-shadow: 0 6px 18px rgba(0,0,0,.08);
      border-radius:12px; }
    #wizard h1{ color: var(--unm-red); text-align:center; margin-bottom:1rem; }
    .step-question{ font-size:1.3rem; font-weight:700;
      margin:1.8rem 0 .8rem; color: var(--unm-teal);
      text-align:center; }
    .options{ display:flex; flex-wrap:wrap; justify-content:center;
      gap:1rem; margin-bottom:1.4rem; }
    .options button{ flex:1 1 260px; max-width:280px;
      padding:1rem; font-size:1rem; font-weight:600;
      border-radius:10px; border:none; cursor:pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,.05); }
    .primary{ background: var(--unm-red); color:#fff; }
    .neutral{ background: var(--gray-600); color:#fff; }

    /* Result card */
    .result{ border:4px solid var(--gray-300);
      border-radius:12px; padding:1.5rem; margin-top:1.5rem;
      text-align:center; }
    .tier1{ border-color: var(--unm-red); }
    .tier2{ border-color: #f97316; }
    .tier3{ border-color: #64748b; }
    .info{ border-color: var(--gray-300); }
    .badge{ display:inline-block; font-size:.8rem;
      padding:.2rem .55rem; border-radius:4px; color:#fff;
      font-weight:700; margin-bottom:.75rem; }
    .tier1 .badge{ background: var(--unm-red); }
    .tier2 .badge{ background: #f97316; }
    .tier3 .badge{ background: #64748b; }
    .info .badge{ background: var(--gray-600); }
    .call-box{ margin-top:1rem; font-size:1.1rem;
      line-height:1.45; padding:0; }
    .call-box p{ margin:.5rem 0; }

    /* Floating tier box */
    #tierBox{ position:fixed; bottom:1rem; right:1rem;
      width:300px; background:#fff; border-radius:10px;
      box-shadow:0 4px 12px rgba(0,0,0,.15);
      padding:1rem 1.25rem; font-size:.9rem; line-height:1.5;
      z-index:50; display:none; }
    #tierBox h4{ margin:.2rem 0 .8rem;font-size:1rem;
      color: var(--unm-teal); text-align:center; }
    #tierBox strong{ display:block; margin:0.6rem 0 0.2rem; }
    #tierBox p{ margin:0 0 .8rem; }
    #tierBox button.close-tier{ position:absolute; top:6px; right:8px;
      border:none; background:transparent; font-size:1rem;
      cursor:pointer; color: var(--gray-600); }

    /* Contacts section */
    #contacts{ max-width:900px; margin:2rem auto;
      padding:0 1.5rem; background: var(--white);
      box-shadow:0 4px 10px rgba(0,0,0,.08);
      border-radius:12px; padding:1.5rem 1.5rem; }
    #contacts h2{ color: var(--unm-red); text-align:center;
      margin-bottom:1rem; }
    .phone{ margin:.35rem 0; font-size:1rem; }

    /* BE FAST modal */

@media (max-width: 640px) {
  nav {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    padding-top: 0.5rem;
  }
  nav a, nav button {
    padding: 0.5rem;
    font-size: 0.9rem;
  }
  .options button {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
  }
  header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  header img {
    max-width: 100%;
    height: auto;
  }
  #tierBox {
    max-height: 70vh;
    overflow-y: auto;
  }
}
@media (max-width: 480px) {
  body {
    font-size: 1rem;
  }
  .step-question {
    font-size: 1.2rem;
  }
  .result h2 {
    font-size: 1.4rem;
  }
}

    dialog#befastDialog{ border:none; border-radius:12px;
      padding:0; max-width:650px; width:95%; }
    dialog::backdrop{ background:rgba(0,0,0,.55); }
    #befastDialog header{ background:var(--unm-teal);
      color:#fff; padding:.6rem 1rem;
      border-radius:12px 12px 0 0;
      display:flex; justify-content:space-between;
      align-items:center; }
    #befastDialog img{ width:100%; display:block; }

    @media(max-width:640px){
      .options button{ flex:1 1 100%; }
      header img{ height:40px; }
      #tierBox{ width:90%; right:5%; }
      #contacts{ margin:1.5rem auto; }
    }
  
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  font-weight: 600;
  color: var(--unm-teal);
  cursor: pointer;
  padding: .25rem .4rem;
  border-radius: 4px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--white);
  min-width: 180px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  z-index: 1;
  right: 0;
  border-radius: 6px;
}

.dropdown-content a {
  color: var(--gray-600);
  padding: 0.6rem 1rem;
  display: block;
  text-align: left;
}

.dropdown-content a:hover {
  background-color: var(--gray-300);
}

.dropdown:hover .dropdown-content {
  display: block;
}


.highlight-desc {
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.tier1 .highlight-desc {
  color: var(--unm-red);
}
.tier2 .highlight-desc {
  color: #f97316;
}

.tier-separator {
  border: none;
  border-top: 1px solid var(--gray-300);
  margin: 0.8rem 0;
}
    
.dropdown-divider {
  font-weight: bold;
  color: var(--gray-600);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  text-align: left;
  cursor: default;
  pointer-events: none;
  border-top: 1px solid var(--gray-300);
  margin-top: 0.3rem;
}
    


/* ─── TigerConnect Modal ─── */
dialog#tigerFormModal {
  border: 1px solid #145a32;
  border-radius: 10px;
  padding: 0.5rem 0.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  max-width: 460px;
  width: 95vw;
  background: #fff;
  font-family: system-ui, sans-serif;
  line-height: 1.2;
}
dialog#tigerFormModal::backdrop {
  background: rgba(0,0,0,0.45);
}

/* Header */
#tigerFormModal h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #0d3c28;
}

/* Side-by-side rows */
#tigerFormModal form > label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 0.3rem;
  font-size: 0.85rem;
}

/* Controls */
#tigerFormModal input[type="text"],
#tigerFormModal input[type="number"],
#tigerFormModal select,
#tigerFormModal textarea {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.2rem 0.35rem;
  font-size: 0.85rem;
  border: 1px solid #b4c4bb;
  border-radius: 4px;
  box-sizing: border-box;
}
#tigerFormModal textarea {
  margin-top: 0.3rem;
  resize: vertical;
}

/* Radio group (Anticoagulation) */
#tigerFormModal fieldset {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #b4c4bb;
  border-radius: 5px;
  padding: 0.3rem 0.4rem;
  margin: 0 0 0.3rem;
}
#tigerFormModal legend {
  margin: 0;
  padding: 0 0.2rem;
  font-size: 0.85rem;
}

/* Buttons */
#tigerFormModal .btn {
  padding: 0.25rem 0.6rem;
  font-size: 0.8rem;
  border-radius: 5px;
  margin-right: 0.3rem;
  cursor: pointer;
  transition: background 0.15s;
}
#tigerFormModal .btn-primary {
  background: #134830;
  color: #fff;
  border: none;
}
#tigerFormModal .btn-primary:hover {
  background: #0d3c28;
}
#tigerFormModal .btn-danger {
  background: #b91c1c;
  color: #fff;
  border: none;
}
#tigerFormModal .btn-danger:hover {
  background: #881313;
}
#tigerFormModal .btn-ghost {
  background: #fff;
  color: #333;
  border: 1px solid #999;
}
#tigerFormModal .btn-ghost:hover {
  background: #f3f3f3;
}

/* decision-tool result buttons */
.result .tc-btn {
  padding: .45rem 1rem;
  border-radius: .375rem;
  font-weight: 600;
  flex: 1 1 0;                 /* each button same width */
  text-align: center;
}

/* green primary like Preview */
.result .btn-primary {
  background: #065f46;         /* emerald-600 */
  color: #fff;
  border: 1px solid transparent;
}

/* neutral outline */
.result .btn-ghost {
  background: #fff;
  color: #374151;              /* gray-700 */
  border: 1px solid #d1d5db;   /* gray-300 */
}
.result .btn-ghost:hover {
  background: #f3f4f6;         /* gray-100 */
}
