@font-face {
    font-family: "Poppins";
    src: url("Poppins-Regular.ttf");
}

* {
    font-family: "Poppins";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.select2-container--bootstrap4 .select2-selection--multiple .select2-selection__choice__remove {
    background-color: #cc2121 !important;
    border: 1px solid #c01515 !important;
    color: #FFF !important;
    padding: 0 10px 0 10px !important;
    margin-right: 10px !important;
    border-radius: 3px !important;
    cursor: pointer;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    overflow-y: auto;
    max-height: 100px;
}

.select2-selection--multiple {
    overflow: auto !important;
    resize: vertical;
    min-height: 38px;
}

.select2-selection__rendered {
    white-space: normal;
}

#distance,
#alasanHome {
    display: none;
}

#noTdl,
#tdl {
    display: none;
}

.text-bold {
    font-weight: bold;
}

.custom-file-label {
    font-size: 9pt;
}

.action .fas {
    font-weight: 200;
}

div.scrollmenu {
    overflow: auto;
    white-space: nowrap;
}

div.scrollmenu a {
    display: inline-block;
    font-size: 11pt;
    color: white;
    text-align: center;
    padding: 14px;
    text-decoration: none;
}

div.scrollmenu a:hover {
    background-color: #1565c0;
}

div.scrollmenu .active {
    background-color: #1565c0;
}

.nav-item a {
    font-size: 11pt;
}

.nav-tabs .nav-link.active {
    background: linear-gradient(87deg, #5e72e4 0, #825ee4 100%) !important;
    color: white !important;
}

th.vertical-center,
td.vertical-center {
    display: table-cell;
    vertical-align: middle;
}

i.action {
    font-size: 12pt;
    vertical-align: middle;
}

i.sm-font {
    font-size: 6pt !important;
    margin-left: 20%;
}

.navbar-vertical.navbar-expand-md .navbar-nav .nav .nav-link {
    padding-left: 1.7rem !important;
}

#tblClaim .table td,
#tblClaim .table th {
    font-size: 0.8rem;
    white-space: nowrap !important;
}

.table td,
.table th {
    font-size: 0.8125rem;
    white-space: normal !important;
}

.swal2-container {
    z-index: 1000000 !important;
}

#tblKwitansi.table-sm th,
#tblKwitansi.table-sm td {
    padding: 0rem 1rem 0rem 0rem !important;
}

.shortcut-key {
    font-size: 16px;
    background-color: #f7f7f7;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.key {
    background-color: #333;
    color: #fff;
    border-radius: 3px;
    padding: 5px 10px;
    font-weight: bold;
    margin: 0 3px;
    box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.2);
}

.custom-details .detail-row {
    display: table-row;
}

.custom-details .detail-label,
.custom-details .detail-value {
    display: table-cell;
}

.custom-details .detail-label {
    padding-right: 8px;
}

.card-clickable {
    transition: transform 0.2s, box-shadow 0.2s;
}

.card-clickable:hover {
    cursor: pointer;
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-clickable a {
    color: inherit;
    text-decoration: none;
    display: block;
}

.card-clickable:hover .icon i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.swiper-slide {
    width: auto;
}

.toast-custom {
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    90% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}