/* ============================= */
/* TIPOGRAFIA
/* ============================= */
body {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;

    /* 🔥 FONDO */
    background: url('../img/fondo-azul.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* 🔥 CAPA OSCURA GLOBAL */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: -1;
}

/* ============================= */
/* TITULOS */
/* ============================= */
h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

h1 {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ============================= */
/* HEADER LOGOS */
/* ============================= */
.header-logos {
    background: transparent;
    padding: 40px 0;
    text-align: center;
}

.header-logos img {
    max-height: 180px;
    object-fit: contain;
}

/* ============================= */
/* CONTENEDOR */
/* ============================= */
.container {
    max-width: 900px;
    margin: 30px auto;
    position: relative;
    z-index: 1;
}

/* ============================= */
/* BUSCADOR */
/* ============================= */
.search-box {
    display: flex;
    gap: 10px;
}

input, select {
    padding: 10px;
    font-size: 14px;
}

input[type="text"] {
    flex: 1;
}

/* ============================= */
/* BOTONES */
/* ============================= */
button {
    background: #3498db;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.2s ease;
    font-weight: 500;
}

button:hover {
    opacity: 0.9;
}

#btnLimpiar {
    background: #95a5a6;
}

#btnExportar {
    background: #27ae60;
}

/* ============================= */
/* RESULTADOS */
/* ============================= */
.result {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    margin-top: 15px;
    border-radius: 6px;
    backdrop-filter: blur(3px);
}

.result h3 {
    margin: 0 0 10px 0;
    font-weight: 600;
}

.meta {
    font-size: 13px;
    color: #555;
}

a {
    color: #2980b9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ============================= */
/* PAGINAS */
/* ============================= */
.paginacion {
    margin-top: 20px;
    text-align: center;
    color: #FFFFFF;
}

.paginacion button {
    margin: 0 5px;
    padding: 8px 12px;
}

/* ============================= */
/* 📢 INFO RESULTADOS */
/* ============================= */
#infoResultados {
    margin: 15px 0;
    font-size: 14px;
    color: #ffffff;
}

/* ============================= */
/* 🔍 AUTOCOMPLETE */
/* ============================= */
.sugerencias {
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    width: 300px;
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}

.sugerencia-item {
    padding: 10px;
    cursor: pointer;
}

.sugerencia-item:hover {
    background: #f0f0f0;
}

/* ============================= */
/* 🧾 TARJETAS (BOOTSTRAP) */
/* ============================= */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: none;
}

.cardb {
    background: transparent;
}

/* ============================= */
/* 🧾 TEXTO INTRO */
/* ============================= */
.texto-intro {
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 500px;
    margin-left: auto;
    text-align: right;
    color: #ffffff;
    font-weight: 300;
}

/* ============================= */
/* 📱 RESPONSIVE */
/* ============================= */
@media (max-width: 768px) {
    .texto-intro {
        text-align: center;
        margin: 0 auto;
    }

    .header-logos img {
        max-height: 100px;
    }
}
