:root {
    --bg: #f6f9fc;
    --bg-dark: #161617;
    --container-bg: rgb(246 251 255 / 80%);
    --container-bg-dark: rgb(31 31 33 / 90%);
    --ref-bg: #fffdfa;
    --ref-bg-dark: #25231f;
    --ref-border-dark: 1px solid #444036;
    --main-border: 1px solid #e2e8f0;
    --main-border-dark: 1px solid #2e2f32;
    --border-radius: 24px;
    --box-shadow: 0px 2px 15px 0px rgb(7 48 89 / 20%);
    --box-shadow-dark: 0px 2px 15px 0px rgb(40 48 56 / 20%);

    /* Love */
    --love-bg: radial-gradient(circle, #ffd5d5 10%, transparent 100%);
    --love-bg-dark: radial-gradient(circle, #5b2929 10%, transparent 100%);
    --love-border: 1px solid #ffe4e4;
    --love-border-dark: 1px solid #372828;
  }

  #et-main-area {
    overflow-x: clip;
  }

  .folders-undo-notification {
    display: none;
  }


  body {
      font-family: "Red Hat Display";
      font-weight: 700;
      font-size: 20px;
      overflow-x: clip;
      transition: background-color 0.3s ease-in-out;
  }

  body.custom-background {
      background-color: var(--bg);
  }


  .container {
    width: 100%;
    max-width: 450px;
    background-color: var(--bg);
    transition: background-color 0.3s ease-in-out;
  }

  .block {
    height: fit-content;
    position: relative;
  }

  .chapter {
    position: sticky;
    width: 90%;
    max-width: 370px;
    margin: auto;
    margin-bottom: 20px;
    border-radius: 22px;
    backdrop-filter: blur(13px) saturate(180%);
    -webkit-backdrop-filter: blur(13px) saturate(180%);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2px;
    top: 5px;
    background: rgba(249, 252, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
      0px 2px 15px rgba(7, 48, 89, 0.2),
      inset 0 0 1px rgba(255, 255, 255, 0.6);
    padding: 15px;
    font-size: 18px;
    font-weight: 800;
    z-index: 10;
    box-sizing: border-box;
    overflow: hidden;
  }

.chapter::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    pointer-events: none;
    border-radius: inherit;
    background: radial-gradient(
      farthest-corner at top left,
      rgba(255, 255, 255, 0.25),
      rgba(255, 255, 255, 0) 60%
    );
    filter: blur(8px);
  }


  .nav-bar {
      position: sticky;
      margin: auto;
      margin-bottom: 20px;
      backdrop-filter: blur(13px) saturate(180%);
      -webkit-backdrop-filter: blur(13px) saturate(180%);
      text-align: center;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      top: 0;
      background-color: rgb(246 251 255 / 50%);
      padding: 12px 37px;
      font-weight: bold;
      /* box-shadow: 0px 2px 20px 0px rgb(7 48 89 / 25%); */
      z-index: 10;
      box-sizing: border-box;
      border-bottom: 0px solid rgba(255, 255, 255, 0.4);
      box-shadow:
        0px 2px 20px rgba(7, 48, 89, 0.25),
        inset 0 -1px 1px rgba(255, 255, 255, 0.6);
      transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
  }


  .nav-bar::after {
      content: "";
      position: absolute;
      bottom: -10%;
      left: -10%;
      width: 120%;
      height: 50%;
      pointer-events: none;
      border-radius: inherit;
      background: radial-gradient(
        farthest-corner at bottom left,
        rgba(255, 255, 255, 0.25),
        rgba(255, 255, 255, 0) 70%
      );
      filter: blur(8px);
  }


  .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 10px;
      cursor: pointer;
      gap: 2px;
  }

  /* Left and Right columns smaller */
  .nav-item.left,
  .nav-item.right {
      flex: 0 0 auto; /* shrink to content width */
      margin-top: 3px;
      margin-bottom: -3px;
  }

  /* Center column grows */
  .nav-item.center {
      flex: 1; /* takes remaining space */
      text-align: center;
  }

  .subheading {
      text-transform: uppercase;
      font-size: 10px;
      letter-spacing: 5px;
      font-weight: 700;
      white-space: nowrap;
      overflow: scroll;
      width: 100%;
  }

  .heading {
      letter-spacing: 1px;
      font-size: 20px;
      white-space: nowrap;
      overflow: scroll;
      width: 100%;
      text-transform: capitalize;
  }

  .content-box {
    display: flex;
    flex-direction: column;
    padding: 20px;
    text-align: center;
    font-weight: 400;
    font-size: 23px;
    padding-bottom: 60px;
    max-width: 380px;
    margin: auto;
  }

  .content-box img {
      width: 230px;
      margin: auto;
  }

  .option-labels {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 5px;
      font-size: 10px;
      font-weight: 600;
      /* margin-top: -23px;
      background-color: black; */
      padding: 5px 0;
      }

      .label-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 60px;
      color: white;
      }

      .label-item svg {
          width: 31px;
          height: 31px;
          object-fit: contain;
          margin-bottom: 10px;
          background-color: #000;
          border-radius: 50%;
          padding: 6px;
          box-shadow: 0px 8px 10px rgb(0, 0, 0, 0.2);
      }

      .option-labels span {
      color: black;
      text-align: center;
      }



.scroll-fx {
position: relative;
display: flex;            /* ONLY FOR EMOJI BAR */
flex-direction: column;   /* ONLY FOR EMOJI BAR */
font-weight: 700;
line-height: 1.5em;
font-size: 27px;
will-change: transform, opacity;
transition: opacity 0.2s linear;
text-align: center;
padding-bottom: 200px;
padding-right: 40px;
padding-left: 40px;
width: 100%;
max-width: 400px;
margin: auto;
overflow-x: clip;
will-change: transform, opacity;
}

.menu-container {
  margin: auto;
  margin-top: 60px;
  height: fit-content;
  width: 93%;
  max-width: 370px;
  box-shadow: 0px 2px 20px 0px rgb(7 48 89 / 25%);
  border: var(--main-border);
  border-radius: 32px;
  padding: 18px;
  box-sizing: border-box;
  background-color: var(--container-bg);
  transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
}


.menu-options-container {
  display: flex;
  gap: 10px;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.menu-options-container svg {
  width: 22px;
}

.menu-option-button {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 70px;
  border-radius: 15px;
  padding: 10px 10px;
  box-shadow: 0px 0px 7px rgb(7 48 89 / 20%);
  gap: 3px;
  cursor: pointer;
  transition: background-color, box-shadow, border 0.3s ease-in-out;
}

.menu-option-button svg {
color: black;
transition: color 0.3s ease; /* smooth fade */
}


.center-container {
  margin: auto;
  margin-top: 100px;
  height: fit-content  !important;
  width: 270px;
}

.center-container img {
  width: 280px;
  border-radius: 23px;
  /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.60); */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}



.step {
  position: relative;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 93%;
  padding: 18px 15px;
  background-color: #000;
  text-align: center;
  border-radius: 50px;
  color: white;
  box-shadow: 0px 0px 5px rgb(0, 0, 0, 0.15);
  overflow: visible;
  margin: auto;
  margin-top: 18px;
  /* margin-bottom: 10px; */
}

.step span {
position: relative;
font-size: 20px;
z-index: 1;
}

/* Ripples */
.ripple {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 74%;
  background: #000;
  border-radius: 50px;
  transform: translate(-50%, -50%) scale(0.75);
  opacity: 0;
  z-index: 0;
  animation: ripple-anim 5s infinite cubic-bezier(.65,0,.34,1);
}

.ripple2 {
animation-delay: 0.5s;
}

/* Keyframes */
@keyframes ripple-anim {
0% {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.75);
}
100% {
  opacity: 0;
  transform: translate(-50%, -50%) scale(2);
}
}


.card-display-container {
  margin: auto;
  margin-top: 100px;
  height: 200px;
}

.grabber {
  margin-top: 20vh;
}


#themeToggle {
  color: black;
  border: none !important;
}


.typing-container,
.typing-container-2,
.typing-container-3 {
  font-size: 12px;
  /* background: linear-gradient(0deg, rgb(19 78 192 / 5%), #f6f9fc); */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  /* gap: 1px; */
  color: #0073e3;
  text-align: center;
  flex-wrap: wrap;
  /* max-width: 600px; */
  width: fit-content;
  flex-wrap: nowrap;   /* stop wrapping */
  white-space: nowrap; /* keep text on one line */
  box-sizing: border-box;
  vertical-align: middle;
  height: 40px;
  max-height: 40px;
  margin: 0 auto;
  border-radius: 19px;
  padding: 5px 18px;
  border: var(--main-border);
  box-shadow: 0px 2px 14px 0px rgb(7 48 89 / 15%);
  transition: width 3s ease-in-out;
  margin-bottom: -20px;
}

.typing-container-2 {
  margin-top: 30px;
}


.prayer-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(246 249 252 / 80%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 999;
}

.prayer-overlay.active {
display: flex;
opacity: 1;                 /* fade in */
}

/* Container inside overlay */
.typing-container-3 {
width: 100%;
max-width: 600px;
max-height: 500px !important;   /* threshold */
overflow-y: auto;    /* auto scroll */
border: none;
box-shadow: 0px 0px 0px black;
padding: 40px 20px;
border-radius: 10px;
font-size: 16px;
color: #0073e3;
-webkit-mask-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0) 0%,
  rgba(0, 0, 0, 1) 12%,
  rgba(0, 0, 0, 1) 85%,
  rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
  to bottom,
  rgba(0, 0, 0, 0) 0%,
  rgba(0, 0, 0, 1) 12%,
  rgba(0, 0, 0, 1) 85%,
  rgba(0, 0, 0, 0) 100%
  );
flex-wrap: wrap !important;
white-space: normal !important;
height: auto;
max-height: none;
}


.letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(5px);
  margin: 0;         /* reset margins */
  padding: 0;        /* no padding on letters */
}

.word {
  padding: 2px 2px;
  font-size: 30px;
  font-weight: 800;
  opacity: 0.1;
  transition: opacity 0.8s ease-in-out;
}

.word.active {
  opacity: 1;             /* highlight word */
  }

.space {
  display: inline-block;
  width: 4px; /* controls space size */
}

.bounce-in {
  animation: bounceIn 0.6s forwards;
}

.bounce-out {
  animation: bounceOut 0.6s forwards;
}

@keyframes bounceIn {
  0%   { opacity: 0; transform: translateY(5px) scale(0.8); }
  20%  { opacity: 1; transform: translateY(-2px) scale(1.1); }
  /* 80%  { transform: translateY(5px) scale(0.95); } */
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bounceOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); }
  20%  { transform: translateY(-2px) scale(1.1); }
  100% { opacity: 0; transform: translateY(5px) scale(0.8); }
}




.fade-in {
animation: fadeInUp 0.8s ease forwards;
}

/* Fade-out, slight drop */
.fade-out {
animation: fadeOutDown 0.8s ease forwards;
}

@keyframes fadeInUp {
from { opacity: 0; transform: translateY(6px); }
to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOutDown {
from { opacity: 1; transform: translateY(0); }
to   { opacity: 0; transform: translateY(6px); }
}




.question-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: black;
  font-size: 30px;
  font-weight: 700;
  padding: 20px;
  width: 90%;
  margin: auto;
  border-radius: 26px;
  border: var(--love-border);
  height: 180px;
  /* background: radial-gradient(circle, #efcdcd 10%, transparent 100%); */
  background: var(--love-bg);
  box-shadow: var(--box-shadow);
  /* box-shadow: inset 0px -7px 20px 0px rgb(211 151 151 / 60%), 0px 6px 17px 0px rgb(7 48 89 / 10%); */
}

.question-section-drop-image {
  width: 100px;
  height: 100px;
  border-radius: 100px;
  margin: auto;
  border: 3px solid #333;
  display: none;
}

.question-section-drop-image-strong {
  font-weight: 800;
}

.tract-table {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: var(--main-border);
  width: 270px;
  margin: auto;
  text-align: center;
  border-radius: 33px;
  box-shadow: var(--box-shadow);
  padding-bottom: 20px;
}

.table-title {
  width: 100%;
  background: var(--love-bg);
  border-top-right-radius: 24px;
  border-top-left-radius: 24px;
  border-bottom: var(--love-border);
  padding: 10px 0px;
  color: black;
  font-weight: 800;
}

.table-bold-word {
  background: #e05f5f;
  color: white;
  width: fit-content;
  min-width: 130px;
  border-radius: 30px;
  padding: 5px 26px;
  margin: auto;
}

.float-box-end {
  padding-bottom: 150px !important;
}

.float-box-top {
  margin-top: 100px !important;
}


.bible-reference-container {
  font-size: 18px;
  width: 300px;
  margin: auto;
  background: var(--ref-bg);
  padding: 20px;
  border-radius: 27px;
  /* box-shadow: 0px 0px 4px 0px #b53d3d; */
  box-shadow: var(--box-shadow);
}

.bible-reference-container span {
  font-family: Georgia, serif !important;
}

.section-label {
  margin-top: 25px;
  margin-bottom: -25px;
  font-weight: 800;
  font-size: 12px;
  color: #667387;
}

.foundational-verse {
  width: 90%;
  margin: auto;
  border-radius: 32px;
  font-style: italic;
  padding: 30px;
  background: var(--ref-bg);
  /* border: 1px solid #c56a6a; */
  box-shadow: var(--box-shadow);
  margin-top: 23px;
  margin-bottom: 25px;
  font-weight: 300;
}

.foundational-verse span {
  font-family: Georgia, serif !important;
}

.wall-graphic {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transform: scale(1.2) translateX(12px);
  margin-bottom: -15px !important;
  max-width: 300px;
  margin: auto;
}

.wall-graphic .scroll-fx {
  display: flex;
  justify-content: center;
  align-self: center;
  padding-bottom: 0px;
  padding-right: 0px;
  padding-left: 0px;
}

.prayer-hands {
  display: flex;
  justify-content: center;
}

.ac-float-box {
  padding-bottom: 0px;
}

.wall-float-box {
  padding-bottom: 0px;
  padding-right: 0px;
  padding-left: 0px;
}

.friend-box {
  font-size: 50px;
  margin-top: 50px;
}

.ac-ending-float-box {
  font-size: 30px;
}

.ac-question {
  font-weight: 700;
  font-size: 28px;
}

.ac-button-container {
  width: 93%;
  margin: auto;
  margin-top: 10px;
  padding-bottom: 50px;
}

/* Track / background */
#prayer-progress-bar {
  display: none;
width: 300px !important;             /* fixed width */
height: 5px;             /* thickness */
background: #e0e0e0;      /* light gray track */
border-radius: 6px;
overflow: hidden;
margin-top: 30px;
margin-bottom: 10px;
position: relative;
}

/* The fill that grows left → right */
#prayer-progress-bar-fill {
width: 0%;                /* JS will update */
height: 100%;
background: #0073e3;      /* blue fill */
border-radius: 16px;
transition: width 0.3s ease, background-color 0.3s ease;
}

/* When complete, turn green */
#prayer-progress-bar-fill.complete {
background: #4caf50;      /* success green */
}

/* Countdown text below */
#prayer-progress-text {
font-size: 14px;
font-weight: 800;
color: #333;
text-align: center;
margin-top: 6px;
opacity: 0.95;
}

.salvation-options-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.salvation-options-container button {
  padding: 16px 20px;
  min-width: 300px;
  background: linear-gradient(0deg, rgb(19 78 192 / 11%), rgb(19 78 192 / 0%));
  box-shadow: 0px 2px 11px 0px rgb(7 48 89 / 30%);
  border-radius: 200px;
  font-size: 17px;
  font-weight: 700;
  color: black;
  border: none;
  cursor: pointer;
}

.salvation-options-container button:hover {
  background-color: rgb(219 236 255 / 50%);
  border: 1.5px solid rgb(52 102 217 / 50%);
}

.end-transition-container {
position: relative;
width: 100%;
max-width: 800px;      /* match SVG width if you want a fixed size */
height: 600px;         /* match SVG height */
margin: 0 auto;        /* centers container horizontally */
display: flex;
justify-content: center;
align-items: center;   /* vertically centers SVG */
overflow: hidden;      /* cuts off any overflow dots */
}

#moreMenu {
  display: none;
  top: 75px;
  right: 20px;
  min-width: 150px;
  background: var(--bg);
  position: absolute;
  border: var(--main-border);
  border-radius: 17px;
  padding: 10px;
  margin-top: 10px;
  box-shadow: 0px 2px 20px 0px rgb(7 48 89 / 25%);
}

#moreMenuSVG {
  color: black;
}

.language-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(246 249 252 / 80%) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.language-overlay.active {
display: flex;
opacity: 1;
}

.prayer-label {
  font-size: 10.5px;
  color: #03b000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
}

.prayer-label svg {
  width: 12px;
  fill: #03b000;
}

.end-message {
  position: absolute;
  background-color: rgb(246 249 252 / 68%);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  width: fit-content;
  padding: 12px 26px;
  border-radius: 18px;
  box-shadow: 0px 0px 30px rgb(0 20 60 / 60%);
  margin-top: -139px;
  font-size: 14px;
}

.end-menu-button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px 0px;
}

.main-button {
  display: block;
  text-decoration: none;
  margin: auto;
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.8px;
  height: auto;
  padding: 15px;
  width: 90%;
  min-width: auto;
  background-color: transparent;
  color: black;
  border: none;
  background: linear-gradient(0deg, rgb(19 78 192 / 11%), rgb(19 78 192 / 0%));
  box-shadow: 0px 2px 11px 0px rgb(7 48 89 / 30%);
  border-radius: 200px;
}

.more-messages-text {
  margin-top: 5px;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: 12px;
  color: #667387;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  gap: 15px;
  background-color: black;
  font-size: 12px;
  color: #fff;
}

.footer-container p {
  opacity: 0.7;
}

.footer-container img {
  width: 150px;
}

.text-graphic-only {
  margin-bottom: 30px;
}

.text-graphic-toggle-padding {
  margin-bottom: 20px;
}

.text-graphic-top {
  margin-top: 20px;
}

.first-dd-btn {
    z-index: 2;
}

.second-dd-btn {
    margin-top: -20px;
    z-index: 1;
}

/**
*
* RANDOM CARDS
*
*/

.card-container {
  cursor: pointer; 
  text-align: center; 
  padding: 10px; 
  border-radius: 22px; 
  border: 1px solid transparent;
}

.card-title {
  margin-top: 13px; 
  font-size: 12px; 
  font-weight: 800; 
  color: #000;
}

.loading-container-random-cards {
  display: none; 
  align-items: center; 
  gap: 3px; 
  margin-top: 10px;
}













/**
* 
* TOGGLE CONTENT/REFERENCE BUTTONS
* This was on Divi Theme Custom CSS section
*
*/

/* Toggle container styles */

.reference-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 27px;
  margin-top: 27px;
  gap: 15px;
}

/* Base Button Styles */
.reference-toggle-container button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border-radius: 50px;
  position: relative;
  transition: background-color 0.3s, color 0.3s;
  /* background-color: #dfdfdf; */
  background: rgb(19 78 192 / 6%);
  box-shadow: 0px 2px 11px 0px rgb(7 48 89 / 30%);
  /* box-shadow: inset 0px -6px 11px 0px rgb(19 78 192 / 11%), 0px 2px 11px 0px rgb(7 48 89 / 30%); */
  color: #000;
}

/* Icon Styling */
.reference-toggle-container .icon {
  display: flex;
  align-items: center;
}

.reference-toggle-container svg {
  display: block;
  width: 16px;
  height: 16px;
  stroke: currentColor;
}

/* Active Button */
.reference-toggle-container button.active {
  background-color: #000;
  /* background: rgb(19 78 192 / 80%); */
  color: #fff;
  z-index: 1;
}

/* Detached outline for active */
.reference-toggle-container button.active::after {
  content: "";
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border-radius: 50px;
  border: 2px solid black;
  /* border: 2px solid rgb(19 78 192 / 80%); */
  z-index: -1;
  opacity: 0.7;
}

/* DARK MODE SUPPORT */
body.dark-mode .reference-toggle-container button {
  background-color: #1f1f1f;
  color: #fff;
}

body.dark-mode .reference-toggle-container button.active {
  /* background-color: #fff; */
  color: #fff;
}

body.dark-mode .reference-toggle-container button.active::after {
  border-color: #fff;
  opacity: 0.8;
}

/* Toggle content/reference block */
[id^="content"]:not([id*="btn"]),
[id^="references"]:not([id*="btn"]) {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

[id^="content"].active:not([id*="btn"]),
[id^="references"].active:not([id*="btn"]) {
  display: block;
  opacity: 1;
}














/* DROPDOWN MENU */

.dropdown-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.dropdown-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.card-dropdown-display {
    margin-top: 20px;
    opacity: .6;
    font-size: 11px;
}

/* Dropdown title */
.dropdown-title {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: black;
}

/* Dropdown trigger */
.dropdown-trigger {
    /* background-color: #DBEBFF;
    border: 2px solid #1C5BD6; */
    background-color: rgb(219 236 255 / 50%);
    border: 1.5px solid rgb(52 102 217 / 50%);
    box-shadow: 0px 0px 7px rgb(7 48 89 / 20%);
    color: black;
    border-radius: 50px;
    min-width: 130px;
    padding: 10px 25px;
    text-align: center;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    position: relative;
    display: flex;
    align-items: center; /* Vertically centers text and arrow */
    justify-content: center; 
    gap: 5px;
    /* justify-content: left; */
    /* padding-left: 30px; */
    white-space: nowrap;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.dropdown-trigger svg {
  color: #000;
  stroke: none;
  transition: color 0.3s ease-in-out;
}

body.dark-mode .dropdown-trigger svg {
  color: #fff;
  transition: color 0.3s ease-in-out;
}


/* Arrow styling */
.arrow {
    margin-left: 5px;
    /* margin-right: -9px; */
    display: flex;
    align-items: center;
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 53px;
    left: 49%;
    transform: translateX(-50%);
    /* background-color: #edf2f7; */
    background-color: rgb(240 247 255);
    border: 1.5px solid rgb(52 102 217 / 50%);
    backdrop-filter: blur(13px);
    -webkit-backdrop-filter: blur(13px);
    /* border: 1px solid #cdd7e2; */
    border-radius: 35px;
    box-shadow: 0px 27px 52px 0px rgb(2 25 48 / 80%);
    padding: 10px;
    width: 90vw;
    max-width: 400px;
    /* height: 93vh; */
    max-height: 500px;
    z-index: 1000;
}

.dropdown-menu svg {
    color: #000;
    stroke: none;
    transition: color 0.3s ease-in-out;
}

body.dark-mode .dropdown-menu svg {
    color: #fff;
    transition: color 0.3s ease-in-out;

}

/* Dropdown item */
.dropdown-item {
    display: flex;
    box-shadow: 0px 2px 11px 0px rgb(7 48 89 / 30%);
    background: rgb(246 249 252 / 60%);
    align-items: center;
    padding: 14px 10px;
    text-decoration: none;
    color: inherit;
    border-radius: 20px;
    transition: background-color 0.3s ease;
    border: 2px solid transparent;
    margin-top: 8px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    max-height: 364px;
    max-width: 390px;
    border-radius: 16px;
    margin: auto;
    overflow: hidden auto;
    padding: 0px 8px 35px 8px;
}

.dropdown-item:hover {
    /* background-color: #DBEBFF;
    border: 2px solid #1C5BD6; */
    background-color: rgb(219 236 255 / 50%);
    border: 1.5px solid rgb(52 102 217 / 50%);
}

body.dark-mode .dropdown-item:hover {
    background-color: #323439;
    border: 2px solid #53565d !important;
}

body.dark-mode .dropdown-menu {
    background-color: rgb(32 34 37);
    border: 1.5px solid rgb(68 73 85 / 50%);
    box-shadow: inset 0px 0px 7px rgb(117 180 242 / 20%), 0px 43px 52px 0px rgb(0 9 19 / 80%) !important;
}
body.dark-mode .dropdown-trigger {
    background-color: rgb(44 48 53 / 50%);
    border: 1.5px solid rgb(68 73 85 / 50%);
    box-shadow: inset 0px 0px 7px rgb(117 180 242 / 20%), 0px 0px 7px rgb(7 48 89 / 20%);
    color: #ffffff;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

body.dark-mode .dropdown-title {
    color: #ffffff !important;
}

body.dark-mode .title {
    color: #ffffff !important;
}

body.dark-mode .subtitle {
    color: #b2b2b2 !important;
}

body.dark-mode .dropdown-image {
    box-shadow: 0px 3px 8px transparent !important;
}

/* Image styling */
.dropdown-image {
    width: 95px;
    height: 57px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 18px;
    box-shadow: 0px 3px 8px #9d9d9d;
}

/* Text styling */
.dropdown-text {
    text-align: left;
}

.title {
    font-size: 15px;
    font-weight: 900;
    color: black;
}

.subtitle {
    font-size: 11px;
    color: #5B5B5B;
    font-weight: 700;
    font-style: italic;
    margin-top: -2px;
    white-space: nowrap;
    overflow: hidden;
    width: calc(58vw - 50px);
    max-width: 223px;
}

.language_select {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 10px;
}
.language-btn {
    padding: 5px 15px;
    color: black;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    background-color: rgb(216 231 247);
    border-radius: 60px;
    font-size: 11px;
    letter-spacing: 0.2px;
    color: black;
    font-weight: 600;
    transition: color, background-color 0.5s ease;
}
.language-btn.active {
    /* background-color: #DBEBFF;
    border: 2px solid #1C5BD6; */
    background-color: rgb(219 236 255 / 50%);
    border: 1.5px solid rgb(52 102 217 / 50%);
    box-shadow: 0px 0px 7px rgb(7 48 89 / 20%);
    color: #000000;
    font-weight: 800;
    transition: color, background-color 0.5s ease;
}

.loading-container {
    display: none;
    justify-content: center;
    align-items: center;
}

.dark-mode .language-btn {
    background-color: #151619 !important;
    color: white !important;
}

.dark-mode .language-btn.active {
    background-color: #222529 !important;
    color: white !important;
    border: 1.5px solid rgb(68 73 85 / 50%);
    box-shadow: inset 0px 0px 7px rgb(117 180 242 / 20%), 0px 43px 52px 0px rgb(0 9 19 / 80%) !important;
}

.spinner {
    width: 15px;
    height: 15px;
    border: 2px solid #2b458b;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.68, -0.55, 0.27, 1) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}



/* LOADING MESSAGE OVERLAY */

#custom-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(246 249 252 / 70%); /* 50% opacity */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

#custom-loading-overlay .loader-text {
    color: #101010;
    font-size: 15px;
    margin-top: 20px;
    font-weight: 700;
}

#custom-loading-overlay.hide {
    opacity: 0;
    pointer-events: none;
}

.sk-cube-grid {
width: 65px;
height: 40px;
}

.sk-cube-grid .sk-cube {
width: 33%;
height: 33%;
background-color: #101010;
float: left;
-webkit-animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out;
        animation: sk-cubeGridScaleDelay 1.3s infinite ease-in-out; 
}
.sk-cube-grid .sk-cube1 {
-webkit-animation-delay: 0.2s;
        animation-delay: 0.2s; 
        border-top-left-radius: 6px;}
.sk-cube-grid .sk-cube2 {
-webkit-animation-delay: 0.3s;
        animation-delay: 0.3s; }
.sk-cube-grid .sk-cube3 {
-webkit-animation-delay: 0.4s;
        animation-delay: 0.4s; 
        border-top-right-radius: 6px;}
.sk-cube-grid .sk-cube4 {
-webkit-animation-delay: 0.1s;
        animation-delay: 0.1s; }
.sk-cube-grid .sk-cube5 {
-webkit-animation-delay: 0.2s;
        animation-delay: 0.2s; }
.sk-cube-grid .sk-cube6 {
-webkit-animation-delay: 0.3s;
        animation-delay: 0.3s; }
.sk-cube-grid .sk-cube7 {
-webkit-animation-delay: 0s;
        animation-delay: 0s; 
        border-bottom-left-radius: 6px;}
.sk-cube-grid .sk-cube8 {
-webkit-animation-delay: 0.1s;
        animation-delay: 0.1s; }
.sk-cube-grid .sk-cube9 {
-webkit-animation-delay: 0.2s;
        animation-delay: 0.2s; 
        border-bottom-right-radius: 6px;}

@-webkit-keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
} 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1); 
}
}

@keyframes sk-cubeGridScaleDelay {
0%, 70%, 100% {
    -webkit-transform: scale3D(1, 1, 1);
            transform: scale3D(1, 1, 1);
} 35% {
    -webkit-transform: scale3D(0, 0, 1);
            transform: scale3D(0, 0, 1);
} 
}







.random-cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
    margin-top: -10px;
    max-width: 400px;
    background: var(--container-bg);
    border-radius: 23px;
    box-shadow: var(--box-shadow);
}

body.dark-mode .random-cards-container {
    background: var(--container-bg-dark);
    border: var(--main-border-dark);
    box-shadow: var(--box-shadow-dark);
}

body.dark-mode .card-container:hover {
    background-color: #323232 !important;
    border: 1.5px solid #515151 !important;
}

body.dark-mode .spinner {
    border: 2px solid #ffffff !important;
    border-top: 2px solid transparent !important;
}

body.dark-mode .card-title {
    color: #fff !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float-sync {
    0% { transform: translateY(4px); }
    50% { transform: translateY(-4px); }
    100% { transform: translateY(4px); }
}

@keyframes float-opposite {
    0% { transform: translateY(-4px); }
    50% { transform: translateY(4px); }
    100% { transform: translateY(-4px); }
}

.sync-animation {
    animation: float-sync 4s ease-in-out infinite;
}

.opposite-animation {
    animation: float-opposite 4s ease-in-out infinite;
}

















/* DARK MODE */

body.dark-mode {
  background-color: var(--bg-dark) !important;
  transition: background-color 0.3s ease-in-out;
  color: white !important;
}

body.dark-mode #moreMenuSVG {
color: white;
}

body.dark-mode .container {
background-color: var(--bg-dark);
transition: background-color 0.3s ease-in-out;
}

body.dark-mode .chapter {
  background-color: rgb(31 31 33 / 70%) !important;
  border: solid 1px #2e2f32;
  box-shadow: 0px 0px 7px rgb(7 48 89 / 20%);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

body.dark-mode .nav-bar {
  background-color: rgb(31 31 33 / 80%) !important;
  border-bottom: solid 1px #2e2f32;
  box-shadow: 0px 0px 7px rgb(7 48 89 / 20%);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-bottom 0.3s ease-in-out;
}

body.dark-mode .menu-container {
  background-color: var(--container-bg-dark) !important;
  border-color: #2e2f32;
  box-shadow: 0px 0px 7px rgb(7 48 89 / 0%);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
}

body.dark-mode .menu-option-button {
  background-color: #282a2c;
  box-shadow: 0px 0px 7px rgb(39 44 48 / 0%);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

body.dark-mode .menu-option-button svg {
color: white;
}

body.dark-mode .step,
body.dark-mode .ripple {
  background-color: #fff;
  color: black;
  transition: background-color, color 0.3s ease-in-out;
}

body.dark-mode .question-section {
  background: var(--love-bg-dark);
  border: var(--love-border-dark);
  box-shadow: var(--box-shadow-dark);
  color: white;

}

body.dark-mode .table-title {
  background: var(--love-bg-dark);
  border-bottom: var(--love-border-dark);
  color: white;
}


body.dark-mode .tract-table {
  background-color: var(--container-bg-dark);
  border: var(--main-border-dark);
  box-shadow: var(--box-shadow-dark);
}

body.dark-mode .typing-container,
body.dark-mode .typing-container-2,
body.dark-mode .typing-container-3 {
  border: var(--main-border-dark);
  background: rgb(28 28 29 / 90%);
  color: #2c94f9;
}

body.dark-mode .table-bold-word {
  background: #cb3f47;
}

body.dark-mode .reference-toggle-container button.active {
  background-color: #fff !important;
  color: #000;
}

body.dark-mode .reference-toggle-container button.active::after {
  border-color: #fff;
  opacity: 0.8;
}


body.dark-mode .reference-toggle-container button {
  background-color: var(--container-bg-dark);
  border: var(--main-border-dark);
  color: #fff;
}

body.dark-mode .bible-reference-container {
  background: var(--ref-bg-dark);
  border: var(--ref-border-dark);
  box-shadow: var(--box-shadow-dark);
  border-radius: 24px;
}

body.dark-mode .foundational-verse {
  background: var(--ref-bg-dark);
  border: var(--ref-border-dark);
  box-shadow: var(--box-shadow-dark);
}

body.dark-mode .section-label {
  color: #91969d;
}

body.dark-mode .prayer-label {
  color: #3edb78;
}

body.dark-mode .prayer-label svg {
  fill: #3edb78;
}

body.dark-mode .salvation-options-container button {
  color: white !important;
  background: rgb(41 41 44 / 90%);
  border: 1px solid #3f4045  !important;
  box-shadow: var(--box-shadow-dark);
}

body.dark-mode #prayer-progress-bar {
  background: #3a3c42;
}

body.dark-mode #prayer-progress-bar-fill {
  background: #368fe6;
}

body.dark-mode #prayer-progress-bar-fill.complete {
  background: #3edb78;
}

body.dark-mode #prayer-progress-text {
  color: #7c7f91;
}

body.dark-mode .dropdown-item {
  border: 1px solid #3f4045 !important;
  background: rgb(41 41 44 / 90%);
  box-shadow: 0px 2px 11px 0px rgb(7 48 89 / 0%);
}

body.dark-mode .end-message {
  background-color: rgb(82 91 103 / 40%);
  border: 1px solid #3f4045;
  box-shadow: 0px 0px 25px rgb(30 35 44 / 60%);
}

body.dark-mode .more-messages-text {
  color: #91969d;
}

body.dark-mode p {
color: white !important;
transition: color 0.5s ease-in-out;
}

body.dark-mode .nav-item {
stroke: white;
}

/* End Menu Buttons */
body.dark-mode .button {
background-color: white !important;
color: black !important;
}

body.dark-mode #moreMenu {
background: #1f1f1f !important;
border: 1px solid #3a3a3a !important;
}

body.dark-mode #moreMenu a {
color: white !important;
}

body.dark-mode .dropdown-loading-text {
color: #fff !important;
}

body.dark-mode #themeToggle {
  color: white !important;
}

body.dark-mode .nav-bar::after {
  background: radial-gradient(
    farthest-corner at bottom left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0) 20%
  );
  filter: blur(10px);
}

  body.dark-mode .chapter {
  background-color: rgb(31 31 33 / 70%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0px 2px 15px 0px rgb(10 13 17 / 40%), inset 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(13px) saturate(180%);
  -webkit-backdrop-filter: blur(13px) saturate(180%);
  transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out, border 0.3s ease-in-out;
}

body.dark-mode .chapter::after {
  background: radial-gradient(
    farthest-corner at top left,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0) 60%
  );
  filter: blur(10px);
}