.highcharts-datagrid-credits-container,
.highcharts-credits {
    display: none !important;
}

.swal2-popup.swal-wide {
    max-width: 90vw !important;
    min-width: 800px !important;
    width: auto !important;
}

.swal-wide-content {
    text-align: left;
    font-size: 1rem;
    max-height: 400px;
    overflow-y: auto;
}

.modal-full-width {
    width: 98%;
    max-width: none;
}

@media (min-width: 700px) {
    .modal-xxl {
        --ct-modal-width: 90vw !important;
    }
}


.title-menu {
    font-weight: 700;
    font-family: system-ui, monospace, sans-serif;
    font-size: 1rem;
}

.fs-5-5 {
    font-size: .85rem !important;
}

.fs-badge {
    font-size: 0.9rem !important;
}

.text-uc {
    text-transform: uppercase;
}

/* Íconos */
.bi::before {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}

.mdi-18px.mdi-set,
.mdi-18px.mdi:before {
    font-size: 18px;
}

.mdi-60px.mdi-set,
.mdi-60px.mdi:before {
    font-size: 60px;
}

.mdi-120px.mdi-set,
.mdi-120px.mdi:before {
    font-size: 120px;
}

.i-24px::before {
    font-size: 24px;
}

.i-36px::before {
    font-size: 36px;
}

.i-warning:hover {
    color: #FFBC00 !important;
    font-weight: 700;
}


.w-100 {
    width: 100% !important;
}

.w-max {
    width: max-content;
}

.start-90 {
    left: 90% !important;
}

.has-shadow {
    box-shadow: 3px 3px 5px 2px rgba(0, 0, 0, 0.2);
}

.no-select {
    user-select: none;
}

.items-center {
    display: flex;
    align-items: center;
}

.fill-label {
    min-inline-size: -webkit-fill-available;
    min-height: -webkit-fill-available;
}

.🎯 {
    display: flex;
    justify-content: center;
    align-items: center;
}

.bg-info-custom {
    background-color: #86D2E8;
}

.bg-orange {
    background-color: #ff6f00c9;
}

.text-white {
    color: #E4E6EB;
}

.text-black {
    color: rgb(55, 55, 55) !important;
}


.badge,
.cursor-default {
    cursor: default !important;
}

.cursor-pointer,
.form-check-label,
input.form-check-input {
    cursor: pointer;
}

.cursor-help {
    cursor: help !important;
}

.cursor-not-allowed,
input:disabled {
    cursor: not-allowed !important;
}

.cursor-no-events {
    pointer-events: none !important;
}

.btn:disabled,
input[type="checkbox"]:disabled {
    pointer-events: auto;
    opacity: .65;
    cursor: not-allowed !important;
}

.hoverable-row:hover {
    background-color: var(--ct-secondary-bg-subtle);
    cursor: pointer !important;
}


.user-img {
    height: 40px;
    width: 40px;
}

.btn-evento-nav {
    color: #fff;
    background-color: #F6CA45;
    border-color: #f4bc14;
}

.btn-evento-nav:hover {
    color: #fff;
    background-color: #e3ae0b;
}

.pvhtml>p {
    margin-bottom: 0px !important;
}

.pvhtml2>p {
    margin-bottom: 0.5rem !important;
}

.pvhtml>table>tbody tr:first-child {
    background-color: #f1f3f5;
    font-weight: 700;
}

.pvhtml>table>tbody>tr>td>p {
    margin-bottom: 0px;
}

html[data-sidenav-size="condensed"] .wrapper .condensed-logo {
    width: 15px !important;
    height: 15px !important;
    transition: all .25s ease-in-out;
}

html:not([data-layout=topnav]) .custom-logo-topbar,
html:not([data-layout=topnav]) .logo-title,
html:not([data-layout=topnav]) .navbar-toggle {
    display: none !important;
}

.dark-tooltip .tooltip-inner {
    background-color: rgba(0, 0, 0, 0.7) !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.dark-tooltip .tooltip-arrow::before {
    border-top-color: rgba(0, 0, 0, 0.7) !important;
}

@media (min-width: 768px) {
    .custom-logo-topbar .logo-title {
        display: block !important;
    }
}

.btn-blue {
    background-color: var(--ct-blue);
    border-color: var(--ct-blue);
    color: #fff !important;
}

.btn-blue:hover {
    background-color: #2e6fb4;
    border-color: #2e6fb4;
}

.btn-blue:disabled,
.btn-blue.disabled {
    background-color: var(--ct-blue) !important;
    border-color: var(--ct-blue) !important;
    opacity: 0.45;
    color: #fff !important;
    pointer-events: auto !important;
    cursor: not-allowed !important;
}

.bd-callout {
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: .25rem solid var(--bd-callout-border, var(--bs-gray-300));
}

.bd-callout-info {
    --bd-callout-color: var(--bs-info-text-emphasis);
    --bd-callout-bg: var(--bs-info-bg-subtle);
    --bd-callout-border: var(--bs-info-border-subtle);
}

.bd-callout-warning {
    --bd-callout-color: var(--bs-warning-text-emphasis);
    --bd-callout-bg: var(--bs-warning-bg-subtle);
    --bd-callout-border: var(--bs-warning-border-subtle);
}

.bd-callout-danger {
    --bd-callout-color: var(--bs-danger-text-emphasis);
    --bd-callout-bg: var(--bs-danger-bg-subtle);
    --bd-callout-border: var(--bs-danger-border-subtle);
}

/* Light theme */
/* :root, */
html[data-bs-theme="light"] {
    --bd-callout-link: 10, 88, 202;
    --bd-callout-code-color: #ab296a;
    --bs-info-text-emphasis: #055160;
    --bs-info-bg-subtle: #cff4fc;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-text-emphasis: #664d03;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-text-emphasis: #58151c;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-danger-border-subtle: #f1aeb5;

    .pinned-note {
        background-color: #FFF6C8;
        color: #000;
    }

    .go-to-item-lightm:hover {
        color: #727CF5 !important;
        font-weight: 600;
        cursor: pointer;
    }

    .input-disabled-lightm {
        -webkit-text-fill-color: #6c757d;
        font-weight: 600;
    }

    .m-lb-filter-eventos-lm {
        background-color: #E7F3FF;
        color: #1877F2;
    }

    .lb-filter-eventos-lm {
        background-color: #D6F1EA;
        color: #005544;
    }


}

/* Dark theme */
html[data-bs-theme="dark"] {
    --bd-callout-link: 110, 168, 254;
    --bd-callout-code-color: #e685b5;
    --bs-info-text-emphasis: #6edff6;
    --bs-info-bg-subtle: #032830;
    --bs-info-border-subtle: #087990;
    --bs-warning-text-emphasis: #ffda6a;
    --bs-warning-bg-subtle: #332701;
    --bs-warning-border-subtle: #997404;
    --bs-danger-text-emphasis: #ea868f;
    --bs-danger-bg-subtle: #2c0b0e;
    --bs-danger-border-subtle: #842029;

    .pinned-note {
        background-color: #55534C;
        color: #AAB8C5;
        border: 1px solid #AAB8C5 !important;
    }

    .swal2-popup {
        background-color: #37404A !important;
    }

    input:disabled {
        background-color: #2d2f36 !important;
        border: 1px solid #3e4149 !important;
    }

    .modal-backdrop {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

    .go-to-item-darkm:hover {
        color: #FFBC00 !important;
        font-weight: 600;
        cursor: pointer;
    }

    .input-disabled-darkm {
        -webkit-text-fill-color: #E7E9EA;
        font-weight: 600;
    }

    .m-lb-filter-eventos-dm {
        background-color: #263951;
        color: #2D88FF;
    }

    .lb-filter-eventos-dm {
        background-color: #305A55;
        color: #5FDAC3;
    }
}