.bible-container {
    margin: 20px 0;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    /* Background and text colors will be overridden by inline CSS */
}

.bible-navigation {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.dropdown-group {
    display: flex;
    flex-direction: column;
}

.dropdown-group label {
    margin-bottom: 5px;
    font-weight: bold;
}

.bible-navigation select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    height: 40px; /* Equal height for all elements */
    box-sizing: border-box; /* Important for consistent heights */
    min-width: 180px; /* Wider selects for better readability */
    /* Background color will be set inline */
}

/* Change dropdown hover color */
.bible-navigation select option:hover,
.bible-navigation select option:focus {
    background-color: #F95738 !important;
    color: white !important;
}

.chapter-group {
    transition: opacity 0.3s ease-in-out;
}

.bible-content-wrapper {
    display: flex;
    flex-direction: column;
}

.bible-content {
    line-height: 1.6;
}

.verse-links {
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #ddd;
}

/* Styling for the default "Select a verse" message */
.no-verse-selected {
    font-style: italic;
    color: #666;
}

/* Desktop layout */
@media (min-width: 768px) {
    .bible-content-wrapper {
        flex-direction: row;
    }
    
    .bible-content {
        flex: 3;
        padding-right: 20px;
    }
    
    .verse-links {
        flex: 1;
        margin-top: 0;
        margin-left: 20px;
        padding-top: 0;
        padding-left: 20px;
        border-top: none;
        border-left: 1px solid #ddd;
        min-width: 250px;
    }
}

.verse {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: background-color 0.2s, color 0.2s;
}

/* Style for verses with no resources */
.verse.no-resources {
    opacity: 0.5;
}

.verse:hover {
    background-color: rgba(249, 87, 56, 0.1); /* Light version of #F95738 */
}

.verse.selected-verse {
    background-color: rgba(249, 87, 56, 0.2); /* Slightly darker background */
    color: #F95738 !important; /* Override any inline text color */
    opacity: 1 !important; /* Ensure selected verses are fully visible regardless of resources */
}

.verse-number {
    font-weight: bold;
    font-size: 0.8em;
    vertical-align: super;
    margin-right: 2px;
}

.verse-links h3 {
    margin-top: 0;
}

.verse-links ul {
    padding-left: 20px;
}

.verse-links a {
    text-decoration: none;
}

.verse-links a:hover {
    text-decoration: underline;
}

.membership-notice {
    margin-top: 15px;
    background-color: #0F0F0F;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 4px;
    text-align: center;
}

.membership-btn {
    display: inline-block;
    background-color: #f95738 !important;
    color: white !important;
    padding: 8px 16px;
    margin-top: 10px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
}

.membership-btn:hover {
    background-color: #e84a2e;
    color: white;
}

/* Add to styles.css */
.member-benefit-divider {
    margin: 10px 0;
    padding: 4px 1px;
    background-color: transparent;
    color: #666;
    border-radius: 4px;
    text-align: center;
}

.member-benefit-text {
    margin: 0;
    font-weight: bold;
    text-decoration: underline;
}

/* Add to your styles.css file */

/* Mobile Popup Styling */
.verse-links-popup {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background-color: #0f0f0f;
    z-index: 1000;
    border-top: 2px solid #f95738;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    padding: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.3s ease;
    transform: translateY(100%);
}

.verse-links-popup.active {
    display: block;
    transform: translateY(0);
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.popup-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.popup-close:hover {
    color: #f95738;
}

/* Only show popup on mobile */
@media (min-width: 768px) {
    .verse-links-popup {
        display: none !important;
    }
    
    .popup-toggle {
        display: none !important;
    }
}

/* Hide original verse-links panel on mobile */
@media (max-width: 767px) {
    .verse-links {
        display: none;
    }
}

.chapter-heading {
    font-size: 1.2em;
    margin-top: 0.5em;
    margin-bottom: 0.3em;
    text-align: left;
    font-style: italic;
    color: #faf0ca;
}

.section-heading {
    font-size: 1.2em;
    margin-top: 1em;
    margin-bottom: 0.5em;
    color: #faf0ca;
}