.prestaciones-buscador {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prestaciones-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.prestaciones-form .form-group {
    margin: 0;
}

.prestaciones-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.prestaciones-form input[type="text"],
.prestaciones-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.prestaciones-form button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.prestaciones-form button:hover {
    background: #005177;
}

.prestaciones-resultados {
    margin-top: 20px;
    overflow-x: auto;
}

.prestaciones-tabla {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    font-size: 14px;
}

.prestaciones-tabla th,
.prestaciones-tabla td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.prestaciones-tabla th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    position: sticky;
    top: 0;
    z-index: 1;
}

.prestaciones-tabla tr:hover {
    background: #f8f9fa;
}

.prestaciones-tabla td {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.prestaciones-tabla td:hover {
    white-space: normal;
    overflow: visible;
    position: relative;
    z-index: 2;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.prestaciones-paginacion {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
}

.prestaciones-paginacion a {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background: white;
    font-size: 14px;
    min-width: 32px;
    text-align: center;
}

.prestaciones-paginacion a:hover {
    background: #f8f9fa;
}

.prestaciones-paginacion a.current-page {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.prestaciones-sin-resultados {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
    font-size: 16px;
}

@media screen and (max-width: 768px) {
    .prestaciones-form {
        grid-template-columns: 1fr;
    }

    .prestaciones-tabla {
        font-size: 13px;
    }

    .prestaciones-tabla th,
    .prestaciones-tabla td {
        padding: 8px;
    }
} 