/* === Estilos principales de la Biblia App === */

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    margin: 0;
    padding: 0;
    background-color: #F5E6CC; /* 🎨 Fondo beige cálido */
    color: #160D50;           /* Azul profundo para contraste */
    line-height: 1.6;
}

/* Contenedor principal */
.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Títulos */
h1, h2, h3, h4 {
    color: #160D50;
    text-align: center;
}

/* Barra superior: controles */
.controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* Selects e inputs */
select, input[type="text"] {
    padding: 10px;
    border-radius: 5px;
    border: 2px solid #160D50;
    font-size: 1em;
    background: #fff;
    color: #160D50;
}

/* Botones */
button {
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
}

#buscar-btn {
    background-color: #E1B12C; /* dorado elegante */
    color: #160D50;
}

#limpiar-btn {
    background-color: #C23616; /* rojo profundo */
    color: #fff;
}

/* Área de resultados */
#results {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.6);
    border-radius: 10px;
    min-height: 300px;
    border: 1px solid #160D50;
}

/* Versículos */
.verse-container {
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255,255,255,0.9);
    border-left: 4px solid #E1B12C; /* dorado como detalle */
    border-radius: 5px;
}

.verse-text {
    font-size: 1.1em;
}

.verse-reference {
    font-size: 0.9em;
    color: #444;
    margin-top: 5px;
    font-style: italic;
}

/* Mensajes */
.no-results, .welcome-message, .result-header {
    text-align: center;
    margin-bottom: 15px;
}

/* Loading */
.loading {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Ejemplos en bienvenida */
.examples {
    margin-top: 15px;
    text-align: left;
}

/* Resaltado de palabra buscada */
mark {
    background-color: #FFF59D; /* amarillo suave */
    padding: 2px 4px;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 600px) {
    .controls {
        flex-direction: column;
    }
}