/* Estilo general del body */
body {
    background: linear-gradient(to right, #f5f7fa, #c3cfe2);
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Imagen de fondo desenfocada */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('../img/fondo.jpg') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    z-index: -1;
    transform: scale(1.1);
}

/* Contenedor estilo glassmorphism */
.glass-container {
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/* Encabezado */
h1 {
    text-align: center;
    margin-top: 20px;
    color: #e7e7e7;
}

/* Formulario */
.search-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.search-form input[type="text"],
.search-form select {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 200px;
}

.search-form button {
    width: 95%;
    margin-left: 25px;
    background-color: #4CAF50;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s ease;
    transform: scale(1);
}

.search-form button:hover {
    background-color: #45a049;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Tabla */
table {
    width: 100%;
    margin: 0 auto 20px auto;
    border-collapse: collapse;
    font-size: 1em;
}

th,
td {
    padding: 10px;
    border: 1px solid #09a3eb;
    text-align: left;
}

th {
    background-color: #a0b5dd;
}

tr:nth-child(even) {
    background-color: #95ebf1;
}

tr:hover {
    background-color: #033c41;
    color: #ddd;
}

/* Botón eliminar */
.delete-button {
    background-color: #f44336;
    color: white;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.95em;
    transition: all 0.3s ease;
    transform: scale(1);
}

.delete-button:hover {
    background-color: #d32f2f;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Paginación */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    border: 1px solid #ccc;
    border-radius: 5px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    transform: scale(1);
}

.pagination a:hover {
    background-color: rgb(10, 114, 250);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pagination .active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.pagination .disabled {
    color: #aaa;
    border-color: #ddd;
    pointer-events: none;
    opacity: 0.5;
}

/* Mensajes */
.mensaje-exito {
    background-color: #dff0d8;
    color: #3c763d;
    padding: 12px;
    border-left: 5px solid #3c763d;
    margin-bottom: 15px;
    border-radius: 5px;
}

.mensaje-error {
    background-color: #f2dede;
    color: #a94442;
    padding: 12px;
    border-left: 5px solid #a94442;
    margin-bottom: 15px;
    border-radius: 5px;
}