:root {
    --bs-bg-opacity: 0.5;
}

/* Web App */
input {
    outline: 0;
}

body {
    min-height: unset !important;
}

.main-content {
    background-color: #fbfaff;
}

@media only screen and (min-width: 576px) {
    .main-content {
        min-height: 100vh;
    }
}

.page-content {
    padding-inline: 4px;
    min-height: 100vh;
}

@media only screen and (min-width: 768px) {
    .page-content {
        padding-inline: 10px;
    }
}

.bg-primary {
    background-color: #D1BB6D !important;
}

.bg-primary-light {
    background-color: rgba(209, 187, 109, var(--bs-bg-opacity)) !important;
}

.bg-transparent {
    background-color: transparent !important;
}

.btn-primary {
    background-color: #D1BB6D !important;
    border-color: #dac169 !important;
}

.bg-red-light {
    background-color: rgba(252, 165, 165, var(--bs-bg-opacity));
}

.bg-violet-light {
    background-color: #a78bfa;
}

.btn-outline-primary {
    border-color: #D1BB6D !important;
    color: #D1BB6D;
}

    .btn-outline-primary:active, .btn-outline-primary:hover {
        background-color: #D1BB6D;
    }

.text-primary {
    color: #D1BB6D !important;
}

.text-link:hover {
    opacity: 0.8;
    transition: 0.2s linear;
}

.text-grey {
    color: #868686;
}

.text-red-light {
    color: #fca5a5;
}

.text-violet-light {
    color: #a78bfa;
}

.text-tiger {
    color: #fdfcbf;
}

.text-dragon {
    color: #fec8c1;
}

.text-zodiac {
    color: #acb4ff;
}

.form-control:focus {
    border-color: #374151;
}

.form-check-input:checked {
    background-color: #D1BB6D;
    border-color: #D1BB6D;
}

.input-group button label {
    position: absolute;
    inset: 0;
    z-index: 100;
    cursor: pointer;
}

.icon-bar svg {
    width: 20px;
}

.icon-sm-size svg {
    width: 12px;
    height: 12px;
}

.icon-base-size svg {
    width: 16px;
    height: 16px;
}

.icon-lg-size svg {
    width: 20px;
    height: 20px;
}

.icon-xl-size svg {
    width: 32px;
    height: 32px;
}

.width-full {
    width: 100%;
}

.width-auto {
    width: auto !important;
}

.min-h-500 {
    min-height: 500px;
}

hr {
    margin-block: 20px;
}

.btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-shadow: none;
}

    .btn:hover::before {
        left: auto;
        right: 0;
        width: 100%;
    }

    .btn::before {
        content: "";
        position: absolute;
        left: 0;
        right: auto;
        top: 0;
        height: 100%;
        width: 0;
        background-color: #fff;
        opacity: 0.1;
        z-index: -1;
        transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        -webkit-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        -moz-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        -ms-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
        -o-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

.btn-actions .btn {
    padding: 0;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-actions svg {
    width: 14px;
    height: 14px;
}

.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active {
    background-color: #D1BB6D;
}

.nav-tabs-custom .nav-item .nav-link {
    padding-block: 16px;
}

    .nav-tabs-custom .nav-item .nav-link:hover {
        color: #D1BB6D;
    }

    .nav-tabs-custom .nav-item .nav-link::after {
        height: 2px;
    }

    .nav-tabs-custom .nav-item .nav-link.active {
        color: #D1BB6D;
    }

        .nav-tabs-custom .nav-item .nav-link.active::after {
            background-color: #D1BB6D;
        }

    .nav-tabs-custom .nav-item .nav-link span {
        position: relative;
        top: 2px;
    }

.nav.nav-pills .nav-link:hover:not(.active) span {
    color: #D1BB6D;
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
    background-color: #D1BB6D;
}

body[data-topbar=dark] .main-content {
    background-color: rgba(0, 0, 0, 0.8);
}

body[data-topbar=dark] input {
    color: white;
}

body[data-topbar=dark] .flatpickr-monthSelect-month {
    color: #868686;
}

    body[data-topbar=dark] .flatpickr-monthSelect-month.today.selected {
        background-color: #D1BB6D;
        color: white;
        border-color: #D1BB6D;
    }

.flatpickr-months,
.flatpickr-weekdays {
    background-color: #D1BB6D !important;
}

.flatpickr-day.today {
    border-color: #D1BB6D !important;
}

.flatpickr-day.selected.startRange, .flatpickr-day.selected.endRange, .flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
    border-color: #D1BB6D !important;
    background-color: #D1BB6D !important;
    color: white !important;
}

.flatpickr-monthSelect-month.selected {
    background-color: #D1BB6D !important;
    border-color: #D1BB6D !important;
    color: white !important;
}

.flatpickr-weekday {
    color: white !important;
}

.hover-scale-out {
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

    .hover-scale-out:hover {
        opacity: 0.85;
        transform: scale(1.1);
        -webkit-transform: scale(1.1);
        -moz-transform: scale(1.1);
        -ms-transform: scale(1.1);
        -o-transform: scale(1.1);
    }

.avatar-upload {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -ms-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

    .avatar-upload:hover {
        opacity: 0.85;
    }

    .avatar-upload .avatar-icon {
        position: absolute;
        right: 4%;
        bottom: 4%;
        background-color: #D1BB6D;
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        width: 30px;
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        opacity: 0.9;
    }

        .avatar-upload .avatar-icon svg {
            width: 16px;
            height: 16px;
        }

.search-box .search-icon {
    color: #a4a9b5;
}

    .search-box .search-icon svg {
        width: 16px;
        height: 16px;
    }

.filter-box svg {
    width: 18px;
    height: 18px;
}

.card-header,
.card-body {
    padding-inline: 14px;
}

@media only screen and (min-width: 768px) {
    .card-header,
    .card-body {
        padding-inline: 20px;
    }
}

table td,
table th {
    vertical-align: middle;
}

.table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before {
    background-color: #D1BB6D;
}

.pagination {
    gap: 8px;
}

    .pagination .page-link {
        border-radius: 4px;
        -webkit-border-radius: 4px;
        -moz-border-radius: 4px;
        -ms-border-radius: 4px;
        -o-border-radius: 4px;
    }

        .pagination .page-link:focus {
            box-shadow: unset;
            -webkit-box-shadow: unset;
            -moz-box-shadow: unset;
            -ms-box-shadow: unset;
            -o-box-shadow: unset;
            color: #D1BB6D;
        }

        .pagination .page-link:hover {
            color: #D1BB6D;
        }

    .pagination .page-item.active .page-link {
        background-color: #D1BB6D;
        color: white;
        border-color: #D1BB6D;
    }

.flex-1 {
    flex: 1;
}

@media only screen and (min-width: 992px) {
    .flex-lg-1 {
        flex: 1;
    }
}

@media only screen and (min-width: 992px) {
    .flex-lg-0 {
        flex: unset;
    }
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gap-3-5 {
    gap: 20px;
}

.border-primary {
    border-color: #D1BB6D !important;
}

.line-dashed {
    margin-block: 16px;
    border-top: 1px dashed #e9e9ef;
}

.overflow-none {
    overflow: unset;
}

.dropzoneCustom {
    padding: 8px;
}

    .dropzoneCustom .dz-preview {
        margin: 8px;
    }

@media only screen and (min-width: 768px) {
    .dropzoneCustom {
        padding: 20px;
    }

        .dropzoneCustom .dz-preview {
            margin: 16px;
        }
}

.accordion.accordion-only .accordion-button:not(.collapsed) {
    pointer-events: none;
}

.pace .pace-activity {
    background: #D1BB6D;
}

.alert-fixed {
    position: fixed;
    z-index: 99999999999999;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    width: calc(100% - 16px);
}

@media only screen and (min-width: 576px) {
    .alert-fixed {
        top: unset;
        left: unset;
        right: 16px;
        bottom: 16px;
        transform: translateX(0);
        -webkit-transform: translateX(0);
        -moz-transform: translateX(0);
        -ms-transform: translateX(0);
        -o-transform: translateX(0);
        width: unset;
    }
}

.disabledElement {
    pointer-events: none;
    opacity: 0.6;
}

.fui-loading-ellipsis {
    position: relative;
    height: 20px;
    width: 58px;
}

    .fui-loading-ellipsis div {
        position: absolute;
        top: 5px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #D1BB6D;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .fui-loading-ellipsis div:nth-child(1) {
            left: 0px;
            animation: j5EcX-1 0.6s infinite;
        }

        .fui-loading-ellipsis div:nth-child(2) {
            left: 0px;
            animation: j5EcX-2 0.6s infinite;
        }

        .fui-loading-ellipsis div:nth-child(3) {
            left: 24px;
            animation: j5EcX-2 0.6s infinite;
        }

        .fui-loading-ellipsis div:nth-child(4) {
            left: 48px;
            animation: j5EcX-3 0.6s infinite;
        }

@keyframes j5EcX-1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes j5EcX-3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes j5EcX-2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

.evenOddWrap > div:nth-child(even) {
    background-color: #faf9fb;
}

.evenOddWrap > div:nth-child(odd) {
    background-color: white;
}

.filterStatus button:not(.active, :hover, :active, :focus) {
    background-color: transparent !important;
}

.fix-size-common {
    position: relative;
    top: -2px;
}

.container-minus {
    margin-inline: -4px;
}

@media only screen and (min-width: 768px) {
    .container-minus {
        margin-inline: -10px;
    }
}

.container-fluid-small {
    padding-inline: 4px;
}

@media only screen and (min-width: 768px) {
    .container-fluid-small {
        padding-inline: 10px;
    }
}

::-webkit-scrollbar {
    height: 0px;
    width: 0px;
    position: relative;
    z-index: 10000000000;
}

@media only screen and (min-width: 992px) {
    ::-webkit-scrollbar {
        height: 8px;
        width: 8px;
    }
}

::-webkit-scrollbar-thumb {
    background-color: #D1BB6D;
}

.cursor-pointer {
    cursor: pointer;
}
