/* ============================================
   ASOCIADOS - ESTILOS SOBRIOS Y ELEGANTES
   ============================================ */

/* SECCIÓN PRINCIPAL */
.asociados_area {
    background: #f8f9fa;
}

/* ⭐ FILTROS SOBRIOS */
.filtros-categorias {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 20px;
    background: white;
    border-radius: 50px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.filtro-item {
    padding: 10px 24px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
}

.filtro-item:hover {
    color: #2c3e50;
    background: #f5f5f5;
}

.filtro-item.active {
    color: white;
    background: #2c3e50;
    font-weight: 600;
}

/* CONTADOR DE RESULTADOS SOBRIO */
.resultados-info {
    text-align: center;
    padding: 15px;
    color: #666;
    font-size: 15px;
}

.resultados-count {
    font-weight: 700;
    color: #2c3e50;
    font-size: 16px;
}

.resultados-categoria {
    color: #666;
    font-weight: 400;
}

/* CARD DE ASOCIADO */
.asociado-card-link {
    text-decoration: none;
    display: block;
}

.asociado-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.asociado-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* IMAGEN / LOGO */
.asociado-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.asociado-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.asociado-card:hover .asociado-image img {
    transform: scale(1.08);
}

/* PLACEHOLDER */
.asociado-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.asociado-placeholder i {
    font-size: 50px;
    color: white;
    opacity: 0.7;
}

/* ⭐ BADGES SOBRIOS */
.asociado-badges {
    display: flex;
    gap: 8px;
    padding: 15px 20px 0 20px;
    flex-wrap: wrap;
    align-items: center;
}

/* Badge de categoría */
.badge-categoria {
    color: white !important;
    padding: 5px 14px;
    border-radius: 20px;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: opacity 0.3s ease;
    letter-spacing: 0.3px;
}

.badge-categoria:hover {
    opacity: 0.85;
}

/* Badge destacado minimalista */
.badge-destacado {
    color: #ffc107;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
}

.badge-destacado i {
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.8; }
}

/* CONTENIDO */
.asociado-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* NOMBRE */
.asociado-nombre {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.asociado-card:hover .asociado-nombre {
    color: #667eea;
}

/* DESCRIPCIÓN */
.asociado-descripcion {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    flex: 1;
}

.asociado-descripcion p {
    margin: 0;
}

/* ⭐ INFORMACIÓN COMPACTA */
.asociado-info-compacta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.info-compact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
}

.info-compact-item i {
    color: #2c3e50;
    font-size: 14px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.info-compact-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* EMPTY STATE */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.empty-icon {
    font-size: 70px;
    color: #ddd;
    margin-bottom: 20px;
}

.empty-state h3 {
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 22px;
    font-weight: 600;
}

.empty-state p {
    color: #666;
    font-size: 15px;
    margin-bottom: 25px;
}

.btn-volver {
    display: inline-block;
    padding: 12px 30px;
    background: #2c3e50;
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 14px;
}

.btn-volver:hover {
    background: #1a252f;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
}

/* PAGINACIÓN SOBRIA */
.paginations {
    margin-top: 40px;
}

.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-numbers li {
    margin: 0;
}

.page-numbers a,
.page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: white;
    color: #666;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-size: 14px;
}

.page-numbers a:hover,
.page-numbers .current {
    background: #2c3e50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 62, 80, 0.2);
}

.page-numbers .dots {
    background: transparent;
    box-shadow: none;
    cursor: default;
    font-weight: 700;
}

.page-numbers .prev i,
.page-numbers .next i {
    font-size: 12px;
}

/* ANIMACIÓN */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .filtros-categorias {
        flex-direction: column;
        border-radius: 12px;
        gap: 5px;
        padding: 15px;
    }
    
    .filtro-item {
        width: 100%;
        text-align: center;
    }
    
    .asociado-badges {
        padding: 12px 15px 0 15px;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .page-numbers a,
    .page-numbers span {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .asociado-nombre {
        font-size: 17px;
    }
    
    .asociado-descripcion {
        font-size: 13px;
    }
    
    .info-compact-item {
        font-size: 12px;
    }
}