/* Estilos para el modal grande */
.modal-dialog.modal-xl-custom {
    max-width: 90% !important;
    width: 90% !important;
    margin: 1.75rem auto;
}

.modal {
    position: fixed !important; /* Cambiado de absolute a fixed */
    overflow-y: auto !important;
}

.modal-content {
    width: 100% !important;
    height: auto !important;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(100vh - 120px); /* Ajuste para evitar desbordamiento */
}

.modal-xl-custom {
    max-width: 95%;
  }
  
  .modal-body-custom {
    max-height: 85vh;
    overflow-y: auto;
    padding: 15px;
  }

/* Ajustes para la tabla dentro del modal */
.modal-table {
    width: 100% !important;
    margin-bottom: 1rem;
}

.modal-table th {
    position: sticky; /* Mantener el encabezado fijo */
    top: 0;
    z-index: 1;
    background-color: #343a40;
}

.modal-table td {
    font-size: 13px;
    padding: 10px;
    vertical-align: middle;
}

/* Estilos para badges en el modal */
.modal-badge {
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    min-width: 100px;
}

.modal-badge.badge-success {
    background-color: #28a745;
    color: white;
}

.modal-badge.badge-warning {
    background-color: #ffc107;
    color: black;
}

.modal-badge.badge-danger {
    background-color: #dc3545;
    color: white;
}



