:root {
    --theme-color: #f58634;
    --dark-blue: #07659e;
}

#ajaxPreloader {
    position: fixed;
    display: none;
}

/* start right modal */

.right-modal {
    overflow-y: hidden;
    margin: 0;
    padding: 0;
}

.right-modal .modal-dialog {
    margin-left: auto;
    margin-right: 0;
    margin-top: 0px;
    height: 100%;
    margin-bottom: 0;
    background-color: #fff;
    /* width: 400px; */
}

.right-modal .modal-body {
    background-color: white;
    /* height: calc(100vh - 60px); */
    padding: 0px;
}

.right-modal .modal-body .form-row-main {
    height: calc(100vh - 140px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px;
}

.right-modal .modal-footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    background: white;
}

.right-modal .modal-content,
.right-modal form {
    border-bottom: 0px;
    border-radius: 0;
}

/* end right modal */
.container {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
    max-width: 100% !important;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-right: auto;
    margin-left: auto;
}
input.error {
    border: 1px solid red;
}

label.error {
    color: red;
}

.switch {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 18px;
    border-radius: 20px;
    background: #c9c9c9;
    transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
}

.switch::before {
    content: "";
    position: absolute;
    top: 1px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fafafa;
    border-radius: 50%;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.28s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28),
        0 0 0 20px rgba(128, 128, 128, 0.1);
}

input:checked + .switch {
    background: #0168fa;
}

input:checked + .switch::before {
    left: 22px;
    background: #fff;
}

input:checked + .switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(0, 150, 136, 0.2);
}

.alert-dismissible .close {
    position: absolute;
    font-size: 22px;
    color: #000;
}

.bootstrap-growl.alert-dismissible h4 {
    margin-top: 8px;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 58%;
}

.dropdown-message .dropdown-header,
.dropdown-notification .dropdown-header {
    padding: 12px 19px;
}

.modal .form-group .select2-container {
    width: 100% !important;
}
.offcanvas .form-group .select2-container {
    width: 100% !important;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.import-table {
    max-height: 50vh;
    overflow-y: auto;
    margin: 20px 5px;
    position: relative;
}

.import-table table {
    border-color: transparent;
    box-shadow: 0 0 25px rgba(26, 108, 225, 0.1);
    background-color: #fff;
    padding: 15px;
}

/* .import-table::-webkit-scrollbar-track
{
	-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
	background-color: #F5F5F5;
} */

.import-table::-webkit-scrollbar {
    width: 10px;
    background-color: #f5f5f5;
}

.import-table::-webkit-scrollbar-thumb {
    background-color: #ddd;
    border: 2px solid #f4f4f4;
}

.import-table-view {
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(136, 136, 136, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    min-height: 50vh;
}

.overlay.hidden {
    display: none;
}

.loader {
    border: 5px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #0168fa;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite;
}

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

.replacement-order li {
    padding: 10px 15px;
}
.replacement-order li p {
    margin-bottom: 0px;
}
.replacement-order li h6 {
    font-weight: 600;
    margin-bottom: 0px;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin-top: 1px;
}

.select2-container .select2-selection--multiple {
    padding-bottom: 0px;
}

.alert {
    padding: 6px 15px;
}

/* .table th, .table td {
    line-height: 2.5;
} */

.discount-tabs .nav-tabs .nav-link.active {
    background-color: #0168fa;
    z-index: 5;
    color: #fff;
    border: 1px solid #0168fa;
}

.discount-tabs .nav-tabs .nav-link {
    border-radius: 5px;
    padding: 10px 25px;
}
.discount-tabs .nav-tabs .nav-item + .nav-item {
    margin-left: 15px;
}

.replacement-order li:nth-child(odd) {
    background-color: #ffffff;
}

.replacement-order li:nth-child(even) {
    background-color: #f2f2f2;
}

.replacement-order li:hover {
    background-color: #e0e0e0;
    cursor: pointer;
}

.vertical-user-tab .nav-tabs.flex-column .nav-item .nav-link {
    border-bottom: 1px solid #ddd !important;
    cursor: pointer;
    background: transparent;
    border: none;
    position: relative;
    justify-content: start;
    font-size: 16px;
    font-weight: 600;
    padding: 27px 25px;
}

.vertical-user-tab .nav-tabs.flex-column .nav-item:last-child .nav-link {
    border-bottom: 0px !important;
}

.vertical-user-tab .nav-tabs.flex-column {
    border-right: 0px;
}
.vertical-user-tab .nav-tabs .nav-link.active::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    width: 3px;
    height: 100%;
    background-color: #0168fa;
}
.vertical-user-tab .nav-tabs.flex-column .nav-item .nav-link:hover {
    background: #f9f8f8;
}

.vertical-user-tab .nav-tabs .nav-link.active {
    color: #0168fa;
    background-color: #fff !important;
}

.vertical-user-tab .nav-tabs .nav-link.active:hover {
    color: #596882;
    border-color: #0168fa;
    background: #f9f8f8 !important;
}

.vertical-user-tab .nav-tabs.flex-column .nav-item + .nav-item {
    margin-top: 0px;
}

.card-min-height {
    height: calc(100vh - 160px);
    overflow: auto;
}

.notification-border {
    padding: 13px 10px;
    margin-left: 15px;
}

.notification-list {
    margin: 11px 0px;
    position: relative;
}

.notification-list::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    background-color: #8392a5;
    border-radius: 5px 0px 0px 5px;
}

.notif-icon {
    height: 45px;
    width: 45px;
    border-radius: 50%;
    background-color: #ccddf3;
    line-height: 45px;
    margin-right: 15px;
    text-align: center;
    border: 1px solid #ccddf3;
}

.notif-icon svg {
    color: #0168fa;
    height: 20px;
    width: 20px;
}

.notification-list h5 {
    font-size: 16px;
}

.input-close {
    position: absolute;
    right: 5px;
    padding: 5px;
    top: 15%;
}
.input-close i {
    color: #b2bec1;
    cursor: pointer;
}

.ui-widget-content {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.card-data-view {
    height: 100vh;
}

.content-auth {
    min-height: calc(100vh - 106px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .vertical-user-tab .nav-wrappers {
        overflow-x: auto;
        white-space: nowrap;
    }

    .vertical-user-tab .nav-tabs {
        flex-direction: row !important;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .vertical-user-tab .nav-item {
        display: inline-block;
    }

    .vertical-user-tab .nav-link {
        display: inline-block;
        white-space: nowrap;
    }

    .vertical-user-tab .nav-tabs.flex-column .nav-item .nav-link {
        border-right: 1px solid #ddd;
        border-bottom: 0px !important;
        padding: 8px 30px;
        height: 55px;
        line-height: 37px;
    }
    .vertical-user-tab .nav-tabs.flex-column .nav-item .nav-link:hover {
        background-color: #fff;
    }
    .vertical-user-tab .nav-tabs.flex-column .nav-item:last-child .nav-link {
        border-right: 0px;
    }

    .card-min-height {
        height: auto;
    }

    .vertical-user-tab .nav-tabs.flex-column {
        border-right: 0px;
    }
}

.product-review-details .product-img img {
    height: 80px;
    width: 80px;
    object-fit: cover;
    border-radius: 10px;
}

.product-main-rating h2 svg {
    width: calc(19px + 4 * (100vw - 320px) / 1600);
    height: calc(19px + 4 * (100vw - 320px) / 1600);
    fill: #ffb321;
    stroke: #ffb321;
}

.product-main-rating {
    display: flex;
    margin-bottom: 25px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 14px;
}

.wd200 {
    width: 200px;
}

.card-list-view {
    padding-left: 0;
    margin-left: 0;
    width: 100%;
    margin-bottom: 0px;
}

.card-list-view li {
    list-style-type: none;
    border-bottom: 1px solid #d1d1d1;
    padding: 20px 0px;
}

.card-list-view li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.card-list-view li:first-child {
    padding-top: 0px;
}

.calender-position {
    right: 25px;
    top: 64%;
    transform: translateY(-50%);
    position: absolute;
}

.nav-line .nav-link {
    cursor: pointer;
}

.btn-new-sm {
    padding: 3px 5px;
    line-height: 22px;
    padding-bottom: 0px;
    height: 28px;
    width: 28px;
    text-align: center;
}

.order-detail-table tbody tr td {
    border-color: transparent !important;
}
.order-detail-table tbody tr:first-child td {
    padding-bottom: 0px;
}
.order-detail-table tbody tr:last-child td {
    padding-top: 0px;
    padding-bottom: 0px;
}
/* Partner Css Start  */

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

.user-profile {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px 0px;
}

.user-account-info hr {
    border-color: #d1d1d1;
}

hr.dark-hr-border {
    border-color: #8392a5;
}

.profile-right-side .card .card-body a {
    border: 1px solid #565656;
    border-radius: 5px;
    padding: 5px;
}

.profile-right-side .card .card-body a:hover {
    background-color: #565656;
    border-color: #fff;
}

.profile-right-side .card .card-footer a:hover {
    color: #0168fa;
}
.profile-right-side .card .card-footer a:hover svg {
    color: #0168fa;
}

.profile-right-side .card .card-body a:hover svg {
    color: #fff;
}
.profile-right-side .card .card-body a svg {
    height: 17px;
    width: 17px;
    color: #565656;
}

.text-main {
    color: var(--theme-color);
}

.text-hover:hover {
    color: #0168fa;
}

.tx-main-2 {
    color: #f58634;
}

.tx-main-3 {
    color: #4f8647;
}

a.tx-main-3:hover {
    color: #000;
}

.dash-card-min-h {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 5px;
}

/* Webkit browsers (Chrome, Safari, Edge) */
.dash-card-min-h::-webkit-scrollbar {
    width: 5px;
}

.dash-card-min-h::-webkit-scrollbar-thumb {
    background-color: #b4bdce;
    border-radius: 15px;
}

.dash-card-min-h::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

.dash-card-min-h::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    border-radius: 15px;
}

/* Firefox */
.dash-card-min-h {
    scrollbar-width: thin;
    scrollbar-color: #b4bdce #f1f1f1;
}

.dash-testo-list {
    width: 100%;
    margin-left: 0px;
    padding-left: 0px;
}
.dash-testo-list li {
    list-style-type: none;
    border-bottom: 1px solid #d1d1d1;
    padding: 20px 0px;
}

.dash-testo-list li:last-child {
    border-bottom: none;
    padding-bottom: 0px;
}

.dash-testo-list li:first-child {
    padding-top: 0px;
}

.product-list-table.demo-table .table th,
.product-list-table.demo-table .table td {
    white-space: wrap;
}

.product-list-table.demo-table .table td.product-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 37px;
}

.card-list-counter .card {
    height: 100%;
}

@media (min-width: 1200px) {
    .navbar-header .navbar-right {
        width: 312px;
    }
}

@media (max-width: 1280px) {
    .card-list-counter .card h3 {
        font-size: 14px;
        font-weight: 600;
    }

    .card-list-counter .card.card-body {
        padding: 10px;
    }
    .card-list-counter .card h6 {
        font-size: 10px !important;
        margin-bottom: 0px;
    }
}
/* Partner CSS END  */

.select2-selection__rendered {
    width: fit-content;
    margin: 0;
}

.cursor-pointer {
    cursor: pointer;
}
.select-multi .select2-selection .select2-selection__rendered {
    display: inline-block !important;
    margin: 0;
    padding: 0;
    vertical-align: top;
    width: fit-content;
    vertical-align: sub;
}
.select-multi .select2-search--inline {
    display: inline-block;
}
.select-multi
    .select2-container--default
    .select2-search--inline
    .select2-search__field {
    padding-left: 0.625rem;
    margin-left: 0;
}
.select-multi
    .select2-container--default
    .select2-selection--multiple
    .select2-selection__choice__display {
    padding-left: 7px;
}
.ht-fit {
    height: fit-content;
}
.unit-list .unit-type {
    border: none;
}
.unit-list .unit-type:first-child {
    border-right: 1px solid rgba(72, 94, 144, 0.16);
}
@media (max-width: 1280px) {
    .unit-list .unit-type:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(72, 94, 144, 0.16);
    }
}

.tooltip.cust-tooltip {
    position: relative;

    display: inline-block;

    opacity: 1;

    font-size: 17px;

    cursor: pointer;

    z-index: 1;

    padding: 0;
}

.tooltip.cust-tooltip .tooltiptext {
    visibility: hidden;

    width: max-content;

    background-color: black;

    color: #fff;

    text-align: start;

    border-radius: 6px;

    padding: 5px 14px;

    position: absolute;

    z-index: 1;

    top: 50%;

    left: 110%;

    transform: translateY(-50%);

    font-size: 12px;
}

.cust-tooltip.center-top .tooltiptext {
    width: 210px;
    top: -30px;
    left: -155px;
}

.tooltip.cust-tooltip .tooltiptext::after {
    content: "";

    position: absolute;

    top: 50%;

    right: 100%;

    margin-top: -5px;

    border-width: 5px;

    border-style: solid;

    border-color: transparent black transparent transparent;
}

.noafter.cust-tooltip .tooltiptext::after {
    content: none;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

/* Dashboard css  */

.text-dark-blue {
    color: var(--dark-blue) !important;
}

/* button start  */
.btn-filled-blue {
    background-color: var(--dark-blue) !important;
}
.btn-filled-blue:hover {
    background-color: #fff !important;
    color: var(--dark-blue) !important;
    border: 1px solid var(--dark-blue);
}

.btn-outline-blue {
    border: 1px solid var(--dark-blue);
    color: var(--dark-blue) !important;
}

.btn-outline-blue:hover {
    background-color: var(--dark-blue) !important;
    color: #fff !important;
}

.btn-outline-black {
    border: 1px solid #000;
    color: #000 !important;
}

.btn-outline-black:hover {
    color: var(--dark-blue) !important;
    border: 1px solid var(--dark-blue) !important;
}

/* button end css  */

.dashboard-main-container .admin-profile-card .profile-head {
    height: 50px;
    background-color: var(--dark-blue);

    .img-admin {
        bottom: -30px;
        left: 20px;
        height: 64px;
        width: 64px;
        border-radius: 50%;
        overflow: hidden;
    }
    .img-admin img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        border-radius: 50%;
    }
}
.dashboard-main-container .admin-profile-card .profile-body {
    padding: 32px 20px;
}

.dashboard-main-container .right-side-profiles .card-body {
    padding: 40px 20px !important;

    .icon {
        padding: 12px 15px;
        border-radius: 50%;
        background-color: var(--dark-blue);
    }
}
.appointment-main h5 {
    font-size: 16px;
}
.flex-shrink-1 {
    flex-shrink: 1;
}

.custom-tab .nav-link.active {
    background-color: #fff;
    z-index: 5;
    color: #0168fa;
    border-bottom: 2px solid #0168fa;
}

.custom-tab  .nav-link {
    background-color: white;
    color: #596882;
    position: relative;
    margin-bottom: -1px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    transition: background-color 0.2s;
    border: none;
    border-bottom: 1px solid rgba(72, 94, 144, 0.16);

}
  .combo-offcanvas {
    /* Ensure flex layout for sticky button */
    display: flex;
    flex-direction: column;
  }

  /* Hide radio inputs inside combo-offcanvas */
  .combo-offcanvas input[type="radio"] {
    display: none;
  }

  /* Highlight selected item */
  .combo-offcanvas .list-group-item.selected {
    background-color: #e7f1ff;
    border-color: #0d6efd;
  }

  /* Offcanvas body layout for sticky button */
  .combo-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .combo-offcanvas form {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  .combo-offcanvas .list-group {
    flex: 1 1 auto;
    overflow-y: auto;
  }

  .combo-offcanvas button[type="submit"] {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
  }
    .combo-offcanvas .list-group-item:has(input[type="radio"]:checked) {
    background-color: #ebf5fd;
    border-color: #0d6efd; 
  }