/* =========================
   WRAPPER
========================= */

.dp-wrapper {
    margin: 40px 0;
}

/* =========================
   FILTROS
========================= */

.dp-filtros {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 40px;
}

.dp-filter {
    background: #fff;
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
}

.dp-filter label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 13px;
}

.dp-filter select {
    width: 100%;
}

/* =========================
   RESULTADOS
========================= */


.dp-results {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Card compacta */
.dp-card {
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    transition: 0.2s ease;
}

.dp-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* FOTO MÁS CHICA */
.dp-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 10px;
    display: block;
}

.dp-card h3 {
    font-size: 14px;
    margin: 5px 0;
}

.dp-card p {
    font-size: 12px;
    margin: 0;
}

/* =========================
   SELECT2 AJUSTES
========================= */

.select2-container {
    width: 100% !important;
}

.select2-selection {
    min-height: 38px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
}

/* =========================
   CONTENEDOR DE FILTROS
========================= */

.dp-filtros-container {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 40px;
}

/* Título opcional */
.dp-filtros-container::before {
    content: "Filtros";
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
    color: #111827;
}

/* Opcional: sombra leve */
.dp-filtros-container {
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* =========================
   TABLET
========================= */

@media (max-width: 1024px) {

    .dp-filtros {
        grid-template-columns: repeat(2, 1fr);
    }

    .dp-results {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {

    .dp-filtros {
        grid-template-columns: repeat(2, 1fr);
    }

    .dp-results {
        grid-template-columns: 1fr;
    }
}