/* Estilo base para la tabla */
.table-glass {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: all 0.3s ease;
}

/* Encabezados */
.table-glass thead th {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
}

/* Primera esquina redondeada en el encabezado */
.table-glass thead th:first-child {
    border-top-left-radius: 15px;
}

/* Última esquina redondeada en el encabezado */
.table-glass thead th:last-child {
    border-top-right-radius: 15px;
}

/* Celdas */
.table-glass tbody td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.3s ease;
}

/* Filas alternas (opcional) */
.table-glass tbody tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.1);
}

/* Efecto hover */
.table-glass tbody tr:hover td {
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

/* Última fila sin borde */
.table-glass tbody tr:last-child td {
    border-bottom: none;
}

/* Esquinas redondeadas en la última fila */
.table-glass tbody tr:last-child td:first-child {
    border-bottom-left-radius: 15px;
}

.table-glass tbody tr:last-child td:last-child {
    border-bottom-right-radius: 15px;
}

/* Botones dentro de la tabla */
.table-glass .btn {
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transition: all 0.3s;
}

.table-glass .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* Pie de tabla */
.table-glass tfoot td {
    background: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    color: #fff;
    padding: 15px;
}