    .inline-form { display: block; gap: 10px; }
    @media (min-width: 768px) { .inline-form { display: flex; align-items: center; } }
    .chap { font-size: 22px;}
    .verse-num { cursor: pointer; }
    .favorited { text-decoration: underline red 2px; text-decoration-thickness: 2px; text-underline-offset: 4px; }
    .bible-display h3 { margin-bottom: 50px; }
    .bible-display p { margin-bottom: 15px; font-size: 18px; color: var(--nv-text);}
.bible-words {
  column-count: 2;
  column-gap: 30px; /* space between columns */
  column-rule: 1px solid #a0a0a0; /* vertical divider line */
  margin-bottom: 40px;
}

/* Default font (English / Hindi / UI) */
.bible-words {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ONLY Malayalam Bible text */
.bible-words.lang-mal {
    font-family: 'Noto Sans Malayalam', 'Meera', 'Uroob', serif;
    line-height: 1.3;
}

/* ONLY Malayalam Bible text */
.bible-words.lang-hin {
    font-family: "Pragati Narrow", sans-serif;
    line-height: 1.3;
}


.bible-verse {
  cursor: pointer;
}

.bible-verse.selected-for-projector {
  background: rgba(255, 215, 0, 0.25);
  outline: 2px solid #ffd700;
  border-radius: 6px;
}

.highlighted-verse {
  background: var(--nv-bible-verse-highlight);
  border-radius: 5px;
  padding: 4px;
}

.row {
    display: flex;
    align-items: top;        /* vertical alignment with h1 */
    gap: 16px;
    height: auto;
}

.box.w50 {
    flex: 1;
}



/* FONT CONTROLS BAR */
.font-controls {
    display: flex;
    justify-content: flex-end;  /* ⬅️ push controls to the right */
    align-items: center;        /* vertical centering */
    gap: 12px;
    margin: 0;                  /* remove top/bottom push */
}

/* EACH BUTTON */
.font-controls-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 6px 0 4px 8px;
    background: var(--nv-transpose-controls-item-bg);
    border: 1px solid var(--nv-transpose-controls-item-border);
    border-radius: 4px;
    cursor: pointer;
}

/* ICON LINKS */
.font-controls .font-controls-button a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

/* ICON SIZE */
.font-controls svg {
    width: 22px;
    height: 22px;
    stroke-width: 2;
}

.show-scale {
    font-weight: 600;
    font-size: 14px;
    padding: 0;
    margin-right: 7px;
}


@media (max-width: 768px) {
       .row {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Show settings FIRST on mobile */
    #bible-settings {
        justify-content: flex-start !important;
        order: -1;
        width: 100%;
    }

    #bible-header {
        order: 1;
        width: 100%;
    }
    
.chapter-header {
    margin-bottom: 0px;
}

    .font-controls {
        justify-content: center; /* center controls on mobile */
        width: 100%;
        margin-top: 8px;
    }
    #openProjector, #openProjectorSettings, #saveProjectVerses, #openInfo {
    display: none;
    }
}


.font-controls #svg-one-color svg {
stroke: #818281;
}

.font-controls #projector svg {
stroke: #818281;
}

/* On mobile: show as single column */
@media (max-width: 768px) {
  .bible-words {
    column-count: 1;
    column-rule: none;
  }
}

.verse-menu {
    position: absolute;
    background: #222;
    border-radius: 6px;
    padding: 0;
    z-index: 999;
}
.verse-menu button {
    display: block;
    background: none;
    border: none;
    color: #fff;
    padding: 2px 10px;
    line-height: 1;
    margin: 0;
    cursor: pointer;
}

.verse-menu button:hover { background: #444; }

.hidden { display: none !important; }

.note-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    display: flex;
    align-items: center;
    justify-content: center;
}
.note-box {
    background: #fff;
    padding: 15px;
    width: 300px;
    border-radius: 8px;
}
.note-box textarea {
    width: 100%;
    min-height: 100px;
}

.note-box button {
    margin: 4px 6px 0 0;
    padding: 6px 12px;
    line-height: 1.2;
}

.verse-note-box {
    margin: 8px 0 15px 25px;
    padding: 8px;
    background: var(--nv-card-bg);
    border-left: 3px solid var(--nv-accent);
    font-size: 14px;
}

/* SETTINGS OVERLAY */
.settings-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.settings-panel {
  position: relative;
  background:  #101010;
  width: 90%;
  max-width: 420px;
  border-radius: 10px;
  padding: 20px 16px 16px;
}

/* CLOSE BUTTON – TOP RIGHT */
#closeSettings {
  position: absolute;
  top: -30px;
  right: -180px;
  font-size: 26px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
}

/* Optional hover polish */
#closeSettings:hover {
  opacity: 0.7;
}

/* Header spacing fix */
.settings-header {
  padding-right: 40px; /* prevent overlap with close button */
}




.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.settings-header button {
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

.settings-body label {
  display: block;
  margin: 20px 0;
}

.settings-body input,
.settings-body select {
  width: 100%;
  margin-top: 6px;
}

.settings-footer {
  text-align: right;
}

.settings-footer button {
  padding: 6px 14px;
}

@media (max-width: 768px) {

    /* make the settings container full width */
    #bible-settings {
        width: 100%;
    }

    /* align icons to LEFT */
    #bible-settings .font-controls {
        justify-content: flex-start;
        margin-left: 0;
    }

}

/* ==========================
   INFO OVERLAY CONTENT STYLE
   ========================== */

#infoOverlay .settings-panel {
  width: 90%;
  max-width: 420px;
}

#infoOverlay .settings-body {
  max-height: 65vh;          /* scroll if long */
  overflow-y: auto;
  padding-right: 4px;
}

#infoOverlay #closeInfo {
  position: absolute;
  top: -40px;
  right: -180px;
  font-size: 26px;
  line-height: 1;
  border: none;
  background: none;
  cursor: pointer;
}

/* Optional hover polish */
#infoOverlay #closeInfo:hover {
  opacity: 0.7;
}

/* paragraph spacing */
#infoOverlay .settings-body p {
  margin: 12px 0;
  font-size:14px;
  line-height:1.5;
  color:#a0a0a0 !important;
}

/* lucide icons inside text */
#infoOverlay .settings-body svg {
  width: 18px;
  height: 18px;
  vertical-align: middle;
  margin: 0 2px;
}

/* mobile polish */
@media (max-width: 768px) {

  #infoOverlay .settings-panel {
    width: 92%;
    max-width: none;
    border-radius: 12px;
  }

  #infoOverlay .settings-body {
    max-height: 70vh;
  }
}

.chapter-nav-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.chapter-nav {
    background: rgba(0, 0, 0, 0.7); /* 0.0 → 1.0 */
    border-radius: 40px;
    padding: 10px 20px;
    color: #a0a0a0;
}



