:root {
 --border-radius: 30px; 
 --wpd-color:#0EA1B1;
 --wpd-secondary-color:#1A5960;
 --wpd-text-menu-color:#fff;
 --wpd-table-odd:#E8F3F4;
 --wpd-table-even:#fff;
 --wpd-top-bar-color:#D8F1F4;
 --wpd-body-font-size:0.9rem;
 --wpd-body-font-family:"Roboto", sans-serif;
 --wpd-body-font-weight:400;
 --wpd-body-bg:#FAFAFA;
 --border-radius-selected-menu:1px;
}

body{
    font-family: var(--wpd-body-font-family);
    font-size: var(--wpd-body-font-size);
    font-weight: var(--wpd-body-font-weight);
}


.navbar-custom {
    background-color: var(--wpd-top-bar-color) !important;

    /* box-shadow: 0px 15px 10px -15px #e6eaed; */
    /* border-radius: 0px 0px 12px 12px !important; */
}

.loginbg {

    height: 100vh !important;
    align-items: center;
    display: grid;
}

@media (min-width: 576px) {
    .loginbg {
        background: url('../img/login-image.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size: 100% 100%;
    }
}

@media (max-width: 576px) {
    .loginbg {
        background: url('../img/login-mob.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

body {
    background: var(--wpd-body-bg) !important;

}

.card-shadow {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
    border-radius: 10px !important;
}

.card-header {
    border-radius: 10px 10px 0px 0px !important;
    background-color: #fff;
    border-bottom: solid rgba(19, 19, 19, 0.4);
}

.left-side-menu {
    background: var(--wpd-color) !important;
    box-shadow: none !important;
}


.login-body {
    background: #cddffb !important;
}

.login_card {
    background-color: #ffffffeb !important;
}

.login-img {
    z-index: 100000;
    position: relative;
    /* background-size: cover; */
}

.submit_btn {
    float: right;
}


.page-title-main.page {
    padding: 0 0px;
}


.menu_icon {
    color: #323a46 !important;
    margin-top: 2% !important;
}

#sidebar-menu .menuitem-active .active {
    background: var(--wpd-secondary-color) !important;
    /* border-right: 10px solid #E5E541; */
    font-weight: bold;
    /* border-radius: 20px 0px 0px 20px; */
    /* margin: 5px; */
    color: var(--wpd-text-menu-color) !important;
    border-radius: var(--border-radius-selected-menu);
}

#sidebar-menu .menuitem-active {
    border-radius: 20px;
}

.pro-user-name i {
    margin-left: 10px !important;
}

.page-title-main.page {
    color: #000 !important;
}

.btn-primary {
    background-color: var(--wpd-color) !important;
    border-color: var(--wpd-color) !important;
}

#sidebar-menu>ul>li>a {
    color: var(--wpd-text-menu-color) !important;
    font-family: var(--wpd-body-font-family) !important;
    font-weight: 500 !important;
    font-size: .875rem !important;
}

.btn-danger {
    background-color: #fd0000 !important;
    border-color: #f00 !important;
}

body {
    color: #646464 !important;
    font-family: var(--wpd-body-font-family);
    font-size: var(--wpd-body-font-size) ;
    font-weight: var(--wpd-body-font-weight) ;

}

.sign-in-container {
    overflow-y: clip;
    height: 100vh;
}

.search_btn {
    border-radius: 0px 5px 5px 0px !important;
    padding: 0.42rem .9rem !important;
}

.search_input {
    border-radius: 5px 0px 0px 5px !important;
}

.search_align {
    margin-right: 10px;
    border-radius: 0px 5px 5px 0px !important;
    padding: 0.42rem .9rem !important;
}

.short-description-show {
    display: -webkit-box;
    max-width: 200px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
}

.title-short-description-show {
    display: -webkit-box;
    max-width: 400px;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-title {
    font-family: "Roboto", sans-serif !important;
    font-weight: 500 !important;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Roboto", sans-serif !important;
}

.col-form-label {
    font-weight: 500 !important;
}

.form-control {
    font-weight: 500 !important;
}

a[href^="tel:"] {
    color: var(--ct-table-color);
    ;
}

a[href^="mailto:"] {
    color: var(--ct-table-color);
    ;
}

.dropdown.user-card.drop-down-custom {
    right: 45px;
    top: 15px;
}

.dropdown.chat.drop-down-custom {
    top: 10px;
}

.dropdown.drop-down-custom {
    font-size: 20px;
    z-index: 1000000 !important;
}

.drop-down-custom i {
    color: #98a6ad;
}

table td {
    vertical-align: middle;
}

.image-circle {
    height: 40px;
    width: 40px;
}

.text-hide {
    width: 70%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-check.check {
    padding-left: 2.643em !important;
}

.dropify-wrapper .dropify-message span.file-icon p {
    font-size: 15px;
    color: #CCC;
}

.dt-button {
    color: #fff !important;
    background: #0B94F7 !important;
    border-color: #0B94F7 !important;
    margin-bottom: 8px !important;
}

.toggle-switch-margin {
    margin-left: 1.5em !important;
    margin-top: -32px;
}

.theme-menu-color {
    background-color: var(--wpd-color);
    color: var(--wpd-text-menu-color)
}

.logo-box {
    background: var(--wpd-color);

}

.navbar-custom .logo-dark {
    background: var(--wpd-color) !important;
}

@media (max-width: 991px) {
    .navbar-custom .logo-dark {
        background: var(--wpd-color) !important;
    }
}

.user-name {
    border-radius: 10px;
    margin-top: 10px;
    background: 084076;
    padding: 8px !important;
    line-height: 34px !important;
}

.login-text {
    color: #084076 !important;
    margin-top: 70px !important;
    font-size: 40px;
}

.login-button {
    background-color: #084076 !important;
    margin-top: 48px;
}

.login-form {
    height: 50px;
}

.login-label {
    color: #084076;
}

.menu-text {
    color: var(--wpd-text-menu-color)
    margin-left: 10px;
}

/* custom */

.dash-card1 {
    background-image: url('../img/dash-card1.png');
}

.dash-card2 {
    background-image: url('../img/dash-card2.png');
}

.dash-card3 {
    background-image: url('../img/dash-card3.png');
}

.dash-card4 {
    background-image: url('../img/dash-card4.png');
}

.dash-card5 {
    background-image: url('../img/dash-card5.png');
}

.dash-card6 {
    background-image: url('../img/dash-card6.png');
}

.dash-card7 {
    background-image: url('../img/dash-card7.png');
}

.dash-card1,
.dash-card3,
.dash-card4,
.dash-card5,
.dash-card6,
.dash-card7,
.dash-card2 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 170px;
}

.dash-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.order-card {
    background-image: url('../img/order-card.png');
}

.order-card {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 170px;
}

.border-radius-table {
    border-radius: 10px;
}

.login-btn {
    background: var(--wpd-color);
    border-radius: var(--border-radius);
}

#importProductsModal .modal-footer button {
    border-radius: var(--border-radius) !important;
}

.login-input {
    border-radius: 10px 0px 0px 10px !important;
}

.login-input-image {
    border-radius: 0px 10px 10px 0px !important;
}

.text-color {
    color: var(--wpd-color);

}

.logo span.logo-lg {
    display: block;
    /* background: #2E2D70; */
}

.button-color {
    background-color: var(--wpd-color) !important;
}

.add-btn {
    background-color: var(--wpd-color);
    border-radius: var(--border-radius);
}

.dash-card-image {
    margin-left: -0.5rem !important;
}

.input-form.image {
    padding: .01rem .9rem;
}

.input-form {
    /* height: 40px; */
    border-radius: var(--border-radius);
    background: #E8F3F4;
}

.input-text-form {
    height: 150px;
    border-radius: 10px;
    background: #E8F3F4;
}

.form-control[readonly] {
    background: #E8F3F4;
}

.input-form::placeholder {
    color: rgb(109, 109, 109);
}

.input-text-form::placeholder {
    color: rgb(109, 109, 109);
}

.table-theme {
    background: var(--wpd-color) !important;
}

.inr-input {
    border-radius: 10px 0px 0px 10px;
    background: #E8F3F4;
}

.save-btn {
    background: #2E2D70;
    border-radius: 10px;
    width: 100px;
}

.table-border .col-sm-12 {
    overflow: auto;
    border-radius: 15px;
    border: 1px solid #ffffff;
    margin-top: 15px;
}

table.dataTable {
    margin-top: 0px !important;
}

.table-border-radius {
    border-radius: 15px;
}

.form-control::file-selector-button {
    padding: .85rem .9rem !important;
}

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

.qus-ans-img {
    height: 108px;
    width: 100px;
}

.user-purchased {
    background: #F3F3F3;
    border-radius: 15px;
}

.text-area-background {
    border-radius: 10px;
    background: rgba(19, 19, 19, 0.2);
}

.card-header-plan {
    border-radius: 10px 10px 10px 10px !important;
    background-color: var(--ct-card-cap-bg);
    /* border-bottom: solid rgba(19, 19, 19, 0.4); */
}

.question-form {
    border-radius: 10px;
    background: rgba(19, 19, 19, 0.2);
}

.ck .ck-content {
    height: 200px;
}

.dropify-wrapper {
    height: 240px !important;
}

@media (min-width: 576px) {
    .edit-qus {
        max-width: 980px;
    }
}

.password-position-relative {
    position: relative;
}

.course-image {
    height: 10rem;
    width: 17rem;
}

.change-position-relative {
    position: relative;
}

.change-password-toggle {
    position: absolute;
    right: 10px;
    top: 70%;
    transform: translateY(-50%);
    cursor: pointer;
}

.is-invalid~.change-password-toggle,
.was-validated :invalid~.change-password-toggle {
    position: absolute;
    right: 10px;
    top: 54%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Style for alert boxes */
.custom-alert {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background-color: #fcfcfc;
    color: #0c0c0c;
    padding: 26px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    width: 300px;
}

.close-alert {
    margin-top: 15px;
    background-color: #d32f2f;
    /* Darker red for the button */
    border: none;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
}

.close-alert:hover {
    background-color: #b71c1c;
    /* Even darker red on hover */
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background-color: var(--wpd-color) !important;
}

.nav-link:focus,
.nav-link:hover,
.head-title {
    color: var(--wpd-color);
}

.page-title-main.page {
    /* margin-top: -95px; */
    /* z-index: 1000000;
    position: absolute; */
}

#DataTables_Table_6,
#DataTables_Table_5,
#DataTables_Table_4,
#DataTables_Table_3,
#DataTables_Table_2,
#DataTables_Table_1,
#DataTables_Table_0 {
    width: 100% !important;
}

.course-view-top-filter {
    cursor: pointer;
    padding: 10px 10px;
    border: 1px solid #A3DEFD;
}

.copy-course-link {
    padding: 5px;
    border: 1px solid #A3DEFD;
    border-radius: 10px;
    cursor: pointer;
}

.card-header {
    border-bottom: 1px solid rgba(185, 189, 189, 0.4);
}

.total-revenue-card {
    height: 150px;
    border-radius: 10px;
}

.dash-card-total {
    margin-top: -27px;
}

@media (min-width: 1200px) {
    .card-min-height {
        height: 230px;
        /* Height for larger screens */
    }
}

.booking-card,
.payment-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.route {
    color: #007bff;
    font-size: 1.1rem;
    font-weight: bold;
}

.location i {
    color: #6c757d;
    margin-right: 5px;
}

.vehicle-number {
    color: #007bff;
}

.booking-status {
    color: #17a2b8;
    font-weight: bold;
}

.feedback-buttons {
    background-color: #17a2b8;
    color: white;
}

.star-rating {
    color: #ffc107;
    font-size: 24px;
}

.review-text {
    background-color: #E9F9FF;
    border-radius: 5px;
    padding: 10px;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-label {
    font-weight: 500;
}

.payment-amount {
    font-weight: 600;
}

.feedback-buttons {
    background: var(--wpd-color) !important;
    border-radius: 20px !important;
    height: 60px;
    color: #fff !important;
}

.is-invalid {
    color: red !important;
}

.is-valid {
    background-image: none !important;
}

.profile-card,
.document-card,
.trip-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

.profile-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.active-status {
    color: #28a745;
    font-weight: bold;
}

.document-verified {
    background-color: #17a2b8;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.document-image {
    width: 50px;
    height: 50px;
    /* background-color: #f0f0f0; */
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}

.trip-details {
    background-color: #e6f2ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.month-selector {
    background-color: #e6f2ff;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
}

.nav-tabs .nav-link.active {
    background-color: var(--wpd-color) !important;
    border-radius: var(--border-radius) !important;
    color: #fff !important;
}

.nav-tabs {
    background-color: #fff !important;
    border-radius: 20px !important;
}

#purchases-table {
    width: 100% !important;
}

.dash-card-container {
    flex: 1 0 19%;
    margin-bottom: 15px;
}

@media (max-width: 1200px) {
    .dash-card-container {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    .dash-card-container {
        flex: 0 0 100%;
    }
}

table.dataTable.table-striped>tbody>tr.odd {
    background: var(--wpd-table-odd);
}

table.dataTable.table-striped>tbody>tr.even {
    background: var(--wpd-table-even);
}

.dash-card1 h5,
.dash-card3 h5,
.dash-card4 h5,
.dash-card5 h5,
.dash-card6 h5,
.dash-card7 h5,
.dash-card2 h5 {
    margin-top: 5.25rem !important;
}

@media (min-width: 1200px) {
    .long-width {
        width: 36.667% !important;
    }
}

.delivery-profile-header {
    background: linear-gradient(135deg, var(--wpd-color) 0%, #6FCF97 100%);
    color: white;
    border-radius: 8px 8px 0 0;
}

.delivery-document-card {
    border-left: 4px solid var(--wpd-color);
    transition: all 0.3s ease;
}

.delivery-document-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.delivery-status-badge {
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
}

.delivery-document-image {
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
}

.order-view-order-detail-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: none;
}

.order-view-user-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.order-view-product-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.order-view-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
}

.order-detail-label {
    color: #6c757d;
    font-weight: 500;
}

.order-view-detail-value {
    font-weight: 600;
    color: #343a40;
}

.order-view-summary-card {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background-color: #f8f9fa;
}

.order-view-status-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.custom-header-color {
    background-color: var(--wpd-color) !important;
}

.btn-close {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 0.5rem;
}

.modal-header {
    background: var(--wpd-color) !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-title {
    color: #fff !important;
}

.green-btn {
    background: var(--wpd-color);
    border-radius: 12px;
}

.paginate_button.page-item.active a {
    background: var(--wpd-color) !important;
    border-color: var(--wpd-color) !important;
}

.filter-popup {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    position: absolute;
    z-index: 1050;
    background: #ffffff;
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 1200px;
    max-width: 95vw;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    animation: fadeIn 0.2s ease-out;
}

.filter-popup,
.filter-popup-footer {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filter-popup-content {
    /* max-height: 70vh; */
    overflow-y: hidden;
}

.filter-popup-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--wpd-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--wpd-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.filter-popup-header h5 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--wpd-text-menu-color)
}

.filter-popup-header .close,
#importProductsModal .btn-close {
    border: none;
    /* background: none; */
    font-size: 20px;
    color: #6c757d !important;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.filter-popup-header .close:hover {
    opacity: 1;
    color: #333;
}

.filter-popup-body {
    padding: 16px;
    overflow-y: scroll;
    max-height: 60vh;
}

.filter-popup-footer {
    padding: 12px 16px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    background-color: #f8f9fa;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    width: 100%;
    position: fixed;
}

.filter-rules-container {
    margin-bottom: 16px;
}

.filter-rule {
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-rule:hover {
    border-color: #dee2e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-rule .row {
    align-items: center;
}

.rule-connector {
    display: inline-block;
    width: 36px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    padding: 6px;
    background-color: #f8f9fa;
    border-radius: 3px;
}

.filter-rule .form-control-sm {
    height: 32px;
    font-size: 13px;
    border-radius: 12px;
    border: 1px solid #ced4da;
}

.filter-rule select.form-control-sm {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    padding-right: 24px;
    border-radius: 12px;
}

.filter-popup .btn {
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
}

.filter-popup .btn i {
    margin-right: 6px;
    font-size: 12px;
}

.filter-popup .btn-sm {
    padding: 5px 10px;
    font-size: 12px;
    border-radius: var(--border-radius);
}

.btn-outline-primary {
    color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.btn-outline-primary:hover,
.btn-outline-primary.active {
    background-color: var(--wpd-color);
    color: white;
}

.btn-theme-success:hover,
.btn-theme-success.active {
    background-color: var(--wpd-color);
    color: white;
}

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

.btn-outline-secondary:hover {
    background-color: #6c757d;
    color: white;
}

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

.btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.btn-primary {
    background-color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.btn-primary:hover {
    background-color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.remove-rule-btn {
    padding: 4px 6px;
    border-radius: 50%;
}

.filter-logic-toggle {
    border-radius: 4px;
    overflow: hidden;
}

.filter-logic-toggle .btn {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 0;
}



.filter-logic-toggle .btn:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius)0;
}

.ui-datepicker {
    font-family: 'Segoe UI', Roboto, sans-serif;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
}

.ui-datepicker-header {
    background: #f8f9fa;
    border: none;
    border-radius: 3px;
}

.ui-datepicker-title {
    font-weight: 600;
}

.ui-datepicker-calendar th {
    font-weight: 500;
    color: #6c757d;
}

.ui-datepicker-calendar td a {
    text-align: center;
    padding: 4px;
    border-radius: 3px;
}

.ui-datepicker-calendar td a.ui-state-active {
    background: var(--wpd-color);
    color: white;
}

.select2-container--default .select2-selection--multiple {
    min-height: 32px;
    border: 1px solid #ced4da;
    border-radius: 3px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #E37201;
    border: none;
    border-radius: 3px;
    font-size: 12px;
    padding: 2px 8px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    margin-right: 4px;
    color: var(--wpd-text-menu-color)
}

.filter-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 10px;
    padding: 3px 5px;
    background-color: #dc3545;
    color: white;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

@media (max-width: 768px) {
    .filter-popup {
        width: 90vw;
    }

    .filter-rule .col {
        margin-bottom: 8px;
    }

    .filter-rule .col-auto {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .filter-popup {
        width: 95vw;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        padding: 8px;
    }

    .filter-popup-header,
    .filter-popup-footer,
    .filter-popup-body {
        padding: 10px !important;
    }

    .filter-popup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .filter-popup-header h5 {
        font-size: 1rem;
    }

    .filter-popup-header .close {
        align-self: flex-end;
        font-size: 1.4rem;
    }

    .filter-popup-body .d-flex,
    .filter-popup-footer {
        flex-direction: column;
        gap: 10px;
    }

    .filter-popup-footer .btn {
        width: 100%;
    }

    .filter-logic-toggle {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .filter-logic-toggle .btn {
        flex: 1;
    }

    .add-rule-btn {
        width: 100%;
    }

    .save-filter-btn,
    .apply-filter-btn,
    .clear-filters-btn {
        width: 100%;
    }

    .filter-popup-content {
        max-height: 80vh;
        overflow-y: auto;
    }

    .filter-popup-footer .btn {
        margin-bottom: 6px;
        width: 100%;
    }

    .filter-popup-header .close {
        align-self: flex-end;
    }

}

@media (max-width: 768px) {
    .filter-popup {
        width: 95vw;
        top: 10px;
        padding: 10px;
        transform: translateX(-50%);
        border-radius: 10px;
    }

    .filter-popup-header,
    .filter-popup-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .filter-popup-header h5 {
        font-size: 14px;
    }

    .filter-rule {
        padding: 10px;
    }

    .filter-rule .row {
        flex-direction: column;
        gap: 8px;
    }

    .filter-rule .col,
    .filter-rule .col-auto {
        width: 100% !important;
        margin-bottom: 8px;
    }

    .filter-popup .btn {
        width: 100%;
        justify-content: center;
    }

    .filter-logic-toggle {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .select2-container--default .select2-selection--multiple {
        font-size: 12px;
    }

    .filter-popup-content {
        max-height: 60vh;
    }
}

.flatpickr-confirm {
    background-color: var(--wpd-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 8px;
}

.flatpickr-confirm:hover {
    background-color: var(--wpd-color);
}

.flatpickr-confirm:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.3);
}

.flatpickr-confirm svg {
    display: none;
}

.form-control {
    border-radius: 12px;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)> :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group> :not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.btn.btn-sm.btn-outline-secondary.edit-saved-filter-btn {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

div.dataTables_wrapper div.dataTables_filter {
    margin-right: 1rem;
}

.page-item:first-child .page-link {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.page-item:last-child .page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

select[name="DataTables_Table_0_length"].form-select.form-select-sm {
    border-radius: var(--border-radius);
}

a,
a:hover {
    color: var(--ct-table-color);
}

.modal-content {
    border-radius: 17px;
}

div.dataTables_wrapper div.dataTables_filter {
    margin-right: 1rem;
}

.input-group.small-bar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    align-content: end;
    float: inline-end;
}

.dashboard-index-chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 20px;
}

.dashboard-index-stats-card {
    /* background: linear-gradient(135deg, var(--wpd-color) 0%, #1F4B20 100%); */
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); */
    transition: transform 0.3s ease;
}

.dashboard-index-stats-card:hover {
    transform: translateY(-5px);
}


.dashboard-index-chart-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.dashboard-index-chart-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dashboard-card-empty-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #666;
    font-size: 16px;
}

.dashboard-index-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.dashboard-index-activity-count {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.dashboard-index-activity-label {
    font-size: 14px;
    color: #666;
}

.dashboard-index-activity-highlight {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-left: 4px solid #667eea;
}

.dashborad-card-activity-icon {
    font-size: 24px;
    margin-right: 15px;
    color: #667eea;
}

.dashboard-index-activity-time {
    font-size: 12px;
    color: #888;
}

.dashboard-index-activity-content {
    flex-grow: 1;
}

.user-view-profile-card {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    background: white;
}

.user-view-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Stats Card Styles */
.user-view-stats-card {
    border-radius: 14px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    border: none;
    position: relative;
    overflow: hidden;
    color: white;
}

.user-view-stats-card1 {
    background-image: url('../img/user-orange-card.png');
}

.user-view-stats-card2 {
    background-image: url('../img/user-blue-card.png');
}

.user-view-stats-card1,
.user-view-stats-card2 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 170px;
}

.user-view-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.user-view-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.user-view-stats-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.user-view-stats-card:hover::after {
    opacity: 1;
}

.user-view-stat-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 24px;
}

.user-view-stat-value {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    line-height: 1.2;
}

.user-view-stat-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.user-view-stat-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    margin-top: 8px;
}

/* Card Background Gradients */
.user-view-card-primary {
    background: linear-gradient(135deg, #4a6cf7 0%, #2541b2 100%);
}

.user-view-card-success {
    background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
}

.user-view-card-info {
    background: linear-gradient(135deg, #17a2b8 0%, #117a8b 100%);
}

.user-view-card-warning {
    background: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
}

/* Address Card Styles */
.user-view-address-card {
    border-radius: 14px;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    height: 100%;
    background: white;
}

.user-view-address-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.user-view-address-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
    background: var(--card-color);
    color: white;
}

.user-view-map-preview {
    height: 160px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.user-view-map-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.user-view-map-preview:hover img {
    transform: scale(1.05);
}

.user-view-map-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 8px;
    text-align: center;
    font-size: 13px;
}

/* Chart Styles */
.user-view-chart-container {
    height: 320px;
    min-height: 320px;
    position: relative;
}

.user-view-no-data-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    flex-direction: column;
    color: #adb5bd;
    text-align: center;
    padding: 20px;
}

.user-view-no-data-chart i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.6;
}

.user-view-no-data-chart h5 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #6c757d;
}

.user-view-no-data-chart p {
    font-size: 14px;
    color: #adb5bd;
    max-width: 300px;
    margin: 0 auto;
}

/* Profile Image Styles */
.user-view-profile-img-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.user-view-profile-img-container .user-view-status-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-view-profile-img-container .user-view-status-badge i {
    font-size: 12px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .user-view-stat-value {
        font-size: 28px;
    }

    .user-view-stat-icon-container {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .user-view-stat-value {
        font-size: 24px;
    }

    .user-view-stat-label {
        font-size: 14px;
    }

    .user-view-chart-container {
        height: 280px;
    }

    .user-view-address-card {
        margin-bottom: 20px;
    }
}

.btn-theme-success {
    color: var(--wpd-color);
    border-color: var(--wpd-color);
}

.btn-theme-success:hover {
    background-color: var(--wpd-color);
    color: var(--wpd-text-menu-color)
}

/* Base styling */
.btn-theme-dropdown {
    color: var(--wpd-color);
    border: 1px solid var(--wpd-color);
    background-color: transparent;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 16 16' fill='%230EA1B1' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
    /* Make space for arrow */
    border-radius: var(--border-radius);
    text-align: center;
}

/* Hover state */
/* .btn-theme-dropdown:hover {
    background-color: var(--wpd-color);
    color: var(--wpd-text-menu-color)
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
} */

.btn-theme-second-success {
    color: #EE7926;
    border-color: #EE7926;
}

.btn-theme-second-success:hover {
    background-color: #EE7926;
    color: var(--wpd-text-menu-color)
}

.order-view-timeline-advanced {
    position: relative;
    padding-left: 50px;
}

.order-view-timeline-advanced::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e9ecef;
}

.order-view-timeline-item-advanced {
    position: relative;
    padding-bottom: 25px;
}

.order-view-timeline-item-advanced:last-child {
    padding-bottom: 0;
}

.order-view-timeline-marker {
    position: absolute;
    left: -50px;
    width: 32px;
    height: 32px;
    font-size: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: #3b5de7;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #3b5de7;
}

.order-view-timeline-marker i {
    font-size: 16px;
}

.order-view-timeline-content {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border-left: 3px solid #3b5de7;
}

.order-view-timeline-status {
    font-weight: 600;
    color: #495057;
}

.order-view-timeline-date {
    font-size: 12px;
    color: #6c757d;
}

.order-view-timeline-notes {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 4px;
    font-size: 13px;
    border-left: 2px solid #dee2e6;
}

.order-view-cancellation-card {
    border-left: 4px solid #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.order-view-cancellation-title {
    color: #dc3545;
    font-weight: 600;
}

.order-view-json-viewer {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.5;
    white-space: pre-wrap;
}

.order-view-order-summary-card {
    border-radius: 8px;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
}

.order-view-order-summary-title {
    font-size: 15px;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px dashed #dee2e6;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.order-view-order-detail-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.order-view-order-detail-label {
    color: #6c757d;
    font-size: 13px;
}

.order-view-order-detail-value {
    font-weight: 500;
    color: #495057;
}

.order-view-product-img-sm {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.btn-theme-second-background {
    background: #EE7926 !important;
}

.btn-theme-first-background {
    background: var(--wpd-color) !important;
}

.shop-view-card1 {
    background-image: url('../img/user-orange-card.png');
}

.shop-view-card2 {
    background-image: url('../img/user-blue-card.png');
}

.shop-view-card1,
.shop-view-card2 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
    height: 170px;
}

.shop-header {
    background: var(--wpd-color);
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    position: relative;
    color: white;
    margin-bottom: 1.5rem;
    background-size: 200% 200%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.shop-view-shop-header-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.shop-view-shop-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.shop-view-shop-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.shop-view-shop-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.shop-view-shop-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.shop-view-shop-subtitle {
    opacity: 0.9;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.shop-view-shop-status-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--wpd-color) !important;
}

/* Stats Cards */
.shop-view-stats-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    color: white;
    transition: all 0.3s ease;
    border: none;
    animation: gradientBG 15s ease infinite;
}

.shop-view-stats-card:hover {
    transform: translateY(-5px);
}

.shop-view-stats-card .shop-view-card-icon {
    font-size: 3.5rem;
    position: absolute;
    right: 1.5rem;
    top: 4.5rem;
    opacity: 0.2;
    transition: all 0.3s ease;
}

.shop-view-stats-card:hover .shop-view-card-icon {
    opacity: 0.4;
    transform: scale(1.1);
}

.shop-view-stats-card .shop-view-card-title {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.shop-view-stats-card .shop-view-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.shop-view-stats-card .card-change {
    font-size: 0.75rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
}

/* .shop-view-stats-card-shops {
                background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            }

            .shop-view-stats-card-categories {
                background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
            }

            .shop-view-stats-card-products {
                background: linear-gradient(135deg, #00b09b 0%, #96c93d 100%);
            }

            .shop-view-stats-card-revenue {
                background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
            } */

/* Info Cards */
.shop-view-info-card {
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border: none;
    transition: all 0.3s ease;
    background-color: white;
}

.shop-view-info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.shop-view-info-card .card-header {
    background-color: #f7fafc;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    padding: 1rem 1.5rem;
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

.shop-view-info-card .card-body {
    padding: 1.5rem;
}

.shop-view-info-table {
    width: 100%;
}

.shop-view-info-table tr:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.shop-view-info-table td {
    padding: 0.75rem 0;
    vertical-align: top;
}

.shop-view-info-table .label {
    color: #6c757d;
    font-weight: 500;
    width: 40%;
}

/* Mini Map */
.shop-view-mini-map-container {
    height: 200px;
    width: 100%;
    border-radius: 0.375rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    margin-top: 1rem;
    position: relative;
}

.shop-view-map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    color: #6c757d;
    z-index: 100;
}

/* Revenue Cards */
.shop-view-revenue-card {
    border-radius: 0.375rem;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.shop-view-revenue-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.shop-view-revenue-card .shop-view-card-title {
    font-size: 0.875rem;
    color: var(--wpd-text-menu-color)
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.shop-view-revenue-card .shop-view-card-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.shop-view-revenue-card .shop-view-card-icon {
    font-size: 2.5rem;
    opacity: 0.2;
    position: absolute;
    right: 1.25rem;
    top: 1.25rem;
    transition: all 0.3s ease;
}

.shop-view-revenue-card:hover .shop-view-card-icon {
    opacity: 0.3;
    transform: scale(1.1);
}

.shop-view-revenue-card-total {
    background-color: var(--wpd-color);
    color: var(--wpd-text-menu-color)
}

.shop-view-revenue-card-commission {
    background-color: #EE7926;
    color: var(--wpd-text-menu-color)
}

.shop-view-revenue-card-shop {
    background-color: var(--wpd-color);
    color: var(--wpd-text-menu-color)
}

/* Chart Section */
.shop-view-chart-container {
    background: white;
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.shop-view-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.shop-view-chart-title {
    font-weight: 600;
    margin-bottom: 0;
}

.shop-view-date-range-picker {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: var(--border-radius);
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.shop-view-date-range-picker:hover {
    border-color: #5e72e4;
}

.shop-view-ct-legend {
    text-align: center;
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.shop-view-ct-legend li {
    display: inline-flex;
    padding: 0 1rem;
    list-style: none;
    position: relative;
    padding-left: 1.5rem;
    margin: 0.25rem;
    align-items: center;
}

.shop-view-ct-legend li:before {
    width: 1rem;
    height: 1rem;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    content: '';
    border-radius: 2px;
}

.shop-view-ct-series-0:before {
    background-color: #5e72e4;
}

.shop-view-ct-series-1:before {
    background-color: #ff8acc;
}

.shop-view-ct-series-2:before {
    background-color: #f9c851;
}

/* No Data State */
.shop-view-no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    color: #6c757d;
}

.shop-view-no-data-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.shop-view-no-data-text {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Payouts Section */
.shop-view-payout-card {
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border: none;
}

.shop-view-payout-card .card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background-color: #fdfdfd;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-weight: 600;
    border-radius: 0.375rem 0.375rem 0 0 !important;
}

.shop-view-payout-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.shop-view-badge-paid {
    background-color: rgba(45, 206, 137, 0.1);
    color: #2dce89;
}

.shop-view-badge-pending {
    background-color: rgba(251, 99, 64, 0.1);
    color: #fb6340;
}

.shop-view-badge-failed {
    background-color: rgba(245, 54, 92, 0.1);
    color: #f5365c;
}

.shop-view-badge-processing {
    background-color: rgba(17, 205, 239, 0.1);
    color: #11cdef;
}

/* Status Section */
.shop-view-status-card {
    border-radius: 0.375rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
    border: none;
    margin-bottom: 1.5rem;
}

.shop-view-status-card.active .card-header {
    background-color: rgba(45, 206, 137, 0.1);
    border-bottom: 1px solid rgba(45, 206, 137, 0.2);
    color: #2dce89;
}

.shop-view-status-card.inactive .card-header {
    background-color: rgba(245, 54, 92, 0.1);
    border-bottom: 1px solid rgba(245, 54, 92, 0.2);
    color: #f5365c;
}

.shop-view-status-card .card-body {
    padding: 1.5rem;
}

.shop-view-status-alert {
    border-radius: 0.375rem;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.shop-view-status-alert i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.shop-view-status-alert-content {
    flex: 1;
}

.shop-view-status-history-btn {
    white-space: nowrap;
    margin-left: 1rem;
}

/* Action Buttons */
.shop-view-action-btn {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.shop-view-action-btn:hover {
    transform: scale(1.1);
}

.shop-view-btn-view {
    background-color: rgba(17, 205, 239, 0.1);
    color: #11cdef;
}

.shop-view-btn-view:hover {
    background-color: rgba(17, 205, 239, 0.2);
}

.shop-view-btn-edit {
    background-color: rgba(94, 114, 228, 0.1);
    color: #5e72e4;
}

.shop-view-btn-edit:hover {
    background-color: rgba(94, 114, 228, 0.2);
}

.shop-view-btn-delete {
    background-color: rgba(245, 54, 92, 0.1);
    color: #f5365c;
}

.shop-view-btn-delete:hover {
    background-color: rgba(245, 54, 92, 0.2);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: 0.375rem;
    color: transparent !important;
    user-select: none;
}

.shop-view-chart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 10;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.shop-view-chart-loading-spinner {
    width: 3rem;
    height: 3rem;
    border: 0.25em solid rgba(94, 114, 228, 0.2);
    border-top-color: #5e72e4;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

.shop-view-chart-loading-text {
    color: #5e72e4;
    font-weight: 500;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Responsive Adjustments */
@media (max-width: 767.98px) {
    .shop-view-shop-header-content {
        flex-direction: column;
        text-align: center;
    }

    .shop-view-shop-avatar {
        margin-bottom: 1rem;
    }

    .shop-view-stats-card .shop-view-card-value {
        font-size: 1.5rem;
    }

    .shop-view-info-table .label {
        width: 50%;
    }

    .shop-view-chart-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .shop-view-date-range-picker {
        margin-top: 1rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.shop-view-animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

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

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

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

.shop-view-revenue-card small {
    color: #fff !important;
}

.delivery-man-card1 {
    background-image: url('../img/delivery-card1.png');
}

.delivery-man-card2 {
    background-image: url('../img/delivery-card2.png');
}

.delivery-man-card1,
.delivery-man-card2 {
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 10px;
}

.delivery-man-view-stats-card {
    border-radius: 15px;
    color: white;
    transition: transform 0.3s ease;
}

.delivery-man-view-delivery-document-card {
    border-left: 4px solid var(--wpd-color);
    transition: all 0.3s ease;
}

.delivery-man-view-stats-card:hover {
    transform: translateY(-5px);
}

.delivery-man-view-chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

.delivery-man-view-no-data-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 300px;
    color: #6c757d;
}

.delivery-man-view-delivery-profile-header {
    background: var(--wpd-color);
    border-radius: 15px 15px 0 0;
}

.delivery-man-view-delivery-document-card {
    transition: transform 0.3s ease;
}

.delivery-man-view-delivery-document-card:hover {
    transform: translateY(-3px);
}

.delivery-man-view-delivery-document-image {
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.delivery-man-view-delivery-document-image:hover {
    transform: scale(1.05);
}

.delivery-man-view-date-range-picker {
    cursor: pointer;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.delivery-man-view-date-range-picker:hover {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.payout-index-stats-card {
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-left: none;
}

.payout-index-stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.payout-index-stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
}

.payout-index-stats-card-total {
    background: var(--wpd-color);
}

.payout-index-stats-card-amount {
    background: var(--wpd-color);
}

.payout-index-stats-card-paid {
    background: var(--wpd-color);
}

.payout-index-stats-card-pending {
    background: var(--wpd-color);
}

.payout-index-stats-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.payout-index-stats-card:hover .payout-index-stats-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
}

.payout-stats-number {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.payout-index-stats-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0;
    opacity: 0.9;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payout-index-animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.payout-index-delay-1 {
    animation-delay: 0.2s;
}

.payout-index-delay-2 {
    animation-delay: 0.4s;
}

@media (max-width: 768px) {
    .payout-index-stats-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .payout-index-stats-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
}

.payout-card-card {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.payout-index-card-header {
    background-color: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.25rem 1.5rem;
    border-radius: 12px 12px 0 0 !important;
}

.payout-index-card-title {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.payout-index-card-title i {
    margin-right: 0.5rem;
    color: #6366f1;
    /* var(--primary) */
}

.payout-index-status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.payout-index-status-badge i {
    margin-right: 0.25rem;
    font-size: 0.625rem;
}

.payout-index-date-picker-group {
    position: relative;
}

.payout-index-date-picker-group .form-control {
    padding-left: 2.5rem;
    height: 45px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.payout-index-date-picker-group .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #818cf8;
    z-index: 2;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payout-index-animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.payout-index-delay-1 {
    animation-delay: 0.1s;
}

.payout-index-delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .payout-index-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .payout-index-card-header .btn {
        margin-top: 1rem;
        width: 100%;
    }
}

.border-radius,
.form-select-sm,
.form-control,
.form-select,
div.bulk-select-container,
.btn-theme-second-success,
.btn-primary,
#datatableSearch,
.btn-theme-success {
    border-radius: var(--border-radius) !important;
}

.input-group .form-control#location-search,
.form-control#passwordField,
#reportrange span {
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.input-group .btn-outline-secondary,
.input-group .btn-primary,
#reportrange #date-range {
    border-radius: 0 var(--border-radius) var(--border-radius) 0 !important;
}

.paginate_button.page-item.next .page-link {
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
}

.paginate_button.page-item.previous .page-link {
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.btn.btn-sm.btn-outline-danger.remove-rule-btn {
    padding-left: 10px;
    width: 30px;
}

.report-tabs .nav-link {
    font-weight: 600;
    color: var(--wpd-color);
}

/* .nav-tabs .nav-link.active {
 border-top-left-radius: 20px !important;
 border-top-right-radius: 20px !important;
}

.nav-tabs .nav-link {
 border-top-left-radius: 20px !important;
 border-top-right-radius: 20px !important;
} */

.dataTables_filter .input-group {
    width: 60%;
}

.sort-order-handle {
    cursor: move;
}

.bg-none {
    background: none;
}

.custom-report-card {
    background-position: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    border-radius: 20px;
    height: 170px;
}

.svg-icons {
    width: 30px !important;
    height: 30px !important;
    margin-right: 0px !important;
}


table.dataTable>thead .sorting_asc:before,
table.dataTable>thead .sorting_asc:after {
    display: none !important;
}

.filter-logic-toggle .btn:first-child,
.saved-filters-dropdown,
.login-content #emailaddress,
.login-content #password {
    border-radius: var(--border-radius) 0 0 var(--border-radius) !important;
}

.form-control[type=file] {
    padding: 0px 15px !important;
}

.btn-sm.dropdown-toggle {
    border-radius: var(--border-radius);
}

.swal2-popup {
    border-radius: 25px !important;
}

.swal2-modal .swal2-confirm {
    background-color: var(--wpd-color) !important;
    padding: 7px 20px 7px 20px;
    border-radius: var(--border-radius) !important;
}

.swal2-styled.swal2-cancel {
    background-color: var(--wpd-secondary-color) !important;
    padding: 7px 20px 7px 20px;
    border-radius: var(--border-radius) !important;
}

.form-check-input:checked {
  background-color: var(--wpd-color) !important;
  border: var(--wpd-color) !important;
}

.form-check-input {
  border-color: var(--wpd-color) !important;
}
