/**
 * LifePoint Daily Bible Reading Styles
 * Uses Times New Roman for authentic Bible reading experience
 */

/* Container - Simple full width of parent */
.daily-bible-container {
    margin-top: 0px;
    margin-bottom: 0px;
    margin-left: -15px;
    margin-right: -15px;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-right: 10px;
    padding-left: 10px;
    background-color: #fffff8;
    border: 1px solid #d4c9a8;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* Header */
.daily-bible-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #8b4513;
}

/* Date Navigation */
.date-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.nav-arrow {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 14px;
    color: #8b4513;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #8b4513;
    border-radius: 4px;
    background-color: #fffff8;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-arrow:hover {
    background-color: #8b4513;
    color: #fffff8;
    text-decoration: none;
}

.nav-arrow:active {
    transform: scale(0.95);
}

.nav-arrow .arrow {
    display: inline-block;
    transform: translateY(-3px);
}

.date-navigation .reading-date {
    margin: 0;
    min-width: 200px;
}

/* Today Button */
.today-button-container {
    margin: 10px 0;
}

.today-button {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 13px;
    color: #fffff8;
    text-decoration: none;
    padding: 6px 15px;
    border: none;
    border-radius: 4px;
    background-color: #5c8a3d;
    transition: all 0.2s ease;
}

.today-button:hover {
    background-color: #4a7030;
    color: #fffff8;
    text-decoration: none;
}

.reading-date {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 28px;
    font-weight: bold;
    color: #2c1810;
    margin: 0 0 10px 0;
}

.reading-reference {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 16px;
    color: #5c4033;
    font-style: italic;
    margin: 0 0 15px 0;
}

/* Font Size Controls */
.font-size-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 10px;
}

.font-size-label {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 13px;
    color: #5c4033;
    margin-right: 4px;
}

.font-size-btn {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 13px;
    font-weight: bold;
    color: #8b4513;
    background-color: #fffff8;
    border: 1px solid #8b4513;
    border-radius: 3px;
    padding: 2px 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 24px;
    line-height: 1.2;
}

.font-size-btn:hover:not(.disabled) {
    background-color: #8b4513;
    color: #fffff8;
}

.font-size-btn:active:not(.disabled) {
    transform: scale(0.95);
}

.font-size-btn.disabled,
.font-size-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.font-size-btn[data-action="reset"] {
    background-color: #f5f0e6;
}

/* Content area */
.daily-bible-content {
    font-family: 'Times New Roman', Times, Georgia, serif;
}

/* Individual passage */
.bible-passage {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #d4c9a8;
}

.bible-passage:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.passage-title {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 22px;
    font-weight: bold;
    color: #8b4513;
    margin: 0 0 15px 0;
    padding-left: 10px;
    border-left: 4px solid #8b4513;
}

/* Bible text */
.passage-text {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 18px;
    line-height: 1.8;
    color: #1a1a1a;
}

.chapter-text {
    margin: 0 0 10px 0;
    text-indent: 0;
}

.chapter-number {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #8b4513;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

/* Verse styling */
.verse {
    display: block;
    margin-bottom: 0.5em;
    text-indent: 0;
}

.verse-number {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 12px;
    font-weight: bold;
    color: #8b4513;
    vertical-align: super;
    margin-right: 4px;
}

/* Footer */
.daily-bible-footer {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #d4c9a8;
    text-align: center;
}

.bible-version {
    font-family: 'Times New Roman', Times, Georgia, serif;
    font-size: 14px;
    font-style: italic;
    color: #8b4513;
    margin: 0;
}

/* Error messages */
.bible-error {
    font-family: 'Times New Roman', Times, Georgia, serif;
    color: #cc0000;
    font-style: italic;
    padding: 10px;
    background-color: #fff0f0;
    border: 1px solid #ffcccc;
    border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .daily-bible-container {
        
    }
    
    .date-navigation {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .date-navigation .reading-date {
        order: -1;
        width: 100%;
        min-width: auto;
        margin-bottom: 5px;
    }
    
    .nav-arrow {
        font-size: 13px;
        padding: 8px 12px;
    }
    
    .reading-date {
        font-size: 24px;
    }
    
    .passage-text {
        font-size: 16px;
        line-height: 1.7;
    }
    
    .passage-title {
        font-size: 18px;
    }
    
    .font-size-controls {
        gap: 8px;
    }
    
    .font-size-label {
        font-size: 12px;
    }
    
    .font-size-btn {
        padding: 5px 12px;
        font-size: 14px;
        min-width: 36px;
    }
}

/* Print styles for those who want to print the reading */
@media print {
    .daily-bible-container {
        box-shadow: none;
        border: none;
        padding: 0;
    }
    
    .passage-text {
        font-size: 12pt;
    }
    
    .reading-date {
        font-size: 18pt;
    }
}

/* Optional: Dark mode support */
@media (prefers-color-scheme: dark) {
    .daily-bible-container {
        background-color: #1a1a1a;
        border-color: #3d3d3d;
    }
    
    .reading-date,
    .passage-text {
        color: #e8e8e8;
    }
    
    .reading-reference,
    .bible-version {
        color: #c4a35a;
    }
    
    .passage-title,
    .chapter-number,
    .verse-number {
        color: #c4a35a;
    }
    
    .daily-bible-header,
    .bible-passage,
    .daily-bible-footer {
        border-color: #3d3d3d;
    }
    
    .font-size-label {
        color: #c4a35a;
    }
    
    .font-size-btn {
        background-color: #2a2a2a;
        border-color: #c4a35a;
        color: #c4a35a;
    }
    
    .font-size-btn:hover:not(.disabled) {
        background-color: #c4a35a;
        color: #1a1a1a;
    }
    
    .font-size-btn[data-action="reset"] {
        background-color: #333;
    }
    
    .nav-arrow {
        background-color: #2a2a2a;
        border-color: #c4a35a;
        color: #c4a35a;
    }
    
    .nav-arrow:hover {
        background-color: #c4a35a;
        color: #1a1a1a;
    }
    
    .today-button {
        background-color: #4a7030;
    }
    
    .today-button:hover {
        background-color: #5c8a3d;
    }
}
