/* Estilos personalizados para versículos */
.verse-text {
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

/* Estilos para la Página de Biblia */
.nav-arrow {
    position: fixed;
    top: 40vh; /* Posicionada en el 40% de la pantalla */
    transform: translateY(-50%);
    font-size: 2rem;
    color: #4a5568;
    transition: color 0.3s;
}

.nav-arrow:hover {
    color: #2563eb;
}

/* Botón de copiar solo visible cuando el usuario pase el mouse */
.verse-container {
    position: relative;
    padding: 10px;
    transition: background 0.3s;
}

.verse-container:hover {
    background: #f9f9f9;
}

.copy-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #e2e8f0; /* Color de fondo neutral */
    border-radius: 6px; /* Bordes redondeados ligeros */
    padding: 6px;
    display: none;
    transition: opacity 0.3s, background 0.3s;
    box-shadow: none; /* Elimina sombras extra */
}

.verse-container:hover .copy-btn {
    display: inline-block;
    opacity: 1;
}

/* Estilos adicionales para el selector de libros y capítulos */
.selector-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f3f4f6;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.selector-container select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.25rem;
    margin-right: 0.5rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    background-color: #fff;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.selector-container select:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.3);
}

.selector-container select::after {
    content: '\25BC';
    position: absolute;
    right: 10px;
    pointer-events: none;
}           
        
/* Estructura base responsiva */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
    padding-bottom: 6rem; /* Espacio para el footer */
}

/* Animaciones suaves */
.transition-all {
    transition: all 0.3s ease;
}

/* Estilos para citas bíblicas */
.bible-quote {
    font-style: italic;
    color: #4B5563;
    padding-left: 1rem;
    border-left: 4px solid #3B82F6;
}

/* Estilos para el modo oscuro */
@media (prefers-color-scheme: dark) {
    .bible-quote {
        color: #9CA3AF;
        border-left-color: #60A5FA;
    }
}

/* Estilos para la navegación */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background-color: rgba(59, 130, 246, 0.1);
}

/* Estilos para botones personalizados */
.btn-primary {
    background-color: #3B82F6;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #2563EB;
    transform: translateY(-1px);
}

/* Estilos para la barra lateral */
.sidebar {
    height: calc(100vh - 4rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #D1D5DB #F3F4F6;
    position: relative;
}

.sidebar-book-link {
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    padding: 0.5rem;
}

.sidebar-book-link:hover {
    background-color: #F3F4F6;
    padding-left: 0.75rem;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-link span {
        display: none;
    }

    .nav-link i {
        font-size: 1.25rem;
    }

    .grid {
        grid-template-columns: rep; 1fr;
    }
}

@media (max-width: 640px) {
    .verse-text {
        font-size: 1rem;
    }

    .bible-quote {
        padding-left: 0.5rem;
    }

    .btn-primary {
        width: 100%;
    }
}

/* Estilos para el scroll */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #F3F4F6;
}

::-webkit-scrollbar-thumb {
    background: #D1D5DB;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9CA3AF;
}

/* Contenedor de los versículos */
.verses-container {
    position: relative;
    max-width: 800px; /* Aumenta el ancho del contenedor */
    width: 90%; /* Se adapta a la pantalla */
    max-height: 24rem; /* Altura máxima del contenedor */
    overflow-y: auto; /* Habilitar desplazamiento vertical */
    background: linear-gradient(to bottom, rgba(243, 244, 246, 1), rgba(243, 244, 246, 0)); /* Transición suave */
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 auto; /* Centrar el contenedor */
}

/* Efecto de desvanecimiento en el scroll */
.fade-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    background: linear-gradient(to top, white, rgba(255, 255, 255, 0));
    pointer-events: none;
}

/* Estilos para el menú móvil */
#mobile-menu {
    display: none;
}

#mobile-menu.hidden {
    display: block;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
    .verses-container {
        width: 95%; /* Más ancho en móviles */
        padding: 1rem;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 4rem;
        width: 100%;
        height: calc(100vh - 4rem);
        background: white;
        z-index: 40;
        transition: left 0.3s ease;
    }

    .sidebar.active {
        left: 0;
    }

    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 30;
    }

    .mobile-menu-overlay.active {
        display: block;
    }
}

/* ESTILOS ESPECÍFICOS PARA LA TIENDA */

/* Estilos de producto */
.product-card {
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.category-card {
    transition: all 0.3s ease;
}
.category-card:hover {
    transform: translateY(-3px);
}
.price-slider {
    width: 100%;
    margin: 0 auto;
}
.slider-thumb {
    appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: #ddd;
    outline: none;
}
.slider-thumb::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}
.slider-thumb::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3b82f6;
    cursor: pointer;
}
.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 5px;
    font-weight: 500;
    transition: all 0.2s;
}
.pagination-link:hover {
    background-color: #e5e7eb;
}
.pagination-link.active {
    background-color: #3b82f6;
    color: white;
}
.pagination-link.disabled {
    color: #9ca3af;
    pointer-events: none;
}

/* Estilo para el spinner/loader de AJAX */
.loader {
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border-top: 3px solid #3b82f6;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 2rem auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para scrollbar horizontal sin barras */
.no-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.no-scrollbar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

/* Filtros móviles de estilo Amazon */
.mobile-filters-bar {
    display: none;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.75rem 0;
    margin-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}

.mobile-filter-chip {
    display: inline-flex;
    align-items: center;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mobile-filter-chip i {
    margin-right: 0.5rem;
}

.mobile-filter-chip .dropdown-icon {
    margin-left: 0.5rem;
    font-size: 0.75rem;
}

.mobile-filter-dropdown {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    max-height: 80vh;
    overflow-y: auto;
}

.mobile-filter-dropdown.active {
    transform: translateY(0);
}

.mobile-filter-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 1rem;
}

.mobile-filter-dropdown-content {
    max-height: 60vh;
    overflow-y: auto;
}

.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Estilos responsivos para la tienda */
@media (max-width: 1023px) {
    .mobile-filters-bar {
        display: flex;
    }
    
    .mobile-filter-chip.active {
        background-color: #EBF5FF;
        border-color: #3B82F6;
        color: #3B82F6;
    }

    .desktop-filter-sidebar {
        display: none;
    }
}

/* BARRA LATERAL UNIFICADA - ESTILOS */
.filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: auto;
    min-width: 280px;
    max-width: 320px;
    background-color: white;
    z-index: 50;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-right: 1px solid #E5E7EB;
}

.filter-sidebar.active {
    transform: translateX(0);
}

.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

#close-filters-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: #F3F4F6;
    color: #4B5563;
    transition: all 0.2s ease;
    z-index: 2;
    cursor: pointer;
}

#close-filters-btn:hover {
    background-color: #E5E7EB;
    color: #1F2937;
}

#show-filters-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

#show-filters-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.4s ease;
}

#show-filters-btn:hover::after {
    left: 100%;
}

/* Mejoras unificadas para elementos de filtro */
.category-filter,
.language-filter,
.word-type-filter,
.sort-option {
    display: flex;
    align-items: center;
    padding: 0.625rem 0.75rem;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.category-filter:hover,
.language-filter:hover,
.word-type-filter:hover,
.sort-option:hover {
    background-color: #F3F4F6;
    padding-left: 1rem;
}

.category-filter.active,
.language-filter.active,
.word-type-filter.active,
.sort-option.active {
    background-color: #EBF5FF;
    color: #1E40AF;
    font-weight: 500;
}

/* Estilos responsivos unificados para tienda y diccionario */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .filter-sidebar {
        min-width: 280px;
        max-width: 85%;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .filter-sidebar {
        min-width: 300px;
        max-width: 320px;
    }
}

@media (min-width: 1024px) {
    .filter-sidebar {
        position: relative;
        transform: none;
        width: 100%;
        min-width: unset;
        max-width: 100%;
        height: auto;
        overflow: visible;
        box-shadow: none;
        padding: 0;
        border-right: none;
        background-color: transparent;
    }
    
    #close-filters-btn {
        display: none;
    }
}

/* Estilos específicos para el Diccionario Bíblico */
.dictionary-container {
    position: relative;
    font-family: 'Georgia', serif;
}

/* Estilizar tarjetas de términos del diccionario */
.term-card {
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.term-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #3B82F6;
}

/* Estilizar palabras originales hebreas/griegas */
.original-word {
    font-family: 'Times New Roman', serif;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.hebrew-word {
    font-family: 'SBL Hebrew', 'Times New Roman', serif;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.greek-word {
    font-family: 'SBL Greek', 'Times New Roman', serif;
}

/* Número strong destacado */
.strong-number {
    display: inline-block;
    background-color: #EBF5FF;
    color: #1E40AF;
    font-weight: 600;
    border-radius: 0.375rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border: 1px solid #BFDBFE;
    letter-spacing: 0.05em;
}

/* Mejorar la definición con estilos tipográficos */
.definition-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #374151;
    margin-bottom: 1rem;
    text-align: justify;
    hyphens: auto;
}

/* Estilizar ejemplos bíblicos */
.examples-container {
    position: relative;
    padding-left: 1rem;
    margin-top: 1.5rem;
    border-left: 3px solid #DBEAFE;
    font-style: italic;
    color: #4B5563;
}

.examples-container::before {
    content: "";
    position: absolute;
    left: -1.5rem;
    top: -0.5rem;
    font-size: 2.5rem;
    color: #DBEAFE;
    font-family: Georgia, serif;
}

/* Etiquetas para tipo de palabra */
.word-type-tag {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    margin-right: 0.5rem;
    color: #1F2937;
    background-color: #F3F4F6;
    border: 1px solid #E5E7EB;
}

.word-type-tag.sustantivo {
    background-color: #ECFDF5;
    color: #065F46;
    border-color: #A7F3D0;
}

.word-type-tag.verbo {
    background-color: #EFF6FF;
    color: #1E40AF;
    border-color: #BFDBFE;
}

.word-type-tag.adjetivo {
    background-color: #FEF3C7;
    color: #92400E;
    border-color: #FDE68A;
}

.word-type-tag.adverbio {
    background-color: #F5F3FF;
    color: #5B21B6;
    border-color: #DDD6FE;
}

.word-type-tag.preposicion {
    background-color: #FEE2E2;
    color: #991B1B;
    border-color: #FECACA;
}

/* Efectos visuales para la búsqueda y resultados */
.search-input {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-input:focus {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    transform: scale(1.01);
}

/* Animación al cargar resultados */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-item {
    animation: fadeIn 0.4s ease forwards;
}

.result-item:nth-child(2) { animation-delay: 0.05s; }
.result-item:nth-child(3) { animation-delay: 0.1s; }
.result-item:nth-child(4) { animation-delay: 0.15s; }
.result-item:nth-child(5) { animation-delay: 0.2s; }

/* Mejora visual para la paginación */
.pagination-container {
    display: flex;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.pagination-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    margin: 0 0.25rem;
    padding: 0 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
}

.pagination-btn:hover {
    background-color: #EBF5FF;
}

.pagination-btn.active {
    background-color: #3B82F6;
    color: white;
}

.pagination-btn.active:hover {
    background-color: #2563EB;
}

.pagination-btn.disabled {
    color: #9CA3AF;
    cursor: not-allowed;
}

/* Personalización del indicador de carga */
.dictionary-loader {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 3rem auto;
}

.dictionary-loader:before,
.dictionary-loader:after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 3px solid transparent;
    animation: loader-spin 1.5s linear infinite;
}

.dictionary-loader:before {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-top-color: #3B82F6;
    animation-delay: -0.3s;
}

.dictionary-loader:after {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-top-color: #93C5FD;
    animation-delay: -0.15s;
}

@keyframes loader-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estilos para filtros activos */
.active-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #EBF5FF;
    border: 1px solid #BFDBFE;
    border-radius: 9999px;
    padding: 0.35rem 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    color: #1E40AF;
    transition: all 0.2s ease;
}

.active-filter:hover {
    background-color: #DBEAFE;
}

.active-filter .remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(37, 99, 235, 0.1);
    border-radius: 9999px;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.5rem;
    color: #2563EB;
    transition: all 0.2s ease;
}

.active-filter .remove-btn:hover {
    background-color: rgba(37, 99, 235, 0.2);
    transform: scale(1.1);
}

/* Mejoras en la experiencia móvil */
@media (max-width: 768px) {
    .term-card {
        border-left-width: 0;
        border-top: 3px solid transparent;
    }
    
    .term-card:hover {
        border-left-width: 0;
        border-top: 3px solid #3B82F6;
    }
    
    .definition-text {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .original-word {
        font-size: 1.1rem;
    }
    
    .word-type-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Estilos para notificaciones */
.dictionary-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: #10B981;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dictionary-notification.show {
    opacity: 1;
    transform: translateY(0);
}

/* Clases para elementos destacados */
.highlight-text {
    background-color: rgba(255, 247, 165, 0.5);
    padding: 0 0.25rem;
    border-radius: 0.25rem;
}

/* Iconos personalizados para tipos de palabras */
.icon-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    margin-right: 0.75rem;
    background-color: #F3F4F6;
}

.icon-container.hebrew {
    background-color: #FEF3C7;
    color: #92400E;
}

.icon-container.greek {
    background-color: #EFF6FF;
    color: #1E40AF;
}

.icon-container.aramaic {
    background-color: #F5F3FF;
    color: #5B21B6;
}

/* Estilos mejorados para el loader más pequeño */
.small-loader {
    border: 2px solid rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    border-top: 2px solid #3b82f6;
    width: 24px;
    height: 24px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

/* Estilos para tarjetas interactivas */
.feature-card {
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #E5E7EB;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: #BFDBFE;
}

.feature-card:hover i {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

/* Estilos para popups y modales */
.modal-container {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-container.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    max-width: 32rem;
    width: 90%;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-container.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #E5E7EB;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    color: #6B7280;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #1F2937;
}

/* Estilos para paginación con animación */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    height: 2rem;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    background-color: white;
    color: #4B5563;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #E5E7EB;
}

.page-btn:hover {
    background-color: #F3F4F6;
    border-color: #D1D5DB;
}

.page-btn.active {
    background-color: #3B82F6;
    color: white;
    border-color: #3B82F6;
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilos para efectos de hover en botones */
.btn-hover-effect {
    position: relative;
    overflow: hidden;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.btn-hover-effect:hover::after {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 1;
}

/* Estilos para notificaciones toast */
.toast-notification {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    background-color: white;
    color: #1F2937;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    z-index: 50;
    max-width: 24rem;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-notification.success {
    border-left: 4px solid #10B981;
}

.toast-notification.error {
    border-left: 4px solid #EF4444;
}

.toast-notification.info {
    border-left: 4px solid #3B82F6;
}

.toast-notification.warning {
    border-left: 4px solid #F59E0B;
}

/* Estilos para tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1F2937;
    color: white;
    text-align: center;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}

.tooltip .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #1F2937 transparent transparent transparent;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Estilos para acordeón */
.accordion {
    border: 1px solid #E5E7EB;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.accordion-header {
    padding: 1rem;
    background-color: #F9FAFB;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.accordion-header:hover {
    background-color: #F3F4F6;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

.accordion-content.active {
    max-height: 500px;
    padding: 1rem;
    border-top: 1px solid #E5E7EB;
}

.accordion-icon {
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

/* Estilos para tarjetas con efecto flotante */
.floating-card {
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Animación de pulso para atención */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

/* Sombras personalizadas más suaves */
.shadow-soft {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

.shadow-soft-hover:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.07), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Mejoras visuales para versículos destacados */
.highlight-verse {
    background-color: rgba(219, 234, 254, 0.3);
    border-radius: 0.25rem;
    padding: 0.5rem;
    border-left: 3px solid #3B82F6;
    transition: background-color 0.3s ease;
}

.highlight-verse:hover {
    background-color: rgba(219, 234, 254, 0.5);
}

/* Barra de progreso personalizada */
.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #E5E7EB;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-value {
    height: 100%;
    border-radius: 9999px;
    background-color: #3B82F6;
    transition: width 0.5s ease;
}

/* Estilos para modo oscuro */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #111827;
        color: #F9FAFB;
    }
    
    .bg-white {
        background-color: #1F2937;
    }
    
    .bg-gray-50 {
        background-color: #111827;
    }
    
    .bg-gray-100 {
        background-color: #1F2937;
    }
    
    .text-gray-900 {
        color: #F9FAFB;
    }
    
    .text-gray-800 {
        color: #F3F4F6;
    }
    
    .text-gray-700 {
        color: #E5E7EB;
    }
    
    .text-gray-600 {
        color: #D1D5DB;
    }
    
    .border-gray-200 {
        border-color: #374151;
    }
    
    .border-gray-300 {
        border-color: #4B5563;
    }
    
    input, select, textarea {
        background-color: #374151;
        color: #F9FAFB;
        border-color: #4B5563;
    }
    
    input:focus, select:focus, textarea:focus {
        border-color: #60A5FA;
        box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
    }
    
    .modal-content, .toast-notification {
        background-color: #1F2937;
        color: #F9FAFB;
    }
    
    .accordion-header {
        background-color: #374151;
    }
    
    .accordion-header:hover {
        background-color: #4B5563;
    }
    
    .accordion-content.active {
        border-top-color: #4B5563;
    }
}