@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

:root {
    /* Base Colors */
    --black-color: #242424;
    --gray-color: #676767;
    --white-color: #ebebeb;
    --white-intense: #ffffff;
    --blue-color: #1A73E8;
    /* Black Color Variations */
    --black-color-light: #2e2e2e;
    /* Gray Color Variations */
    --gray-color-light: #a0a0a0;
    --gray-color-dark: #4a4a4a;
    /* Blue Color Variations */
    --blue-color-light: #4c8ff0;
    --blue-color-dark: #1557b0;
    --red-color: #d81313ff;
    --red-color-dark: #690c0cff;
    --red-color-light: #ff8a8aff;
    --gml-green: #005134;
    --gml-gold: #deb406;
    --gml-gray: #f5f5f5;
    --gml-green-light: #007a3d;
    --gml-green-lighter: #4ce57d;
    --gml-green-lightest: #c6f7d9;
    --gml-green-dark: #003820;
    --gml-green-shadow: rgba(0, 82, 53, 0.25);
    --gml-gold-light: #f8d40a;
    --gml-gold-dark: #a88704;
    --gml-gold-shadow: rgba(191, 160, 106, 0.25);
}

.btn-redirect-go-back {}
.block-ui-on-press {}

* {
    font-family: "Roboto", sans-serif;
}

main.main-content {
    height: 100vh !important;
}

.no-text-selection,
.no-text-selection * {
    -webkit-user-select: none; /* Chrome, Safari */
    -moz-user-select: none;    /* Firefox */
    -ms-user-select: none;     /* IE/Edge */
    user-select: none;         /* Estándar */
}

/* Select2 múltiple: Cajas a reportar (modal de incidencias) */
#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple {
    min-height: 42px;
    height: auto;
    padding: 6px 36px 6px 10px; /* espacio para la X */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    position: relative;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    padding: 0;
    margin: 0;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-selection__clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    line-height: 1;
    z-index: 5;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-search--inline {
    margin: 0;
    padding: 0;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-search__field {
    height: 32px !important;
    line-height: 32px !important;
    margin-top: 0;
    margin-left: 4px;
    padding: 0 6px !important;
    border: 0;
    outline: 0;
    background: transparent;
    display: block;
    box-sizing: border-box;
}

/* Alinear placeholder del input de b�squeda (evita que quede "cortado") */
#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-search__field::placeholder {
    line-height: 32px !important;
    opacity: 1;
}

/* Ajuste extra: algunos resets aplican padding-top al input de select2 y bajan el placeholder */
#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-search__field {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: middle !important;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin: 0;
}

/* Evitar que la 'x' del chip se encime con el texto */
#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-selection__choice {
    position: relative;
    padding-left: 22px;
    padding-right: 10px;
    line-height: 26px;
}

#modal-report-incident-production .rip-boxes-container .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    line-height: 1;
}

#sidenav-collapse-main .navbar-nav .nav-item .nav-link-text {
    font-weight: 500 !important;
    color: var(--black-color) !important;
    text-wrap: balance !important;
    margin-left: 8px !important;
}

#sidenav-collapse-main .navbar-nav .nav-item i {
    font-size: 1.2rem !important;
    color: var(--black-color) !important;
    opacity: 0.75 !important;
    list-style: none !important;
}

#sidenav-collapse-main .navbar-nav .nav-link.active i {
    color: var(--white-color) !important;
}

#sidenav-collapse-main .navbar-nav .nav-link.active .nav-link-text {
    color: var(--white-color) !important;
}

#sidenav-collapse-main .navbar-nav .nav-section ul {
    list-style-type: none !important;
    padding-left: 10px !important;
}

#sidenav-collapse-main .navbar-nav .nav-section ul .nav-item-section-title {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding-left: -5px !important;
}


.form-check:not(.form-switch) .form-check-input.check-in-row-table[type=checkbox] {
    padding: 18px !important;
    border-radius: 50% !important;
}

.form-check:not(.form-switch) .form-check-input.check-in-row-table[type=checkbox]:after {
    position: relative !important;
    opacity: 1;
    font-size: 15px;
    margin-top: 2px;
}

.form-check:not(.form-switch) .form-check-input.check-in-row-table.form-check-sm[type=checkbox] {
    padding: 12px !important;
}

.form-check:not(.form-switch) .form-check-input.check-in-row-table.form-check-sm[type=checkbox]:after {
    font-size: 13px;
    margin-top: 1px;
}

.form-check:not(.form-switch) .form-check-input.check-in-row-table.form-check-lg[type=checkbox] {
    padding: 24px !important;
}

.form-check:not(.form-switch) .form-check-input.check-in-row-table.form-check-lg[type=checkbox]:after {
    font-size: 25px;
    margin-top: 1px;
}


.custom-loader {
    width: 50px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(farthest-side, var(--gml-green) 94%, #0000) top/8px 8px no-repeat, conic-gradient(#0000 30%, var(--gml-green));
    -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
    animation: l13 1s infinite linear;
}

@keyframes l13 {
    100% {
        transform: rotate(1turn)
    }
}

.blockUI.blockOverlay {
    z-index: 9999 !important;
}

.blockUI.blockMsg.blockPage {
    padding: 8px !important;
    color: var(--gml-green-dark) !important;
    border: none !important;
    border-radius: 15px;
    font-size: 10pt;
    z-index: 9999999 !important;
    top: 50% !important;
    background-color: var(--white-color) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 225px;
}

.blockUI.blockMsg.blockElement {
    position: absolute !important;
    padding: 8px !important;
    color: var(--gml-green-dark) !important;
    border: none !important;
    border-radius: 15px;
    font-size: 10pt;
    z-index: 100 !important;
    top: 50% !important;
    background-color: var(--gray-color-light) !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 200px;
}


.custom-input-file-picker {
    text-align: center !important;
    width: 100%;
}

.custom-input-file-picker input {
    display: none;
}

.custom-input-file-picker label {
    border: 2px dashed var(--gray-color-light);
    border-radius: 10px;
    width: 100%;
    text-align: center !important;
    cursor: pointer;
    padding: 10px 15px;
}

.custom-input-file-picker label:hover {
    border-color: var(--gml-green);
    color: var(--gml-green-dark);
    transition: all .4s;
}

/* Drag and drop uploader component */
.gml-file-dropzone-component {
    width: 100%;
}

.gml-file-dropzone {
    border: 2px dashed var(--gray-color-light);
    border-radius: 14px;
    min-height: 220px;
    padding: 22px 18px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background-color .2s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    outline: none;
}

.gml-file-dropzone:hover,
.gml-file-dropzone:focus {
    border-color: var(--gml-green);
    box-shadow: 0 10px 24px -16px var(--gml-green-shadow);
    transform: translateY(-1px);
}

.gml-file-dropzone.is-drag-over {
    border-color: var(--gml-green);
    background: linear-gradient(180deg, #ffffff 0%, var(--gml-green-lightest) 100%);
    box-shadow: 0 0 0 4px var(--gml-green-shadow);
    animation: gmlDropPulse 1.2s ease-in-out infinite;
}

.gml-file-dropzone__icon {
    color: var(--gml-green);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 10px;
}

.gml-file-dropzone__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gml-green-dark);
}

.gml-file-dropzone__subtitle {
    font-size: .88rem;
    color: var(--gray-color-dark);
}

.gml-file-dropzone__supported {
    font-size: .76rem;
    color: var(--gray-color);
    margin-top: 10px;
}

.gml-file-dropzone__list {
    width: 100%;
    max-height: 180px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 2px;
}

.gml-file-dropzone__empty {
    border: 1px dashed #d8d8d8;
    border-radius: 10px;
    padding: 9px 12px;
    color: var(--gray-color);
    font-size: .83rem;
    background-color: #fafafa;
}

.gml-file-dropzone__item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 8px;
    align-items: center;
    padding: 7px 10px;
    border-radius: 10px;
    border: 1px solid #ececec;
    background-color: #ffffff;
    animation: gmlFileItemIn .22s ease;
}

.gml-file-dropzone__file-name {
    min-width: 0;
    font-size: .84rem;
    color: var(--black-color);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gml-file-dropzone__file-size {
    font-size: .72rem;
    font-weight: 600;
    color: var(--gml-green);
    background-color: var(--gml-green-lightest);
    border-radius: 999px;
    padding: 2px 8px;
}

.gml-file-dropzone__remove {
    margin: 0 !important;
    min-width: 24px;
    min-height: 24px;
    border-radius: 999px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
}

.gml-file-dropzone__remove i {
    font-size: .82rem;
}

@keyframes gmlDropPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 82, 53, 0.28);
    }

    70% {
        box-shadow: 0 0 0 7px rgba(0, 82, 53, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 82, 53, 0);
    }
}

@keyframes gmlFileItemIn {
    from {
        opacity: 0;
        transform: translateY(3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 576px) {
    .gml-file-dropzone {
        min-height: 190px;
        padding: 16px 14px;
    }

    .gml-file-dropzone__item {
        grid-template-columns: 1fr auto;
    }

    .gml-file-dropzone__file-size {
        justify-self: start;
    }

    .gml-file-dropzone__remove {
        justify-self: end;
    }
}


.modal .modal-content {
    border-radius: 12px !important;
    border: none !important;
}

.modal .modal-dialog.modal-fullscreen .modal-content {
    border-radius: 0 !important;
}

.modal .modal-header {
    border: none;
    border-bottom: solid 1px var(--white-color);
    padding: 8px 10px;
    background-color: #fff;
    box-shadow: 2px 3px 8px #0000000e;
}

.modal .modal-header p,
.modal .modal-header h1,
.modal .modal-header h2,
.modal .modal-header h3,
.modal .modal-header h4,
.modal .modal-header h5,
.modal .modal-header h6,
.modal .modal-header span,
.modal .modal-header div {
    color: var(--gray-color-dark);
}

.modal .modal-header .modal-title {
    font-weight: 500 !important;
    font-size: 1.1rem !important;
}

.modal-header .btn-close {
    border-radius: 25px;
    width: 20px;
    height: 20px;
    background-image: none !important;
    --bs-btn-close-bg: none !important;
    background-color: var(--gml-gray) !important;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--gml-green-dark) !important;
    font-size: 1.25rem !important;
    justify-content: center;
}
.modal-header .btn-close:hover {
    background-color: var(--gml-green) !important;
    color: var(--white-color) !important;
    transition: all 0.2s ease;
}

.modal .modal-footer {
    border: none;
    padding: 2px 10px;
}

@media screen and (max-width: 576px) {
    .modal .modal-header .modal-title {
        font-size: 0.8rem !important;
    }
}

@media screen and (max-width: 948px) {
    .modal .modal-header .modal-title {
        font-size: 1rem !important;
    }

    .modal .modal-header {
        padding: 5px 10px;
    }

    .modal .modal-footer {
        padding: 2px 5px;
    }
}


.custom-alert-modal .modal-content {
    border: none !important;
    border-radius: 10px;
}

.custom-alert-modal .modal-header {
    border-top-left-radius: 10px;
    border-top-right-radius: 2px;
    position: relative;
    box-shadow: none !important;
    border: none !important;
    display: block;
}

.custom-alert-modal .modal-header .modal-title {
    text-align: center;
    font-size: 14pt !important;
}

.custom-alert-modal .modal-body {
    text-align: center;
}

.custom-alert-modal .modal-body .text-content {
    color: var(--gray-color-dark);
}

.custom-alert-modal .modal-header button.btn-close {
    position: absolute;
    top: 8px;
    right: 8px;
    border-radius: 25px;
    width: 20px;
    height: 20px;
    background-image: none !important;
    --bs-btn-close-bg: none !important;
    background-color: var(--gml-gray) !important;
    display: flex;
    align-items: center;
    color: var(--gml-green-dark) !important;
    font-size: 1.25rem !important;
    justify-content: center;
}

table tbody tr.selected-row {
    background: var(--gml-green-shadow) !important;
}

.nav.nav-pills .moving-tab .nav-link.active {
    width: 100% !important;
}

.wip-icon-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* FIXED clickable size */
    width: 40px;
    height: 40px;

    overflow: visible;
}

/* Icon */
.wip-icon-button i {
    font-size: 1rem;
    transform: scale(1.2);
    transition: transform 0.3s ease;
    z-index: 2;
}

/* Floating label */
.wip-icon-button .button-text {
    position: absolute;
    left: 100%;
    margin-left: 6px;

    background: #222;
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.85rem;

    z-index: 1000000 !important;

    opacity: 0;
    transform: translateX(-6px);
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

/* Show on hover, focus, active (mobile) */
.wip-icon-button:hover .button-text,
.wip-icon-button:focus .button-text,
.wip-icon-button:active .button-text {
    opacity: 1;
    transform: translateX(0);
}

/* Icon scale animation */
.wip-icon-button:hover i,
.wip-icon-button:focus i,
.wip-icon-button:active i {
    transform: scale(1);
}



::-webkit-scrollbar {
    width: 8px !important;
    height: 8px !important;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cfcfcf;
    border-radius: 4px;
    opacity: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #8a8a8a;
}

.dt-scroll-body:hover::-webkit-scrollbar-thumb,
.dt-scroll-body:focus::-webkit-scrollbar-thumb,
.modal-body:hover::-webkit-scrollbar-thumb,
.modal-body:focus::-webkit-scrollbar-thumb {
    opacity: 1;
    width: 8px;
    height: 8px;
}

.dt-scroll-body,
.modal-body {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.dt-scroll-body:hover,
.modal-body:hover {
    scrollbar-color: #adadad transparent;
}

.dt-scroll-body:focus,
.modal-body:focus {
    scrollbar-color: #888;
}

#modal-capture-picture-from-camera .modal-dialog {
    border: none !important;
}

#modal-capture-picture-from-camera .modal-content {
    border-radius: 10px !important;
    border: none !important;
}

#modal-capture-picture-from-camera .modal-header {
    border: none !important;
    padding: 8px 10px !important;
    background-color: #292929 !important;
    box-shadow: 2px 3px 8px #0000000e !important;
}

#modal-capture-picture-from-camera .modal-header h5 {
    color: var(--white-color) !important;
    font-weight: 500 !important;
}

#modal-capture-picture-from-camera .modal-body {
    padding: 0 !important;
}

#modal-capture-picture-from-camera .modal-footer {
    padding: 4px 10px !important;
    border: none !important;
}

#modal-capture-picture-from-camera .modal-footer button {
    margin: 0 !important;
}

#modal-capture-picture-from-camera video {
    width: 100% !important;
    height: 100% !important;
    border-radius: 10px !important;
}

#modal-capture-picture-from-camera .camera-selector-container {
    padding: 8px 15px !important;
}


.custom-input-form {
    background-color: var(--white-intense) !important;
    padding: 4px !important;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.custom-input-form select {
    cursor: pointer !important;
}

.custom-input-form label,
.custom-input-form p {
    color: var(--black-color) !important;
    font-weight: 500;
    margin-bottom: 2px !important;
    font-size: 0.875rem;
}

.custom-input-form.required label::after,
.custom-input-form.required p::after {
    content: " *" !important;
    color: var(--gml-green) !important;
    font-weight: 700 !important;
}

.custom-input-form select,
.custom-input-form input[type="text"],
.custom-input-form input[type="search"],
.custom-input-form input[type="email"],
.custom-input-form input[type="password"],
.custom-input-form input[type="number"],
.custom-input-form input[type="tel"],
.custom-input-form input[type="date"],
.custom-input-form input[type="time"],
.custom-input-form input[type="datetime-local"],
.custom-input-form textarea {
    width: 100% !important;
    color: #000 !important;
    border: 2px solid #d7d4d4 !important;
    border-radius: 6px;
    font-size: 0.875rem;
    line-height: 1.5;
    padding: 8.5px !important;
}

.custom-input-form select::placeholder,
.custom-input-form input::placeholder,
.custom-input-form textarea::placeholder {
    color: var(--gray-color-light) !important;
}

.custom-input-form:hover>p,
.custom-input-form:hover>label {
    color: var(--gml-green) !important;
}

.custom-input-form:hover>select,
.custom-input-form:hover>input,
.custom-input-form:hover>textarea,
.custom-input-form:focus-within>select,
.custom-input-form:focus-within>input,
.custom-input-form:focus-within>textarea {
    border-color: var(--gml-green) !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 82, 53, 0.281);
}

.custom-input-form:focus-within p,
.custom-input-form:focus-within label {
    color: var(--gml-green) !important;
}


/* Custom input form sm */
.custom-input-form.sm select,
.custom-input-form.sm input[type="text"],
.custom-input-form.sm input[type="search"],
.custom-input-form.sm input[type="email"],
.custom-input-form.sm input[type="password"],
.custom-input-form.sm input[type="number"],
.custom-input-form.sm input[type="tel"],
.custom-input-form.sm input[type="date"],
.custom-input-form.sm input[type="time"],
.custom-input-form.sm input[type="datetime-local"],
.custom-input-form.sm textarea {
    font-size: 0.8105rem;
    padding: 6.5px !important;
}

.custom-input-form.sm label,
.custom-input-form.sm p {
    font-weight: 600;
    font-size: 0.8105rem;
}

/* Custom input form xs */
.custom-input-form.xs select,
.custom-input-form.xs input[type="text"],
.custom-input-form.xs input[type="email"],
.custom-input-form.xs input[type="search"],
.custom-input-form.xs input[type="password"],
.custom-input-form.xs input[type="number"],
.custom-input-form.xs input[type="tel"],
.custom-input-form.xs input[type="date"],
.custom-input-form.xs input[type="time"],
.custom-input-form.xs input[type="datetime-local"],
.custom-input-form.xs textarea {
    font-size: 0.725rem;
    padding: 5px !important;
}

.custom-input-form.xs label,
.custom-input-form.xs p {
    font-weight: 600;
    font-size: 0.725rem;
}

/* Custom input form lg */
.custom-input-form.lg select,
.custom-input-form.lg input[type="text"],
.custom-input-form.lg input[type="email"],
.custom-input-form.lg input[type="search"],
.custom-input-form.lg input[type="password"],
.custom-input-form.lg input[type="number"],
.custom-input-form.lg input[type="tel"],
.custom-input-form.lg input[type="date"],
.custom-input-form.lg input[type="time"],
.custom-input-form.lg input[type="datetime-local"],
.custom-input-form.lg textarea {
    font-size: 1rem;
    padding: 10.5px !important;
}

.custom-input-form.lg label,
.custom-input-form.lg p {
    font-weight: 600;
    font-size: 1rem;
}

.custom-input-form select:read-only,
.custom-input-form input[type="text"]:read-only,
.custom-input-form input[type="email"]:read-only,
.custom-input-form input[type="search"]:read-only,
.custom-input-form input[type="password"]:read-only,
.custom-input-form input[type="number"]:read-only,
.custom-input-form input[type="tel"]:read-only,
.custom-input-form input[type="date"]:read-only,
.custom-input-form input[type="time"]:read-only,
.custom-input-form input[type="datetime-local"]:read-only,
.custom-input-form textarea:read-only {
    background-color: var(--gml-gray) !important;
    cursor: not-allowed !important;
}

.custom-input-form select:disabled,
.custom-input-form input[type="text"]:disabled,
.custom-input-form input[type="email"]:disabled,
.custom-input-form input[type="search"]:disabled,
.custom-input-form input[type="password"]:disabled,
.custom-input-form input[type="number"]:disabled,
.custom-input-form input[type="tel"]:disabled,
.custom-input-form input[type="date"]:disabled,
.custom-input-form input[type="time"]:disabled,
.custom-input-form input[type="datetime-local"]:disabled,
.custom-input-form textarea:disabled {
    background-color: var(--gml-gray) !important;
    cursor: not-allowed !important;
}


.custom-input-form.input-styled select,
.custom-input-form.input-styled input[type="text"],
.custom-input-form.input-styled input[type="search"],
.custom-input-form.input-styled input[type="email"],
.custom-input-form.input-styled input[type="password"],
.custom-input-form.input-styled input[type="number"],
.custom-input-form.input-styled input[type="tel"],
.custom-input-form.input-styled input[type="date"],
.custom-input-form.input-styled input[type="time"],
.custom-input-form.input-styled input[type="datetime-local"],
.custom-input-form.input-styled textarea {
    border: 2px solid var(--gml-green) !important;
    border-radius: 25px !important;
    font-weight: 500 !important;
    background-color: var(--white-intense) !important;
}
.custom-input-form.input-styled select:disabled,
.custom-input-form.input-styled input[type="text"]:disabled,
.custom-input-form.input-styled input[type="search"]:disabled,
.custom-input-form.input-styled input[type="email"]:disabled,
.custom-input-form.input-styled input[type="password"]:disabled,
.custom-input-form.input-styled input[type="number"]:disabled,
.custom-input-form.input-styled input[type="tel"]:disabled,
.custom-input-form.input-styled input[type="date"]:disabled,
.custom-input-form.input-styled input[type="time"]:disabled,
.custom-input-form.input-styled input[type="datetime-local"]:disabled,
.custom-input-form.input-styled textarea:disabled {
    background-color: var(--gml-gray) !important;
    border: 2px solid var(--gml-gray) !important;
    cursor: not-allowed !important;
}




/** CUSTOM CHECK STYLES **/
.custom-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.custom-check label {
    color: var(--black-color);
    margin-bottom: 0;
    padding-top: 3px;
    font-size: 0.875rem;
    cursor: pointer;
}

/* only checkbox not radios and not switches */
.custom-check:not(.form-switch) input[type="checkbox"] {
    width: 30px;
    height: 30px;
    border: 2px solid var(--gray-color) !important;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    transition: all .2s;
}

.custom-check:hover>label {
    transition: all .2s;
}

.custom-check.check-primary input[type="checkbox"]:checked {
    background-color: var(--gml-green) !important;
    border-color: var(--gml-green) !important;
}

.custom-check.check-primary:hover>label {
    color: var(--gml-green) !important;
}

.custom-check.check-secondary input[type="checkbox"]:checked {
    background-color: var(--gml-gold) !important;
    border-color: var(--gml-gold) !important;
}

.custom-check.check-secondary:hover>label {
    color: var(--gml-gold) !important;
}

.custom-check.check-blue input[type="checkbox"]:checked {
    background-color: var(--blue-color) !important;
    border-color: var(--blue-color) !important;
}

.custom-check.check-blue:hover>label {
    color: var(--blue-color) !important;
}

.custom-check.check-success input[type="checkbox"]:checked {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

.custom-check.check-success:hover>label {
    color: #28a745 !important;
}

.custom-check.check-danger input[type="checkbox"]:checked {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}

.custom-check.check-danger:hover>label {
    color: #dc3545 !important;
}

.custom-check.check-warning input[type="checkbox"]:checked {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.custom-check.check-warning:hover>label {
    color: #ffc107 !important;
}

/** custom checks size variants **/
.custom-check.sm input[type="checkbox"] {
    width: 20px;
    height: 20px;
}

.custom-check.sm input[type="checkbox"]:after {
    font-size: 12px !important;
    margin-top: 1px;
}

.custom-check.lg input[type="checkbox"] {
    width: 40px;
    height: 40px;
}
.custom-check.lg input[type="checkbox"]:after {
    font-size: 25px !important;
    margin-top: 2px;
}

.custom-check.xl input[type="checkbox"] {
    width: 50px;
    height: 50px;
}
.custom-check.xl input[type="checkbox"]:after {
    font-size: 25px !important;
    margin-top: 3px;
}

.custom-check.xs input[type="checkbox"] {
    width: 17px;
    height: 17px;
}
.custom-check.xs input[type="checkbox"]:after {
    font-size: 10px !important;
    margin-top: 0px;
}


.custom-check.sm label {
    font-size: 0.8105rem;
}

.custom-check.lg label {
    font-size: 1rem;
}

.custom-check.xs label {
    font-size: 0.725rem;
}

/** CUSTOM CHECK STYLES END **/

.input-file-picker input {
    display: none;
}

.input-file-picker label {
    border-radius: 6px !important;
}


/** SELECT 2 CUSTOMIZATION START **/

.select2.select2-container {
    width: 100% !important;
}

.select2-container .select2-selection {
    background-color: #fff;
    border: 2px solid #d7d4d4 !important;
    border-radius: 0.375rem;
    padding: 8.5px !important;
    height: auto;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000 !important;
}


.select2-container--default .select2-selection--single {
    height: auto;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #000 !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #000 !important;
    line-height: 1.5;
    padding-left: 0;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 0.375rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.5rem;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #000 transparent transparent transparent;
}


.select2-container--default .select2-selection--multiple {
    height: auto;
    padding: 0.375rem 0.75rem;
    border-radius: 0.375rem;
    background-color: #fff;
    color: #000 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e3e3e3;
    border: 1px solid #e3e3e3;
    border-radius: 0.375rem;
    padding: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000 !important;
    margin-top: 0.375rem;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #000 !important;
    margin-left: 0.375rem;
}


.select2-container .select2-selection:focus,
.select2-container .select2-selection:hover,
.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--multiple:focus,
.select2-container--default .select2-selection--multiple:hover {
    border-color: var(--gml-green) !important;
    box-shadow: 0 0 0 0.2rem var(--gml-green-shadow);
    outline: 0;
    transition: all .5s;
}


.select2-container--default .select2-dropdown {
    background-color: #fff;
    border: 1.5px solid #b0b0b0 !important;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000 !important;
}

.select2-container--default .select2-results__option {
    padding: 0.375rem 0.75rem;
}

.select2-container--default .select2-results__option--highlighted {
    background-color: #e3e3e3;
    color: #000 !important;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1.5px solid #b0b0b0 !important;
    border-radius: 0.375rem;
    background-color: #fff;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000 !important;
    box-sizing: border-box;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--gml-green);
    box-shadow: 0 0 0 0.2rem var(--gml-green-shadow);
    outline: 0;
}

.select2-selection.select2-selection--single.select2-selection--clearable .select2-selection__clear {
    font-size: 18px !important;
    color: var(--gray-color);
    text-transform: uppercase !important;
    margin-top: -4px;
}


.select2-dropdown.select2-dropdown--below,
.select2-dropdown.select2-dropdown--below ul {
    border-radius: 6px !important;
}


ul.select2-results__options .select-2-option-list .option-title {
    font-size: 14px !important;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--gml-green) !important;
    color: #ffffff !important;
}

.custom-input-form.xs .select2-container .select2-selection,
.custom-input-form.xs .select2-container--default .select2-selection--single,
.custom-input-form.xs .select2-container--default .select2-selection--multiple {
    padding: 5px !important;
    font-size: 0.725rem !important;
}

.custom-input-form.sm .select2-container .select2-selection,
.custom-input-form.sm .select2-container--default .select2-selection--single,
.custom-input-form.sm .select2-container--default .select2-selection--multiple {
    padding: 6.5px !important;
    font-size: 0.8105rem !important;
}


.custom-input-form.lg .select2-container .select2-selection,
.custom-input-form.lg .select2-container--default .select2-selection--single,
.custom-input-form.lg .select2-container--default .select2-selection--multiple {
    padding: 8.5px !important;
    font-size: 0.95rem !important;
}

.custom-input-form.xl .select2-container .select2-selection,
.custom-input-form.xl .select2-container--default .select2-selection--single,
.custom-input-form.xl .select2-container--default .select2-selection--multiple {
    padding: 10.5px !important;
    font-size: 1rem !important;
}

/** Select 2 multiple selection with tags customization **/
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: var(--gml-green) !important;
    border: 1px solid var(--gml-green) !important;
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice--highlighted {
    background-color: var(--gml-green-dark) !important;
    border: 1px solid var(--gml-green-dark) !important;
    color: #fff !important;
}
.select2-container--default .select2-search.select2-search--inline textarea {
    padding: 0.375rem 0.75rem !important;
    height: 35px !important;
}

.select2-container--default .select2-selection.select2-selection--multiple .select2-selection__rendered {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    cursor: pointer;
}

.select2-container--default li.select2-selection__choice {
    position: relative !important;
}

.select2-container--default button.select2-selection__choice__remove {
    position: absolute !important;
    top: -2px !important;
    left: -7px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background-color: var(--gml-gold) !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1 !important;
    padding: 0 !important;
}

/** SELECT 2 CUSTOMIZATION END **/



.btn.btn-sm i {
    font-size: 13px !important;
}

.btn-icon-only {
    border-radius: 50%;
    position: relative;
}

.btn-icon-only i {
    font-size: 22px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.btn-icon-only.btn-sm {
    width: 30px !important;
    height: 30px !important;
    padding: 0 !important;
}

.btn-icon-only.btn-sm i {
    font-size: 15px !important;
}

.btn-icon-only.btn-lg {
    width: 50px !important;
    height: 50px !important;
    padding: 0 !important;
}

.btn-icon-only.btn-lg i {
    font-size: 30px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

.btn-icon-only.btn-xl {
    width: 75px !important;
    height: 75px !important;
    padding: 0 !important;
}

.btn-icon-only.btn-xl i {
    font-size: 40px !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
}

button.btn,
a.btn {
    margin-bottom: 4px;
}

.btn.btn-xs {
    padding: 4px 8px !important;
    font-size: 0.725rem !important;
}

.btn.btn-xxs {
    padding: 2px 6px !important;
    font-size: 0.65rem !important;
}

.btn.btn-xl {
    padding: 14px 28px !important;
    font-size: 1.25rem !important;
}

.btn.btn-xxl {
    padding: 18px 36px !important;
    font-size: 1.5rem !important;
}

.menu-wrapper {
    position: relative;
    display: inline-block;
}

.floating-menu {
    position: absolute;
    top: 101%;
    left: 10px;
    z-index: 1000;
    max-width: 450px;
    min-width: 280px;
    background-color: #fff;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.5rem;
    padding: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: all 0.3s ease;
}

.menu-wrapper:hover .floating-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.floating-menu .btn {
    width: 100%;
    margin-bottom: 0.25rem;
}


.dropdown-menu.show {
    background-color: #292929 !important;
}

.dropdown-menu.show::before {
    border-color: #292929 !important;
    color: #292929 !important;
}

.dropdown-menu.show .dropdown-item {
    color: #ffffff !important;
}

.dropdown-menu.show .dropdown-item:hover {
    background-color: #6b6b6b !important;
}


.fw-100 {
    font-weight: 100 !important;
}

.fw-200 {
    font-weight: 200 !important;
}

.fw-300 {
    font-weight: 300 !important;
}

.fw-400 {
    font-weight: 400 !important;
}

.fw-500 {
    font-weight: 500 !important;
}

.fw-600 {
    font-weight: 600 !important;
}

.fw-700 {
    font-weight: 700 !important;
}

.fw-800 {
    font-weight: 800 !important;
}

.fw-900 {
    font-weight: 900 !important;
}

input.form-check-input.danger[type=checkbox]:checked {
    background-color: #e81a1a !important;
    border-color: #e81a1a !important;
}

input.form-check-input.success[type=checkbox]:checked {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
}

input.form-check-input.warning[type=checkbox]:checked {
    background-color: #ffc107 !important;
    border-color: #ffc107 !important;
}

input.form-check-input.info[type=checkbox]:checked {
    background-color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

input.form-check-input.dark[type=checkbox]:checked {
    background-color: #343a40 !important;
    border-color: #343a40 !important;
}


.btn.btn-gml-green {
    background-color: #005134 !important;
    border-color: #005134 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(1, 104, 44, 0.493) !important;
}

.btn.btn-gml-green:hover,
.btn.btn-gml-green:focus,
.btn.btn-gml-green.focus {
    background-color: #007a3d !important;
    border-color: #007a3d !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(1, 104, 44, 0.493) !important;
    color: #ffffff !important;
}

.btn.btn-gml-green:disabled,
.btn.btn-gml-green.disabled {
    background-color: #005134 !important;
    border-color: #005134 !important;
    color: #ffffff !important;
    opacity: 0.65;
    box-shadow: none !important;
}


.btn.btn-gml-gray {
    background-color: #f5f5f5 !important;
    border-color: #f5f5f5 !important;
    color: #005134 !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(1, 104, 44, 0.493) !important;
}

.btn.btn-gml-gray:hover,
.btn.btn-gml-gray:focus,
.btn.btn-gml-gray.focus {
    background-color: #e1e1e1 !important;
    border-color: #e1e1e1 !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(1, 104, 44, 0.493) !important;
    color: #005134 !important;
}

.btn.btn-gml-gray:disabled,
.btn.btn-gml-gray.disabled {
    opacity: 0.65 !important;
    background-color: #f5f5f5 !important;
    cursor: not-allowed !important;
}


.btn.btn-gml-gold {
    background-color: #deb406 !important;
    border-color: #deb406 !important;
    color: #0f0f0f !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(191, 160, 106, 0.493) !important;
}

.btn.btn-gml-gold:hover,
.btn.btn-gml-gold:focus,
.btn.btn-gml-gold.focus {
    background-color: #f8d40a !important;
    border-color: #f8d40a !important;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(191, 160, 106, 0.493) !important;
    color: #0f0f0f !important;
}

.btn.btn-gml-gold:disabled,
.btn.btn-gml-gold.disabled {
    background-color: #deb406 !important;
    border-color: #deb406 !important;
    color: #0f0f0f !important;
    opacity: 0.65;
    box-shadow: none !important;
}

.custom-nav-tabs .nav-link {
    font-weight: 500;
    color: var(--gml-green);
    border: none;
    border-bottom: solid 2px transparent;
    opacity: 0.85;
    padding: 6px 14px;
    font-size: 0.95rem;
}

.custom-nav-tabs .nav-link.active {
    background-color: var(--gml-green);
    color: var(--white-color);
    border-bottom: solid 2px var(--gml-green);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgba(1, 104, 44, 0.493);
    opacity: 1;
}

.custom-nav-tabs .nav-link:hover {
    opacity: 1;
    border-color: var(--gml-green);
    transition: all 0.4s;
}

.custom-nav-tabs .tab-content {
    margin-top: 8px;
}

.bg-gml-primary {
    background-color: var(--gml-green) !important;
}

.bg-gml-secondary {
    background-color: var(--gml-gray) !important;
}

.bg-gml-accent {
    background-color: var(--gml-gold) !important;
}

.bg-gradient-gml-primary {
    background: linear-gradient(90deg, var(--gml-green) 0%, #007a3d 100%) !important;
}

.bg-gradient-gml-secondary {
    background: linear-gradient(90deg, var(--gml-gray) 0%, #b2b2b2 100%) !important;
}

.bg-gradient-gml-accent {
    background: linear-gradient(90deg, var(--gml-gold) 0%, #f8d40a 100%) !important;
}

.text-gml-primary {
    color: var(--gml-green) !important;
}

.text-gml-secondary {
    color: var(--gml-gray) !important;
}

.text-gml-accent {
    color: var(--gml-gold) !important;
}

.form-check.custom-radio {
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
}

.form-check.custom-radio input {
    cursor: pointer !important;
    border: solid 2px var(--gray-color-light) !important;
    padding: 10px !important;
    width: 20px !important;
    height: 20px !important;
}

.form-check.custom-radio:not(.form-switch) .form-check-input[type=radio]:after {
    background: none !important;
    background-color: var(--black-color) !important;
    padding: 12px !important;
}

.form-check.custom-radio label {
    cursor: pointer !important;
    color: var(--gray-color-dark) !important;
    margin-bottom: 0 !important;
    margin-top: 2px !important;
    font-size: 0.9rem !important;
    padding-left: 8px !important;
}

.form-check.custom-radio:hover>input {
    border-color: var(--black-color) !important;
    transition: all 0.4s;
}

.form-check.custom-radio:hover>label {
    color: var(--black-color) !important;
    transition: all 0.4s;
}


.form-check.custom-radio.success:not(.form-switch) .form-check-input[type=radio]:after {
    background-color: #28a745 !important;
}

.form-check.custom-radio.danger:not(.form-switch) .form-check-input[type=radio]:after {
    background-color: var(--red-color) !important;
}

.form-check.custom-radio.warning:not(.form-switch) .form-check-input[type=radio]:after {
    background-color: #ffc107 !important;
}

.form-check.custom-radio.info:not(.form-switch) .form-check-input[type=radio]:after {
    background-color: #17a2b8 !important;
}

.form-check.custom-radio.gml-green:not(.form-switch) .form-check-input[type=radio]:after {
    background-color: var(--gml-green) !important;
}


.form-check.custom-radio.success:hover>label {
    color: #28a745 !important;
}

.form-check.custom-radio.danger:hover>label {
    color: var(--red-color) !important;
}

.form-check.custom-radio.warning:hover>label {
    color: #ffc107 !important;
}

.form-check.custom-radio.info:hover>label {
    color: #17a2b8 !important;
}

.form-check.custom-radio.gml-green:hover>label {
    color: var(--gml-green) !important;
}

.form-check.custom-radio.success:hover>input {
    border-color: #28a745 !important;
}

.form-check.custom-radio.danger:hover>input {
    border-color: var(--red-color) !important;
}

.form-check.custom-radio.warning:hover>input {
    border-color: #ffc107 !important;
}

.form-check.custom-radio.info:hover>input {
    border-color: #17a2b8 !important;
}

.form-check.custom-radio.gml-green:hover>input {
    border-color: var(--gml-green) !important;
}

.form-check.custom-radio.lg input {
    padding: 14px !important;
    width: 28px !important;
    height: 28px !important;
}

.form-check.custom-radio.lg label {
    font-size: 1.1rem !important;
}

.form-check.custom-radio.sm input {
    padding: 6px !important;
    width: 16px !important;
    height: 16px !important;
}

.form-check.custom-radio.sm label {
    font-size: 0.8rem !important;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}


.custom-tooltip {
    position: absolute;
    z-index: 9999;
    background: #222;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.9rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    max-width: 250px;
}

.custom-tooltip.show {
    display: block;
    animation: fadeIn 0.15s ease-in-out;
}



/** ACCORDION STYLES */
.accordion {
    border: solid 1px #d8d3d3 !important;
    border-radius: 10px !important;
    padding: 0;
}

.accordion .accordion-header {
    background-color: var(--black-color-light) !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
}

.accordion .accordion-button {
    color: var(--white-color) !important;
    background: none !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    box-shadow: none !important;
}


.accordion .accordion-body {
    padding: 12px !important;
    border: none;
    font-size: 0.95rem !important;
    color: var(--gray-color-dark) !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}