/* --- Welcome Flow --- */

/* Welcome Mode: Sidebar centered, no background */
body.welcome-mode {
    background: #ffffff;
    background-image: none;
}

body.welcome-mode .sidebar {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;
    height: auto;
    background: transparent;
    border: none;
    z-index: 100;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    align-items: center;
}

body.welcome-mode .sidebar h2,
body.welcome-mode .selection-panel {
    align-items: center;
    text-align: center;
}

body.welcome-mode .selection-panel {
    flex-direction: column;
}

body.welcome-mode .form-group {
    width: 100%;
    flex-direction: column !important;
    gap: 10px;
}

body.welcome-mode .form-group label {
    margin-bottom: 4px;
}

body.welcome-mode .sidebar-toggle {
    display: none;
}

.sidebar-toggle {
    position: relative;
    z-index: 100 !important;
    /* Always clickable */
}

body.welcome-mode #topMenuVersionGroup {
    display: none;
}

body.welcome-mode header,
body.welcome-mode .content-area {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

/* Animated transition to Active Mode */
body.app-active .sidebar {
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

body.app-active header,
body.app-active .content-area {
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.8s ease 0.3s;
    /* Delay for sidebar move */
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* --- Mobile Responsiveness (Mobile-First) --- */

@media (max-width: 768px) {
    #app-view {
        overflow-x: hidden;
    }

    #main-header {
        padding: 10px 15px 8px 15px;
        height: auto !important;
        min-height: auto !important;
    }

    .dots-animation {
        display: none !important;
    }

    .header-left-actions {
        left: 10px;
        gap: 6px;
    }

    #homeBtn,
    #btnHelp {
        display: none !important;
    }

    .icon-btn {
        padding: 6px;
    }

    .header-controls {
        top: 10px;
        right: 15px;
        gap: 8px;
    }

    .auth-controls #languageSelectWrapperHeader,
    #inlineVersionSelector {
        display: none !important;
    }

    .launch-notice {
        display: none;
    }

    .header-lockup {
        padding: 10px 0 15px 0;
        margin: 0;
        gap: 15px;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        width: 100%;
    }

    .header-text-group {
        align-items: flex-start;
        /* Keep text left-aligned relative to itself, or center? User said "center horizontally". Usually dove + text block is centered. */
    }

    .header-lockup h1 {
        font-size: 1.4rem;
        margin: 0;
    }

    /* Mobile Header Height Tweak */

    @media (max-width: 768px) {
        header#main-header {
            height: 50px;
            /* Match bottom nav height roughly */
            display: flex;
            align-items: center;
        }

        .sidebar select,
        .sidebar option,
        .sidebar .custom-select-trigger,
        .sidebar .custom-option {
            font-size: 16px !important;
            /* Prevent iOS zoom and improve readability */
        }
    }

    .header-lockup p {
        display: block;
        font-size: 0.75rem;
        opacity: 0.9;
        margin-top: 2px;
        white-space: nowrap;
    }

    .dove-icon {
        width: 50px !important;
        height: 50px !important;
        flex-shrink: 0;
    }

    .main-content {
        height: calc(100vh - 100px);
        /* Adjust for smaller header */
        position: relative;
    }

    .sidebar {
        display: none;
        /* Hide by default to remove bottom bar look */
    }

    .sidebar.pinned,
    .sidebar.pinned-active {
        display: block !important;
        /* Show when toggled via hamburger */
        position: fixed;
        top: auto;
        bottom: 64px;
        /* Above bottom nav */
        left: 0;
        right: 0;
        width: 100%;
        max-height: 40vh;
        /* Reduced to 40vh */
        overflow-y: auto;
        /* Enable scrolling if content is tall */
        z-index: 1500;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 15px;
        transform: translateY(0);
        opacity: 1 !important;
    }

    .notes-form-group {
        display: flex !important;
        /* Restore notes */
        grid-column: 1 / -1;
        /* Full width */
    }

    .header-sidebar-toggle {
        display: none !important;
    }

    .selection-panel {
        display: grid;
        /* Switch to Grid */
        grid-template-columns: 1fr 1fr;
        /* Two equal columns */
        grid-template-columns: 1fr 1fr;
        /* Two equal columns */
        gap: 12px;
        padding: 20px 0;
        align-items: center;
        /* Center vertically */
        justify-items: center;
        /* Center content horizontally */
    }

    .top-selectors-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        /* Prevent wrapping */
        gap: 8px;
        /* Slightly tighter gap for mobile */
        width: 100%;
        align-items: center;
        grid-column: 1 / -1;
    }

    .top-selectors-row .form-group {
        flex: 1;
        /* Share space equally */
        width: auto;
        /* Let flex control width */
        min-width: 0;
        /* Allow shrinking */
    }

    .form-group {
        flex-direction: column !important;
        align-items: stretch;
        /* Stretch input to fill grid cell */
        width: 100%;
        gap: 0;
        /* No gap since label is hidden */
        min-width: 0;
    }

    .form-group label {
        display: none !important;
        /* Hide labels */
    }

    .form-group select {
        width: 100%;
        max-width: none;
        /* remove max-width limit */
        height: 48px;
        font-size: 1.1rem;
        border-radius: 8px;
        text-align: center;
        text-align-last: center;
    }

    /* Force Version and Notes to share a row (2nd row) */
    .version-selection-group,
    .notes-form-group {
        grid-column: span 1;
        /* Take 1 column each */
        width: 100%;
        min-width: 0;
        /* Prevent overflow */
    }

    .top-selectors-row {
        grid-column: 1 / -1;
        /* Spans full width, contains Book & Chapter */
    }

    .content-area {
        padding: 10px 15px 80px 15px;
        /* Balanced top gap */
    }

    .bible-content {
        font-size: 1rem;
        line-height: 1.6;
    }

    .bible-content .verse-item {
        font-size: 1.2rem;
        /* Adjusted for EB Garamond on small screen */
    }

    .bible-content h1 {
        font-size: 1.3rem;
        margin-bottom: 5px !important;
    }

    .bible-content h2 {
        font-size: 1.2rem;
        margin-top: 24px;
        font-family: 'Playfair Display', serif;
        /* Matching Daily page style */
    }

    .bible-content.two-columns {
        display: block !important;
        column-count: 1 !important;
        /* Force single column on mobile - removing split feel */
    }

    .view-toggle-container,
    .view-toggle-switch {
        display: none !important;
        /* Absolutely remove split screen toggle on mobile */
    }

    .highlight-toolbar,
    #highlight-toolbar {
        /* Optimize highlight toolbar for touch */
        display: none !important;
        padding: 8px !important;
        gap: 12px !important;
    }

    .color-btn {
        width: 32px !important;
        height: 32px !important;
    }



    #sidebarToggleMobile {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #64748b;
        font-family: 'Inter', sans-serif;
        font-size: 10px;
        font-weight: 600;
        gap: 2px;
        flex: 1;
        height: 100%;
        transition: all 0.2s ease;
    }

    #sidebarToggleMobile svg {
        width: 24px;
        height: 24px;
        opacity: 0.7;
    }
}

/* Adjustments for landscape orientation on phones */
@media (max-width: 896px) and (orientation: landscape) {
    .main-content {
        height: auto;
    }

    .sidebar {
        position: static;
        transform: none;
        max-height: none;
    }
}

header {
    background: linear-gradient(to bottom, #1e40af, #1e3a8a);
    color: white;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 60;
}

header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #2563eb, #06b6d4, #2563eb, #3b82f6);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    -webkit-mask-image: linear-gradient(90deg, black 0%, transparent 30%, transparent 70%, black 100%);
    mask-image: linear-gradient(90deg, black 0%, transparent 30%, transparent 70%, black 100%);
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
    display: block !important;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 2;
    pointer-events: none;
    display: block !important;
}

header h1 {
    font-family: "Inter", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.dove-icon {
    height: 4.2em;
    width: auto;
    /* Increase icon size relative to text */
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    vertical-align: middle;
}

header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-top: 4px;
    font-weight: 500;
    text-align: center;
    width: 100%;
}

.header-lockup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.dots-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Canvas will fill this */
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    z-index: 3;
    pointer-events: none;
    opacity: 1;
}




/* Landing Page Styles */
.header-left-actions {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.icon-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.icon-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}



/* Inline Version Selector */
.version-select-inline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.9em;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s;
}

.version-select-inline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .sidebar-toggle {
        left: 20px;
        /* Keep top centered */
    }
}

/* Column Layout Toggle */
.view-toggle-container {
    margin-left: auto;
    display: flex;
    gap: 8px;
}

.column-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.column-toggle-btn:hover,
.column-toggle-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Two Column Grid for Verses */
/* Two Column Grid for Verses */
/* Two Column Grid for Verses */
/* Two Column Newspaper Layout */
/* Two Column "Publication" Layout */
.bible-content.two-columns {
    display: block !important;
    column-count: 2;
    column-gap: 0.4in;
    /* User requested 0.4 in */
    column-rule: none;
    /* Remove vertical line */
    max-width: 1400px !important;
    width: 96% !important;
    margin: 0 auto;
    position: relative;
    /* Reset Grid props */
    grid-template-columns: none;
    gap: 0;
}

/* Publication Text Styling - All Views */
.bible-content .verse-item {
    font-family: 'EB Garamond', serif;
    font-size: 1.35em;
    /* Garamond is small, bump size to match "11pt book feel" */
    line-height: 1.4;
    text-align: left;
    color: #1f2937;
    /* Dark gray instead of pure black */
    margin-bottom: 8px;
    display: flex;
    /* Maintain flex layout */
}

/* Specific layout adjustments for 2-column only */
.bible-content.two-columns .verse-item {
    break-inside: avoid;
    page-break-inside: avoid;
    width: 100% !important;
}

/* Subtle Verse Numbers - All Views */
.bible-content .verse-num {
    font-size: 0.7em !important;
    color: #9ca3af !important;
    /* Gray */
    font-weight: 400 !important;
    font-family: 'Inter', sans-serif;
    /* Clean sans-serif numbers */
    margin-top: 5px;
    /* Align with text cap-height */
}

/* Spanning Elements (Header, Summary, etc) */
/* Spanning Elements (Header, Summary, etc) */
.bible-content.two-columns>.content-header-row,
.bible-content.two-columns>.summary-section,
.bible-content.two-columns>h1,
.bible-content.two-columns>h2,
.bible-content.two-columns>h3,
.bible-content.two-columns>p,
.bible-content.two-columns>hr,
.bible-content.two-columns>ul,
.bible-content.two-columns>.view-toggle-container {
    column-span: all;
    /* Span across both columns */
    margin-bottom: 20px;
    /* Ensure spacing after spanned content */
    background: transparent;
    /* Remove masking background */
    z-index: auto;
}

/* Cleanup Pseudo Element (Remove manual line) */
.bible-content.two-columns::before {
    display: none;
}

/* Responsive fallback */
@media (max-width: 500px) {
    .bible-content.two-columns {
        grid-template-columns: 1fr;
    }

    /* Hide line on mobile */
    .bible-content.two-columns::before {
        display: none;
    }
}

.random-verse-text {
    font-weight: 500;
    font-style: italic;
    display: block;
    margin-bottom: 4px;
}

.random-verse-ref {
    display: block;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Mobile responsiveness for random verse */
@media (max-width: 768px) {
    .random-verse-container {
        display: none !important;
    }
}

.main-content {
    display: flex;
    flex-direction: column;
    /* Top bar layout */
    flex: 1;
    height: calc(100vh - 140px);
    overflow: hidden;
}

.sidebar {
    width: 100%;
    /* Full width top bar */
    height: auto;
    /* Auto height based on content */
    background: #0F172A !important;
    /* Soft Charcoal Black */
    color: #F8FAFC;
    /* off-white text */
    padding: 2px 32px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    /* Subtle white border */
    backdrop-filter: blur(10px);
    overflow: visible;
    /* Allow dropdowns to spill out */
    z-index: 50;
    /* Above content */
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-in-out;
    opacity: 1;
    max-height: 300px;
    /* Arbitrary large height for transition */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Collapsed State */
.sidebar.collapsed {
    max-height: 0;
    padding: 0 32px;
    /* Remove vertical padding */
    border-bottom: none;
    opacity: 0;
    width: 100%;
    /* Ensure width stays full */
}


.selection-panel {
    display: flex;
    flex-direction: row;
    /* Horizontal aligned dropdowns */
    gap: 24px;
    align-items: center;
    /* Center vertically */
    flex-wrap: wrap;
    /* Allow wrapping on small screens */
}

.form-group {
    display: flex;
    flex-direction: row;
    /* Label on side */
    align-items: center;
    gap: 8px;
    /* Reduced gap between label and input */
    flex: 0 1 auto;
    /* Auto width based on content */
}

.form-group label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    /* Light text for dark bg */
    font-size: 0.8125em;
    /* Slightly smaller for inline */
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    white-space: nowrap;
    /* Prevent wrapping */
}

.form-group select,
.form-group input {
    flex: 0 0 auto;
    /* Size to content */
    width: auto;
    min-width: 140px;
    max-width: 300px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    /* Lighter border */
    border-radius: 12px;
    font-size: 0.95em;
    background-color: rgba(255, 255, 255, 0.1);
    /* Dark transparent bg */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    color: white;
    /* White text */
    box-shadow: var(--shadow-sm);
}

.form-group select {
    padding: 10px 40px 10px 14px;
    /* Extra right padding for arrow */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234b5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-group input {
    padding: 10px 14px;
}

.form-group select:hover:not(:disabled),
.form-group input:hover:not(:disabled) {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.form-group select:focus,
.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15), var(--shadow-md);
    transform: translateY(-1px);
}

.form-group select:disabled,
.form-group input:disabled {
    background: #f7fafc;
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}



.content-area {
    flex: 1;
    padding: 20px 36px 48px 36px;
    /* Reduced horizontal padding */
    overflow-y: auto;
    background: white;
    position: relative;
    height: 100%;
}

.content-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.loading {
    text-align: center;
    padding: 60px 40px;
    font-size: 1.1em;
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    font-weight: 500;
}

.loading::before {
    content: '';
    width: 48px;
    height: 48px;
    border: 4px solid rgba(37, 99, 235, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error {
    background: linear-gradient(135deg, #fee 0%, #fdd 100%);
    color: #c53030;
    padding: 20px 24px;
    border-radius: 12px;
    border-left: 4px solid #c53030;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
    font-weight: 500;
}

.hidden {
    display: none;
}

.bible-content {
    line-height: 2;
    font-size: 1.125em;
    color: var(--text-primary);
    max-width: 1000px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bible-content h1 {
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.75em;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bible-content h2 {
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.75em;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bible-content h3 {
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 24px;
    /* Increased space below line */
    font-size: 1.5em;
    font-weight: 600;
    padding-bottom: 2px;
    /* Reduced space between text and line */
    border-bottom: 2px solid #bae6fd;
    /* Solid line after heading */
}

.bible-content ol {
    margin-bottom: 20px;
    padding-left: 1.5em;
    /* Increased from 1.2em */
    margin-left: 0.5em;
    /* Added margin for extra indentation */
}



/* Specific styling for summary lists (usually following h3) */
.bible-content h3+ol {
    font-size: 0.95em;
    margin-top: 0;
    /* Reset negative margin */
}

.bible-content h3+ol li {
    margin-bottom: 6px;
    line-height: 1.4;
}

.bible-content p {
    margin-bottom: 14px;
    text-align: left;
    color: var(--text-secondary);
    font-size: 1.05em;
}

.bible-content strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Key Verse Card Styling */
.key-verse-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--primary-color);
    /* Thinner accent */
    border-radius: 6px;
    padding: 16px;
    /* Reduced padding */
    margin: 16px 0;
    /* Reduced margin */
    box-shadow: var(--shadow-sm);
    /* Softer shadow */
    font-size: 0.92em;
    /* Smaller font to be secondary */
}

.key-verse-card strong {
    color: var(--primary-color);
    /* display: block; Removed to fix line breaks in sentences */
    font-weight: 700;
}

/* Specific style for the Header of the card */
.key-verse-card>p:first-child strong {
    font-size: 1em;
    display: block;
    /* Keep the header as a block if needed, or just let p handle it */
    margin-bottom: 8px;
}

/* Remove formatting/highlighting from bold text inside the list items */
.key-verse-card li strong {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: inherit !important;
    box-shadow: none !important;
    font-weight: 700;
}

.key-verse-card ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
    color: var(--text-secondary);
}

.key-verse-card li {
    margin-bottom: 6px !important;
    line-height: 1.6;
    font-size: 1em !important;
    color: var(--text-secondary);
    /* Softer text color */
}

.key-verse-card p {
    margin-bottom: 4px;
}

.key-verse-card hr {
    display: none;
}

.bible-content em {
    font-style: italic;
    color: inherit;
}

/* Summary Section Styling */
.summary-section {
    margin-top: 40px;
    padding: 24px;
    background-color: #f1f5f9;
    /* Light gray background */
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.summary-title {
    font-family: 'EB Garamond', serif;
    font-size: 1.6em;
    font-weight: 600;
    color: #1f2937;
    opacity: 0.85;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
    border-bottom: 2px solid #cbd5e1;
    padding-bottom: 8px;
}

.summary-section p {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    color: #1f2937;
    opacity: 0.95;
    line-height: 1.65;
    margin-bottom: 12px;
    font-size: 1.3em;
}

/* Side Navigation Arrows */
.nav-arrow {
    position: fixed;
    top: 60%;
    transform: translateY(-50%);
    width: 50px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
    color: rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
}

.nav-arrow:hover {
    color: var(--primary-color);
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.05));
}

.nav-arrow.prev {
    left: 320px;
    /* Match Sidebar Width */
    border-top-right-radius: 50%;
    border-bottom-right-radius: 50%;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-in-out, background 0.2s;
}

body.sidebar-collapsed .nav-arrow.prev,
body.welcome-mode .nav-arrow.prev {
    left: 0;
}

.nav-arrow.next {
    right: 0;
    border-top-left-radius: 50%;
    border-bottom-left-radius: 50%;
}

.nav-arrow:hover.prev {
    transform: translateY(-50%) translateX(-2px);
}

.nav-arrow:hover.next {
    transform: translateY(-50%) translateX(2px);
}

.nav-arrow svg {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@media (max-width: 768px) {
    .nav-arrow {
        position: fixed;
        width: 44px;
        height: 44px;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(4px);
        opacity: 0.8;
        border-radius: 50%;
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        bottom: 120px;
        /* Positioned higher to clear bottom nav & dropdowns (approx 60px + 50px buffer) */
        top: auto;
        transform: none;
        z-index: 1000;
        /* Ensure above content */
    }

    .nav-arrow:hover,
    .nav-arrow:active {
        opacity: 1;
        background: #fff;
        transform: scale(1.05);
    }

    .nav-arrow.prev {
        left: 16px;
        /* Bottom Left */
    }

    .nav-arrow.next {
        right: 16px;
        /* Bottom Right */
    }

    .nav-arrow svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    body {
        padding: 12px;
    }

    .container {
        border-radius: 20px;
    }

    header {
        padding: 32px 24px;
    }

    header h1 {
        font-size: 2em;
    }

    header p {
        font-size: 0.85em;
    }

    .main-content {
        flex-direction: column;
        min-height: auto;
        /* Allow Body Scroll for Sticky Sidebar */
        height: auto !important;
        overflow: visible !important;
    }

    .sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 0 8px;
        height: 48px;
        display: flex;
        align-items: center;
        overflow: visible;
        white-space: nowrap;
        transition: opacity 0.3s ease;
    }

    /* Pinned State (Visible) - Triggered by Toggle Button */
    .sidebar.pinned {
        display: flex !important;
        /* Always visible in flow */
        position: relative;
        /* Scrolls with page */
        width: 100%;
        margin-top: 0;
        z-index: 1000;
        background: var(--bg-secondary);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        transition: opacity 0.3s ease;
    }

    /* Bottom Docked State - When Scrolled Past Top */
    /* Applies automatically when observer detects scroll */
    .sidebar.bottom-docked {
        position: fixed !important;
        top: auto !important;
        bottom: 44px !important;
        /* Match Bottom Nav Height (44px) */
        left: 0;
        right: 0;
        margin-top: 0 !important;
        border-top: 1px solid var(--border-color);
        border-bottom: none;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
        z-index: 1500;
        background: #ffffff !important;
        animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }


    .top-selectors-row {
        display: flex;
        flex-direction: row;
        gap: 4px;
        /* Minimal gap between Book and Chapter */
        align-items: center;
        justify-content: center;
        width: auto;
        /* Prevent stretching */
        padding: 0;
        margin: 0;
    }

    .selection-panel {
        gap: 6px;
        /* Gap between groups (Book/Chapter group vs others) */
        justify-content: center;
        /* Center aligned as requested */
        align-items: center;
        /* Ensure vertical centering */
        flex-wrap: nowrap;
        /* Single line */
        width: 100%;
        height: 100%;
    }

    .content-area {
        padding: 16px;
    }

    .bible-content {
        font-size: 1.05em;
        line-height: 1.9;
    }

    .bible-content h1 {
        font-size: 1.5em;
        margin-top: 0;
    }

    .form-group {
        width: auto !important;
        flex: 0 1 auto;
        /* Grow: 0, Shrink: 1, Basis: Auto - Compact packing */
        min-width: 0;
        /* Allow shrinking below content size */
        margin: 0;
        display: flex !important;
    }

    .form-group label {
        display: none;
    }

    .form-group select,
    .form-group input,
    .custom-dropdown-btn {
        height: 30px !important;
        padding: 0 16px 0 8px !important;
        /* Minimal padding */
        font-size: 0.8em !important;
        width: 100% !important;
        min-width: 0;
        /* Allow flex compression */
        border-radius: 6px;
        /* Tighter radius */
        text-overflow: ellipsis;
    }

    /* Ensure version toggle button specifically matches */
    .sidebar .version-toggle-btn {
        height: 30px !important;
        padding: 0 8px !important;
        font-size: 0.8em !important;
    }

    .bible-content h2 {
        font-size: 1.5em;
    }



    .read-button {
        padding: 10px 20px;
        font-size: 0.95em;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }

    .container {
        border-radius: 16px;
    }

    header {
        padding: 24px 20px;
    }

    header h1 {
        font-size: 1.75em;
    }

    header p {
        font-size: 0.8em;
    }

    .sidebar {
        padding: 20px;
    }

    .content-area {
        padding: 16px 12px;
        /* reduce horizontal padding to maximize text area */
        padding-bottom: 80px;
        /* Ensure space for bottom arrows */
    }

    .bible-content {
        font-size: 1em;
        line-height: 1.8;
    }

    .bible-content h1 {
        font-size: 1.5em;
    }

    .bible-content h2 {
        font-size: 1.35em;
    }

    .selection-panel {
        gap: 20px;
    }

    .form-group select,
    .form-group input {
        padding: 12px;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .sidebar {
        width: 280px;
        padding: 28px;
    }

    .content-area {
        padding: 36px;
    }
}

/* Parallel View Styles */
.bible-content.full-width {
    max-width: 100%;
    padding: 0;
}

.parallel-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    /* Row by row structure */
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    margin-top: 20px;
}

.parallel-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f8fafc;
    /* Little color (light gray/blue tint) */
    color: var(--primary-color);
    font-weight: 700;
    text-transform: none;
    font-size: 1.1em;
    /* Increased from 0.9em */
    letter-spacing: 0.05em;
    border-bottom: 2px solid #bae6fd;
}

.header-col {
    padding: 8px 16px;
    text-align: center;
    border-right: 1px solid #f1f5f9;
}

.parallel-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #f1f5f9;
}

.parallel-row:last-child {
    border-bottom: none;
}

.parallel-row:hover {
    background-color: #f8fafc;
}

.parallel-col {
    padding: 16px 20px;
    font-size: 0.95em;
    line-height: 1.6;
}

.parallel-col.left {
    border-right: 1px solid #f1f5f9;
}

.verse-item {
    display: flex;
    align-items: baseline;
    /* Ensure all verse numbers align with text baseline */
    gap: 8px;
    position: relative;
    padding-left: 0;
    margin-bottom: 4px;
    cursor: pointer;
    /* Indicate interactivity */
    padding: 4px 8px;
    /* Add padding for hover effect */
    border-radius: 4px;
    transition: background-color 0.2s;
}

.verse-item:hover {
    background-color: rgba(37, 99, 235, 0.05);
}

/* Audio Player Verse Highlighting */
.verse-item.verse-highlight {
    background-color: rgba(253, 224, 71, 0.4);
    /* Vibrant Yellow (Yellow-300) with higher opacity */
    border-left: 4px solid #eab308;
    /* Stronger Gold border */
    padding-left: 14px;
    transition: all 0.6s ease-in-out;
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

/* Smooth fade out for verse highlighting */
.verse-item {
    transition: background-color 0.6s ease-in-out, border-left 0.6s ease-in-out, padding-left 0.6s ease-in-out, box-shadow 0.6s ease-in-out;
}

/* Smooth scrolling for verse navigation */
html {
    scroll-behavior: smooth;
}

.content-area {
    scroll-behavior: smooth;
}

/* Highlighted Verse for playback sync */
.verse-item.verse-highlight {
    background-color: #fef08a !important;
    /* Brighter, more saturated Yellow-200 */
    transition: background-color 0.3s ease;
    border-radius: 6px;
    padding-left: 10px;
    margin-left: -10px;
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.4);
    /* Stronger shadow glow */
}

.verse-item.highlighted {
    background-color: #fef08a;
    /* Yellow-200 for user-saved highlights */
    border-left: 3px solid #eab308;
}

/* Context Menu */
.verse-menu {
    position: fixed;
    background: white;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    padding: 6px 0;
    z-index: 1000;
    min-width: 150px;
    animation: fadeIn 0.1s ease-out;
}

.verse-menu-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-primary);
    font-size: 0.9em;
    transition: background-color 0.1s;
}

.verse-menu-item:hover {
    background-color: #f1f5f9;
    color: var(--primary-color);
}


.verse-num {
    font-size: 0.75em;
    font-weight: 700;
    color: var(--secondary-color);
    margin-top: 0;
    /* Reset margin, rely on baseline alignment */
    user-select: none;
    flex-shrink: 0;
    /* Prevent number from squishing */
    min-width: 1.5em;
    /* Ensure noticeable width for plain numbers */
    text-align: right;
    /* Align right so single vs double digits line up near text */
}

.verse-num.clickable {
    cursor: pointer;
    color: var(--primary-color) !important;
    background-color: #e0f2fe;
    border: 1px solid #bae6fd;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.7em;
    font-weight: 700;
    margin-top: 0;
    /* Reset margin */
    top: 0;
    /* Reset top */
    position: relative;
    transition: all 0.2s ease;
    text-align: center;
    /* Center text inside circle */
    min-width: 22px;
    /* Match width */
}

.verse-num.clickable:hover {
    transform: scale(1.1);
    background-color: var(--primary-color);
    color: white !important;
    border-color: var(--primary-color);
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visible-anim {
    animation: fadeInSlide 0.3s ease-out;
}

/* Key verse styling in parallel */
.parallel-col .key-verse-card {
    margin: 0;
    font-size: 0.9em;
    margin: 0 !important;
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--text-primary);
}

.parallel-row.full-row {
    grid-template-columns: 1fr;
    background-color: #fcfcfc;
}

.parallel-col.full-width-col {
    grid-column: 1 / -1;
    text-align: left;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.full-width-col.header-style {
    text-align: center;
    padding-top: 24px;
    padding-bottom: 8px;
}

/* Nav Version Selector Styles - Native look with Primary Color */
.nav-version-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
}

.nav-version-label {
    font-family: inherit;
    font-size: 0.9em;
    color: var(--primary-color);
}

@media (min-width: 600px) {
    .nav-version-label {
        display: block;
    }
}

.nav-version-dropdown {
    font-family: inherit;
    font-size: 0.9em;
    color: var(--primary-color);
    padding: 2px 4px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: white;
    cursor: pointer;
}

.nav-version-dropdown:hover {
    border-color: var(--primary-color);
}

.nav-version-dropdown:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease-out;
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: #fefefe;
    /* Soft off-white */
    padding: 20px;
    /* 20px padding */
    border-radius: 8px;
    /* 8px rounded corners */
    width: 600px;
    /* Fixed width for consistency */
    max-width: 90vw;
    /* Responsive constraint */
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    /* Subtle drop shadow */
    max-height: 80vh;
    overflow-y: auto;
    font-family: "Merriweather", "Georgia", serif;
    /* Serif for main text */
    font-size: 15px;
    /* 14-16px */
    color: #333333;
    /* Dark charcoal */
    line-height: 1.6;
    /* Comfortable reading */
    border: 1px solid #d0e7ff;
    /* Thin light blue border */
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #4a5568;
    transition: color 0.2s;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.modal-close:hover {
    color: #003366;
}

.modal-header-sticky {
    position: sticky;
    top: -20px;
    z-index: 10;
    background-color: #e3f2fd;
    border-bottom: 1px solid #cce4fc;
    margin: -20px -20px 20px -20px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.modal-content h3 {
    font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
    color: #004080;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    flex-grow: 1;
}

.modal-content ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.modal-content li {
    margin-bottom: 15px;
    /* 10-15px spacing */
    line-height: 1.6;
    color: #333333;
}

.ref-description {
    font-size: 1em;
    color: #4a5568;
    margin-left: 2px;
    font-style: italic;
}

/* Links inside modal (Bible references) */
.modal-content a,
.modal-content .verse-ref-link {
    color: #003366;
    /* Dark blue */
    text-decoration: underline;
    font-weight: 700;
    /* Bold */
    cursor: pointer;
    transition: color 0.2s;
}

.modal-content a:hover,
.modal-content .verse-ref-link:hover {
    color: #0055cc;
}

.popup-verse-text {
    margin-top: 8px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--primary-color);
    border-radius: 6px;
    padding: 12px 16px;
    box-shadow: var(--shadow-sm);
    font-family: inherit;
    font-size: 0.95em;
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Clickable Bible Reference Links in Key Verses */
.verse-ref-link {
    color: inherit;
    cursor: pointer;
    text-decoration: none;
    font-weight: inherit;
    border-bottom: 1px dotted currentColor;
    transition: all 0.2s ease;
    display: inline;
    /* Force inline */
    white-space: nowrap;
    /* Prevent wrapping inside the link */
    padding: 0;
    margin: 0;
}

.verse-ref-link:hover {
    color: var(--primary-color);
    border-bottom: 1px solid var(--primary-color);
    background-color: transparent;
}

/* Verse styling inside range lookups */
.ref-verse-num {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 0.75em;
    margin-right: 2px;
    opacity: 0.8;
}

/* Summary & Chapter Contents Section as Card */
/* Summary & Chapter Contents Section as Card */
.summary-section {
    margin: 48px 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    width: 100%;
}

.summary-title,
.chapter-contents-header {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 1.1em;
    margin-bottom: 24px;
    color: #4b5563;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
}

.summary-section p {
    font-family: 'EB Garamond', serif;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.65;
    color: #1f2937;
    opacity: 0.9;
    font-size: 1.1em;
}

/* Christological References Styles */
.christ-ref-section {
    background-color: #f8fafc;
    /* Same as key-verse-card */
    border: 1px solid #e2e8f0;
    border-left: 3px solid #8b5cf6;
    /* Violet-500 accent */
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
    box-shadow: var(--shadow-sm);
    font-size: 0.92em;
}

/* Outer title removed in JS, but define just in case */
.christ-ref-title {
    display: none;
}

.christ-ref-header {
    font-weight: 400;
    /* Normal weight to match Key Verse */
    color: inherit;
    /* Inherit gray from container */
    margin-bottom: 8px;
    /* Match key verse header margin */
    font-size: 1em;
    display: block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
}

/* Ensure secondary headers inside lists or otherwise differ if needed, 
   but Key Verse usually treats the first line starting with **Key Verse** as the header.
   Here we have: ✝️ Christological References – vv. 1–2 ...
   It should match .key-verse-card > p:first-child strong
*/

/* First header specialized if needed, similar to key verse */
.christ-ref-section>.christ-ref-header:first-child {
    margin-top: 0;
}

.christ-ref-bullet {
    padding-left: 20px;
    margin-bottom: 6px;
    color: var(--text-secondary);
    /* Match list color */
}

.christ-ref-item {
    margin-left: 16px;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.christ-ref-text {
    margin-bottom: 4px;
    color: var(--text-secondary);
}

/* Link styling matches .verse-ref-link but usually inheriting */

/* Push Notes (and subsequent Version selector) to the right */
.notes-form-group {
    margin-left: auto;
}

/* --- Auto-Hide Header & Controls --- */
/* --- Auto-Hide Control Bar (Sidebar) & Header Config --- */

header#main-header {
    /* Header stays visible always */
    position: relative;
    z-index: 101;
    transform: none !important;
    transition: none;
}

/* Sidebar (Control Bar) - Auto Hide Logic */
.sidebar.auto-hide-sidebar {
    position: absolute;
    /* Move with content */
    top: 0;
    /* Start right below header inside main-content */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
    transform: translateY(-100%);
    /* Hide by sliding UP behind header */
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) 0.5s,
        opacity 0.3s 0.5s,
        visibility 0s linear 0.5s;
    opacity: 0;
    /* Fade out for cleaner look */
    visibility: hidden;
    /* Click-through when hidden, but waits for delay */

    background: rgba(255, 255, 255, 0.6);
    /* Professional Glass Look */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Visible States for Sidebar */
.sidebar.auto-hide-sidebar.visible,
.sidebar.auto-hide-sidebar.pinned,
/* Hovering Header (Trigger) reveals Sidebar */
header#main-header:hover~.main-content .sidebar.auto-hide-sidebar,
/* Hovering Book/Chapter Title in Content reveals Sidebar */
.main-content:has(.content-header-row:hover) .sidebar.auto-hide-sidebar,
/* Hovering Sidebar itself keeps it open */
.sidebar.auto-hide-sidebar:hover {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    /* Cleaned up duplicates */
}

/* Ensure scrollable main content with space for sidebar */
.content-area {
    overflow-y: visible;
    height: auto;
    padding-bottom: 50px;
    padding-top: 40px;
    /* Push content down so Sidebar (at top: 170px) doesn't cover controls */
}

/* Trigger Area */
/* Trigger Area - Hovering top of screen (header) is enough, removing distinct trigger div logic */
.top-trigger-area {
    display: none;
}

/* Adjust Main Content to be Full Screen behind header */
/* Adjust Content Padding since Sidebar is now Fixed/Overlay */
.main-content {
    position: relative;
    /* Context for absolute sidebar */
    /* Header (Static) + Sidebar (Overlay) */
    /* If Sidebar is fixed, it doesn't push content. We need padding only for Header. */
    padding-top: 20px;
    height: auto;
    /* Let it flow */
    min-height: calc(100vh - 130px);
}

/* New Header Notes Select Styling */
.header-notes-group {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.header-notes-select {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.85em;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.header-notes-select:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.header-notes-select option {
    background: white;
    color: var(--text-primary);
    padding: 8px;
}

/* Hamburger Enabled State Icon */
.sidebar-toggle.pinned-active {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);

}

/* Bottom Docked State (When scrolled past header) */
@media (min-width: 769px) {
    .sidebar.auto-hide-sidebar.bottom-docked {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100%;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        transition: transform 0.3s ease-out, opacity 0.3s;
        transition-delay: 0s;

        background: #0F172A;
        /* Soft Charcoal Black */
        color: #F8FAFC;
        box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
        border-top: 1px solid rgba(255, 255, 255, 0.06);
        border-bottom: none;
        z-index: 1000;
    }
}

.chapter-contents-card {
    background-color: #f8fafc;
}

.chapter-contents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chapter-content-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.sidebar .version-toggle-btn {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #F8FAFC !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    /* Pill shape */
    padding: 6px 12px !important;
    font-size: 0.75rem !important;
    height: 36px !important;
    /* Enforce consistent height */
    width: auto !important;
    /* Fit content */
    min-width: 0 !important;
    justify-content: space-between;
    /* Align text/icon */
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar .version-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

.sidebar .version-dropdown-menu {
    background: #222 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #F8FAFC !important;
    z-index: 9999;
    /* Ensure it's on top */
}

.sidebar .version-option {
    color: #F8FAFC !important;
    font-size: 0.8rem !important;
}

.sidebar .version-option:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.sidebar .version-option.selected {
    background: rgba(37, 99, 235, 0.4);
    color: white;
}

.sidebar .parallel-toggle-section {
    background: #333;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar .parallel-instruction {
    color: rgba(255, 255, 255, 0.6);
}

/* Adjust dropdown colors when in black bar? 
   The dropdowns are .form-group select
*/
@media (min-width: 769px) {
    .sidebar.bottom-docked .form-group label {
        color: rgba(255, 255, 255, 0.9);
    }

    .sidebar.bottom-docked .form-group select {
        background-color: rgba(255, 255, 255, 0.1);
        color: #F8FAFC;
        border-color: rgba(255, 255, 255, 0.3);
    }

    .sidebar.bottom-docked .form-group select option {
        background-color: #222;
        /* Dark background for options context */
        color: white;
    }
}

/* Custom Dropdown Styles (Generic) */
.custom-dropdown-container {
    position: relative;
    display: inline-block;
    min-width: 0;
    /* Allow shrinking */
    max-width: 300px;
}

.custom-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.1) !important;
    /* Dark bg */
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    /* Match version border */
    border-radius: 20px !important;
    /* Match version pill shape */
    padding: 6px 12px !important;
    /* Reduced padding for tighter fit */
    font-size: 0.75rem !important;
    /* Further reduced font size */
    color: white !important;
    cursor: pointer;
    width: auto !important;
    /* Fit content exactly */
    min-width: 0 !important;
    /* wrapper override */
    height: 36px !important;
    /* Slightly reduced height to match */
    transition: all 0.2s;
    font-family: inherit;
}

.custom-dropdown-btn:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-small);
}

.custom-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: max-content;
    /* Fit content exactly */
    min-width: 100%;
    /* At least as wide as button */
    white-space: nowrap;
    background: #222;
    /* Dark dropdown menu */
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1001;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    margin-top: 8px;
    padding: 6px;
    max-height: 400px;
    overflow-y: auto;
    animation: fadeIn 0.1s ease-out;
}

/* Disabled state */
.custom-dropdown-container.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
}

.custom-dropdown-container.disabled .custom-dropdown-btn {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.custom-dropdown-menu.hidden {
    display: none;
}

.custom-dropdown-item {
    padding: 6px 10px;
    cursor: pointer;
    font-size: 0.75rem !important;
    /* Reduced font size */
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    /* Light text */
}

.custom-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.custom-dropdown-item.selected {
    background: rgba(37, 99, 235, 0.4);
    color: white;
    font-weight: 600;
}

/* Black Bottom Bar Overrides */
@media (min-width: 769px) {
    .sidebar.bottom-docked .custom-dropdown-btn {
        background: rgba(255, 255, 255, 0.1);
        color: #F8FAFC;
        border-color: rgba(255, 255, 255, 0.2);
        border-radius: 20px;
    }

    .sidebar.bottom-docked .custom-dropdown-menu {
        background: #222;
        border-color: rgba(255, 255, 255, 0.2);
        color: #F8FAFC;
    }

    .sidebar.bottom-docked .custom-dropdown-item {
        color: #F8FAFC;
    }

    .sidebar.bottom-docked .custom-dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar.bottom-docked .custom-dropdown-item.selected {
        background: rgba(37, 99, 235, 0.4);
        color: white;
    }


}

/* Bottom Docked Dropdowns - Global (Open Upwards) */
.sidebar.bottom-docked .custom-dropdown-menu,
.sidebar.bottom-docked .version-dropdown-menu {
    top: auto;
    bottom: 100%;
    margin-top: 0;
    margin-bottom: 8px;
    transform-origin: bottom center;
}

.random-verse-container {
    position: relative;
    margin: 10px 30px 20px auto;
    max-width: 600px;
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* Ensures flex children align right */
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95em;
    z-index: 2;
    animation: fadeIn 1.5s ease-out;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.random-verse-text {
    font-weight: 500;
    font-style: italic;
    display: block;
    margin-bottom: 4px;
    text-align: right;
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.random-verse-ref {
    display: block;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.9;
    letter-spacing: 0.05em;
    text-align: right;
    color: inherit;
    text-decoration: none;
    transition: all 0.2s;
}

.random-verse-ref:hover {
    opacity: 1;
    text-decoration: underline;
    cursor: pointer;
}

/* Multi-select Dropdown specific overrides */
.custom-dropdown-item.multi-item {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    gap: 8px;
    /* Consistent spacing */
    cursor: pointer;
    white-space: nowrap;
    /* Prevent wrapping */
}

/* Remove separate span styling if relying on specific overrides */
.custom-dropdown-item.multi-item span {
    flex-grow: 1;
    /* Allow text to take space */
    text-align: left;
}

.custom-dropdown-item.multi-item input[type="checkbox"] {
    accent-color: var(--primary-color);
    width: 16px !important;
    min-width: 16px !important;
    height: 16px !important;
    margin-right: 0 !important;
    /* Use gap */
    flex-shrink: 0;
    display: block;
}

/* Remove default selected style as checkbox handles it, but keep hover */
.custom-dropdown-item.multi-item.selected {
    background-color: transparent;
    color: inherit;
}

.custom-dropdown-item.multi-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Right aligned dropdown menu */
.custom-dropdown-menu.align-right {
    left: auto;
    right: 0;
}

/* --- Highlighting Features --- */

.verse-item.highlighted {
    background-color: rgba(255, 255, 0, 0.25);
    border-radius: 4px;
    padding-left: 8px;
    margin-left: -8px;
    transition: background-color 0.3s ease;
}

.highlight-yellow {
    background-color: #fff3cd;
    border-bottom: 2px solid #ffc107;
}

.highlight-pink {
    background-color: #f8d7da;
    border-bottom: 2px solid #f5c6cb;
}

.highlight-blue {
    background-color: #cff4fc;
    border-bottom: 2px solid #9ec5fe;
}

.highlight-underline {
    background: transparent;
    text-decoration: underline;
    text-decoration-color: #888;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
}

/* Highlight Toolbar */
#highlight-toolbar {
    position: absolute;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: none;
    /* Hidden by default */
    padding: 8px;
    z-index: 1000;
    display: flex;
    /* Flex when visible (overridden by JS) */
    gap: 8px;
}

#highlight-toolbar.hidden {
    display: none !important;
}

.color-btn {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: transform 0.1s;
}

.color-btn:hover {
    transform: scale(1.1);
}

.btn-yellow {
    background-color: #ffeeba;
}

.btn-pink {
    background-color: #fadce9;
}

.btn-blue {
    background-color: #cce5ff;
}

.btn-underline {
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: serif;
    font-weight: bold;
    text-decoration: underline;
}

.btn-clear {
    width: auto;
    border-radius: 4px;
    padding: 0 8px;
    font-size: 0.8rem;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix for Desktop Hamburger Menu Layout Regression */
@media (min-width: 769px) {
    .top-selectors-row {
        display: flex !important;
        flex-direction: row !important;
        gap: 24px !important;
        align-items: center !important;
        width: auto !important;
        /* Changed from 100% to auto to allow siblings on same row */
        flex-wrap: nowrap !important;
    }

    /* Ensure children don't force wrap */
    .top-selectors-row .form-group {
        flex: 0 1 auto !important;
        width: auto !important;
        margin: 0 !important;
    }
}

/* Update: Increase font size for Dropdowns as requested -> Modified to match label */
.custom-dropdown-btn,
.custom-dropdown-btn .custom-dropdown-label {
    font-size: 0.8125rem !important;
    /* Match label ~13px */
    font-weight: 600;
}

/* --- User Requested Font Adjustments --- */
/* Target the shared dropdowns (Language) just in case */
.selection-panel .custom-select-trigger,
.sidebar .custom-select-trigger,
.form-group select {
    font-size: 0.8125rem !important;
    height: 36px !important;
    min-height: 36px !important;
}

/* Options text slightly smaller (0.75rem) */
/* Shared dropdowns */
.selection-panel .custom-option,
.sidebar .custom-option {
    font-size: 0.75rem !important;
}

/* Study specific dropdown items */
.custom-dropdown-item {
    font-size: 0.75rem !important;
}

/* Mobile Bottom Bar White Theme Overrides */
@media (max-width: 768px) {
    .sidebar.bottom-docked .custom-dropdown-btn {
        background: #f1f5f9 !important;
        /* Light gray to stand out on white */
        color: var(--text-primary) !important;
        border-color: var(--border-color) !important;
    }

    .sidebar.bottom-docked .custom-dropdown-menu {
        background: white !important;
        border-color: var(--border-color) !important;
        color: var(--text-primary) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1) !important;
    }

    .sidebar.bottom-docked .custom-dropdown-item {
        color: var(--text-primary) !important;
    }

    .sidebar.bottom-docked .custom-dropdown-item:hover {
        background: #f1f5f9 !important;
    }

    .sidebar.bottom-docked .custom-dropdown-item.selected {
        background: var(--primary-color) !important;
        color: white !important;
    }

    .sidebar.bottom-docked .form-group select {
        background-color: #f1f5f9 !important;
        color: var(--text-primary) !important;
        border-color: var(--border-color) !important;
    }

    .sidebar.bottom-docked .version-toggle-btn {
        background: #f1f5f9 !important;
        color: var(--text-primary) !important;
        border-color: var(--border-color) !important;
    }

    /* Exact fit for dropdowns on mobile (Top & Bottom) */
    .custom-dropdown-menu,
    .version-dropdown-menu,
    .sidebar.bottom-docked .custom-dropdown-menu {
        width: max-content !important;
        min-width: 100% !important;
        /* At least as wide as button */
        max-width: 90vw !important;
        /* Prevent overflow off screen */
        white-space: nowrap !important;
    }

    .custom-dropdown-item {
        padding-right: 12px !important;
        /* Minimal padding */
    }

    /* Extra override for Language dropdown in Bottom Nav to match exact fit */
    .bottom-nav #languageSelectWrapperBottom .custom-options {
        width: max-content !important;
        min-width: 0 !important;
        left: auto !important;
        right: 4px !important;
        /* Anchor to right */
        margin-left: 0 !important;
        white-space: nowrap !important;
    }

    .bottom-nav #languageSelectWrapperBottom .custom-option {
        padding-right: 12px !important;
    }
}

/* Verse highlighting consolidated into .verse-highlight */

/* --- Language Specific Popup Formatting --- */
.popup-content.lang-hi {
    font-size: 1.1rem;
    line-height: 1.8;
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
}

.popup-content.lang-hi h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.popup-content.lang-es {
    font-size: 1rem;
    line-height: 1.6;
}

/* Fix Tamil and Malayalam word spacing in daily devotions and cross-references */
.lang-ta,
.lang-ml {
    word-spacing: normal !important;
}

/* Reduce vertical spacing between cross-reference items in popups */
.modal-body ul {
    margin: 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px !important;
    /* Reduced from default */
}

.modal-body li:last-child {
    margin-bottom: 0;
}

.commentary-text p {
    margin-bottom: 1em;
    line-height: 1.6;
}

/* Ensure Tamil and Malayalam popups also have proper word spacing */
.popup-content.lang-ta,
.popup-content.lang-ml {
    word-spacing: normal !important;
    font-size: 1.1rem;
    line-height: 1.8;
}

.popup-content.lang-ta h3,
.popup-content.lang-ml h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* --- Content Protection --- */
#chapter-content {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Exceptions */
.allow-copy,
.verse-ref-link,
.verse-num,
.ref-verse-num {
    user-select: text;
    -webkit-user-select: text;
}

/* DevTools Detection Effects */
body.devtools-detected #chapter-content {
    filter: blur(8px);
    pointer-events: none;
}

body.devtools-detected .main-content {
    overflow: hidden;
}

/* --- Chapter Outline & Inline Headings --- */

.section-heading-wrapper {
    margin-top: 60px;
    margin-bottom: 16px;
    scroll-margin-top: 120px;
    /* Account for visible header */
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.section-heading-wrapper:first-of-type {
    margin-top: 24px;
}

.section-title {
    margin: 0 !important;
    font-size: 1.1rem;
    /* Reduced to align with mobile/user request */
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-range {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
    white-space: nowrap;
    margin-left: 16px;
    flex-shrink: 0;
}

.chapter-outline {
    margin-bottom: 24px;
    /* blended style: no border/bg */
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-color);
    border-radius: 0;
    border-radius: 0;
    /* Ensure it spans full width in grid/columns */
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 100% !important;
    flex-basis: 100% !important;
    /* Support for CSS Columns layout */
    column-span: all;
    -webkit-column-span: all;
    clear: both;
    /* Ensure no floats interfere */
}

/* Force block stacking for Parallel View Wrapper */
.bible-content.full-width {
    display: block !important;
}

/* Hide Section Headers & Outline in Parallel View as requested */
.bible-content.two-columns .section-heading-wrapper,
.bible-content.two-columns .chapter-outline {
    display: none !important;
}

/* Dark mode adjustment */
@media (prefers-color-scheme: dark) {
    .chapter-outline {
        background: transparent;
        border-color: #334155;
    }
}

.outline-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    /* Removed horizontal padding */
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    /* Slightly larger for readability */
    font-weight: 600;
    color: var(--text-secondary);
    /* More subtle color */
    text-align: left;
    transition: color 0.2s ease;
}

.outline-toggle:hover {
    background-color: transparent;
    color: var(--primary-color);
}

.toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.outline-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.outline-menu {
    padding: 8px 0 16px 0;
    /* Adjusted padding */
    max-height: 400px;
    overflow-y: auto;
    border-top: 1px solid dashed var(--border-color);
    /* Subtle separation */
    margin-top: 4px;
}

.outline-menu[hidden] {
    display: none;
}

html {
    scroll-behavior: smooth;
}

.outline-menu ul {
    list-style: disc;
    margin: 0;
    padding-left: 20px;
}

.outline-menu li {
    margin-bottom: 2px;
}

.outline-menu a {
    display: block;
    padding: 4px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    opacity: 0.9;
}

.outline-menu a:hover {
    background-color: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding-left: 16px;
    opacity: 1;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .section-heading-wrapper {
        margin-top: 40px;
        scroll-margin-top: 80px;
        display: flex;
        /* Same line on mobile */
        align-items: baseline;
    }



    .section-range {
        font-size: 0.8rem;
        margin-left: 6px;
        flex-shrink: 0;
    }

    .chapter-outline {
        margin-bottom: 16px;
    }

    .outline-toggle {
        padding: 10px 12px;
        font-size: 0.85rem;
    }

    .outline-menu {
        padding: 0 12px 12px;
    }

    .outline-menu a {
        font-size: 0.85rem;
        padding: 6px 10px;
    }
}

/* Highlight Effect */
@keyframes highlight-pulse {
    0% {
        background-color: rgba(66, 133, 244, 0.2);
    }

    100% {
        background-color: transparent;
    }
}

.highlight-verse {
    animation: highlight-pulse 2s ease-out;
}

/* --- Chapter Outline & Inline Headings --- */
.chapter-outline {
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-secondary);
    overflow: hidden;
}

.outline-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background-color 0.2s ease;
}

.outline-toggle:hover {
    background-color: var(--hover-bg);
}

.toggle-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
    fill: var(--text-secondary);
}

.outline-toggle[aria-expanded="true"] .toggle-icon {
    transform: rotate(180deg);
}

.outline-menu {
    padding: 0 16px 16px;
    max-height: 300px;
    overflow-y: auto;
}

.outline-menu[hidden] {
    display: none;
}

.outline-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.outline-menu li {
    margin-bottom: 8px;
}

.outline-menu a {
    display: block;
    padding: 8px 12px;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.outline-menu a:hover {
    background-color: var(--hover-bg);
    color: var(--primary-color);
    padding-left: 16px;
}

/* Inline Headings */
.section-heading-wrapper {
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title,
.summary-title {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    line-height: 1.4;
}

.summary-title {
    margin-bottom: 0.5rem;
}

.section-range {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Mobile adjustments */
/* Mobile adjustments */
@media (max-width: 768px) {
    .chapter-outline {
        margin-bottom: 16px;
    }

    .outline-toggle {
        padding: 10px 12px;
        font-size: 0.95rem;
    }

    .outline-menu {
        padding: 0 12px 12px;
    }

    .outline-menu a {
        font-size: 0.95rem;
        padding: 6px 10px;
    }

    .section-title {
        /* Mobile: clear override, align with global but allow wrapping */
        /* KEEPS same size on mobile per user request */
        font-size: 0.9rem !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        line-height: 1.3;
    }
}

/* FORCE OVERRIDE for section titles - User reported issues with specificity/caching */
/* Natural, Lighter Weight Style per User Request */
/* New Requirement: Hide by default, show on click, fade away */
.section-title,
.section-heading-wrapper .section-title,
.bible-content .section-title,
.bible-content h3.section-title {
    font-size: 1.0rem !important;
    /* Increased for desktop */
    /* Slightly larger than original 0.85, but with Caps */
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase !important;
    /* Match Chapter Summary */
    letter-spacing: 0.05em !important;
    /* Match Chapter Summary */
    margin: 0 !important;
    line-height: 1.4 !important;
    font-family: 'Inter', sans-serif !important;

    /* Interaction Styles - Enable by default per user request */
    opacity: 1;
    transition: opacity 0.3s ease-in;
}

/* Class added via JS when clicking outline link */
.section-title.visible-title {
    opacity: 1 !important;
    transition: opacity 0.3s ease-in;
}

.summary-title {
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--text-secondary) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-family: 'Inter', sans-serif !important;
}