
* {
  box-sizing: border-box;
}
.video-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.lung-gif {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    transition: opacity 0.3s ease;

    pointer-events: none;
}

.lung-gif.active {
    opacity: 1;
}

:root {
  --navy: #173f6b;
  --navy-dark: #15395f;
  --sky: #5d96bd;
  --light-card: #e9e8e6;
  --page: #efefef;
  --no: #3db94b;
  --yes: #f44336;
  --text: #24486a;
  --danger: #d3342f;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: url('assets/bg.png');
  background-position: top left;
  background-size: cover;
  color: var(--text);
}

.page-shell {
  max-width: 1600px;
  margin: 0 auto;
  padding: 50px;
  min-height: 100vh;
}

.icon-box img {
  width: 70%;
}

.brand-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.brand-left {
  font-size: 64px;
  /* line-height: 1; */
  color: #243b82;
  /* letter-spacing: 1px; */
  font-family: Georgia, serif;
  width: 60%;
}

.brand-right {
  font-size: 72px;
  line-height: 1;
  font-weight: 800;
  color: #ee8a1b;
}

.title-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.title-bar h1 {
  margin: 0;
  background: var(--navy);
  color: #fff;
  padding: 22px 54px;
  border-radius: 0 0 36px 36px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}

.layout-grid {
  display: grid;
  grid-template-columns: minmax(620px, 1fr) minmax(400px, 560px);
  gap: 42px;
  /* align-items: center; */
}

.questions-error-message {
  min-height: 20px;
  margin: 0 0 10px;
  color: var(--danger);
  font-size: 18px;
  font-weight: 700;
}

.questions-column {
  width: 100%;
}

.question-card {
  display: grid;
  grid-template-columns: 122px 1fr 274px;
   align-items: center; 
  background: var(--light-card);
  border-radius: 30px;
  overflow: hidden;
  margin-bottom: 26px;
  /* min-height: 142px; 
  border: 2px solid transparent;*/
}

.question-card.unanswered {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(211, 52, 47, 0.12);
}

.lungo {margin: 0px;}

.icon-box {
  height: 100%;
  /* min-height: 142px; */
  /* background: linear-gradient(180deg, #5e98c0 0%, #4d89b4 100%); */
  background: #1D3C51;
  background: linear-gradient(90deg, rgba(29, 60, 81, 1) 0%, rgba(46, 82, 106, 1) 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 56px;
}

.question-copy {
  padding: 20px;
}

.question-label {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  text-transform: uppercase;
}

.question-copy p {
  margin: 0;
  font-size: 20px;
  line-height: 1.42;
  color: #45698a;
}

.answers {
  justify-self: center;
  display: flex;
  width: 256px;
  border-radius: 22px;
  overflow: hidden;
}

.answer-btn {
  flex: 1;
  height: 64px;
  border: none;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease;
}

.answer-btn:hover {
  filter: brightness(1.03);
}

.answer-btn.selected {
  transform: translateY(-1px);
  box-shadow: inset 0 0 0 15px rgba(255,255,255,0.6);
}

.yes-btn {
  background: var(--yes);
}

.no-btn {
  background: var(--no);
}

.visual-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  /* padding-top: 22px; */
  justify-content: space-evenly;
}

.lung-panel {
  width: 100%;
  max-width: 480px;
  min-height: 400px;
  display: flex;
  align-items: start;
  justify-content: center;
}

.lung-gif {
  width: 100%;
  max-width: 460px;
  height: auto;
  object-fit: contain;
  border-radius: 100%;
}

.cta-bar {
  /* width: 100%;
  max-width: 560px; 
   background: var(--navy);
  border-radius: 34px 34px 0 0; 
  padding: 24px 30px;*/
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  font-size: 34px;
  letter-spacing: 0.5px;
  text-align: center;
}

.cta-pill {
  width: 86px;
  height: 54px;
  border-radius: 18px;
  background: #a6cf39;
  flex-shrink: 0;
}

.submit-btn {
  width: 100%;
  max-width: 420px;
  height: 58px;
  border: none;
  border-radius: 999px;
  background: var(--navy-dark);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.58);
  padding: 24px;
  align-items: center;
  justify-content: center;
}

.popup.show {
  display: flex;
}

.popup-content {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.popup-content h2 {
  margin-top: 0;
}

.popup-btn {
  border: none;
  background: var(--navy-dark);
  color: #fff;
  height: 46px;
  min-width: 140px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.admin-page {
  padding: 24px;
  background: var(--page);
  font-family: Arial, Helvetica, sans-serif;
}

.admin-container {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.admin-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.secondary-btn,
.primary-btn {
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  height: 44px;
  padding: 0 18px;
}

.secondary-btn {
  background: #e5e7eb;
  color: #111827;
}

.primary-btn {
  background: var(--navy-dark);
  color: white;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

th, td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  text-align: left;
}

th {
  background: #f8fafc;
}

.empty-state {
  padding: 20px 0;
  text-align: center;
  color: #6b7280;
}

@media (max-width: 1200px) {
  .title-bar h1 {
    font-size: 42px;
    padding: 18px 34px;
  }

  .layout-grid {
    grid-template-columns: 1fr;
  }

  .visual-column {
    padding-top: 0;
  }

  .cta-bar {
    max-width: 480px;
    font-size: 28px;
  }
}

@media (max-width: 820px) {
  .download-btn img{
    width: 30% !important;
  }
  .download-btn{
    margin-top: 12px !important;
  }
  .visual-column {
    order: 1;
  }
  .questions-column {
  order: 2;
  margin-top: -60px;
  /* height: 300px;
  overflow-y: scroll; */
  }
  .lung-gif {
  width: 35%;
  margin: auto;
  }
  .page-shell {
    padding: 14px;
  }
  .question-label{
    font-size: 12px;
    margin-bottom: 0px;
  }
.downpara{
  font-size: 12px;
  margin-bottom: 5px;
  margin-top: 10px !important;
}
  .brand-left {
    font-size: 14px;
    width:50%;
  }

  .brand-right {
    font-size: 46px;
    width: 50%;
  }

  .brand-right img {
    width: 85%;
  }
  
  .cta-bar img {
    width: 12%;
    margin-top: 0px;
  }
  
  .lungo{
      margin-bottom:5px;
      font-size:10px !important;
  }

  .title-bar h1 {
    font-size: 28px;
    width: 100%;
  }

  .question-card {
    grid-template-columns: 40px 1fr;
    min-height: auto;
    align-items: flex-start;
    margin-bottom: 5px;
  }

  .icon-box {
    /* min-height: 118px; */
    font-size: 40px;
    height: 92%;
  }

  .answers {
    grid-column: 1 / -1;
    width: calc(100% - 24px);
    margin: 0px;
  }

  .question-copy {
    padding: 2px 5px;
  }

  .question-copy p {
    font-size: 12px;
    line-height:1;
  }
  .news-bar{
    margin-top: 5px;
    padding: 1px 0 !important;
  }
  .news-bar-text{
    font-size: 10px !important;
  }
  .answer-btn {
    height: 19px;
    font-size: 12px;
  }

  .lung-panel {
    min-height: 111px;
  }

  .visual-column{
    gap: 5px;
  }

  .cta-bar {
    font-size: 13px;
    /*padding: 18px 20px;*/
  }
  .brand-row {
      margin-bottom:0px;
  }

  .cta-pill {
    width: 64px;
    height: 42px;
  }
}


.popup-content-updated {
  max-width: 460px;
}

.popup-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.install-btn {
  width: 86px;
  height: 86px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.install-logo {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 10px 22px rgba(23, 63, 107, 0.18);
}

.install-help-text {
  min-height: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: #45698a;
  margin: 6px 0 14px;
}


#submitBtn{display:none !important;}


/* News Bar / Disclaimer Ticker */
    .news-bar {
      position: absolute;
      /*bottom: 0;*/
      left: 0;
      width: 100%;
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(10px);
      border-top: 1px solid rgba(157, 10, 14, 0.2);
      padding: 10px 0;
      overflow: hidden;
      z-index: 100;
    }

    .news-bar-content {
      display: inline-flex;
      white-space: nowrap;
      animation: newsTicker 100s linear infinite;
      gap: 4rem;
    }

    .news-bar-text {
      font-size: 0.85rem;
      color: #475569;
      font-weight: 500;
    }

    .news-bar-text b {
      color: #000;
      font-weight: 700;
    }

    .news-bar:hover .news-bar-content {
      animation-play-state: paused;
    }

    @keyframes newsTicker {
      0% {
        transform: translateX(10);
      }

      100% {
        transform: translateX(-90%);
      }
    }

.download-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

.download-btn img {
    width: 60%;
    max-width: 500px;
    display: block;
    margin: auto;
    transition: transform 0.2s ease;
}

.download-btn:hover img {
    transform: scale(1.02);
}
