body {
    overflow: scroll !important;
}

body.modal-open {
    overflow: hidden !important;
}

.modal {
    overflow-y: scroll !important;
}

.select-branch-modal .card {
    min-height: 300px;
    position: relative;
    z-index: 12;
    cursor: pointer;
}

.select-branch-modal .card input[type="checkbox"] {
    position: absolute;
    top: 10px;
    left: 10px;
}

.select-branch-modal .card input[type="checkbox"]:checked + .card-body:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background-color: #e58a0020;
}

.select-branch-modal swiper-slide {
    width: auto;
    height: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-with-wrap {
    white-space: normal !important;
    word-wrap: break-word;
}

.cropper-img-container {
    margin-bottom: 1rem;
    max-height: 150px;
    min-height: 200px;
    margin-top: 15px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.25);
    background-color: #fcfcfc;
    overflow: hidden;
    text-align: center;
}

@media (min-width: 768px) {
    .cropper-img-container {
        min-height: 300px;
    }
}

.cropper-img-container > img {
    max-width: 100%;
}

.cropper-img-container.avatar .cropper-view-box,
.cropper-img-container.avatar .cropper-face {
    border-radius: 50%;
}

.cropper-img-container.avatar .cropper-view-box {
    outline: 0;
    box-shadow: 0 0 0 1px #39f;
}

.auth-form .card {
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;

    .card-body {
        padding: 30px 30px 60px;
    }
}

.warehouse-address {
    height: 300px;
    overflow: auto;
}

.warehouse-address ul > li a.active {
    color: #3866cc;
}

.select-region-modal .modal-dialog {
    max-width: 381px;
}

.select-region-modal .modal-dialog {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
}

.select-region-modal .modal-dialog::before {
    content: "";
    position: absolute;
    top: -19px;
    left: 43px;
    transform: translateX(-50%);
    border-width: 10px;
    border-style: solid;
    z-index: 12;
    border-color: transparent transparent white transparent;
}

.flag {
    width: 20px;
    margin-inline-end: 7px;
    border-radius: 3px;
}

.person-avatar-image {
    max-width: 100px;
}

.container {
    margin-left: 0;
}

[data-pc-layout="tab"] .pc-sidebar:not(.pc-sidebar-hide) {
    width: 380px;
}

[data-pc-layout="tab"] .pc-sidebar:not(.pc-sidebar-hide) .navbar-wrapper {
    width: 380px;
}

@media (min-width: 1025px) {
    [data-pc-layout="tab"] .pc-sidebar:not(.pc-sidebar-hide) ~ .pc-header {
        left: 380px;
    }
}

@media (min-width: 1025px) {
    [data-pc-layout="tab"] .pc-sidebar:not(.pc-sidebar-hide) ~ .pc-container,
    [data-pc-layout="tab"] .pc-sidebar:not(.pc-sidebar-hide) ~ .pc-footer {
        margin-left: 380px;
    }
}

@media (max-width: 1024px) {
    [data-pc-layout="tab"] .pc-sidebar:not(.mob-sidebar-active) {
        left: -380px;
    }

    .pc-sidebar {
        left: -320px;
    }
}

.table tr td .row {
    margin-right: 0;
}

#table-list .card-subtitle,
#table-list .card-text {
    white-space: pre-line;
}

.table-striped tbody tr:nth-of-type(2n + 1) {
    background-color: transparent;
}

.fa-copy {
    cursor: pointer;
}

.site-logo img {
    max-width: 60%;
}

.search-waybillnumber {
    min-width: 480px;
}

.list-group-search-result {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.list-group-search-result h5 {
    font-size: 14px;
}

.cargo-card {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.cargo-logo {
    width: 150px;
    height: 100%;
    border-radius: 50%;
}

.cargo-details {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
}

.cargo-details h2 {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    line-height: 36px;
    font-size: 24px;
}

.cargo-title {
    font-weight: bold;
    display: flex;
    align-items: center;
}

.cargo-title .badge {
    padding: 0.25em 0.4em;
}

@media (max-width: 768px) {
    .search-waybillnumber {
        min-width: 100%;
    }

    .auth-main .auth-wrapper.v2 .auth-form .card {
        min-height: 100vh;
    }

    .auth-form .card {
        box-shadow: none !important;
    }

    .select-region-modal .modal-dialog {
        max-width: 100%;
        left: 0 !important;
    }
}

.pc-sidebar,
.pc-sidebar .navbar-wrapper {
    width: 320px;
}

.pc-header {
    left: 320px;
}

.pc-container {
    margin-left: 320px;
}

.uppy-Dashboard-inner {
    width: 100% !important;
}

.dataTable .package-pictures img {
    width: 40px;
    max-width: 40px;
    height: 40px;
    border-radius: 5px;
}

.btn:first-child:active {
    border-color: transparent !important;
}

.links a {
    color: var(--pc-sidebar-color);
}

.links a:hover {
    color: var(--pc-sidebar-active-color);
}

.page-header .breadcrumb {
    font-size: 13px !important;
}

::-webkit-scrollbar {
    height: 4px;
    width: 6px;
}

::-webkit-scrollbar-thumb {
    border-radius: 2px;
    background: #B5B5B5;
}

::-webkit-scrollbar-thumb:hover {
    background: #dad6bf;
}

.dropdown-item.active {
    background: var(--pc-active-background);
    color: var(--bs-dropdown-link-color);
}


@media (max-width: 768px) {
    .pc-header {
        left: 0;
    }

    .pc-container {
        margin-left: 0;
    }

    .cargo-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .cargo-logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}