.background-div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: radial-gradient(circle at top center, var(--primary), black);
    /* Color y transparencia */
    z-index: -1;
    /* Para que esté detrás de todo el contenido */
    border-bottom-left-radius: 1.5rem;
    border-bottom-right-radius: 1.5rem;
    justify-content: center !important;
    text-align: center !important;
}

.background-title {
    position: relative;
    top: 90px;
}

/* Fondo de carga */
#loading {
    position: fixed;
    inset: 0; /* top:0; right:0; bottom:0; left:0; */
    background: linear-gradient(to right, var(--primary), var(--primary-hover));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenedor del logo y spinner */
.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem; /* espacio entre logo y spinner */
}

/* Logo */
.loading-image {
    width: 20vw;
    max-width: 200px; /* tamaño máximo en pantallas grandes */
    height: auto;
}

/* Spinner */
.spinnerIni {
    border: 12px solid rgba(255, 255, 255, 0.2);
    border-top: 12px solid #fff; /* puedes cambiar a var(--primary-hover) */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Oculta el contenido mientras se muestra el loading */
#content {
    display: none;
}

.modal-open .container-fluid,
.modal-open .container {
  -webkit-filter: blur(2px);
  -moz-filter: blur(2px);
  -o-filter: blur(2px);
  -ms-filter: blur(2px);
  filter: blur(2px);
}

/* Round Corner for TOP LEFT COLUMN */

table thead tr:first-child  th:first-child
{
    border-top-left-radius: 15px;
}

/* Round Corner for TOP RIGHT COLUMN */

table thead tr:first-child  th:last-child
{
    border-top-right-radius: 15px;
}

/* Round Corner for BOTTOM LEFT COLUMN */

table tbody tr:last-child td:first-child
{
    border-bottom-left-radius: 15px;
}

/* Round Corner for BOTTOM RIGHT COLUMN */

table tbody tr:last-child td:last-child
{
    border-bottom-right-radius: 15px;
}

@keyframes ring {
  0% { transform: rotate(0); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(-10deg); }
  30% { transform: rotate(5deg); }
  40% { transform: rotate(-5deg); }
  50% { transform: rotate(3deg); }
  60% { transform: rotate(-2deg); }
  100% { transform: rotate(0); }
}

.bell-ring {
  animation: ring 0.8s ease-in-out;
}

.list-group-flush::-webkit-scrollbar {
  width: 6px;
}
.list-group-flush::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}