body {
    background-color: #e2e5eb;
  }
  
  .ultimate_bg_nav {
      background-color: #9aaac9;
  }
  
  .song-header {
      padding-bottom: 1rem;
  }
  
  .active-song {
      font-weight: bold;
      color: #e71000;
  }
  
  .bracketed-text {
      color: #5ed3ff !important;
      font-weight: bold !important;
  }
  
  .share-icons a, .share-icons button {
      font-size: 22px;
      color: #333;
      text-decoration: none;
      transition: color 0.2s ease;
  }
  
  .share-icons a:hover, .share-icons button:hover {
      color: #2b59b5;
  } 
  
  .mainbox {
      margin: 0;
      padding: 20px;
  }
  
  .song_details {
      position: relative;
      margin: 70px 0 0 0;
      padding: 15px;
      background-color: #bec7d9;
      border-radius: 8px;
      box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  }
  
  
  .song_title_s {
      
      font-size: 2rem;
      font-weight: 700;
      color: #333;
      line-height: 1.2;
  }
  
.action-buttons .btn {
    margin-right: 10px;
    border-radius: 6px;
    padding: 8px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.action-buttons .btn-success {
    background: linear-gradient(to right, #28a745, #20c997);
    border: none;
}

.action-buttons .btn-primary {
    background: linear-gradient(to right, #135bec, #0d40a6);
    border: none;
}

.action-buttons i {
    margin-right: 5px;
}

  
  .views-counter {
      position: absolute;
      right: 15px;
      top: 15px;
      font-size: 0.9rem;
  }
  
  .views-counter .badge {
      padding: 0.5rem 0.8rem;
      font-weight: normal;
      border: 1px solid rgba(0,0,0,0.1);
  }
  
  .author-link {
      font-size: 1.1rem;
      font-weight: normal;
      color: #666;
      display: inline-block;
      margin-top: -5px;
      margin-bottom: 15px;
      margin-right: 15px;
  }
  
  
  /* Tab styling */
  .nav-tabs .nav-link {
      border: 1px solid #e1e2e3;
      border-radius: 5px 5px 0 0;
      font-weight: 500;
      color: #495057;
      margin-right: 2px;
      transition: all 0.2s ease;
  }
  
  .nav-tabs .nav-link.active {
      color: #2b59b5;
      background-color: #f9f9f9;
      border-bottom-color: transparent;
  }
  
  .nav-tabs .nav-link:hover:not(.active) {
      color: #2b59b5;
      border-color: #ebeced #ebeced #e1e2e3;
  }
  
  /* Card styling */
  .card {
      border-radius: 8px;
      border: 1px solid rgba(0,0,0,0.08);
      overflow: hidden;
  }
  
  .card-header {
      background-color: rgba(43, 89, 181, 0.1);
      padding: 0.75rem 1.25rem;
      border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  
  .song_author_s {
    font-size:20px;	
  }
  
  .song-controls-mobile {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;    
  }
  
  
  .lyrics {
      white-space: pre-wrap;
      font-family: monospace;
      background-color: black;
      color: white;
      padding: 20px;
      border-radius: 0 0 5px 5px;
      line-height: 1.6;
      
      overflow-y: auto;
      border: 1px solid rgba(255,255,255,0.1);
  }
  
  /* Default font size for mobile */
  .lyrics {
      font-size: 11px;
  }
  
  /* Font size for desktop */
  @media screen and (min-width: 768px) {
      .lyrics {
          font-size: 16px;
      }
  }
  
  /* Scrollbar styling for lyrics container */
  .lyrics::-webkit-scrollbar {
      width: 8px;
  }
  
  .lyrics::-webkit-scrollbar-track {
      background: #333;
      border-radius: 0 5px 5px 0;
  }
  
  .lyrics::-webkit-scrollbar-thumb {
      background: #2b59b5;
      border-radius: 10px;
  }
  
  .lyrics::-webkit-scrollbar-thumb:hover {
      background: #1f448d;
  }
  
  
  /* Remove underline from all links */
  a {
      text-decoration: none;
    color:#2b59b5;
    font-weight:bold;
  }
  
  /* Add an underline on hover for better accessibility */
  a:hover {
      text-decoration: none;
    color:#2a4477;
  
  }
  
  .ultimate_button {
    background-color: #b8c1d3;
    color: #022261;
    font-weight: bold;
    border: none;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  }
  
  .ultimate_button:hover {
    background-color: #2b59b5;
    color: #fbfbfb;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  }
  
  .ultimate_button:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }

  #scrollBtn.is-scrolling {
    background-color: #2b59b5;
    color: #ffffff;
  }
  
  .btn-sm.ultimate_button {
    font-size: 0.85rem;
    padding: 0.3rem 0.6rem;
  }
  
  .key-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      justify-content: center;
  }
  
  .key-buttons button {
      min-width: 45px;
  }
  
  .key-buttons a {
      padding: 10px 15px;
      border: 1px solid #ddd;
      border-radius: 4px;
      text-decoration: none;
      color: #333;
  }
  
  .key-buttons a:hover {
      background-color: #f0f0f0;
      cursor: pointer;
  }
  
  
  
  
  .chord {
      color: #60f807;
      font-weight: bold;
      padding: 0 2px;
      border-bottom: 1px dashed rgba(255, 152, 0, 0.5);
      text-shadow: 0 0 10px rgba(255, 152, 0, 0.5),
                   0 0 20px rgba(255, 152, 0, 0.3),
                   0 0 30px rgba(255, 165, 30, 0.2);
      animation: chordGlow 1.5s ease-in-out infinite alternate;
  }
  
  @keyframes chordGlow {
      from {
          text-shadow: 0 0 10px rgba(255, 152, 0, 0.5),
                       0 0 20px rgba(255, 152, 0, 0.3),
                       0 0 30px rgba(255, 152, 0, 0.2);
      }
      to {
          text-shadow: 0 0 15px rgba(255, 152, 0, 0.7),
                       0 0 25px rgba(255, 152, 0, 0.5),
                       0 0 35px rgba(255, 152, 0, 0.3);
      }
  }
  
  
    .fixed-bottom {
      position: fixed;
      bottom: 0;
      width: 100%;
      display: flex;
      justify-content: center;
      background-color: white;
      padding: 10px;
  }
  
  #song-lyrics {
            /* overflow-y: scroll; */
             /* max-height: 90vh; */
          }
  
      .song-controls {
      margin-top: 15px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
  }
  
  .song-content {
      display: flex;
      align-items: flex-start;
  }
  
    .hide-mobile {
      display: none !important;
    }
  
     /* YOUTUBE VIDEO */
  
  .vidhead{
      font-weight:bold;
  }
  
  /* YOUTUBE START */
  
  .close-video-btn {
      position: absolute;
      top: -10px;
      right: -10px;
      width: 20px;
      height: 20px;
      background-color: red;
      color: white;
      border: none;
      border-radius: 50%;
      font-size: 16px;
      line-height: 1;
      cursor: pointer;
      z-index: 1001;
  }
  
  
  .youtube-video-box {
      position: fixed;
      bottom: 50px;
      right: 70px;
      background-color: #fff;
      width: 280px;
      height: 157px;
  }
  
  .youtube-video-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden; }
  
  .youtube-video-container iframe {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
  }
  
  @media (max-width: 768px) {
      .youtube-video-box {
          width: 250px;
          height: 150px;
          bottom: 20px;
          right: 50px;
      }
  }
  
  @media (max-width: 480px) {
      .youtube-video-box {
          width: 250px;
          height: 150px;
          bottom: 20px;
          right: 50px;
      }
  }
  
  
  /* END YOUTUBE VIDEO */
  
  @media (max-width: 768px) {

    .action-buttons {
        display: flex;
        justify-content: space-between;
        width: 100%;
    }

    .action-buttons .btn {
        padding: 5px 13px;
        font-size: 12px;
        margin-right: 5px;
        white-space: nowrap;
    }

    .action-buttons .btn:last-child {
        margin-right: 0;
    }
  
  .show-desktop {
      display: none !important;
    }
  
  .mainbox {
          margin:0 0 0 0;
      }
  
  .song_details {
    margin:20px 0 0 0; 	
  }
  
  .aligned {
    margin:0 0 0 0px; 	
  }	
  
  .song-controls {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: rgba(0, 0, 0, 0.1);
      padding: 10px;
      z-index: 1000;
      text-align: center;
  }
  .lyrics { 
    height: auto;
  }
  
  .song-controls {
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      background-color: rgba(0, 0, 0, 0.1);
      padding: 7px;
      z-index: 1000;
      text-align: center;
  }
  
  .share-icons {
      padding: 1px;
      z-index: 1000;
      text-align: center;	
  
  }
  
  .bible-verse {
      font-family: Georgia, serif;
      color: #666;
      padding: 10px;
      border-bottom: 1px solid #eee;
      font-size: 1rem;
  }
  
  .controlbox{
    color: white;
    text-align: left;
    border: 2px solid red;
  
  
  }
  
  .btn.ultimate_button {
          font-size: 10px;
          padding: 5px 10px;
      }
  
  }
  
  /* Redesigned song page */
  .song-page {
      background:
          linear-gradient(180deg, #e2e5eb 0%, #f3f4f7 42%, #e2e5eb 100%);
      color: #123746;
      min-height: 100vh;
  }
  
  .song-page .navbar {
      box-shadow: 0 12px 28px rgba(2, 34, 97, 0.08);
  }
  
  .song-page .navbar-brand {
      color: #022261;
      font-weight: 800;
  }
  
  .song-page .logo-img {
      max-height: 38px;
      width: auto;
      margin-right: 8px;
  }
  
  .song-page-shell {
      padding: 34px 0 10px;
  }
  
  .song-layout {
      align-items: flex-start;
  }
  
  .song-main-surface {
      min-width: 0;
  }
  
  .song-verse-strip {
      margin: 0 0 18px;
      padding: 12px 16px;
      background: rgba(255, 255, 255, 0.72);
      border: 1px solid rgba(43, 89, 181, 0.2);
      border-radius: 8px;
      color: #2a4477;
      font-family: Georgia, serif;
      box-shadow: 0 12px 26px rgba(2, 34, 97, 0.06);
  }
  
  .song-hero-card,
  .song-reader-card,
  .song-sidebar-card,
  .song-info-section > .row {
      background: rgba(255, 255, 255, 0.86);
      border: 1px solid rgba(43, 89, 181, 0.18);
      border-radius: 8px;
      box-shadow: 0 16px 34px rgba(2, 34, 97, 0.08);
  }
  
  .song-hero-card {
      padding: 24px;
      overflow: hidden;
  }
  
  .song-kicker {
      margin: 0 0 8px;
      color: #2a4477;
      font-size: 0.8rem;
      font-weight: 850;
      letter-spacing: 0;
      text-transform: uppercase;
  }
  
  .song_title_s {
      margin: 0;
      color: #022261;
      font-size: clamp(2rem, 5vw, 3.9rem);
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0;
  }
  
  .song-meta-row {
      align-items: center;
      gap: 12px;
      margin-top: 14px;
      color: #273a60;
      font-size: 1rem;
  }
  
  .song-meta-row span {
      min-width: 0;
  }
  
  .song-actions {
      margin-top: 18px;
  }
  
  .action-buttons {
      width: 100%;
  }
  
  .action-buttons .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      min-height: 42px;
      margin: 0;
      border-radius: 8px;
      font-weight: 800;
      white-space: normal;
      box-shadow: 0 10px 22px rgba(2, 34, 97, 0.1);
  }
  
  .action-buttons .btn-primary,
  .action-buttons .btn-success {
      background: #2b59b5;
      border: 0;
  }
  
  .action-buttons .btn-success {
      background: #2a4477;
  }
  
  .action-buttons .btn-outline-warning {
      background: #ffffff;
      border-color: rgba(43, 89, 181, 0.32);
      color: #022261;
  }
  
  .song-reader-card {
      padding: 14px;
      overflow: hidden;
  }
  
  .song-tabs {
      gap: 8px;
      border-bottom: 0;
  }
  
  .song-tabs .nav-link {
      min-height: 42px;
      border: 1px solid rgba(43, 89, 181, 0.2);
      border-radius: 8px;
      background: #e2e5eb;
      color: #022261;
      font-weight: 850;
  }
  
  .song-tabs .nav-link.active {
      background: #123746;
      border-color: #123746;
      color: #ffffff;
  }
  
  .song-tabs-content {
      margin-top: 14px !important;
  }
  
  .transpose-section {
      padding: 14px;
      background: #0c1d3e;
      border-radius: 8px 8px 0 0;
      color: #e2e5eb;
  }
  
  .transpose-section h3 {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0;
      font-weight: 850;
  }
  
  .transpose-keys {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin: 12px 0 0;
      overflow: visible;
  }
  
  .transpose-keys a {
      float: none;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: auto;
      min-width: 38px;
      min-height: 34px;
      margin: 0;
      border: 1px solid rgba(154, 170, 201, 0.35);
      border-radius: 6px;
      background: #b8c1d3;
      color: #022261;
      font-weight: 850;
  }
  
  .transpose-keys a.selected,
  .transpose-keys a:hover {
      background: #2b59b5;
      color: #ffffff;
  }
  
  .lyrics {
      margin-top: 16px;
      min-height: 520px;
      max-height: none;
      border: 0;
      border-radius: 8px;
      background: #02090d;
      color: #f8f9fa;
      font-family: Consolas, "Courier New", monospace;
      line-height: 1.82;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  }
  
  .chord {
      color: #65e924;
      border-bottom: 1px dashed rgba(101, 233, 36, 0.42);
      text-shadow: none;
      animation: none;
  }
  
  .bracketed-text {
      color: #5ed3ff !important;
      font-weight: 850 !important;
  }
  
  .song-controls-wrap {
      max-width: none;
      padding-left: 0;
      padding-right: 0;
  }
  
  .song-controls {
      align-items: center;
      gap: 12px;
      margin-top: 16px;
      padding: 12px;
      background: rgba(255, 255, 255, 0.78);
      border: 1px solid rgba(43, 89, 181, 0.18);
      border-radius: 8px;
      box-shadow: 0 12px 26px rgba(2, 34, 97, 0.07);
  }
  
  .song-control-buttons {
      display: flex !important;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
  }
  
  .song-control-buttons .ultimate_button,
  .song-controls .ultimate_button {
      min-height: 38px;
      border-radius: 6px;
  }
  
  .share-icons {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
  }
  
  .share-icons a,
  .share-icons button {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 38px;
      height: 38px;
      border-radius: 6px;
      background: #e2e5eb;
      color: #022261;
      font-size: 18px;
  }
  
  .share-icons a:hover,
  .share-icons button:hover {
      background: #2b59b5;
      color: #ffffff;
  }
  
  .song-sidebar-column {
      min-width: 0;
  }
  
  .song-sidebar-card {
      margin: 0 0 18px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.82);
  }
  
  .song-sidebar-card h3 {
      color: #022261;
      font-weight: 850;
  }
  
  .song_author_s {
      margin-bottom: 10px;
      color: #273a60;
      font-size: 1rem;
      line-height: 1.45;
  }
  
  .song-author-image {
      width: 80px;
      height: 80px;
      margin: 8px 0 12px;
      border: 3px solid #e2e5eb;
      border-radius: 8px;
      object-fit: cover;
      background: #e2e5eb;
  }
  
  .song_list_container,
  .song-popular-list {
      min-width: 0;
  }
  
  .song_list,
  .song-popular-list {
      margin: 0;
      padding-left: 20px;
  }
  
  .song_list li,
  .song-popular-list li {
      margin-bottom: 9px;
      color: #2b59b5;
  }
  
  .song_list a,
  .song-popular-list a,
  .song-sidebar-card a {
      overflow-wrap: anywhere;
  }
  
  .song-popular-card h3 {
      padding-top: 0 !important;
  }
  
  .youtube-video-box {
      z-index: 20;
      overflow: visible;
      border: 4px solid #ffffff;
      border-radius: 8px;
      box-shadow: 0 18px 36px rgba(2, 34, 97, 0.24);
  }
  
  .close-video-btn {
      background-color: #2b59b5;
      box-shadow: 0 5px 14px rgba(2, 34, 97, 0.2);
  }
  
  .song-info-section {
      margin-top: 28px;
  }
  
  .song-info-section > .row {
      padding: 24px;
      color: #273a60;
  }
  
  .song-info-section h3 {
      color: #022261;
      font-weight: 850;
  }
  
  .song-info-section hr {
      border-color: rgba(43, 89, 181, 0.22);
      opacity: 1;
  }
  
  @media (max-width: 991px) {
      .song-page-shell {
          padding-top: 24px;
      }
      
      .song-sidebar-column {
          margin-top: 0;
      }
  }
  
  @media (max-width: 768px) {
      .song-page {
          padding-bottom: 96px;
      }
      
      .song-page-shell > .container {
          max-width: 100%;
          padding-left: 8px;
          padding-right: 8px;
      }
      
      .song-layout {
          --bs-gutter-x: 0.5rem;
      }
      
      .song-page-shell {
          padding-top: 16px;
      }
      
      .song-hero-card,
      .song-reader-card,
      .song-sidebar-card,
      .song-info-section > .row {
          border-radius: 8px;
      }
      
      .song-hero-card {
          padding: 7px;
      }
      
      .song-reader-card {
          padding: 8px;
      }
      
      .song_title_s {
          font-size: clamp(1.75rem, 11vw, 2.7rem);
          line-height: 1.04;
      }
      
      .song-meta-row {
          align-items: flex-start;
          flex-direction: column;
      }
      
      .song-meta-row .ms-auto {
          margin-left: 0 !important;
      }
      
      .action-buttons .row {
          --bs-gutter-x: 0.5rem;
          --bs-gutter-y: 0.5rem;
      }
      
      .action-buttons .btn {
          min-height: 44px;
          padding: 7px 8px;
          font-size: 0.78rem;
          white-space: normal;
      }
      
      .song-tabs {
          display: grid;
          grid-template-columns: 1fr 1fr;
      }
      
      .song-tabs .nav-item,
      .song-tabs .nav-link {
          width: 100%;
      }
      
      .transpose-section {
          padding: 12px;
      }
      
      .transpose-keys {
          gap: 5px;
      }
      
      .transpose-keys a {
          min-width: 34px;
          min-height: 32px;
          font-size: 0.78rem;
      }
      
      .lyrics {
          margin-top: 12px;
          min-height: 420px;
          padding: 18px 14px;
          font-size: 13px;
          line-height: 1.78;
          overflow-x: auto;
      }
      
      .song-controls-wrap {
          padding-bottom: 0 !important;
      }
      
      .song-controls {
          position: fixed;
          right: 8px;
          bottom: 8px;
          left: 8px;
          z-index: 1000;
          display: grid !important;
          grid-template-columns: 1fr;
          gap: 7px;
          margin: 0;
          padding: 8px 10px;
          background: rgba(9, 22, 49, 0.96);
          border-color: rgba(154, 170, 201, 0.28);
          box-shadow: 0 16px 32px rgba(2, 34, 97, 0.28);
      }
      
      .song-control-buttons {
          display: grid !important;
          grid-template-columns: repeat(7, minmax(0, 1fr));
          gap: 6px;
          width: 100%;
      }

      .song-control-buttons #scrollBtn {
          grid-column: span 2;
      }
      
      .song-control-buttons .ultimate_button,
      .song-controls .ultimate_button {
          width: 100%;
          min-height: 34px;
          padding: 5px 4px;
          font-size: clamp(0.66rem, 2.8vw, 0.82rem);
          white-space: nowrap;
      }
      
      .share-icons {
          width: 100%;
          justify-content: center;
          gap: 5px;
      }
      
      .share-icons a,
      .share-icons button {
          width: 32px;
          height: 32px;
          background: #b8c1d3;
          font-size: 15px;
      }
      
      .song-sidebar-card {
          padding: 16px;
      }
      
      .youtube-video-box {
          right: 12px;
          bottom: 92px;
          width: min(280px, calc(100vw - 24px));
          height: auto;
      }
      
      .song-info-section > .row {
          padding: 18px;
      }
  }
  
  @media (max-width: 430px) {
      .song-page-shell > .container {
          padding-left: 4px;
          padding-right: 4px;
      }
      
      .song-reader-card {
          padding: 6px;
      }
      
      .lyrics {
          padding-left: 12px;
          padding-right: 12px;
      }
      
      .song-control-buttons {
          grid-template-columns: repeat(7, minmax(0, 1fr));
          gap: 5px;
      }
      
      .song-control-buttons .ultimate_button,
      .song-controls .ultimate_button {
          min-height: 32px;
          font-size: clamp(0.58rem, 2.55vw, 0.72rem);
      }
  }
  
  
