/* Estilos para filtros de administración del plugin Mentory */

.mentory-filters {
    background: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mentory-filters h3 {
    margin-top: 0;
    color: #23282d;
    font-size: 16px;
    font-weight: 600;
}

.filter-row {
    display: flex;
    gap: 15px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
    font-size: 13px;
}

.filter-group input,
.filter-group select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 13px;
    transition: border-color 0.2s ease;
}

.filter-group input:focus,
.filter-group select:focus {
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
    outline: none;
}

.filter-group input[type="text"] {
    width: 250px;
}

.filter-group select {
    width: 200px;
    background: white;
}

.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.filter-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 16px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.filter-actions .button-primary {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

.filter-actions .button-primary:hover {
    background: #005a87;
    border-color: #005a87;
}

.filter-actions .button:not(.button-primary) {
    background: white;
    border: 1px solid #ddd;
    color: #555;
}

.filter-actions .button:not(.button-primary):hover {
    background: #f7f7f7;
    border-color: #999;
}

.filter-results {
    margin-top: 15px;
    padding: 12px 15px;
    background: #e7f3ff;
    border-left: 4px solid #0073aa;
    border-radius: 3px;
    font-size: 13px;
    color: #555;
}

.filter-results strong {
    color: #23282d;
}


/* Responsive design para pantallas pequeñas */

@media (max-width: 768px) {
    .filter-row {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        min-width: auto;
        width: 100%;
    }
    .filter-group input[type="text"],
    .filter-group select {
        width: 100%;
    }
    .filter-actions {
        justify-content: center;
        margin-top: 10px;
    }
}


/* Estilos para la tabla de resultados */

.wp-list-table {
    margin-top: 20px;
}

.wp-list-table th {
    background: #f1f1f1;
    font-weight: 600;
    color: #23282d;
}

.wp-list-table td {
    vertical-align: middle;
}


/* Mejoras visuales para los enlaces de acciones */

.wp-list-table .row-actions {
    color: #0073aa;
}

.wp-list-table .row-actions a {
    color: #0073aa;
    text-decoration: none;
}

.wp-list-table .row-actions a:hover {
    color: #005a87;
    text-decoration: underline;
}


/* Animación para el botón de filtro */

.filter-actions .button {
    position: relative;
    overflow: hidden;
}

.filter-actions .button:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.filter-actions .button:active:before {
    width: 300px;
    height: 300px;
}