/* Estilos generales */
.suky-consulta-container {
    font-family: Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.suky-consulta-container h2 {
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Formularios y filtros */
.form-group {
    margin-bottom: 20px;
}

.filtros-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filtro-item {
    display: flex;
    flex-direction: column;
}

.filtro-item label {
    margin-bottom: 5px;
    font-weight: bold;
}

.filtro-item input, .filtro-item select {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.button {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.button:hover {
    background: #005177;
}

/* Resultados */
.resultados-container {
    margin-top: 20px;
}

.wp-list-table {
    width: 100%;
    border-collapse: collapse;
}

.wp-list-table th {
    background: #f1f1f1;
    text-align: left;
    padding: 10px;
}

.wp-list-table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.wp-list-table tr:nth-child(even) {
    background: #f9f9f9;
}

/* Gráficas */
.graficas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.grafica-item {
    background: #fff;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
}

/* Estilos para el modal de detalles */
.suky-modal {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
}

.suky-modal .modal-content {
    background: white;
    padding: 20px;
    border-radius: 5px;
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    width: 800px;
}

.suky-modal .modal-close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.suky-modal .modal-close:hover {
    color: #000;
}

/* Estilos para las secciones de detalles */
.detalles-completos .seccion-info {
    margin-bottom: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 5px;
    border-left: 4px solid #0073aa;
}

.detalles-completos .seccion-info h4 {
    margin-top: 0;
    color: #0073aa;
}

.detalles-completos .seccion-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.detalles-completos .seccion-info li {
    margin-bottom: 8px;
}

.detalles-completos .seccion-info li strong {
    display: inline-block;
    width: 120px;
}

.detalles-completos .seccion-scoring {
    margin-top: 20px;
}

.detalles-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.detalles-table th, .detalles-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
}

.detalles-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Botón ver detalles */
.ver-detalles {
    background: #0073aa;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.3s;
}

.ver-detalles:hover {
    background: #005177;
}

.ver-detalles i {
    margin-right: 5px;
}