html[data-bs-theme="light"] body {
    background-color: #ddd !important;
}

html[data-bs-theme="dark"] body {
    background: linear-gradient(
        90deg,
        rgb(39 48 59) 0%,
        rgba(38, 43, 49, 1) 100%
    );
}

#darkBg {
    height: 100vh;
    width: 100%;
    position: fixed;
    background: #060606da;
    z-index: -1;
    display: none;
}

html[data-bs-theme="dark"] #darkBg {
    display: block;
}

html[data-bs-theme="dark"] main.form-signin {
    border: 1px solid #012544 !important;
}

.bg-warning-variant {
    background-color: #d75700 !important;
}

html[data-bs-theme="light"] .logo-light {
  display: block !important;
}

html[data-bs-theme="light"] .logo-dark {
  display: none !important;
}

html[data-bs-theme="dark"] .logo-light {
  display: none !important;
}

html[data-bs-theme="dark"] .logo-dark {
  display: block !important;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

@media (min-width: 768px) {
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}

.bi {
    vertical-align: -0.125em;
    fill: currentColor;
}

.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

#alertPlaceholder {
    position: fixed;
    right: 25px;
    top: 18px;
    z-index: 1060;
}

#alertPlaceholder #alert {
    right: 10px;
}

#alertPlaceholder #alert .btn-close {
    position: absolute;
    top: 28px;
    right: 12px;
}

.fade-slow {
    transition: opacity 0.5s linear;
}

.fade-slow:not(.show) {
    opacity: 0;
}

#spinner-wrapper {
    position: fixed;
    top: 0;
    height: 100vh;
    background-color: rgba(207, 233, 255, 0.8);
    z-index: 1060;
}

#spinner-wrapper .spinner-border {
    width: 3rem;
    height: 3rem;
    font-size: 20px;
}

.details {
    overflow: hidden;
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
}

.details.show {
    max-height: 1000px; /* Puedes ajustar este valor según sea necesario */
    opacity: 1;
    transition: max-height 0.3s ease-in, opacity 0.3s ease-in;
}

tr.bg-custom {
    background-color: #f0f0f0 !important;
}

.table-spinner-wrapper {
    position: relative;
}

.table-spinner-wrapper .spinner-table {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    height: 100%;
    background: #ffffffa3;
}

.hoverableDiv:hover {
    background-color: rgba(65, 69, 73, 0.25);
    cursor: pointer;
}

.collapse-row.collapsed + tr {
    display: none;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 50;
    border-radius: 1rem;
    font-size: 40px;
}

.overlay.dark {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

.position-relative {
    position: relative !important;
}

.use-bootstrap-select button div.d-flex {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.use-bootstrap-select .dropdown-menu {
    overflow-y: auto !important;
}

.form-floating .use-bootstrap-select div.d-flex {
    margin-top: 1.18rem;
}

div.input-group.has-floating button {
    height: 58px;
}

.form-floating label {
    width: 100% !important;
}

div.dt-container div.dt-paging ul.pagination {
    justify-content: end;
}

@page {
    size: A4;
    margin: 0.2cm;
}

@media print {
    body {
        font-size: 11pt !important;
    }

    .table-responsive {
        overflow: hidden !important;
    }

    .no-print {
        display: none !important;
    }

    .print-only {
        display: block !important;
    }
}
