.rc-container {
    max-width: 850px;
    margin: auto;
    padding: 35px;
    background: #000000;
    border: 3px solid #d4af37;
    border-radius: 14px;
    box-shadow: 0 0 35px rgba(212,175,55,0.45);
    color: #e8e8e8;
    font-family: 'Georgia', serif;
}

.rc-title {
    text-align: center;
    font-size: 38px;
    color: #d4af37;
    text-shadow: 0 0 12px rgba(212,175,55,0.8);
    margin-bottom: 25px;
}

.rc-intro {
    text-align: center;
    color: #d4af37;
    font-size: 18px;
    margin: 20px auto 30px auto;
}

.gold-btn,
.rc-btn,
.rc-policy-btn,
.rc-full-chapter-btn,
.rc-translate-btn,
.rc-search-btn,
.rc-app-btn {
    background: #d4af37 !important;
    color: #000 !important;
    border: 2px solid #d4af37 !important;
    padding: 12px 22px !important;
    border-radius: 6px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(212,175,55,0.7);
    transition: 0.25s ease;
}

.gold-btn:hover,
.rc-btn:hover {
    background: #c19b2e !important;
    border-color: #c19b2e !important;
}

.rc-prophetic-block {
    background: #0a0f2c;
    border: 2px solid #d4af37;
    padding: 25px;
    border-radius: 12px;
    max-width: 900px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.book-link {
    display: block;
    margin: 12px auto;
    font-size: 1.6rem;
}

.rc-app-link {
    color: #D4AF37;
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
    font-size: 16px;
}

.kjv-panel-row {
    background: #000;
    padding: 18px 20px;
    border-radius: 26px;
    width: fit-content;
    margin: 0 auto 28px auto;
    box-shadow:
      0 0 18px rgba(255, 215, 0, 0.32),
      0 0 36px rgba(255, 215, 0, 0.22),
      0 0 60px rgba(255, 215, 0, 0.12);
}

.kjv-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.kjv-row a {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, #fffdf3 0%, #f9e9a9 20%, #e6c55a 45%, #c49a2c 70%, #a0781f 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow:
      0 0 12px rgba(212, 175, 55, 0.55),
      0 5px 12px rgba(0, 0, 0, 0.75),
      inset 0 0 14px rgba(255, 255, 255, 0.25),
      inset 0 0 22px rgba(255, 255, 255, 0.15);
    transition: 0.25s ease;
}

.kjv-row svg {
    width: 22px;
    height: 22px;
    fill: #000;
}

.rc-input {
    width: 100%;
    padding: 16px;
    font-size: 20px;
    border: 2px solid #d4af37;
    border-radius: 10px;
    background: #111111;
    color: #d4af37;
    box-shadow: inset 0 0 12px rgba(212,175,55,0.4);
    text-align: center;
}

.rc-books-wrapper {
    margin-top: 25px;
    padding: 18px;
    border: 1px solid rgba(212,175,55,0.7);
    border-radius: 10px;
    background: #050505;
    font-size: 14px;
}

.rc-books-title {
    text-align: center;
    color: #d4af37;
    font-size: 20px;
    margin-top: 0;
}

.rc-section-btn {
    width: 100%;
    margin: 12px auto;
    padding: 14px 25px;
    font-size: 20px;
}

.rc-section-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.rc-section-body.open {
    max-height: 99999px;
}

.rc-book {
    cursor: pointer;
    color: #f0d890;
    font-weight: 600;
    display: block;
    margin: 6px 0;
}

.rc-chapters {
    overflow: hidden;
    max-height: 0;
    margin-left: 15px;
    transition: max-height 0.3s ease;
}

.rc-chapters.open {
    max-height: 99999px;
    margin-bottom: 10px;
}

.rc-chapter-number {
    cursor: pointer;
    color: #f5f5f5;
    font-size: 13px;
    font-weight: 600;
    display: inline-block;
    margin-right: 6px;
    padding: 2px 6px;
    border-radius: 4px;
}

.rc-chapter-active {
    background: rgba(212,175,55,0.22);
    color: #ffffff;
    box-shadow: 0 0 8px rgba(212,175,55,0.5);
}

.rc-verse-number {
    cursor: pointer;
    color: #f0d890;
    font-size: 12px;
    padding: 1px 4px;
    border-radius: 3px;
}

.rc-verse-active {
    background: rgba(212,175,55,0.25);
    color: #ffffff;
}

.rc-breadcrumb {
    margin-top: 22px;
    font-size: 14px;
    color: #d4af37;
}

.rc-breadcrumb span {
    color: #f5f5f5;
}

.rc-results {
    margin-top: 18px;
    font-size: 22px;
    line-height: 1.7;
    color: #f2f2f2;
}

.highlight {
    background: rgba(212,175,55,0.35);
    padding: 2px 4px;
    border-radius: 3px;
    color: #fff;
}

.tts-current-verse {
    background: rgba(212,175,55,0.45) !important;
    color: #ffffff !important;
    padding: 3px 6px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(212,175,55,0.8);
}

/* ============================================================
   REAL-TIME TTS VERSE HIGHLIGHTING (REQUIRED)
   ============================================================ */
.tts-current-verse,
.verse-highlight {
    background: rgba(212,175,55,0.45) !important;
    color: #ffffff !important;
    padding: 3px 6px;
    border-radius: 6px;
    box-shadow: 0 0 12px rgba(212,175,55,0.8);
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

/* ============================================================
   GLOBAL CENTERING FOR ALL PLUGIN UI (SIMPLIFIED + BULLETPROOF)
   ============================================================ */

/* Center main plugin areas */
#bibleSearchContainer,
#bibleResults,
.rc-chapters,
.rc-verse-list,
.rc-chapter-block,
.rc-book,
.rc-verses {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center headings */
#bibleResults h1,
#bibleResults h2,
#bibleResults h3 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center verse paragraphs */
#bibleResults p.verse,
#bibleResults p.verse-item {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================================
   HARD-CENTER ALL GOLD BUTTONS (WORKS EVEN WITH LEFT-ALIGNED PARENTS)
   ============================================================ */

/* Make every gold button a block with auto margins */
.gold-btn,
#bibleResults button.gold-btn,
#bibleSearchContainer button.gold-btn {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Also catch non-gold buttons inside plugin (if any) */
#bibleResults button,
#bibleSearchContainer button {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* ============================================================
   GOLD BUTTONS SHOULD FIT THEIR LABELS (NO FULL-WIDTH)
   ============================================================ */

.gold-btn {
    display: inline-block !important;   /* shrink to text width */
    width: auto !important;             /* prevent full-width */
    padding-left: 20px !important;      /* keep your gold style */
    padding-right: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: nowrap !important;     /* prevent wrapping */
}

/* ============================================================
   CENTER HOMEPAGE GOLD BUTTONS (OUTSIDE PLUGIN)
   ============================================================ */

/* 1. Force the homepage button container to center its children */
.home-buttons,
.elementor-widget-container,
.wp-block-buttons,
.wp-block-button,
.entry-content {
    text-align: center !important;
}

/* 2. Make gold buttons shrink to text width AND center */
.home-buttons .gold-btn,
.elementor-widget-container .gold-btn,
.wp-block-button .gold-btn,
.entry-content .gold-btn {
    display: inline-block !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* ============================================================
   UNIVERSAL VERSION — PERFECT BUTTON CENTERING
   ============================================================ */

/* Center ALL gold buttons everywhere */
.gold-btn {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* Center all button containers */
#rc-bible-search,
.rc-container,
.rc-center,
#bibleResults,
#bibleBreadcrumb,
.rc-books-wrapper,
.rc-section-body,
.rc-chapters,
.rc-verse-list,
.rc-chapter-block,
.rc-book,
.rc-verses {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center verse paragraphs */
#bibleResults p.verse,
#bibleResults p.verse-item {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Center navigation buttons (Prev/Next Chapter/Verse) */
#bibleResults button.gold-btn {
    display: inline-block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* ============================================
   UNIVERSAL RESPONSIVE FIX — WORKS ON ALL THEMES
   ============================================ */

.rc-prophetic-block {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 0 10px;
    margin: 20px auto;
    box-sizing: border-box;
}

.rc-prophetic-block .gold-btn {
    display: block;
    width: 100%;
    max-width: 480px;
    margin: 6px auto;
    text-align: center;
    white-space: normal;
    padding: 12px 10px;
    font-size: 16px;
    line-height: 1.3;
}

/* ============================================
   UNIVERSAL TEXT WRAP FIX FOR ENTIRE PLUGIN
   ============================================ */

#rc-bible-search,
#rc-bible-search * {
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto !important;
}
