/* ===========================================
   CELC BIBLE - 25x12 READING PLAN
   VERSIÓN 1.0.0
   =========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --dark-blue: #0A2342;
    --dark-red: #8B0000;
    --gold: #C9A84C;
    --green: #2E7D32;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-light: #777;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--light-gray);
    height: 100vh;
    overflow: hidden;
    color: var(--text);
}

.app-container {
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ===========================================
   HEADER
   =========================================== */
.header {
    background: linear-gradient(135deg, var(--dark-blue), #1a3a5f);
    color: white;
    padding: 20px;
    padding-top: max(20px, env(safe-area-inset-top, 20px));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    z-index: 10;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    line-height: 0;
}

.header-logo {
    width: 44px !important;
    height: 44px !important;
    max-width: 44px;
    max-height: 44px;
    border-radius: 10px;
}

.header-text {
    display: flex;
    flex-direction: column;
}

.app-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.app-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.menu-btn:hover {
    background: rgba(255,255,255,0.1);
}

/* ===========================================
   SIDE MENU
   =========================================== */
.side-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 15px 20px;
    border-bottom: 2px solid var(--dark-red);
    position: sticky;
    top: 0;
    background: white;
    z-index: 5;
}

.menu-header h2 {
    color: var(--dark-blue);
    font-size: 1.3rem;
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-blue);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-menu:hover {
    background: var(--light-gray);
}

.menu-items {
    list-style: none;
    padding: 0 10px 20px 10px;
    flex: 1;
}

.menu-items li {
    margin-bottom: 5px;
}

.menu-items a {
    text-decoration: none;
    color: var(--dark-blue);
    font-size: 1rem;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: background 0.3s;
}

.menu-items a:hover {
    background: var(--light-gray);
}

.menu-divider {
    height: 1px;
    background: #eee;
    margin: 10px 15px;
}

/* ===========================================
   MAIN CONTENT
   =========================================== */
.main-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-bottom: calc(85px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    -webkit-overflow-scrolling: touch;
}

/* ===========================================
   BOTTOM NAVIGATION
   =========================================== */
.bottom-nav {
    display: flex;
    background: white;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 12px 0;
    z-index: 10;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
}

.nav-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 8px 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
    min-width: 0;
}

.nav-btn.active {
    color: var(--dark-red);
}

.nav-icon {
    font-size: 1.3rem;
}

.nav-label {
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* ===========================================
   LOADING
   =========================================== */
.loading-screen,
.loading-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    padding: 40px 20px;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.95);
    z-index: 9999;
    height: 100vh;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--light-gray);
    border-top-color: var(--dark-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===========================================
   HOME VIEW
   =========================================== */
.home-view h1 {
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.home-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--dark-red);
}

.home-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.today-card {
    background: linear-gradient(135deg, #0A2342 0%, #1a3a5f 100%);
    color: white;
    padding: 24px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(10, 35, 66, 0.25);
}

.today-card h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.today-card .today-date {
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.today-blocks {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.block-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.1);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.2s;
}

.block-item:hover {
    background: rgba(255,255,255,0.18);
}

.block-icon {
    font-size: 1.4rem;
}

.block-text {
    flex: 1;
}

.block-label {
    font-size: 0.75rem;
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.block-reference {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2px;
}

.block-status {
    font-size: 1.3rem;
}

.block-item.read {
    opacity: 0.6;
}

.block-item.read .block-reference {
    text-decoration: line-through;
}

/* ===========================================
   BOTÓN "LECTURA DEL DÍA"
   =========================================== */
.read-all-btn {
    display: block;
    width: 100%;
    background: var(--gold);
    color: var(--dark-blue);
    border: none;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    margin: 16px 0;
    text-align: center;
    text-decoration: none;
}

.read-all-btn:hover {
    background: #d4b85a;
    transform: translateY(-2px);
}

/* ===========================================
   MEMORY VERSE
   =========================================== */
.memory-verse-card {
    background: #fff8e1;
    border-left: 4px solid var(--gold);
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin: 16px 0;
}

.memory-verse-card h3 {
    color: var(--dark-blue);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.memory-verse-card .verse-text {
    font-family: 'Georgia', serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 8px;
}

.memory-verse-card .verse-ref {
    text-align: right;
    font-weight: 600;
    color: var(--dark-blue);
    font-size: 0.9rem;
}

/* ===========================================
   MONTH VIEW
   =========================================== */
.month-view h1 {
    color: var(--dark-blue);
    margin-bottom: 16px;
}

.month-selector {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 8px 0 16px 0;
    -webkit-overflow-scrolling: touch;
}

.month-btn {
    flex: 0 0 auto;
    background: white;
    border: 2px solid #ddd;
    color: var(--dark-blue);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.month-btn.active {
    background: var(--dark-blue);
    color: white;
    border-color: var(--dark-blue);
}

.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.day-cell {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #eee;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--dark-blue);
    padding: 4px;
}

.day-cell:hover {
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.day-cell.completed {
    background: #e8f5e9;
    border-color: var(--green);
    color: var(--green);
}

.day-cell.partial {
    background: #fff8e1;
    border-color: var(--gold);
    color: var(--gold);
}

.day-cell .day-num {
    font-size: 1.1rem;
}

.day-cell .day-progress {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-top: 2px;
}

/* ===========================================
   DAY VIEW
   =========================================== */
.day-view h1 {
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.day-view .day-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.day-blocks-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 20px 0;
}

.day-block-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.day-block-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 35, 66, 0.1);
    border-color: var(--dark-blue);
}

.day-block-card.read {
    background: #f1f8e9;
    border-color: var(--green);
}

.day-block-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.day-block-info {
    flex: 1;
    min-width: 0;
}

.day-block-label {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.day-block-ref {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.day-block-action {
    flex-shrink: 0;
    font-size: 1.5rem;
}

/* ===========================================
   PROGRESS VIEW
   =========================================== */
.progress-view h1 {
    color: var(--dark-blue);
    margin-bottom: 20px;
}

.progress-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 24px;
}

.stat-card {
    background: white;
    padding: 20px 16px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
}

.progress-bar-global {
    background: white;
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

.progress-bar-global h3 {
    color: var(--dark-blue);
    margin-bottom: 12px;
}

.progress-track {
    height: 12px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--dark-blue), var(--gold));
    border-radius: 6px;
    transition: width 0.3s;
}

.progress-label {
    margin-top: 8px;
    text-align: right;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-blue);
}

/* ===========================================
   BACK BUTTON
   =========================================== */
.back-btn {
    background: none;
    border: none;
    color: var(--dark-blue);
    font-size: 1rem;
    cursor: pointer;
    padding: 8px 0;
    margin-bottom: 15px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.back-btn:hover {
    text-decoration: underline;
}

/* ===========================================
   TOAST
   =========================================== */
.toast-message {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    z-index: 9999;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    max-width: 90vw;
    text-align: center;
}

/* ===========================================
   RESPONSIVE
   =========================================== */
@media (max-width: 480px) {
    .app-title { font-size: 1.2rem; }
    .app-subtitle { font-size: 0.75rem; }
    .header-logo { width: 36px !important; height: 36px !important; }
    .logo-link { width: 36px; height: 36px; }

    .main-content { padding: 16px; padding-bottom: 85px; }

    .nav-icon { font-size: 1.25rem; }
    .nav-label { font-size: 0.7rem; }

    .today-card { padding: 20px 16px; }
    .today-card h2 { font-size: 1.3rem; }

    .block-item { padding: 10px 12px; }
    .block-reference { font-size: 0.95rem; }

    .days-grid { grid-template-columns: repeat(auto-fill, minmax(50px, 1fr)); gap: 8px; }
    .day-cell .day-num { font-size: 1rem; }
    .day-cell .day-progress { font-size: 0.65rem; }
}

/* ===========================================
   DARK MODE
   =========================================== */
@media (prefers-color-scheme: dark) {
    body { background: #1a1a1a; color: #e0e0e0; }

    .main-content { background: #1a1a1a; }

    .side-menu { background: #2d2d2d; }
    .menu-header { background: #2d2d2d; }
    .menu-header h2 { color: #e0e0e0; }
    .menu-items a { color: #e0e0e0; }
    .menu-items a:hover { background: #3d3d3d; }
    .close-menu { color: #e0e0e0; }

    .day-cell { background: #2d2d2d; border-color: #444; color: #e0e0e0; }
    .day-cell:hover { border-color: #8bb9e0; }
    .day-cell.completed { background: #1b3a1b; color: #8bc34a; border-color: #4caf50; }
    .day-cell.partial { background: #3a2f1b; color: var(--gold); }

    .day-block-card { background: #2d2d2d; border-color: #444; }
    .day-block-card:hover { border-color: #8bb9e0; }
    .day-block-card.read { background: #1b3a1b; border-color: #4caf50; }
    .day-block-ref { color: #e0e0e0; }

    .stat-card { background: #2d2d2d; border-color: #444; }
    .stat-number { color: #e0e0e0; }

    .progress-bar-global { background: #2d2d2d; }
    .progress-bar-global h3 { color: #e0e0e0; }
    .progress-track { background: #444; }

    .memory-verse-card { background: #3a2f1b; }
    .memory-verse-card .verse-text { color: #e0e0e0; }

    .month-btn { background: #2d2d2d; border-color: #555; color: #ddd; }
    .month-btn.active { background: var(--dark-blue); border-color: var(--dark-blue); color: white; }
}

/* ===========================================
   BOTONES DE NAVEGACIÓN ENTRE BLOQUES
   =========================================== */

.reading-nav-floating {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 9998;
    background: white;
    padding: 8px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 16px rgba(10, 35, 66, 0.2);
    border: 1px solid #eef1f5;
    flex-wrap: nowrap;
    max-width: 96vw;
    overflow-x: auto;
}

.reading-nav-btn {
    background: var(--dark-blue);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

.reading-nav-btn:hover {
    background: #1a3a5f;
    transform: translateY(-1px);
}

.reading-nav-btn.back {
    background: var(--gold);
    color: var(--dark-blue);
}

.reading-nav-btn.back:hover {
    background: #d4b85a;
}

.reading-nav-btn.prev,
.reading-nav-btn.next {
    background: var(--dark-blue);
}

@media (max-width: 480px) {
    .reading-nav-floating {
        bottom: 80px;
        padding: 6px 10px;
        gap: 6px;
    }

    .reading-nav-btn {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .reading-nav-floating {
        background: #2d2d2d;
        border-color: #444;
    }

    .reading-nav-btn {
        background: #3d3d3d;
    }

    .reading-nav-btn:hover {
        background: #4d4d4d;
    }

    .reading-nav-btn.back {
        background: var(--gold);
        color: var(--dark-blue);
    }
}

/* Botón "Marcar como leído" */
.reading-nav-btn.mark {
    background: var(--dark-blue);
    color: white;
}

.reading-nav-btn.mark.read {
    background: var(--green, #2E7D32);
    color: white;
}

.reading-nav-btn.mark:hover {
    background: #1a3a5f;
}

.reading-nav-btn.mark.read:hover {
    background: #1B5E20;
}

/* ===========================================
   BOTÓN DE INSTALACIÓN PWA
   =========================================== */

.install-app-item {
    list-style: none;
    padding: 0 15px;
    margin: 10px 0;
}

.install-app-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--dark-blue), #1a3a5f);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(10, 35, 66, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.install-app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(10, 35, 66, 0.35);
}

.install-app-btn:active {
    transform: translateY(0);
}

/* Modal de instalación en iOS */
#iosInstallModal .modal-content {
    background: white;
    border-radius: 16px;
    padding: 30px 24px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

#iosInstallModal p {
    margin: 8px 0;
    font-size: 0.95rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .install-app-btn {
        background: linear-gradient(135deg, #1a3a5f, #2d4a6f);
    }

    #iosInstallModal .modal-content {
        background: #2d2d2d;
        color: #e0e0e0;
    }

    #iosInstallModal .modal-content h3 {
        color: #8bb9e0;
    }

    #iosInstallModal p {
        color: #e0e0e0;
    }
}

.day-cell .day-date {
    font-size: 0.6rem;
    opacity: 0.65;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

@media (max-width: 480px) {
    .day-cell .day-date {
        font-size: 0.55rem;
    }
}

/* ===========================================
   MEMORY VIEW
   =========================================== */

.memory-view h1 {
    color: var(--dark-blue);
    margin-bottom: 8px;
}

.memory-month-section {
    margin-bottom: 32px;
}

.memory-month-title {
    color: var(--dark-blue);
    font-size: 1.2rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.memory-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.memory-item {
    background: white;
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    border-left: 4px solid var(--gold);
}

.memory-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 6px;
}

.memory-day {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--dark-blue);
    font-weight: 700;
}

.memory-reference {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}

.memory-text {
    font-family: 'Georgia', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    .memory-item {
        background: #2d2d2d;
    }

    .memory-text {
        color: #e0e0e0;
    }

    .memory-day {
        color: #8bb9e0;
    }
}

/* ===========================================
   DAY NAVIGATION (Previous / Next Day)
   =========================================== */

.day-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.day-nav-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.day-nav-buttons .btn-secondary {
    background: white;
    border: 1.5px solid #d0d7de;
    color: var(--dark-blue, #0A2342);
    padding: 12px 20px;
    border-radius: 24px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(10, 35, 66, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.day-nav-buttons .btn-secondary:hover:not(:disabled) {
    background: var(--dark-blue, #0A2342);
    border-color: var(--dark-blue, #0A2342);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 35, 66, 0.2);
}

.day-nav-buttons .btn-secondary:active:not(:disabled) {
    transform: translateY(0);
}

.day-nav-buttons .btn-secondary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .day-nav-bar {
        flex-direction: row;
        gap: 6px;
    }

    .day-nav-buttons .btn-secondary {
        font-size: 0.85rem;
        padding: 10px 14px;
        min-height: 40px;
    }
}

@media (prefers-color-scheme: dark) {
    .day-nav-buttons .btn-secondary {
        background: #3d3d3d;
        border-color: #555;
        color: #ddd;
    }

    .day-nav-buttons .btn-secondary:hover:not(:disabled) {
        background: var(--dark-blue, #0A2342);
        border-color: var(--dark-blue, #0A2342);
        color: white;
    }
}

/* Fix: asegurar que el último versículo no quede detrás de los botones flotantes */
#bibleChapterWrapper {
    padding-bottom: 140px !important;
}

html, body {
    scroll-padding-bottom: 140px;
}