/* <------------------------------------------------------------------ box shadows page ----------------------------------------------------------------> */
.box_shadow_textarea {
    display: none;
}

.actions_icon a {
    cursor: pointer;
}

/* profile setting page  */
.profile_image>img {
    height: 12rem;
    aspect-ratio: 1/1;
    border-radius: 15.3rem;
    object-fit: cover;
    border: 1px solid #B4C2D6;
}

.box_shadow_textarea {
    min-height: 20rem !important;
}

div#image-preview>img {
    height: 200px;
    object-fit: contain;
    aspect-ratio: 1 / 1;
}

.table-responsive svg {
    height: 28px;
}

.previews-images img {
    height: 90px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.preview-image {
    display: flex;
    flex-direction: column-reverse;
}

.previews-images {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.multiple-images {
    cursor: pointer;
}

.preview-feature-image img {
    height: 200;
    object-fit: cover;
}

.preview-icon>img {
    height: 157px;
    object-fit: contain;
    width: 100%;
    margin-top: 1rem;
}

.preview-image>img {
    height: 200px;
    object-fit: contain;
}

.preview-logo>img {
    height: 100px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    margin-top: 1rem;
}

ul.list-unstyled.view-driver {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.password-field {
    position: relative;
}

.password-field .toggle-password {
    position: absolute;
    right: 12px;
    top: 15px;
    cursor: pointer;
}

span.logo-sm img {
    height: 31px;
    object-fit: contain;
}

span.logo-lg>img {
    height: 50px;
}

.login-image {
    background: url('../images/auth/login-ship.png') center center / cover no-repeat;
}

.login-form .form-control {
    height: 48px;
    border-radius: 8px;

}

.bg-login {
    background: linear-gradient(180deg,
            #193F71 0%,
            #0f356b 45%,
            #062752 100%);
}

.login-btn {
    background: #0D305E;
    text-decoration: none;
    color: #fff;
    border: 1px solid #3765A3;
    padding: 1rem;
    border-radius: 8px;
}

.login-btn:hover {
    background: #3765A3;
    color: #fff;
}

.hr-login {
    border: none;
    height: 1px;
    background-color: #3765A3;
    opacity: 0.8;
}

#scrollbar {
    background-color: #cbd4e1 !important;
}

#navbar-nav .nav-link {
    color: #193F71 !important;
}


#navbar-nav .nav-link:hover {
    color: #4b93ff !important;
}

.nav-divider {
    margin: 8px 12px;
    height: 1px;
    list-style: none;
    background-color: #B4C2D6;
    opacity: 0.6;
}

#search-options::placeholder {
    color: #adb5bd !important;
    opacity: 1;
    font-size: 14px;
}

.btn-bell-custom {
    background-color: transparent !important;
    border: 1.5px solid #1a3b6d !important;

    border-radius: 10px !important;

    color: #1a3b6d !important;
    width: 38px !important;
    height: 38px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-profile-user {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #B4C2D6;
}


.user-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 10px;
    height: 10px;
    background-color: #28a745;

    border: 2px solid white;
    border-radius: 50%;
}


.user-name-text {
    font-size: 14px;
    line-height: 1.2;
}

.user-role-text {
    font-size: 11px;
    line-height: 1;
    margin-top: 2px;
    color: #3765A3;
}

body {
    background-color: #f6f7f9 !important;

}

.dropdown-item i {
    color: #1a3b6d !important;
}

.dropdown-item:hover i {
    color: #1a3b6d !important;
}

@media (max-width: 991.98px) {

    .navbar-header {
        padding: 0 15px !important;
    }

    #topnav-hamburger-icon {
        left: 10px !important;
        top: 25px !important;
        position: relative !important;
    }
}

.card {
    border: none !important;
    border-radius: 20px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background-color: #ffffff;
    font-size: 11px;
}

.table-custom-border {
    border-bottom: 1px dashed #CBD4E1 !important;
}

.table-custom-border td {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.table-custom-header {
    background-color: #B4C2D6 !important;
    color: #193F71 !important;
    border-radius: 8px;
}

.apexcharts-xaxis text,
.apexcharts-yaxis text {

    fill: #000 !important;
}

.apexcharts-grid line,
.apexcharts-grid path {
    stroke: #CCCCCC !important;
    stroke-opacity: 1 !important;
}

.card-header-container {
    background-color: #CBD4E1 !important;
    border-radius: 12px 12px 0 0 !important;
}

option {
    padding: 12px;
    background-color: #F6F7F9;
    font-size: 14px;
    border-color: #D4D4D4;
    border-radius: 8px !important;
    padding: 10px;

}

.rounded-8 {
    border-radius: 8px !important;
}


/* .cke_chrome {
    border-radius: 8px !important;
    border: 1px solid #ced4da !important;
    overflow: hidden !important;
    box-shadow: none !important;
} */

.cke_top {
    border-radius: 8px 8px 0 0 !important;
    border-bottom: 1px solid #ced4da !important;
    background: #d3d3d3 !important;
}

.cke_bottom {
    border-radius: 0 0 8px 8px !important;
    border-top: 1px solid #ced4da !important;
    background: #d3d3d3 !important;
}

.cke_contents {
    border-radius: 0 !important;
}

.custom-card-finish {

    border: 1px solid #CBD4E1 !important;

    border-bottom: 25px solid #CBD4E1 !important;

    overflow: hidden;
    background-color: #fff;
    margin-bottom: 20px;
}

.badge-gradient-light {

    background: linear-gradient(180deg, #F9F1F1 0%, #C9C9C9 100%);
    border: 1px solid #C9C9C9;

    text-align: justify !important;
    font-size: 12px;
    border-radius: 8px;
    color: #212529;
    padding: 8px 16px;
    display: inline-block;
    font-weight: 500;
}

.badge-gradient {

    background: linear-gradient(180deg, #F7FBFF 0%, #A7D0FF 100%);
    border: 1px solid #A7D0FF;

    text-align: justify !important;
    font-size: 12px;
    border-radius: 8px;
    color: #212529;
    padding: 8px 16px;
    display: inline-block;
    font-weight: 500;
}

.select2-container--default .select2-selection--multiple {
    min-height: 80px !important;
    border: 1px solid #ced4da !important;
    border-radius: 10px !important;
    padding: 8px !important;
    background-color: #ffffff !important;
    display: block !important;

}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background: linear-gradient(180deg, #f0f0f0 0%, #dcdcdc 100%) !important;
    border: 1px solid #c0c0c0 !important;
    border-radius: 8px !important;
    padding: 4px 12px !important;
    margin: 4px !important;
    color: #333 !important;
    font-size: 14px !important;

    display: inline-flex !important;
    width: auto !important;
    max-width: 100% !important;
    align-items: center !important;
    flex-direction: row-reverse !important;

}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    color: #666 !important;
    border: none !important;
    margin-left: 8px !important;
    font-size: 14px !important;
    position: relative !important;
    padding: 0 !important;
}

.select2-search--inline .select2-search__field {
    width: auto !important;
    margin-top: 5px !important;
}

.select2-container {
    display: block !important;
}

.select2-container--default .select2-selection--single {
    height: 45px !important;

    border: 1px solid #ced4da !important;

    border-radius: 8px !important;

    padding: 8px 12px !important;
    background-color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
}


.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    font-size: 15px !important;
    padding-left: 0 !important;
    line-height: normal !important;
}


.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    right: 10px !important;
}


.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #22436d !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 67, 109, 0.1) !important;
}

.select2-container--default.select2-sm .select2-selection--single {
    height: 31px !important;
    padding: 2px 8px !important;
    font-size: 13px !important;
    border: 1px solid #ced4da !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
}

.select2-container--default.select2-sm .select2-selection--single .select2-selection__rendered {
    line-height: 25px !important;
    font-size: 13px !important;
    padding-left: 0 !important;
}

.select2-container--default.select2-sm .select2-selection--single .select2-selection__arrow {
    height: 29px !important;
    right: 5px !important;
}


.select2-results__option {
    font-size: 13px !important;
    padding: 4px 8px !important;
}

.custom-table {
    border-collapse: separate !important;
    border-spacing: 0 15px !important;

    width: 100%;
}


.custom-table thead tr th:first-child {
    border-radius: 4px 0 0 4px;
}

.custom-table thead tr th:last-child {
    border-radius: 0 4px 4px 0;
}

.custom-table tbody tr {
    background-color: #F8FBFF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.custom-table tbody td:first-child {
    border-radius: 8px 0 0 8px;
}

.custom-table tbody td:last-child {
    border-radius: 0 8px 8px 0;
}

.pagination {

    --tb-pagination-font-size: 12px !important;

    margin-bottom: auto;

}

.animate-highlight {
    animation: highlight-fade 3s ease-in-out;
    border: 2px solid #ffc107 !important;
}

@keyframes highlight-fade {
    0% {
        background-color: #fff3cd;
    }

    100% {
        background-color: transparent;
    }
}

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

::-webkit-scrollbar-button {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
    margin: 2px;
}

::-webkit-scrollbar-thumb {
    background: #D9D9D9;
    border-radius: 10px;
}

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

* {
    scrollbar-width: thin;
    scrollbar-color: #D9D9D9 #f1f1f1;
}

.card.grow-on-hover {
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
}

.card.grow-on-hover:hover {
    transform: translateY(-5px) scale(1.02);

    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12) !important;

}

.cke_chrome {
    /* border: 2px solid #d3d3d3 !important;

    border-radius: 5px; */

    box-shadow: none !important;
}


.cke_inner {

    background: #ffffff !important;
}

.cke_contents {
    border-left: 5px solid #d3d3d3 !important;
    border-right: 5px solid #d3d3d3 !important;
}

@media print {
    @page {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        size: A4 portrait;
        margin: 20mm 15mm;
    }


    html,
    body,
    .main-wrapper,
    .content-wrapper,
    .container-fluid,
    .card,
    .card-body,
    .row {
        display: block !important;

        overflow: visible !important;

        height: auto !important;
        position: static !important;

        width: 100% !important;
    }


    table {
        width: 100% !important;
        border-collapse: collapse !important;
        page-break-inside: auto !important;

        table-layout: auto !important;
    }

    tr {
        page-break-inside: avoid !important;

        page-break-after: auto !important;
    }


    thead {
        display: table-header-group !important;
    }


    .table-responsive {
        display: block !important;
        overflow: visible !important;
        border: none !important;
    }


    .no-print,
    .btn,
    .sidebar,
    .navbar,
    .footer,
    .activate-windows-notif {
        display: none !important;
    }


    body {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        padding-top: 15mm !important;
        padding-bottom: 15mm !important;
    }
}

/* @media print {


    @page {
        size: A4 portrait;

        margin: 15mm;
    }

    html,
    body {
        height: auto !important;
        overflow: visible !important;
    }

    body {
        background: #fff !important;
    }


    .main-wrapper,
    .content-wrapper,
    .container,
    .container-fluid,
    .card,
    .card-body {
        display: block !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }


    .no-print,
    .btn,
    .sidebar,
    .navbar,
    .footer {
        display: none !important;
    }


    table {
        width: 100% !important;
        border-collapse: collapse !important;
        page-break-inside: auto !important;
    }

    thead {
        display: table-header-group !important;
    }

    tfoot {
        display: table-footer-group !important;
    }

    tr {
        page-break-inside: avoid !important;
        page-break-after: auto !important;
    }

    td,
    th {
        padding: 6px !important;
        word-break: break-word;
    }


    .table-responsive {
        overflow: visible !important;
    }

} */

/* @media print {


    .sidebar,
    .navbar,
    .btn,
    .footer,
    .no-print,
    .breadcrumb {
        display: none !important;
    }

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

    .container-fluid {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    table {
        width: 100% !important;
        border-collapse: collapse;
    }

    th,
    td {
        border: 1px solid #ddd !important;
        padding: 8px !important;
    }
} */
tr:target {
    animation: highlight-fade-out 4s forwards;

    outline: 2px solid #ffc107;

}

@keyframes highlight-fade-out {
    0% {
        background-color: #fff3cd;

    }

    100% {
        background-color: #f8fafd;

        outline-color: #f8fafd;

    }
}

.highlight-flash {
    background-color: #f3f3f2ff !important;
    transition: background-color 2s ease;
}

#toast-container>.toast-warning {
    background-color: #1a237e !important;
    color: #ffffff !important;
    opacity: 1 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
}

#toast-container>.toast-warning .toast-progress {
    background-color: #ffffff !important;
    opacity: 0.8;
}



[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-link i:hover {
    color: #193F71 !important;
}

[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-link i {
    color: #193F71 !important;
}

[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-link span {
    color: #193F71 !important;
}

[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .navbar-nav .nav-link span:hover {
    color: #193F71 !important;
}

[data-layout="vertical"][data-sidebar-size="sm"] .navbar-menu .simplebar-offset {
    margin-top: 20px !important;

}

[data-layout="vertical"][data-sidebar-size="sm"] .navbar-brand-box {
    z-index: 000 !important;
}