.song-info-data {
color: #a0a0a0;
font-size: 14px;
}


.song-content pre.two-columns {
  column-count: 2;
  column-gap: 40px;
}

/* Keep chord + lyric line together */
.song-content pre.two-columns {
  /* trick: large line-height + paragraph spacing mimic verse grouping */
}

.song-content pre.two-columns span.chord {
  display: inline-block;
}

.guest-message {
    background:var(--nv-background-light3);
    border-left: 5px solid #ffcc00;
    padding: 10px;
    margin: 20px 0;
}

.guest-message img {
display: block;
width: 30%;
margin-bottom: 10px;
}

.rand-messages {
    background: var(--nv-background-light2);
    border-left: 5px solid #339af0;
    padding: 10px;
    margin: 20px 0;
}

/* ================================
   TRANSPOSE CONTROLS BAR
================================ */

.transpose-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 30px 0 50px;
    overflow: hidden;
    gap: 10px;
}

/* IMPORTANT */
.box.w60 {
    min-width: 0;
}

/* EACH CONTROL GROUP */
.transpose-controls .transpose-controls-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 0;
    margin: 0;

    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* separator */
.transpose-controls .transpose-controls-button::after {
    content: "|";
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-left: 6px;
    margin-right: 6px;

    opacity: 0.5;
}

/* remove separator from last item */
.transpose-controls .transpose-controls-button:last-child::after {
    display: none;
}

/* Normalize buttons + links */
.transpose-controls button,
.transpose-controls .transpose-controls-button a {
    all: unset;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
    color: inherit;
}

/* SVG */
.transpose-controls svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

/* scale + font text */
#svg-one-color .show-scale {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 45px;              /* fixed width */
    min-width: 45px;
    max-width: 45px;

    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
}

#svg-one-color2 .show-scale {
    width: 20px;
    min-width: 20px;
    max-width: 20px;
}

/* TRANSPOSE + FONT SIZE stay together */
.transpose-controls-button {
    white-space: nowrap;
}

/* Disabled */
#transposeUp.chords-disabled,
#transposeDown.chords-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ================================
   MOBILE
================================ */
@media (max-width: 768px) {

    .transpose-controls {
        gap: 8px;
        line-height: 50px;
    }

    .transpose-controls svg {
        width: 32px;
        height: 32px;
        stroke-width: 1.4;
    }

    #svg-one-color .show-scale {
        font-size: 13px;
    }
    
    #svg-one-color2 .show-scale svg {
        width: 20px;
}
}


/* Mobile screens */
@media (max-width: 768px) {
    .box.w60 {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    pre {
        overflow-x: auto !important;
        max-width: 100%;
        -webkit-overflow-scrolling: touch; /* smooth scroll on mobile */
    }
}

.wrap {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 768px) {
    .wrap {
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

.guitar-chords-container {
margin-top: 20px;
font-family: sans-serif;
}

.chords-list {
display: flex;
flex-wrap: wrap;
gap: 10px;
}

.chord-diagram {
width: 80px;
text-align: center;
margin-bottom: 10px;
}

.song-tags {
margin-top: 10px;
}

.song-tags .song-tag {
display: inline-block;
background: #1c3470;
color: #fff;
padding: 4px 8px;
margin: 3px;
font-size: 14px;
border-radius: 2px;
transition: background 0.2s ease;
}

.song-tags .song-tag:hover {
background: #dc6360;
}

.share-buttons {
margin-top: 40px;
}

.share-buttons img {
width: 40px;
margin-right: 10px;
filter: invert(0.6);
}

body.dark-mode .share-buttons img {
filter: invert(0);
}

/* ========== Two-column responsive layout ========== */
.song-extra-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 50px;
}

/* Left side (song info, tags, share buttons) */
.song-extra-container .left-side {
  flex: 1;
  max-width: 45%;
}

/* Right side (comments) */
.song-extra-container .right-side {
  flex: 1;
  max-width: 55%;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .song-extra-container {
    flex-direction: column;
    gap: 20px;
  }

  .song-extra-container .left-side,
  .song-extra-container .right-side {
    max-width: 100%;
  }
}

.rating-row {
    display: flex;
    align-items: center;
    gap: 4px; /* space between text and stars */
    margin: 50px 0;
}

.rating-label {
    font-size: 16px;
    margin-right: 8px;
    white-space: nowrap;
}

.star {
    width: 24px;
    height: 24px;
    cursor: pointer;
}


.song-info-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 50px;
    justify-content: flex-start;
    background: var(--nv-song-info-wrapper-bg);
    padding: 10px 20px 13px;
    border-top: 1px solid var(--nv-border);
    border-bottom: 1px solid var(--nv-border);
    margin: 0;
}

.song-info-box {
    padding: 0;
    flex: 0 0 calc((100% - 200px) / 5);
    min-width: 0;
    text-align: center;
}

.song-info-box .song-info-header {
    display: block;
    font-size: 14px;
    margin-right: 2px;
}

.song-info-box .song-info-data {
    font-size: 16px;
    font-weight: 600;
}

/* ------------------------------
   MOBILE: Single Column
   ------------------------------ */
@media (max-width: 600px) {
    .song-info-wrapper {
        gap: 0px; /* optional: smaller gap on mobile */
    }

    .song-info-box {
        flex: 0 0 100%; /* full width */
        white-space: normal; /* allow wrapping if needed */
        text-align: left;
    }
    
    .song-info-box .song-info-header {
    display: inline;
    font-size: 16px;
    }
    
    .song-info-box .song-info-data {
    font-size: 18px;
	}
}

/* =====================================
   SONG PANEL SPECIFIC FIX (OPTIONAL BUT SAFE)
===================================== */

#song-right {
    border-left: 1px solid var(--nv-border);
    padding: 50px 30px;
    background: var(--nv-background-light1);
}

#song-right h3 {
margin-top: 0 !important;
}

#song-right {
margin-right: 0;
}

.icon-inline {
margin-right: 0 !important;
}

.endnotes {
margin: 50px 0;
}

@media (max-width: 600px) {
    #song-right {
        border: 0;
        padding: 0;
        background: transparent;
    }
}

ul.recommended-songs {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

ul.recommended-songs li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.ad-notes {
font-weight: normal;
}

.ad-notes a {
font-weight: normal !important;
}

.message {padding:8px; background:#e8f7d2; border:1px solid #c5e1a5; margin-bottom:10px; border-radius:4px; color:#33691e;}


#editedSongContent {
    width: 100%;
    height: 20vh;
    max-height: 250px;
    box-sizing: border-box;
}

#editedSongContent textarea{
    height: 150px;
}

.edit-actions {
  display: flex;
  gap: 10px;
}

.gp-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

/* ---------- Overlay Window ---------- */
.gp-overlay-content {
    background: #ffffff;
    width: 90%;
    max-width: 500px;
    height: 95vh;
    border-radius: 10px;
    position: relative;

    /* ✅ stack image + text vertically */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    /* ✅ enable scrolling when content is tall */
    overflow-y: auto;

    /* optional padding */
    padding: 20px 10px 30px;
}

/* ---------- Image ---------- */
.gp-overlay-content img {
    display: block;
    max-width: 90%;
    height: auto;
    margin-top: 20px;
}

/* ---------- THANK YOU text ---------- */
.gp-thankyou {
    margin-top: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

/* ---------- Close Button ---------- */
.gp-overlay-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 26px;
    cursor: pointer;
    color: #333;
    font-weight: bold;
}

.gp-overlay-close:hover {
    color: #e74c3c;
}

.featured_img {
width: 100%;
height: 424px;
}

.featured_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 70% 45%;
}

.featured-image-caption {
font-size: 10px;
padding: 0;
margin-top: 0px;
}

@media (max-width: 600px) {
.featured_img {
display: none;
}
}

/* =========================
   PLAYLIST PROMPT
========================= */
.playlist-prompt {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    background: #1c3470;
    color: #fff;
    padding: 18px 30px;

    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 999999;

    opacity: 0;
    transition: opacity 0.3s ease;
}

.playlist-prompt.show {
    opacity: 1;
}

.playlist-prompt.error {
    background: #dc6360;
}