/* ReadexPro Font Family */
@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ReadexPro';
    src: url('../../fonts/ReadexPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/**
label.file_upload {
    border: hidden!important;
}

.profile-cover {
    position: relative;
    height: 7.5rem;
    padding: 1.75rem 2rem;
    border-radius: .75rem
}

.profile-cover-content {
    position: relative;
    z-index: 1
}

.profile-cover-img-wrapper {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    height: 7.5rem;
    background-color: #e7eaf3;
    border-radius: .75rem
}

.profile-cover-img {
    width: 100%;
    height: 7.5rem;
    -o-object-fit: cover;
    object-fit: cover;
    vertical-align: top;
    border-radius: .75rem
}

.profile-cover-avatar {
    display: -ms-flexbox;
    display: flex;
    margin: -6.3rem auto .5rem auto
}

.card > .profile-cover, .card > .profile-cover .profile-cover-img, .card > .profile-cover .profile-cover-img-wrapper {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0
}

.card > .card-header ~ .profile-cover, .card > .card-header ~ .profile-cover .profile-cover-img, .card > .card-header ~ .profile-cover .profile-cover-img-wrapper {
    border-radius: 0
}


@media (min-width: 992px) {
    .profile-cover {
        height: 10rem
    }

    .profile-cover-img-wrapper {
        height: 10rem
    }

    .profile-cover-img {
        height: 10rem
    }
}

.avatar-circle {
    border-radius: 50%
}

.avatar-circle .avatar-img, .avatar-circle .avatar-initials {
    border-radius: 50%
}


.avatar-uploader {
    cursor: pointer;
    display: inline-block;
    transition: .2s;
    margin-bottom: 0
}

.avatar-uploader:hover {
    border-color: #FC6A57
}

.avatar-uploader-input {
    position: absolute;
    top: 0;
    inset-inline-end: 0;
    inset-inline-start: 0;
    z-index: -1;
    opacity: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(19, 33, 68, .25);
    border-radius: 50%;
    transition: .2s
}

.avatar-uploader-trigger {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    cursor: pointer;
    border-radius: 50%
}

.avatar-uploader-icon {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    color: #677788;
    background-color: #fff;
    border-radius: 50%;
    transition: .2s
}

.avatar-uploader:hover .avatar-uploader-icon {
    color: #fff;
    background-color: #FC6A57
}

.avatar-lg .avatar-uploader-icon {
    font-size: .75rem;
    width: 1.3125rem;
    height: 1.3125rem
}

.avatar-border-lg {
    border: .1875rem solid #fff
}

**/

.list-group-notification {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: var(--bs-list-group-border-radius);
    max-height: 280px;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}

.iti--allow-dropdown {
    width: 100%;
}

.ratio50_40 {
    aspect-ratio: 50 /40;
}

.col-mx-w300 td,
.col-mx-w300 th {
    max-width: 300px;
}

.truncate-line2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.map-height {
    height: 310px !important;
}

.word-break {
    word-break: break-all;
}

/* .iti input, .iti input[type=tel], .iti input[type=text] {
    margin-right: 300px!important;
}

@media (max-width: 1441px) {
    .iti input, .iti input[type=tel], .iti input[type=text] {
        margin-right: 100px!important;
    }
} */

/* ripple effect  */

.ripple-animation {
    line-height: 1;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    cursor: pointer;
    border-radius: 50%;
    transition: 250ms color;
    animation-name: wave;
    animation-duration: 1.3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes wave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }

    100% {
        box-shadow: 0 0 0 10px transparent;
    }
}

.mx-h-190-scroll {
    max-height: 190px;
    overflow-y: auto;
}

.text-dir-start {
    text-align: start !important;
}

[dir="rtl"] .text-dir-start {
    text-align: end !important;
}

.w-50px {
    width: 50px;
}

.w-80px {
    width: 80px;
}

.w-100px {
    width: 100px;
}

.aspect-ratio-2-1 {
    aspect-ratio: 2/1 !important;
}

.aspect-ratio-3-1 {
    aspect-ratio: 3/1 !important;
}

.aspect-ratio-auto {
    aspect-ratio: auto !important;
}

.alert--primary {
    color: #133e38;
    background: #bff5ef;
    font-size: 12px;
}

.alert--primary .btn-close {
    box-shadow: none;
    outline: none;
}

.check-toggle-item .custom-checkbox {
    margin-bottom: 10px;
}

.check-toggle-item .check-toggle-content {
    display: none;
}

.status-warning-modal h5 {
    font-family: "Roboto", sans-serif;
}

.status-warning-modal {
    max-width: 436px !important;
    font-weight: 400;
    font-size: 13px;
    line-height: 21px;
    color: #a0a0a0;
}

.status-warning-modal h5 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 9px;
}

.btn--cancel {
    color: #ff6d6d !important;
    background: #ffdcdc !important;
    border-radius: 5px;
    height: 45px;
    box-shadow: none !important;
    outline: none !important;
    border: none !important;
}

.text--primary-2 {
    color: var(--primary);
}

.max-349 {
    max-width: 349px;
}

.mb-20 {
    margin-bottom: 20px;
}

.btn--container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.min-w-120 {
    min-width: 120px;
}

.btn--container .btn {
    display: inline-flex;
    justify-content: center;
    text-align: center;
}

.absolute-white {
    color: var(--absolute-white);
}

/* New CSS */
.parcel-info-text {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--title-color);
}

.parcel-info-text .left {
    width: 85px;
}

.refund-reason {
    width: 310px;
}

.refund-reason-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
}

.refund-reason-tooltip {
    --bs-tooltip-max-width: 287px;
    --bs-tooltip-arrow-width: 1.4rem;
    --bs-tooltip-arrow-height: 0.8rem;
    --bs-tooltip-padding-x: 1.2rem;
    --bs-tooltip-padding-y: 1rem;
    --bs-tooltip-border-radius: 0.6rem;
    --bs-tooltip-opacity: 1;
    --bs-tooltip-bg: #334257;
}

.refund-reason-tooltip .tooltip-inner {
    text-align: start;
    font-size: 11px;
}

.refund-reason-tooltip .tooltip-arrow {
    transform: translateX(-35px) !important;
    left: unset !important;
    right: 0;
}

.form--check {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 7px 12px;
    cursor: pointer;
    margin: 0;
}

.form--check .form-check-input {
    position: relative !important;
    margin: 0;
    inset: unset;
    box-shadow: none !important;
    pointer-events: none;
}

.edit-fare-dropdown {
    min-width: 223px;
    padding: 20px;
    top: unset !important;
    bottom: calc(100% + 18px) !important;
}

.edit-fare-dropdown::after {
    content: "";
    border-right: 1px solid var(--bs-primary);
    border-bottom: 1px solid var(--bs-primary);
    left: 20px;
    top: 100%;
    width: 10px;
    height: 10px;
    position: absolute;
    background: var(--bs-white);
    transform: translateY(-5px) rotate(45deg);
}

.dropdown .edit-fare-dropdown {
    display: block !important;
    margin-top: 0;
    transition: all ease 0.2s;
}

.dropdown:not(:hover) .edit-fare-dropdown {
    visibility: hidden;
    opacity: 0;
    transition-delay: 0.2s;
    -webkit-transition-delay: 0.2s;
    -moz-transition-delay: 0.2s;
}

@media screen and (min-width: 992px) {
    .edit-fare-dropdown::after {
        left: unset;
        right: 20px;
    }

    .edit-fare-dropdown {
        right: 0 !important;
        left: unset !important;
    }

    .extra-fare-setup-modal {
        max-width: 744px;
    }
}

@media screen and (min-width: 768px) {
    .extra-fare-setup-modal .modal-header {
        padding-inline: 30px;
    }

    .extra-fare-setup-modal .modal-body {
        padding-inline: 30px;
        padding-bottom: 30px;
    }

    .p-md-30px {
        padding: 30px;
    }
}

.border-e2e2e2 {
    border-color: #e2e2e2 !important;
}

.border-ced4da {
    border-color: #ced4da !important;
}

[theme="dark"] .form--check,
[theme="dark"] .border-e2e2e2,
[theme="dark"] .border-ced4da {
    border-color: var(--bs-border-color) !important;
}

.instruction-info {
    font-size: 13px;
    line-height: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.list-lower-alpha {
    list-style: lower-alpha;
}

.extra-fare-setup-modal .btn-close {
    transform: translate(20px, -8px);
}

.mb-12px {
    margin-bottom: 12px;
}

.gap-10px {
    gap: 10px;
}

.mb-10px {
    margin-bottom: 10px;
}

.proof-file-item {
    display: block;
    width: 100%;
    max-width: 138px;
    position: relative;
}

.proof-file-item img {
    width: 100%;
    aspect-ratio: 148/100;
    object-fit: cover;
    border-radius: 5px;
}

.proof-file-item .icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    aspect-ratio: 1;
}

.proof-file-item>* {
    height: 148px;
    overflow: hidden;
    object-fit: cover;
}

@media screen and (min-width: 768px) {
    .proof-file-item {
        max-width: 148px;
    }
}

.zone-action-dropdown {
    padding: 0;
}

.zone-action-dropdown li {
    padding: 0;
}

.zone-action-dropdown li:not(:last-child) {
    border-bottom: 1px solid var(--bs-border-color);
}

.zone-action-dropdown .dropdown-item {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.zone-action-dropdown .dropdown-item:not(hover) .bi-pencil-fill {
    color: var(--bs-primary);
}

.zone-action-dropdown .dropdown-item:not(hover) .bi-gear-fill {
    color: var(--bs-info);
}

.zone-action-dropdown .dropdown-item:not(hover) .bi-trash3 {
    color: var(--bs-danger);
}

.zone-action-dropdown .dropdown-item:active i,
.zone-action-dropdown .dropdown-item:focus i {
    color: white;
}

.btn-action.btn-outline-info:hover i,
.btn-action.btn-outline-info:focus i {
    color: var(--white);
}

.focus-bg-transparent:active,
.focus-bg-transparent:hover,
.focus-bg-transparent:focus {
    background-color: transparent !important;
}

.min-w-100px {
    min-width: 100px;
}

.text-0177CD {
    color: #0177cd;
}

.order-track-mocup {
    position: relative;
}

.order-track-mocup img {
    pointer-events: none;
}

[theme="dark"] .order-track-mocup img {
    filter: invert(1);
}

.order-track-mocup-text {
    font-size: 10px;
    line-height: 13.4px;
    max-width: 166px;
    padding: 10px 15px;
    border-radius: 5px;
    margin: 0 auto;
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.max-w-299px {
    max-width: 299px;
}

.max-w-280px {
    max-width: 280px;
}

/* Map CSS */
.gm-ui-hover-effect {
    width: 28px !important;
    height: 28px !important;
}

.gm-ui-hover-effect span {
    margin: 0 !important;
}

.map-clusters-custom-window {
    padding: 12px 18px;
}

.gm-style-iw {
    padding: 0 !important;
}

/* Hide Arrow on Map Tooltip */
.gm-style-iw-chr {
    display: none;
}

.overview-button-group {
    display: flex;
    padding: 2px;
    border-radius: 5px;
    background: var(--input-bg);
    min-width: 250px;
}

.gm-style-iw-d {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-c {
    background-color: var(--bs-white);
    border-radius: 5px;
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12),
        0px 3px 1px 0px rgba(0, 0, 0, 0.04);
}

.gm-style .gm-style-iw-tc::after {
    background-color: var(--bs-white);
}

[theme="dark"] .gm-ui-hover-effect span {
    filter: invert(1);
}

.overview-button-group a {
    color: var(--bs-body-color);
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    border-radius: 6px;
    flex-grow: 1;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overview-button-group a.active {
    font-weight: 600;
    color: var(--absolute-white);
    background: var(--bs-primary);
    box-shadow: 0px 3px 8px 0px rgba(0, 0, 0, 0.12),
        0px 3px 1px 0px rgba(0, 0, 0, 0.04);
}

.zone-lists__left {
    width: 100%;
    max-width: 299px;
}

.zone-lists__map {
    width: 0;
    flex-grow: 1;
    min-height: calc(100vh - 265px);
}

.zone-list {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    max-height: calc(100vh - 360px);
}

.zone-list li {
    list-style: none;
    padding-block: 16px;
}

.zone-list li:not(:last-child) {
    border-bottom: 1px solid var(--bs-border-color);
}

.zone-list li .form-check {
    padding-inline-start: 1.56rem;
    cursor: pointer;
}

.zone-list li .form-check .form-check-input {
    box-shadow: none;
}

.zone-list li .form-check .form-check-input:not(:checked) {
    background-color: var(--bs-white);
    border: 1px solid var(--bs-primary);
}

.zone-list li .form-check .form-check-label {
    font-size: 12px;
}

.zone-list li .form-check .form-check-label .zone-name {
    font-size: 16px;
    margin-bottom: 8px;
}

@media screen and (max-width: 991px) {
    .zone-lists__left {
        max-width: 100%;
    }

    .zone-list {
        max-height: calc(100vh - 265px);
    }
}

.map-search-input {
    position: absolute;
    left: 15px;
    width: calc(100% - 80px);
    top: 9px;
    z-index: 1000;
}

.flet-map-container .map-search-input {
    width: calc(100% - 80px);
}

.nav--tabs-2 {
    column-gap: 25px;
}

.nav--tabs-2 .nav-link {
    border-radius: 0 !important;
    padding-inline: 0 !important;
}

.nav--tabs-2 .nav-link {
    border: none;
    line-height: 1;
    padding: 0.5625rem 0.9375rem;
    font-weight: var(--semi-bold);
    font-size: 0.75rem;
    background-color: transparent;
    border-bottom: 2px solid transparent;
}

.nav--tabs-2 .nav-link.active {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

body *::-webkit-scrollbar-track {
    background-color: var(--bs-card-border-color);
}

body *::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

body *::-webkit-scrollbar-thumb {
    background-color: var(--title-color);
}

body[theme="dark"] *::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
}

.pac-container {
    z-index: 9999;
}

.compare-modal .heat-map {
    height: 504px;
    max-height: 80vh;
}

.heatmap-view-top-modal {
    display: flex;
    flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 16px;
    font-size: 12px;
}

.heatmap-view-top-modal .item {}

@media screen and (min-width: 768px) {
    .heatmap-view-top-modal .item:not(:last-child) {
        border-right: 1px solid var(--bs-border-color);
        padding-right: 24px;
    }
}

.heatmap-view-top-modal .item h5 {
    font-size: 16px;
    margin: 0;
    margin-top: 8px;
}

.daterangepicker .drp-buttons {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
}

.icon-calendar {
    position: absolute;
    inset-inline-end: 10px;
    inset-block-start: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.swiper-auto-slider .swiper-slide {
    width: fit-content !important;
}

.zone-compare-slide-item {
    width: 220px;
    padding-bottom: 15px;
}

.zone-compare-slide-item h5 {
    font-size: 14px;
}

.zone-compare-slide-item img {
    border-radius: 5px;
}

.zone-compare-slide-item:hover img {
    box-shadow: 0px 6px 15px 0px rgba(0, 0, 0, 0.1);
}

.bg-denied {
    background: #fff8f2 !important;
    transition: all 0.3s ease;
}

.remove-upload-file.upload-file__img_banner {
    outline: 1px dashed #ddd;
    border-radius: 0.625rem;
}

.remove-upload-file.upload-file__img_banner img {
    border-radius: inherit;
}

#multi_image_picker .file_upload {
    border-width: 1px !important;
}

.remove-img-icon {
    position: absolute;
    inset-block-start: -0.5rem;
    inset-inline-end: -0.5rem;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 100px;
    background: #ff4949;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    color: white !important;
}

.profile-image-upload-file .upload-file__img__img {
    display: none;
}

#multi_image_picker.custom .file_upload {
    aspect-ratio: 2/1;
}

.grecaptcha-badge {
    bottom: 65px !important;
}

.text-capitalize-first::first-letter {
    text-transform: capitalize;
}

.max-i-s-30rem {
    max-inline-size: 30rem;
}

.top-minus4 {
    top: -4px;
}

.right-minus4 {
    right: -4px;
}

.w-14 {
    width: 14px !important;
}

.h-100px {
    height: 100px !important;
}

.w-250px {
    width: 250px !important;
}

.nav--tabs_two {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: nowrap;
}

.nav--tabs_two .nav-item {
    padding: 0;
}

.nav--tabs_two .nav-link {
    font-size: 14px;
    color: var(--title-color);
    border-bottom: 2px solid transparent;
    padding: 5px 10px 10px;
    white-space: nowrap;
}

.nav--tabs_two .nav-link.active {
    color: var(--text-primary);
    font-weight: 600;
    border-color: var(--text-primary);
}

.alert-danger-custom {
    --bs-alert-bg: #FFF1F1;
    --bs-alert-border-color: #FFF1F1;
    --bs-alert-color: black;
}

.wallet-bonus-amount .form-control+.form-select {
    width: 65px !important;
}

.form-control:disabled:focus {
    outline: none !important;
    box-shadow: none;
    border-color: #ced4da;
    background-color: #ced4da;
    color: #212529;
}

.order-number-close,
.order-number-clone {
    @media screen and (max-width: 575px) {
        position: absolute;
        top: 14px;
        inset-inline-end: 10px;
    }
}

.bg-warning-10 {
    --bs-bg-opacity: 0.10;
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

/* ==========================================
   MODERN DASHBOARD STYLING
   Professional & Contemporary Design
   ========================================== */

/* Enhanced Card Styling */
.main-content .card {
    border: 2px solid #e9ecef;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    overflow: hidden;
}

.main-content .card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: #cbd5e1;
}

/* Card Headers */
.main-content .card-header {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    border-bottom: 2px solid #dee2e6;
    padding: 1.5rem 2rem;
}

.main-content .card-header h4,
.main-content .card-header h5,
.main-content .card-header h6 {
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1e293b;
}

/* Card Body */
.main-content .card-body {
    padding: 2rem;
}

/* Statistics Cards - Level Status Icons */
.level-status {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.level-status.bg-info {
    background: #E8F4FD !important;
}

.level-status.bg-info .svg {
    filter: brightness(0) saturate(100%) invert(45%) sepia(98%) saturate(1500%) hue-rotate(180deg) brightness(95%) contrast(95%);
}

.level-status.bg-warning {
    background: #FFF4E5 !important;
}

.level-status.bg-warning .svg {
    filter: brightness(0) saturate(100%) invert(65%) sepia(70%) saturate(500%) hue-rotate(360deg) brightness(100%) contrast(95%);
}

.level-status.bg-success {
    background: #E6F9F1 !important;
}

.level-status.bg-success .svg {
    filter: brightness(0) saturate(100%) invert(55%) sepia(45%) saturate(600%) hue-rotate(100deg) brightness(95%) contrast(90%);
}

.level-status.bg-danger {
    background: #FFEBEB !important;
}

.level-status.bg-danger .svg {
    filter: brightness(0) saturate(100%) invert(40%) sepia(80%) saturate(800%) hue-rotate(330deg) brightness(95%) contrast(100%);
}

.level-status.bg-purple {
    background: #F3E8FF !important;
}

.level-status.bg-purple .svg {
    filter: brightness(0) saturate(100%) invert(35%) sepia(80%) saturate(600%) hue-rotate(250deg) brightness(95%) contrast(95%);
}

/* Enhanced Typography for Stats */
.main-content h3.fs-18,
.main-content h3.fs-20,
.main-content h3.fs-24 {
    font-weight: 700;
    color: var(--title-color);
    letter-spacing: -0.03em;
}

.main-content .title-color {
    color: #64748b !important;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Horizontal Dividers */
.main-content .card hr {
    margin: 1.25rem 0;
    border-color: rgba(0, 0, 0, 0.06);
    opacity: 1;
}

/* Dashboard Welcome Section */
.main-content .media {
    padding: 1rem 0;
    margin-bottom: 1rem;
}

.main-content .media-body h4 {
    font-weight: 700;
    font-size: 1.625rem;
    letter-spacing: -0.03em;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.main-content .media-body p {
    color: #64748b;
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Enhanced Select Dropdowns */
.js-select,
.main-content select.form-select {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--title-color);
    background-color: #f8fafc;
    transition: all 0.2s ease;
    min-width: 140px;
}

.js-select:hover,
.js-select:focus,
.main-content select.form-select:hover,
.main-content select.form-select:focus {
    border-color: var(--bs-primary);
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.1);
}

/* Nav Tabs Enhancement */
.nav--tabs {
    background: #f1f5f9 !important;
    border-radius: 10px;
    padding: 4px !important;
}

.nav--tabs .nav-link {
    border-radius: 8px !important;
    font-weight: 500;
    font-size: 0.8125rem;
    padding: 0.5rem 1rem !important;
    color: #64748b;
    transition: all 0.2s ease;
    border: none !important;
}

.nav--tabs .nav-link:hover {
    color: var(--title-color);
    background: rgba(0, 0, 0, 0.03);
}

.nav--tabs .nav-link.active {
    background: var(--bs-primary) !important;
    color: #fff !important;
    box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.3);
}

/* Badge Enhancements */
.badge.bg-primary {
    background: rgba(var(--bs-primary-rgb), 0.12) !important;
    color: var(--bs-primary) !important;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
}

/* Recent Transactions & Activities */
.recent-transactions,
.recent-activities {
    border-radius: 16px;
}

.recent-transactions .card-header,
.recent-activities .card-header {
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #dee2e6;
}

.recent-transactions .card-header h4,
.recent-activities .card-header h5 {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.02em;
}

/* Events Timeline */
.events .event {
    padding: 1rem 0;
    transition: all 0.2s ease;
}

.events .event:hover {
    background: #f8f9fa;
    margin: 0 -0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 8px;
}

.events .knob {
    width: 14px !important;
    height: 14px !important;
    border: 3px solid var(--bs-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(var(--bs-primary-rgb), 0.1);
}

.events .line {
    background: #e9ecef;
    width: 2px;
}

.events .title h5 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.375rem;
}

.events .description {
    font-size: 0.8125rem;
    color: #94a3b8;
    line-height: 1.5;
}

/* Leader Board Styling */
.leader-board-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* Button Links */
.btn-link {
    color: var(--bs-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-link:hover {
    color: var(--bs-primary);
    opacity: 0.8;
}

/* Chart Container */
#apex_line-chart,
#zoneWiseTripStatistics {
    padding: 0.5rem 0;
}

/* Scrollbar Enhancement for Cards */
.card-body.overflow-y-auto {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.card-body.overflow-y-auto::-webkit-scrollbar {
    width: 5px;
}

.card-body.overflow-y-auto::-webkit-scrollbar-track {
    background: transparent;
}

.card-body.overflow-y-auto::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 10px;
}

/* Max Height Cards */
.max-h-460px {
    max-height: 460px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-content .card {
        border-radius: 12px;
    }

    .main-content .card-header,
    .main-content .card-body {
        padding: 1rem;
    }

    .main-content .p-30 {
        padding: 1rem !important;
    }
}

/* Sidebar Enhancement */
.aside {
    border-radius: 0;
    border-right: 2px solid #dee2e6;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.05);
}

[dir="rtl"] .aside {
    border-right: none;
    border-left: 2px solid #dee2e6;
}

.aside-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 2px solid #dee2e6;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
}

/* Sidebar Menu Items */
.aside-body .nav li {
    border-bottom: 1px solid #e9ecef;
}

.aside-body .nav li:last-child {
    border-bottom: none;
}

.aside-body .nav li>a {
    padding: 0.875rem 1.5rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

[dir="rtl"] .aside-body .nav li>a {
    border-left: none;
    border-right: 3px solid transparent;
}

.aside-body .nav li.active>a,
.aside-body .nav li:hover>a {
    border-left-color: var(--bs-primary);
    background: #f8f9fa;
}

[dir="rtl"] .aside-body .nav li.active>a,
[dir="rtl"] .aside-body .nav li:hover>a {
    border-right-color: var(--bs-primary);
    border-left-color: transparent;
}

/* Sidebar Sub-menu */
.aside-body .nav ul.sub-menu {
    background: #fafbfc;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.aside-body .nav ul.sub-menu li {
    border-bottom: 1px solid #f0f2f5;
}

.aside-body .nav ul.sub-menu li:last-child {
    border-bottom: none;
}

.aside-body .nav ul.sub-menu li>a {
    padding: 0.75rem 1.5rem 0.75rem 3rem;
}

[dir="rtl"] .aside-body .nav ul.sub-menu li>a {
    padding: 0.75rem 3rem 0.75rem 1.5rem;
}

/* Nav Category Headers */
.aside-body .nav li.nav-category {
    border-bottom: 2px solid #dee2e6;
    padding: 1rem 1.5rem 0.5rem;
    margin-top: 0.5rem;
    background: #f8f9fa;
}

/* Header Refinement */
.header {
    background: var(--bs-white);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

/* Icon Buttons in Header */
.header .btn-icon,
.header .notification-btn {
    border-radius: 10px;
    transition: all 0.2s ease;
}

.header .btn-icon:hover,
.header .notification-btn:hover {
    background: #f1f5f9;
}

/* Dark Theme Adjustments */
[theme="dark"] .main-content .card {
    background: var(--bs-white);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[theme="dark"] .level-status.bg-info,
[theme="dark"] .level-status.bg-warning,
[theme="dark"] .level-status.bg-success,
[theme="dark"] .level-status.bg-danger,
[theme="dark"] .level-status.bg-purple {
    opacity: 0.9;
}

[theme="dark"] .nav--tabs {
    background: rgba(255, 255, 255, 0.05) !important;
}

[theme="dark"] .js-select,
[theme="dark"] .main-content select.form-select {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Aspect Ratio Utility */
.aspect-1 {
    aspect-ratio: 1 / 1;
}

.w-48 {
    width: 48px;
    min-width: 48px;
}

/* ==========================================
   DASHBOARD SECTIONS & STATISTICS
   Classic Layout with Borders
   ========================================== */

/* Section Dividers */
.dashboard-section {
    border-bottom: 3px solid #dee2e6;
    padding-bottom: 2rem !important;
    margin-bottom: 2rem !important;
}

.section-header {
    padding: 1rem 0;
    border-bottom: 3px solid var(--bs-primary);
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-header h5 {
    font-weight: 700;
    font-size: 1.25rem;
    color: #1e293b;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ==========================================
   CLASSIC TABLE STYLING
   Enhanced Borders for Professional Look
   ========================================== */

/* Main Table Container */
.table-responsive {
    border: 2px solid #dee2e6;
    border-radius: 12px;
    overflow-x: auto;
    overflow-y: visible;
    background: #ffffff;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
    max-width: 100%;
}

/* Ensure table doesn't shrink below its content */
.table-responsive>.table {
    min-width: max-content;
    margin-bottom: 0;
}

/* Custom scrollbar styling for better UX */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* For dark theme */
[theme="dark"] .table-responsive {
    background: var(--bs-dark);
}

[theme="dark"] .table-responsive::-webkit-scrollbar-track {
    background: #2d3748;
}

[theme="dark"] .table-responsive::-webkit-scrollbar-thumb {
    background: #4a5568;
}

[theme="dark"] .table-responsive::-webkit-scrollbar-thumb:hover {
    background: #718096;
}

/* Table Base Styling */
.table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* Table Headers */
.table thead th {
    background: linear-gradient(to bottom, #f8f9fa 0%, #f1f3f5 100%);
    border-bottom: 2px solid #dee2e6;
    border-right: 1px solid #e9ecef;
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: #1e293b;
    text-transform: none;
    letter-spacing: 0;
}

.table thead th:last-child {
    border-right: none;
}

[dir="rtl"] .table thead th {
    border-right: none;
    border-left: 1px solid #e9ecef;
}

[dir="rtl"] .table thead th:last-child {
    border-left: none;
}

/* Table Body */
.table tbody td {
    border-bottom: 1px solid #e9ecef;
    border-right: 1px solid #f0f2f5;
    padding: 1rem 1.25rem;
    color: #334155;
    font-size: 0.875rem;
    vertical-align: middle;
}

.table tbody td:last-child {
    border-right: none;
}

[dir="rtl"] .table tbody td {
    border-right: none;
    border-left: 1px solid #f0f2f5;
}

[dir="rtl"] .table tbody td:last-child {
    border-left: none;
}

/* Table Rows */
.table tbody tr {
    background: #ffffff;
    transition: all 0.2s ease;
}

.table tbody tr:last-child td {
    border-bottom: none;
}

.table tbody tr:hover {
    background: #f8f9fa;
}

/* Striped Rows (if using .table-striped) */
.table-striped tbody tr:nth-of-type(odd) {
    background: #fafbfc;
}

.table-striped tbody tr:nth-of-type(odd):hover {
    background: #f3f4f6;
}

/* Bordered Table Enhancement */
.table-bordered {
    border: 2px solid #dee2e6;
}

.table-bordered thead th,
.table-bordered tbody td {
    border: 1px solid #e9ecef;
}

/* Compact Table Variant */
.table-sm thead th,
.table-sm tbody td {
    padding: 0.75rem 1rem;
}

/* Action Buttons in Table */
.table tbody td .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
}

/* Status Badges in Tables */
.table tbody td .badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive Table Improvements */
@media (max-width: 1200px) {

    .table thead th,
    .table tbody td {
        padding: 0.875rem 1rem;
        font-size: 0.8125rem;
    }

    .table tbody td .btn-sm {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 992px) {

    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Make action column sticky on scroll */
    .table thead th.action,
    .table tbody td.action {
        position: sticky;
        right: 0;
        background: inherit;
        z-index: 1;
    }

    .table thead th.action {
        z-index: 2;
    }
}

@media (max-width: 768px) {

    .table thead th,
    .table tbody td {
        padding: 0.625rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .table-responsive {
        border-radius: 8px;
        border-width: 1px;
    }

    /* Increase scrollbar size on mobile for better touch interaction */
    .table-responsive::-webkit-scrollbar {
        height: 10px;
    }
}

@media (max-width: 576px) {

    .table thead th,
    .table tbody td {
        padding: 0.5rem 0.625rem;
        font-size: 0.75rem;
    }

    .table tbody td .btn-sm {
        padding: 0.25rem 0.375rem;
    }

    .table tbody td .badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.6875rem;
    }
}

/* Statistics Grid - Classic Layout */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: var(--bs-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Stat Item */
.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.stat-item:hover {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-color: #cbd5e1;
}

/* Monochrome Icon Style */
.stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.stat-icon i {
    font-size: 1.5rem;
    color: #475569;
}

/* Stat Content */
.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.stat-content span {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.stat-content .stat-sub {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
    font-weight: 400;
}

/* Dark Theme Stats */
[theme="dark"] .stats-grid {
    background: var(--bs-white);
    border-color: rgba(255, 255, 255, 0.1);
}

[theme="dark"] .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

[theme="dark"] .stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

[theme="dark"] .stat-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[theme="dark"] .stat-icon i {
    color: #94a3b8;
}

[theme="dark"] .dashboard-section {
    border-color: rgba(255, 255, 255, 0.1);
}

/* ==========================================
   CLASSIC DASHBOARD STATISTICS
   Matching Reference Design
   ========================================== */

/* Classic Stats Container */
.classic-stats-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1px;
    background: #dee2e6;
    border-radius: 16px;
    border: 2px solid #dee2e6;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

@media (max-width: 1600px) {
    .classic-stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .classic-stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .classic-stats-container {
        grid-template-columns: 1fr;
    }
}

/* Classic Stat Card */
.classic-stat-card {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: #ffffff;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
    position: relative;
    min-width: 0; /* Allow shrinking */
}

@media (max-width: 1400px) {
    .classic-stat-card {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }
}

.classic-stat-card:hover {
    background: #f8f9fa;
    box-shadow: inset 0 0 0 1px rgba(0, 123, 255, 0.1);
    transform: translateY(-1px);
}

/* Classic Icon Style - Monochrome */
.classic-stat-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #dee2e6;
    order: -1;
    transition: all 0.3s ease;
}

.classic-stat-card:hover .classic-stat-icon {
    background: #e9ecef;
    border-color: #dee2e6;
}

.classic-stat-icon i {
    font-size: 1.5rem;
    color: #6c757d;
    transition: color 0.3s ease;
}

.classic-stat-card:hover .classic-stat-icon i {
    color: #495057;
}

/* Classic Content */
.classic-stat-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.classic-stat-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0;
    letter-spacing: -0.03em;
    line-height: 1.2;
    transition: color 0.3s ease;
}

.classic-stat-card:hover .classic-stat-content h3 {
    color: var(--bs-primary);
}

.classic-stat-content span {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.4;
}

.classic-stat-content .classic-stat-sub {
    font-size: 0.8125rem;
    color: #94a3b8;
    margin-top: 0.125rem;
    font-weight: 400;
}

/* Dark Theme Classic Stats */
[theme="dark"] .classic-stats-container {
    background: var(--bs-white);
    border-color: rgba(255, 255, 255, 0.08);
}

[theme="dark"] .classic-stat-card {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.08);
}

[theme="dark"] .classic-stat-card:hover {
    background: rgba(255, 255, 255, 0.02);
}

[theme="dark"] .classic-stat-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
}

[theme="dark"] .classic-stat-icon i {
    color: #94a3b8;
}

[theme="dark"] .classic-stat-content h3 {
    color: #e2e8f0;
}

[theme="dark"] .classic-stat-content span {
    color: #94a3b8;
}

[theme="dark"] .classic-stat-content .classic-stat-sub {
    color: #64748b;
}