/* Biblia de Jerusalén — estilos del shortcode [biblia_completa] */

.bib-wrap * {
    box-sizing: border-box;
}

.bib-wrap {
    max-width: 860px;
    margin: 0 auto;
    font-family: Georgia, "Times New Roman", serif;
    color: #2c3e50;
    line-height: 1.7;
}

.bib-wrap h2 {
    text-align: center;
    font-size: clamp(1.2rem, 4vw, 1.8rem);
    color: #1a3a5c;
    margin-bottom: 20px;
    border-bottom: 3px solid #ff0099;
    padding-bottom: 12px;
}

.bib-panel {
    background: #f0f4f8;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.bib-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.bib-search-row input {
    flex: 1;
    padding: 11px 14px;
    font-size: 15px;
    border: 2px solid #cdd6e0;
    border-radius: 8px;
    font-family: inherit;
    outline: none;
    transition: border 0.2s;
}

.bib-search-row input:focus {
    border-color: #ff0099;
}

.bib-search-row button {
    padding: 11px 20px;
    background: #ff0099;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    white-space: nowrap;
    transition: background 0.2s;
}

.bib-search-row button:hover {
    background: #080a4f;
}

.bib-selects {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.bib-selects select {
    flex: 1;
    min-width: 180px;
    padding: 11px 14px;
    font-size: 15px;
    border: 2px solid #cdd6e0;
    border-radius: 8px;
    background: white;
    font-family: inherit;
    outline: none;
    cursor: pointer;
    transition: border 0.2s;
}

.bib-selects select:focus {
    border-color: #ff0099;
}

.bib-libro-info {
    display: none;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    background: #e8f0f7;
    border-left: 4px solid #ff0099;
    border-radius: 8px;
    padding: 10px 16px;
    margin-top: 12px;
}

.bib-libro-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 64px;
}

.bib-libro-info-item strong {
    font-size: 17px;
    color: #1a3a5c;
    line-height: 1.2;
}

.bib-libro-info-item em {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    font-style: normal;
}

.bib-chapter-header {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
    color: #1a3a5c;
    border-bottom: 2px solid #e0e7ef;
    padding-bottom: 8px;
    margin: 0 0 16px 0;
    position: relative;
}

.bib-chapter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: -8px 0 16px;
}

.bib-chapter-action-btn {
    padding: 7px 14px;
    font-size: 13px;
    background: #e8f0f7;
    color: #1a3a5c;
    border: 1px solid #b0c4d8;
    border-radius: 8px;
    cursor: pointer;
    font-family: Georgia, serif;
    transition: background 0.2s, border-color 0.2s;
}

.bib-chapter-action-btn:hover {
    background: #dce7f0;
    border-color: #ff0099;
}

.bib-copy-btn {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: #ccc;
    font-size: 15px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: color 0.2s;
    font-family: inherit;
}

.bib-copy-btn:hover {
    color: #ff0099;
}

.bib-copy-tip {
    position: absolute;
    right: 30px;
    top: 2px;
    font-size: 11px;
    color: #ff0099;
    background: #e8f0f7;
    padding: 2px 8px;
    border-radius: 4px;
    display: none;
    font-family: sans-serif;
}

.bib-verse {
    padding: 10px 0;
    border-bottom: 1px solid #e8ecf0;
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.bib-verse:last-child {
    border-bottom: none;
}

.bib-verse-num {
    font-weight: bold;
    color: #0073aa;
    font-size: 0.85rem;
    min-width: 28px;
    padding-top: 2px;
    flex-shrink: 0;
}

.bib-verse-text {
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    color: #2c3e50;
}

.bib-verse.bib-verse--read .bib-verse-text {
    color: #6b7c8e;
}

.bib-verse.bib-verse--read {
    background: #f8fafb;
    margin: 0 -6px;
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 6px;
}

.bib-read-cb {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 4px;
    cursor: pointer;
    accent-color: #ff0099;
}

.bib-result {
    padding: 12px 14px;
    margin: 8px 0;
    background: #f7f9fc;
    border-left: 4px solid #ff0099;
    border-radius: 6px;
}

.bib-result-ref {
    font-size: 0.85rem;
    font-weight: bold;
    color: #ff0099;
    margin-bottom: 4px;
}

.bib-result-text {
    font-size: clamp(0.9rem, 2.5vw, 1rem);
    color: #2c3e50;
}

.bib-result-text em {
    background: #fff3cd;
    font-style: normal;
    border-radius: 2px;
    padding: 0 2px;
}

.bib-progress {
    background: #f0f4f8;
    padding: 14px 18px;
    margin-top: 20px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.bib-progress-line {
    margin: 0 0 8px;
    color: #555;
}

.bib-progress-meta {
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #666;
}

.bib-login-note {
    margin: 10px 0 0;
    font-size: 0.88rem;
    color: #888;
}

.bib-progress .bib-login-note a {
    color: #0073aa;
    font-weight: bold;
}

.bib-continue-btn {
    padding: 8px 16px;
    font-size: 14px;
    background: #1a3a5c;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-family: Georgia, serif;
}

.bib-continue-btn:hover {
    background: #ff0099;
}

.bib-continue-btn.is-hidden {
    display: none;
}

.bib-search-hint {
    font-size: 12px;
    color: #666;
    margin: 0 0 10px;
    line-height: 1.4;
}

.bib-empty {
    text-align: center;
    color: #888;
    padding: 40px 20px;
    font-size: 1rem;
}

.bib-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    gap: 10px;
}

.bib-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 14px;
    background: #f0f4f8;
    border: 1px solid #b0c4d8;
    border-radius: 8px;
    cursor: pointer;
    color: #1a3a5c;
    font-family: Georgia, serif;
    transition: background 0.2s;
}

.bib-nav-btn:hover:not(:disabled) {
    background: #dce7f0;
}

.bib-nav-btn:disabled {
    opacity: 0.35;
    cursor: default;
}

.bib-nav-label {
    font-size: 13px;
    color: #888;
    font-family: sans-serif;
    text-align: center;
}

.bib-recent-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #dce7f0;
}

.bib-recent-wrap.is-hidden {
    display: none;
}

.bib-recent-title {
    margin: 0 0 8px;
    font-size: 0.88rem;
    font-weight: bold;
    color: #1a3a5c;
}

.bib-recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bib-recent-list button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    font-size: 0.88rem;
    font-family: Georgia, serif;
    color: #1a3a5c;
    background: #fff;
    border: 1px solid #cdd6e0;
    border-radius: 6px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.bib-recent-list button:hover {
    border-color: #ff0099;
    background: #fdf6fa;
}

@media (max-width: 480px) {
    .bib-selects select {
        min-width: 100%;
    }

    .bib-search-row button {
        padding: 11px 14px;
        font-size: 14px;
    }

    .bib-nav-btn {
        padding: 7px 12px;
        font-size: 13px;
    }
}
