@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

body {
    font-family: "Prompt", sans-serif !important;
    /* overflow: hidden; */
}

.ff-prompt {
    /* use to force font family */
    font-family: "Prompt", sans-serif !important;
}

.new-complain-btn {
    /* background-image: url('../img/common/pw-oj.png'); */
    background-image: url('../img/common/newcom.png');
    background-color: white;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

.bg-crm-base {
    background-image: url('../img/common/crm1.png');
    background-color: white;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
}


.bg-crm-case-closed {
    background-image: url('../img/common/doccheck.png') !important;
}

.bg-crm-1 {
    background-image: url('../img/common/crm1.png');
}

.bg-crm-2 {
    background-image: url('../img/common/crm2.png');
}

.bg-crm-3 {
    background-image: url('../img/common/crm3.png');
}

.bg-crm-4 {
    background-image: url('../img/common/crm4.png');
}

.bg-crm-1::before {
    background-image: url('../img/common/crm1.jpg');
    opacity: 0.5 !important;
    /* Adjust the opacity here */
    z-index: -1 !important;
    /* Place the pseudo-element behind the content */
}

.text-outline-white {
    text-shadow: rgb(255, 255, 255) 1px 0px 0px, rgb(255, 255, 255) 0.540302px 0.841471px 0px, rgb(255, 255, 255) -0.416147px 0.909297px 0px, rgb(255, 255, 255) -0.989992px 0.14112px 0px, rgb(255, 255, 255) -0.653644px -0.756802px 0px, rgb(255, 255, 255) 0.283662px -0.958924px 0px, rgb(255, 255, 255) 0.96017px -0.279415px 0px;
}

.card-btn {
    transition: transform .5s;
    cursor: pointer;
}

.card-btn:hover {
    transform: scale(1.03);
}

.card-comp-list {
    /* outline: 2px solid #11cdef; */
    /* outline-offset: 2px; */
    background-image: linear-gradient(120deg, #fdfbfb 0%, #f7f7f7 100%);
}

hr {
    background-color: #949494;
    height: 1px;
    border: 0;
}

.card-list-scroll {
    overflow-y: auto;
    max-height: 81.75dvh;
    min-height: 225px;
}

.bg-cp-card {
    background-image: url('../img/common/cp-1.png');
    background-position: 95% 50%;
    background-size: 5rem;
    background-repeat: no-repeat;
}

.bg-cp-redem {
    background-image: url('../img/common/cp-3.png');
    background-position: 95% 50%;
    background-size: 5rem;
    background-repeat: no-repeat;
}

.bg-cp-investigation {
    background-image: url('../img/common/investigation.png');
    background-position: 95% 50%;
    background-size: 5rem;
    background-repeat: no-repeat;
}

.bg-cp-think {
    /* background-image: url('../img/common/think.png'); */
    background-image: url('../img/common/paper.png');
    background-position: 95% 50%;
    background-size: 5rem;
    background-repeat: no-repeat;
}

.form-check-label {
    margin-top: 3px;
}

.btn {
    font-weight: normal !important;
    margin-bottom: 0;
}

.no-bottom-margin {
    margin-bottom: 0px !important;
}

.form-check-label {
    margin-top: .25rem;
    margin-bottom: 0px;
}

/* add outline on edge of datepicker */
.datepicker-dropdown {
    outline: solid;
    outline-width: 0.25px;
    outline-color: #11cdef;
}

/* hide arrow in input type number */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield;
    /* Firefox */
}

.table-record-header>tr>th {
    padding: 0.2rem 0.2rem;
}

.no-img-alert {
    /* background-color: rgba(228, 168, 202, .69); */
    /* background-image: url('../img/common/noImg.png'); */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center bottom;
}

.h-89 {
    height: 89%;
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: none;
}

.tb_cusref {
    font-size: 0.75rem;
}

.tb_cusref_view {
    font-size: 0.7rem;
}

.v_fp:read-only {
    background-color: white;
}

.form-check-input {
    background-color: #11cdef !important;
}


.form-check-input {
    background-color: #e5e5e5 !important;
}

.form-check-input:checked[type=checkbox] {
    background-color: #8080ff !important;
}

.picked {
    background: linear-gradient(45deg, #42a5f5, #478ed1);
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
    transition: transform 0.3s ease;
}

/* Gradient color animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Animation for picking an item */
.pick-animation {
    animation: pick 0.3s ease forwards;
}

@keyframes pick {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.05);
    }
}

/* Animation for unpicking an item */
.unpick-animation {
    animation: unpick 0.3s ease forwards;
}

@keyframes unpick {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

/* Gradient color for picked items */
.picked {
    background: linear-gradient(45deg, #83c7ff, #a9d5ff);
    background-size: 200% 200%;
    animation: gradient-animation 3s ease infinite;
    /* transform: scale(1.05); */
}

/* Gradient color animation */
@keyframes gradient-animation {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

div[class^='department_id_'], div[class*=' department_id_'] {
    transition: background-color 0.5s ease, transform 0.3s ease;
}

.card-body-p-075 {
    padding: 0.85rem !important;
}

.popover.clockpicker-popover {
    z-index: 1050;
}

.btn-rsd {
    padding: 0.25em 0.6em !important
}

#tb_claim_damages tbody tr td {
    vertical-align: middle !important;
}

#tb_claim_outlet tbody tr td {
    vertical-align: middle !important;
}

.text-dot {
    width: 50px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate {
    max-width: 50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hide scrollbar for all browsers */
.sidenav, .main-content, .navbar-collapse, .fixed-plugin {
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.sidenav::-webkit-scrollbar,
.main-content::-webkit-scrollbar,
.navbar-collapse::-webkit-scrollbar,
.fixed-plugin::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}

.badge-padding{
    padding: 5px !important;
}

.bg-ws {
    background: #833AB4;
    background: linear-gradient(90deg, rgba(131, 58, 180, 1) 0%, rgba(253, 29, 29, 1) 50%, rgba(252, 176, 69, 1) 100%);
}