:root {
    /* Main Background & Primary Colors */
    --bg-main: #fff;          /* Clean soft white */
    --primary: #3a7bd5;         /* Modern soft blue */
    --secondary: #2a5ea8;       /* Deep business blue */
    --tertiary: #fff;        /* Light grey-blue for sections */
    --quaternary: #fff;      /* Slightly darker divider bg */
    
    /* RGB variants for transparency */
    --c1: #3a7bd5;
    --c1-rgb: 58, 123, 213;
    --tc: #2b3442;
    --tc-rgb: 43, 52, 66;

    /* Legacy variable mappings for compatibility */
    --title-3: #3a7bd5;
    --title-clr: #3a7bd5;
    --accent: #2a5ea8;
    --light-pink: #dfe4ec;
    --rose: #2a5ea8;

    /* Additional color variables */
    --blue: #3a7bd5;
    --green: #2ecc71;           /* Smooth business green */
    --red: #e74c3c;             /* Soft modern red */
    --grey: #7b8493;            /* Elegant neutral grey */

    /* Text Colors */
    --text-light: #2b3442;      /* Soft dark grey */
    --text-muted: #5e5e5e;      /* Neutral muted grey */
    --text-dark: #111827;       /* Clean black-ish */

    /* UI States */
    --success: #2ecc71;
    --warning: #f5b100;
    --danger: #e74c3c;
    --info: #3a7bd5;

    /* Shadows & Effects */
    --shadow-sm: 0 2px 8px rgba(58, 123, 213, 0.06);
    --shadow-md: 0 4px 16px rgba(58, 123, 213, 0.1);
    --shadow-lg: 0 8px 24px rgba(58, 123, 213, 0.14);

    /* Borders */
    --border-color: rgba(58, 123, 213, 0.15);
    --border-radius: 12px;
    --border-radius-lg: 20px;
}

html {
    accent-color: var(--c1);
}

@media (min-width: 1200px) {
    .navbar-vertical-aside-show-xl.navbar-vertical-aside-mini-mode
        .navbar-vertical-aside
        .navbar-brand {
        display: none;
    }
}
.has-navbar-vertical-aside .navbar-vertical-aside-toggle-full-align {
    padding: 16px;
}

.navbar-brand-logo {
    height: 26px;
}

/* Gap */
.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

.gap-10 {
    gap: 0.625rem !important;
}

.gap-20 {
    gap: 1.25rem !important;
}

.gap-30 {
    gap: 1.875rem !important;
}

/* Color */
.text--primary {
    color: var(--c1) !important;
}

/* Font Size */
.fs-10 {
    font-size: 10px !important;
}

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-22 {
    font-size: 22px !important;
}

.fs-24 {
    font-size: 24px !important;
}

/* Common Classes */
.mn-w200 {
    min-inline-size: 200px !important;
}

.h-400 {
    block-size: 400px;
}

.img-fit,
.spartan_item_wrapper img {
    inline-size: 100%;
    block-size: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.lh-1 {
    line-height: 1;
}

.lh-1\.3 {
    line-height: 1.3;
}

.gold {
    color: gold;
}

.bg-primary-light {
    background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    border-radius: 12px;
    border: 1px solid rgba(var(--c1-rgb), 0.1);
}

.cursor-pointer {
    cursor: pointer;
}

.rounded-50 {
    border-radius: 50px;
}

.grid-customers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.d--none {
    display: none;
}

.max-content {
    width: -moz-max-content;
    width: max-content;
}

.w-24ch {
    width: 24ch;
}

.border-primary-light {
    border: 1px solid rgba(var(--c1-rgb), 0.15);
}

.box-120 {
    inline-size: 120px;
    block-size: 120px;
}

label {
    text-transform: capitalize;
    color: var(--text-light);
    font-weight: 500;
}

.loader-wrap {
    position: fixed;
    z-index: 9999;
    left: 40%;
    top: 37%;
    width: 100%;
}

.pos-title {
    background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.08) 0%, rgba(0, 102, 255, 0.08) 100%);
    padding: 16px 20px;
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.15);
}

aside .navbar-vertical-aside-has-menu .nav-sub .nav-link {
    font-size: 0.8rem;
}
aside .navbar-nav > .nav-item:not(:first-child) {
    margin-top: 0px !important;
}
aside li .nav-link > span:not(:first-child) {
    display: flex;
    flex-grow: 1;
    justify-content: space-between;
    align-items: center;
}

.navbar-vertical-aside-has-menu.show > .nav-link,
.navbar-vertical .navbar-nav.nav-tabs .active > .nav-link,
.navbar-vertical .navbar-nav.nav-tabs .active.nav-link {
    background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    border-radius: 12px !important;
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: 0 4px 12px rgba(var(--c1-rgb), 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar-vertical .navbar-nav.nav-tabs {
    padding: 0 10px;
}

.navbar-vertical:not([class*="container"]) .navbar-nav .nav-link {
    padding: 0.375rem 1rem;
}

.navbar-vertical-aside-has-menu > .nav-link-toggle::before {
    display: none;
}

.navbar-vertical .navbar-nav.nav-tabs .nav-link {
    border-width: 0;
}

.navbar-vertical:not([class*="container"]) .navbar-nav .nav .nav-link {
    -webkit-padding-end: 1rem;
    padding-inline-end: 1rem;
    -webkit-padding-start: 2.75rem;
    padding-inline-start: 2.75rem;
}

.navbar-vertical:not([class*="container"]) .navbar-nav .nav-subtitle,
.navbar-vertical:not([class*="container"]) .navbar-nav .nav-subtitle-replacer,
.navbar-vertical:not([class*="container"]) .navbar-nav .nav-title {
    -webkit-padding-end: 1rem;
    padding-inline-end: 1rem;
    -webkit-padding-start: 1rem;
    padding-inline-start: 1rem;
}

.dropdown-toggle-left-arrow {
    -webkit-padding-start: 20px;
    padding-inline-start: 20px;
}

.dropdown-toggle-left-arrow:not(.dropdown-toggle-empty)::after {
    inline-size: 0;
    block-size: 0;
    -webkit-border-start: 4px solid transparent;
    border-inline-start: 4px solid transparent;
    -webkit-border-end: 4px solid transparent;
    border-inline-end: 4px solid transparent;
    -webkit-border-before: 6px solid var(--text-light);
    border-block-start: 6px solid var(--text-light);
}

.dropdown-toggle-left-arrow:after {
    position: absolute;
    inset-inline-start: 0;
}

.dropdown-menu {
    width: 16rem;
}

@media (max-width: 767px) {
    header .dropdown-toggle-left-arrow:not(.dropdown-toggle-empty)::after {
        display: none;
    }
}
.list-inline-menu {
    padding: 0;
    margin: 0;
    list-style-type: none;
    display: flex;
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.list-inline-menu li a {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.list-inline-menu li a:hover {
    color: var(--primary);
}

/* Dashboard Card */
.dashboard--card {
    background: linear-gradient(135deg, var(--quaternary) 0%, var(--tertiary) 100%);
    border-radius: 20px;
    padding: 30px 20px 20px;
    position: relative;
    border: 2px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-md);
    block-size: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}
.dashboard--card__title {
    font-weight: 700;
    font-size: 18px !important;
    color: var(--text-light);
}
.dashboard--card__subtitle {
    -webkit-margin-after: 10px;
    font-size: 14px;
    margin-block-end: 20px;
    font-weight: 600;
    color: var(--text-muted);
}
.dashboard--card__img {
    position: absolute;
    inset-block-start: 16px;
    inset-inline-end: 16px;
}

.order-stats {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-md);
}
.order-stats__content {
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-stats__title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.order-stats__subtitle {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 0;
    text-transform: capitalize;
    color: #fff;
}
.order-stats:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.option-select-btn {
    display: flex;
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    border-radius: 8px;
    padding: 3px;
    list-style: none;
}
.option-select-btn label {
    margin: 0;
}
.option-select-btn label span {
    color: var(--primary);
    border-radius: 15px;
    text-transform: capitalize;
    padding: 6px 12px;
    cursor: pointer;
    display: block;
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.option-select-btn label input:checked ~ span {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    font-weight: 700;
    box-shadow: var(--shadow-sm);
}

/* POS Product Item Grid */
.pos-item-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    max-block-size: 58vh;
    overflow-y: auto;
}

.pos-product-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 5px !important;
    position: relative;
}
.pos-product-item_thumb {
    height: 152px;
}
.pos-product-item_content {
    text-align: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}
.pos-product-item_title {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 5px;
    color: var(--text-light);
}
.pos-product-item_price {
    font-weight: 700;
    color: var(--primary);
}

.pos-cart-table {
    max-block-size: 45vh;
    overflow-y: auto;
}

input.qty {
    width: 50px;
    height: 30px;
    text-align: center;
}

dt {
    font-weight: inherit;
}

dd,
dt {
    color: var(--text-light);
}

.billing-section-wrap {
    max-block-size: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
}

.option-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.option-buttons input:checked + label {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) !important;
    border-color: var(--primary) !important;
    color: #fff !important;
    box-shadow: var(--shadow-sm);
}

#quick-view .btn-check {
    position: absolute;
    clip: rect(0, 0, 0, 0);
    pointer-events: none;
}
#quick-view .check-label {
    background-color: var(--tertiary);
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    font-size: 12px;
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    transition: all 0.3s ease;
}
#quick-view .check-label:hover {
    border-color: var(--primary);
}
#quick-view .btn-check:checked + .check-label {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.product-quantity-group {
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    max-inline-size: 100px;
    border-radius: 5px;
    display: flex;
    background: var(--quaternary);
}
.product-quantity-group button {
    background-color: rgba(var(--c1-rgb), 0.15);
    height: 100%;
    padding: 6px;
    border: none;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.product-quantity-group button:hover {
    background-color: var(--primary);
    color: #fff;
}
.product-quantity-group input {
    border: none;
    height: auto;
    padding: 2px;
    background: transparent;
    color: var(--text-light);
    text-align: center;
}

.table thead th {
    font-size: 14px;
    text-transform: capitalize;
    color: var(--text-light);
    font-weight: 600;
}

.table .thead-light th {
    color: var(--text-light);
    background-color: rgba(var(--c1-rgb), 0.08);
    border-color: rgba(var(--c1-rgb), 0.05);
    font-weight: 600;
}

.square-btn {
    width: 30px;
    height: 30px;
    padding: 3px;
    display: grid;
    place-items: center;
}

.invoice-border {
    border-bottom: 1px dashed #ccc;
}

.underline {
    text-decoration: underline !important;
}

.invoice-footer-bg {
    background-color: #f5f5f5;
}

.delivery--information-single {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    gap: 4px;
}
.delivery--information-single .name {
    width: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.delivery--information-single .name::after {
    content: ":";
    display: inline-block;
}
.delivery--information-single .info {
    width: calc(100% - 60px);
    -webkit-padding-start: 20px;
    padding-inline-start: 20px;
    font-weight: 500;
    color: var(--text-light);
}

.upload-img-view {
    block-size: 185px;
    border-radius: 8px;
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    max-inline-size: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    background: var(--quaternary);
}

.badge {
    display: inline-flex;
    align-items: center;
}

.px-20 {
    padding-inline: 1.25rem;
}

.switcher {
    display: block;
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    inline-size: 36px;
    block-size: 18px;
    margin-bottom: 0;
}
.switcher_input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.switcher_input:checked ~ .switcher_control {
    background-color: var(--c1);
}
.switcher_input:checked ~ .switcher_control:after {
    inset-inline-start: 19px;
}
.switcher_control {
    position: absolute;
    inset-block-start: 0;
    inset-inline-start: 0;
    inline-size: 36px;
    block-size: 18px;
    transition: background-color 0.15s ease-in;
    background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.3) 0%, rgba(0, 102, 255, 0.3) 100%);
    border-radius: 50px;
    box-shadow: 0 2px 5px rgba(var(--c1-rgb), 0.2);
}
.switcher_control::after {
    content: "";
    position: absolute;
    inset-block-start: 1px;
    inset-inline-start: 1px;
    inline-size: 16px;
    block-size: 16px;
    transition: left 0.15s ease-in;
    background: linear-gradient(135deg, #fff 0%, #e0e6ed 100%);
    border-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ql-editor {
    min-block-size: 12rem;
}

.upload-file {
    position: relative;
    cursor: pointer;
}
.upload-file__input {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 0;
    inline-size: 100%;
    block-size: 100%;
    opacity: 0;
    cursor: pointer;
}
.upload-file img {
    border-radius: 8px;
    max-inline-size: 100%;
    border: 1px solid rgba(var(--c1-rgb), 0.15);
}

.banner-img-wrap {
    block-size: 40px;
    max-inline-size: 80px;
    border: 1px solid rgba(var(--c1-rgb), 0.15);
    border-radius: 4px;
    overflow: hidden;
}

.focus-none:focus {
    box-shadow: none;
    border-color: rgba(var(--c1-rgb), 0.3);
}

.avatar-status.status-sm {
    width: 8px;
    height: 8px;
    border-width: 1px;
    bottom: 0;
    right: 0;
}

.conv-active {
    background: rgba(var(--c1-rgb), 0.1) !important;
    border-left: 3px solid var(--primary);
}

.customer-list-wrap {
    height: 57vh;
    overflow-y: auto;
}

.chat_conversation {
    height: 55vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.outgoing_msg,
.received_msg {
    inline-size: 50%;
}
@media (max-width: 767px) {
    .outgoing_msg,
    .received_msg {
        inline-size: 85%;
    }
}
.outgoing_msg img,
.received_msg img {
    max-inline-size: 100%;
}
.outgoing_msg .msg,
.received_msg .msg {
    background-color: var(--tertiary);
    padding: 6px 10px;
    border-radius: 8px;
    color: var(--text-light);
}

.outgoing_msg .time_date,
.received_msg .time_date {
    font-size: 10px;
    color: var(--text-muted);
    display: block;
    -webkit-margin-after: 1rem;
    margin-block-end: 1rem;
}

.outgoing_msg {
    -webkit-margin-start: auto;
    margin-inline-start: auto;
}
.outgoing_msg .msg {
    background: linear-gradient(135deg, rgba(var(--c1-rgb), 0.15) 0%, rgba(0, 102, 255, 0.15) 100%);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
}

.mx-w300 {
    max-inline-size: 300px;
}

.mn-w200 {
    min-inline-size: 200px;
}

@media (min-width: 768px) {
    .border-md-left {
        -webkit-border-start: 1px solid #e7eaf3;
        border-inline-start: 1px solid #e7eaf3;
    }
}
.inline-page-menu ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    -moz-column-gap: 30px;
    column-gap: 30px;
    row-gap: 10px;
}

.list-unstyled {
    margin: 0;
    padding: 0;
    list-style: none;
}

.inline-page-menu ul li a {
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    padding-bottom: 10px;
    display: block;
    text-transform: capitalize;
    transition: all 0.3s ease;
}

.inline-page-menu ul li.active a {
    color: var(--primary);
    border-color: var(--primary);
}

/* Search */
.sidebar--search-form {
    margin-inline: 10px;
}

.sidebar--search-form .search--form-group {
    position: relative;
    transition: all 0.3s ease;
}

.sidebar--search-form .search--form-group .btn {
    position: absolute;
    left: 0;
    top: 0;
    color: #99a7ba !important;
    -webkit-padding-start: 12px !important;
    padding-inline-start: 12px !important;
    -webkit-padding-end: 12px !important;
    padding-inline-end: 12px !important;
}

.sidebar--search-form .search--form-group input {
    color: var(--text-light);
    background: rgba(var(--c1-rgb), 0.05);
}

.sidebar--search-form .search--form-group input {
    border: 1px solid rgba(var(--c1-rgb), 0.3);
    -webkit-padding-start: 40px;
    padding-inline-start: 40px;
}

.navbar-vertical-aside-mini-mode .sidebar--search-form {
    display: none;
}

.mx-w100 {
    max-inline-size: 100%;
}

.auto-col {
    --minWidth: 9.375rem;
    --maxWidth: 1fr;
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(var(--minWidth), var(--maxWidth))
    );
}

.text-end {
    text-align: end;
}

/* RTL */
[dir="rtl"] .custom-select {
    background: var(--tertiary)
        url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='%2371869d' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.72,15.78a.75.75,0,0,1-.53.22h-.38a.77.77,0,0,1-.53-.22L6.15,10.64a.5.5,0,0,1,0-.71l.71-.71a.49.49,0,0,1,.7,0L12,13.67l4.44-4.45a.5.5,0,0,1,.71,0l.7.71a.5.5,0,0,1,0,.71Z'/%3E%3C/svg%3E")
        no-repeat left 0.5rem center/1rem 1rem;
}
[dir="rtl"] .navbar-bordered.navbar-vertical {
    border-width: 0 0 0 0.0625rem;
}
[dir="rtl"] .modal-header .close {
    padding: 0.25rem 0.25rem;
    margin: 0 auto 0 0;
} /*# sourceMappingURL=style.css.map */

.min-h-40 {
    min-height: 40px;
}

.w-100px {
    width: 100px;
}

.max-h80px {
    max-height: 80px;
}

.max-h150px {
    max-height: 150px;
}

/* Login CSS */
.login-bg-box {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

.login-left-content {
    margin-top: 20%;
}

@media (max-width: 767px) {
    .login-left-content {
        margin-top: 10%;
    }
}

.login-left-content h3 {
    font-size: clamp(2rem, 1.9875rem + 0.6875vw, 2.8125rem);
}
.login-left-content h2 {
    font-size: clamp(2.5rem, 2.6125rem + 0.6875vw, 3.4375rem);
}

.card-content-wrap {
    margin-top: 10%;
}

.software-version {
    margin-bottom: 10%;
}


.__btn-row {
    display: flex;
    gap: 10px;
}

.__btn-row * {
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn--reset {
    color: #334257 !important;
    background: #f4f5f7 !important;
    border-color: #f4f5f7 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.select2-selection__rendered span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.max-w-145 {
    max-width: 145px;
}
.max-w-200 {
    max-width: 200px;
}

:root {
    --primary-clr: #673ab7
}
.custom--switch {
    display: flex;
}

.custom--switch input[switch] {
    display: none;
}

.custom--switch input[switch] + label {
    font-size: 1em;
    line-height: 1;
    width: 56px;
    height: 24px;
    background-color: #ced4da;
    background-image: none;
    border-radius: 2rem;
    padding: 0.16667rem;
    cursor: pointer;
    font-weight: 500;
    display: inline-block;
    text-align: center;
    position: relative;
    transition: all 0.1s ease-in-out;
    margin: 0;
}

.custom--switch input[switch] + label:before {
    color: #111;
    content: attr(data-off-label);
    display: block;
    font-family: inherit;
    font-weight: 500;
    font-size: 12px;
    line-height: 21px;
    position: absolute;
    right: 1px;
    margin: 3px;
    top: -2px;
    text-align: center;
    min-width: 1.66667rem;
    overflow: hidden;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
}

.custom--switch input[switch] + label:after {
    content: "";
    position: absolute;
    left: 3px;
    background-color: #e9ecef;
    box-shadow: none;
    border-radius: 2rem;
    height: 20px;
    width: 20px;
    top: 2px;
    transition: all 0.1s ease-in-out;
    text-transform: uppercase;
}

.custom--switch input[switch]:checked + label {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: var(--shadow-sm);
}

.custom--switch input[switch]:checked + label:before {
    color: #fff;
    content: attr(data-on-label);
    right: auto;
    left: 3px;
}

.custom--switch input[switch]:checked + label:after {
    left: 33px;
    background-color: #e9ecef;
}

.custom--switch input[switch=primary]:checked + label {
    background-color: var(--primary-clr);
}

.coupon-details {
    border-radius: 12px;
    overflow: hidden;
    max-width: 522px;
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
}

.coupon-details .close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #fff;
    z-index: 2;
}

.coupon__details {
    display: flex;
    position: relative;
    position: relative;
}

.coupon__details-right {
    width: 142px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.coupon__details-left {
    width: 0;
    flex-grow: 1;
    padding: 30px 29px 45px;
    background: var(--quaternary);
}

.coupon__details-left .title {
    font-weight: 700;
    font-size: 16px;
    line-height: 19px;
    color: var(--primary);
    margin-bottom: 7px;
}

.coupon__details-left .subtitle {
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: var(--text-light);
    margin-bottom: 9px;
}

.coupon__details-left .coupon-info {
    font-size: 12px;
    line-height: 15px;
    margin-top: 47px;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--text-muted);
}

.coupon__details-left .coupon-info-item:not(:last-child) {
    margin-bottom: 10px;
}

.coupon__details .coupon {
    outline: 4px solid var(--primary);
    width: 157px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: var(--text-light);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 65px;
    background: var(--quaternary);
    box-shadow: var(--shadow-md);
}

.coupon__details .coupon h4 {
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: var(--primary);
    line-height: 1;
}

@media (max-width: 575px) {
    .coupon__details-right {
        width: 120px;
    }
    .coupon__details-right .coupon {
        width: 125px;
        right: 55px;
    }
    .coupon__details-right .coupon h4 {
        font-size: 24px;
    }
}
@media (max-width: 430px) {
    .coupon__details-left {
        padding: 30px 20px 38px;
    }
    .coupon__details-right {
        width: 45px;
    }
    .coupon__details-right .coupon {
        width: 85px;
        right: 10px;
    }
    .coupon__details-right .coupon h4 {
        font-size: 22px;
        margin-bottom: 0;
    }
}

.__social-media-login {
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-sm);
    border-radius: 12px;
    background: var(--quaternary);
}

.__social-media-login-icon {
    background: var(--tertiary);
    box-shadow: 0px 4px 4px rgba(0, 184, 255, 0.15);
    border-radius: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    aspect-ratio: 1;
    -webkit-margin-end: 15px;
    margin-inline-end: 15px;
    border: 1px solid rgba(var(--c1-rgb), 0.2);
}

.__social-media-login-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.__social-media-login .sub-txt {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: var(--text-light);
}

@media (max-width: 575px) {
    .__social-media-login .sub-txt {
        font-size: 14px;
    }
}
.__social-media-login .switch--right {
    margin-left: auto;
}

@media (min-width: 768px) and (max-width: 900px) {
    .__social-media-login .btn--container .btn {
        font-size: 14px;
        font-size: 13px;
        padding: 5px 15px;
    }
    .__social-media-login .btn--container .btn.btn--primary {
        min-width: 100px;
    }
}
@media (max-width: 575px) {
    .__social-media-login .btn--container .btn {
        flex-grow: 1;
    }
}.form-group.d-flex .select2 {
    flex-grow: 1;
 }
 .form-group.d-flex .select2-container--default .select2-selection--single .select2-selection__arrow,
.form-group.d-flex .select2-selection--single {
    height: 41.89px;
}

.form-group.d-flex .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 41px;
}

.dropzone {
    min-height: auto !important;
    border: 2px dashed rgba(var(--c1-rgb), 0.4) !important;
    border-radius: 8px;
    max-width: 530px;
    background: rgba(var(--c1-rgb), 0.03);
    transition: all 0.3s ease;
}

.dropzone:hover {
    border-color: var(--primary) !important;
    background: rgba(var(--c1-rgb), 0.05);
}

.dropzone-square {
    min-width: 140px;
    width: min-content;
    aspect-ratio: 1;
}

.dropzone-square .dz-started {
    padding: 0;
}

.dropzone .dz-message {
    margin: 2.5rem 0 !important;
}

.dropzone-square .dz-message {
    margin: 0.95rem 0 !important;
}

.selected-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-gap: 1rem;
}

.selected-product-item .remove-item-btn {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 1;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 100%;
    cursor: pointer;
    background: linear-gradient(135deg, var(--danger) 0%, #d32f4f 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 12px;
    transition: all 200ms ease-in-out;
    border: 2px solid var(--quaternary);
    box-shadow: var(--shadow-sm);
}

.selected-product-item .remove-item-btn:hover {
    background: linear-gradient(135deg, #d32f4f 0%, var(--danger) 100%);
    transform: scale(1.1);
}

.selected-product-img {
    aspect-ratio: 1;
    object-fit: contain;
}

.product-search-result-wrap {
    position: relative;
    z-index: 5;
}

.product-search-result {
    position: absolute;
    inset-inline-start: 0;
    inset-block-start: 100%;
    z-index: 1;
    width: 100%;
    transition: all 200ms ease-in-out;
    transform: scale(0.95) translate3d(0, 10px, 0);
    opacity: 0;
    visibility: hidden;
    max-height: 40dvh;
    overflow-y: auto;
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.product-search-result > div {
    cursor: pointer;
    padding: 8px 12px;
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.1);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.product-search-result > div:hover {
    background: rgba(var(--c1-rgb), 0.1);
    color: var(--primary);
}

.product-search-result:hover,
.product-search-result-wrap > input:focus ~ .product-search-result {
    transform: scale(1) translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
}

.product-search-result-wrap > input {
    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 0.35rem center;
    background-size: 10px 10px;
}

.column-gap-3 {
    column-gap: 1rem;
}

.row-gap-1 {
    row-gap: .25rem;
}

.btn-secondary {
    background-color: var(--tertiary);
    border-color: rgba(var(--c1-rgb), 0.2);
    color: var(--text-light);
}
.btn-secondary:focus, .btn-secondary:active, .btn-secondary:hover {
    background-color: var(--quaternary);
    border-color: var(--primary);
    color: var(--primary);
}

/* On Off Toggle */
.on-off-toggle {
    width: 46px;
    height: 22px;
    position: relative;
    display: inline-block;
    margin-bottom: 0;
    cursor: pointer;
  }

  .on-off-toggle__slider {
    width: 46px;
    height: 22px;
    display: block;
    border-radius: 34px;
    background-color: rgba(var(--c1-rgb), 0.2);
    transition: background-color 0.4s;
  }

  .on-off-toggle__slider:before {
      content: '';
      display: block;
      background-color: #fff;
      bottom: 3px;
      height: 16px;
      left: 3px;
      position: absolute;
      transition: .4s;
      width: 16px;
      z-index: 5;
      border-radius: 100%;
    }

  .on-off-toggle__slider:after {
      display: block;
      line-height: 22px;
      font-size: 10px;
      font-weight: bold;
      content: 'No';
      color: var(--text-muted);
      padding-left: 26px;
      transition: all 0.4s;
    }

  .on-off-toggle__input {
    position: absolute;
    opacity: 0;
  }

  .on-off-toggle__input:checked +
  .on-off-toggle__slider {
    background: linear-gradient(135deg, var(--success) 0%, #00c46e 100%);
  }

  .on-off-toggle__input:checked +
  .on-off-toggle__slider:before {
      transform: translateX(24px);
    }

  .on-off-toggle__input:checked +
  .on-off-toggle__slider:after {
      content: 'Yes';
      color: #FFFFFF;
      padding-left: 8px;
}
.text-trim-25 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 25vw;
}

.payment--gateway-img{
    margin-bottom: 16px;
}
.payment--gateway-img img {
    border-radius: 12px;
    border: 1px solid rgba(var(--c1-rgb), 0.15);
}

.switch--custom-label-text {
    display: none;
    font-weight: 700;
    font-size: 0.75rem;
}

.switch--custom-label.checked .switch--custom-label-text.on {
    display: block;
}

.switch--custom-label:not(.checked) .switch--custom-label-text.off {
    display: block;
}

.custom--switch {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.custom--switch input[switch] {
    display: none;
}


.inputDnD .form-control-file {
    position: relative;
    inline-size: 100%;
    block-size: 100%;
    min-block-size: 8rem;
    outline: none;
    visibility: hidden;
    cursor: pointer;
    border-radius: 10px;
}
.inputDnD .form-control-file:before {
    content: attr(data-title);
    position: absolute;
    inset-inline-start: 0;
    inline-size: 100%;
    min-block-size: 100%;
    line-height: 2em;
    opacity: 1;
    visibility: visible;
    text-align: center;
    border: 2px dashed rgba(var(--c1-rgb), 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    background: rgba(var(--c1-rgb), 0.03);
    color: var(--text-muted);
}

.inputDnD .form-control-file:hover:before {
    border-style: solid;
    border-color: var(--primary);
    background: rgba(var(--c1-rgb), 0.05);
    color: var(--primary);
}

.custom_upload_input {
    position: relative
}
.custom-upload-input-file-area {
    display: block;
    width: 100%;
    padding: 0;
    width: 100%;
    aspect-ratio: 1
}
.custom_upload_input input[type=file] {
    display: block;
    width: 100%;
    padding: 0;
    width: 100%;
    aspect-ratio: 1;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #f7f7f7;
    border: 0;
    border-radius: 5px;
    opacity: 0;
    z-index: 9;
    position: relative;
    cursor: pointer
}
.custom_upload_input input[type=file].meta-img {
    aspect-ratio: 8/1
}

.custom_upload_input.ratio-1 input[type=file].meta-img {
    aspect-ratio: 1/1
}
.custom_upload_input.ratio-2 input[type=file].meta-img {
    aspect-ratio: 2/1
}

.img_area_with_preview {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
    padding: 5px;
    border: 2px dashed #00000014
}
.img_area_with_preview img {
    width: 100%;
    object-fit: cover;
    height: 100%
}
.custom_upload_input .delete_file_input_css,.custom_upload_input .delete_file_input {
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    font-size: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: red;
    border: 1px solid red;
    z-index: 10
}
.custom_upload_input .delete_file_input:hover {
    color: #fff;
    border: 1px solid red;
    z-index: 10
}

.__img-120 {
    width: 120px;
    aspect-ratio: 1;
    -o-object-fit: cover;
    object-fit: cover;
    border-radius: 8px;
}

.ratio-1{
    aspect-ratio: 1;
}
.ratio-2{
    aspect-ratio: 2 / 1;
}
.ratio-3{
    aspect-ratio: 3 / 1;
}
.ratio-8{
    aspect-ratio: 8 / 1;
}

.max-h200px {
    max-height: 200px;
}
.height-20rem{
   height: 20rem;
}
.font-45px{
    font-size: 45px
}
.min-height-170x{
    min-height: 170px
}
.top-ordered-store-image{
    border-radius: 50%;
    width: 60px;
    height: 60px;
    border:2px solid #80808082;
}
.font-size-10px{
    font-size: 10px
}
.width-7rem{
    width: 7rem;
}

.height-60px{
    height: 60px;
}

.h-54px{
    height: 54px
}
#location_map_div #pac-input{
    height: 40px;
    border: 1px solid #fbc1c1;
    outline: none;
    box-shadow: none;
    top: 7px !important;
    transform: translateX(7px);
    padding-left: 10px;
}
.addon-payment-gateway-active{
    color: #8c1515;
    padding-top: 10px
}
.mb-30px{
    margin-bottom: 30px
}
.h-80px{
    height: 80px
}
.mb-10px{
    margin-bottom: 10px
}

.width-18rem{
    width: 18rem;
}
.mb-minus-1px{
    margin-bottom: -1px;
}

.add-to-shopping-cart{
    width:37%;
    height: 45px
}

.max-w-15rem{
    max-width: 15rem;
}
.p-top-100px{
    padding-top: 100px;
}

.w-200px{
    width: 200px !important;
}
.width-54px{
    width: 54px;
}
.height-54px{
    height: 54px;
}
.view-conversation-message{
    cursor: pointer;
    border-radius: 12px;
    margin-top: 2px;
    transition: all 0.3s ease;
    background: rgba(var(--c1-rgb), 0.03);
    padding: 8px;
}

.view-conversation-message:hover {
    background: rgba(var(--c1-rgb), 0.08);
    border-left: 3px solid var(--primary);
}
.height-18rem{
    height: 18rem;
}
.h-200px{
    height: 200px
}
.product-image {
    margin-top: -35px;
    border-radius: 8px;
    border: 2px solid rgba(var(--c1-rgb), 0.2);
}
.min-h-15 {
    min-height: 15px;
}

.color-red{
    color: red
}
.attribute-class {
    border: 1px solid #80808045;
    border-radius: 10px;
    padding-top: 10px;
    margin: 1px
}
.front-emoji {
    font-family: emoji;
}

.btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.btn--primary:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn--primary.focus, .btn-primary:focus {
    color: #fff;
    background-color: #673ab7;
    border-color: #673ab7;
    box-shadow: 0 0 0 .2rem rgba(85, 145, 255, .5)
}

.btn--primary.disabled, .btn--primary:disabled {
    color: #fff;
    background-color: #673ab7;
    border-color: #673ab7
}

.btn--primary:not(:disabled):not(.disabled).active, .btn--primary:not(:disabled):not(.disabled):active, .show > .btn--primary.dropdown-toggle {
    color: #fff;
    background-color: #673ab7;
    border-color: #673ab7
}

.btn--primary:not(:disabled):not(.disabled).active:focus, .btn--primary:not(:disabled):not(.disabled):active:focus, .show > .btn--primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 .2rem rgba(85, 145, 255, .5)
}

.mb-30{
    margin-bottom: 30px;
}

.mt-30{
    margin-top: 30px;
}

.custom-class {
    margin-top: 10px !important;
    border-radius: 0;
}

/* Dark Theme Global Overrides */
body {
    background-color: var(--bg-main);
    color: var(--text-light);
}

.main {
    background-color: var(--bg-main);
}

.card {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.15);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(var(--c1-rgb), 0.25);
}

.card-header {
    background: var(--tertiary);
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.1);
    color: var(--text-light);
}

.card-body {
    color: var(--text-light);
}

.card-title {
    color: var(--text-light);
}

/* Navbar Vertical Aside */
.navbar-vertical-aside {
    background: var(--quaternary);
    border-right: 1px solid rgba(var(--c1-rgb), 0.1);
}

.navbar-vertical .navbar-nav .nav-link {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.navbar-vertical .navbar-nav .nav-link:hover {
    color: var(--primary);
    background: rgba(var(--c1-rgb), 0.05);
    border-radius: 8px;
}

/* Header */
#header {
    background: var(--tertiary);
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Dropdown */
.dropdown-menu {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.15);
    box-shadow: var(--shadow-md);
}

.dropdown-item {
    color: var(--text-light);
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(var(--c1-rgb), 0.1);
    color: var(--primary);
}

/* Form Controls */
.form-control {
    background-color: rgba(var(--c1-rgb), 0.05);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.form-control:focus {
    background-color: rgba(var(--c1-rgb), 0.08);
    border-color: var(--primary);
    color: var(--text-light);
    box-shadow: 0 0 0 0.2rem rgba(var(--c1-rgb), 0.25);
}
.form-control option {
    background-color: var(--quaternary);
    color: var(--text-light);
}
.form-control::placeholder {
    color: var(--text-muted);
}

/* Input Group */
.input-group-text {
    background-color: rgba(var(--c1-rgb), 0.1);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    color: var(--text-light);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-success {
    background: var(--success);
    border: none;
}

.btn-success:hover {
    background: #00c46e;
    transform: translateY(-1px);
}

.btn-danger {
    background: var(--danger);
    border: none;
}

.btn-danger:hover {
    background: #d32f4f;
    transform: translateY(-1px);
}

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

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

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

.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
}

.btn-outline-danger:hover {
    background: var(--danger);
    color: #fff;
}

/* Custom Button Colors */
.btn-red {
    background: var(--danger);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-red:hover {
    background: #d32f4f;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 55, 87, 0.3);
}

.btn-green {
    background: var(--success);
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-green:hover {
    background: #00c46e;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 217, 126, 0.3);
}

.btn-grey {
    background: var(--tertiary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    color: var(--text-light);
    transition: all 0.3s ease;
}

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

/* Tables */
.table {
    color: var(--text-light);
}

.table-bordered {
    border-color: rgba(var(--c1-rgb), 0.15);
}

.table-hover tbody tr:hover {
    background-color: rgba(var(--c1-rgb), 0.05);
}

/* Modal */
.modal-content {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--tertiary);
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.15);
    color: var(--text-light);
}

.modal-title {
    color: var(--text-light);
}

.modal-body {
    color: var(--text-light);
}

.modal-footer {
    border-top: 1px solid rgba(var(--c1-rgb), 0.15);
}

.close {
    color: var(--text-light);
    text-shadow: none;
    opacity: 0.8;
}

.close:hover {
    color: var(--primary);
    opacity: 1;
}

/* Badge */
.badge-soft-dark {
    background-color: rgba(var(--c1-rgb), 0.15);
    color: var(--primary);
}

.badge-soft-success {
    background-color: rgba(0, 217, 126, 0.15);
    color: var(--success);
}

.badge-soft-danger {
    background-color: rgba(230, 55, 87, 0.15);
    color: var(--danger);
}

/* Footer */
.footer {
    background: var(--quaternary);
    border-top: 1px solid rgba(var(--c1-rgb), 0.1);
    color: var(--text-muted);
}

/* Text Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-light);
}

.text-capitalize {
    color: var(--text-light);
}

a {
    color: var(--primary);
}

a:hover {
    color: var(--secondary);
}

/* Pagination */
.page-link {
    background-color: rgba(var(--c1-rgb), 0.05);
    border-color: rgba(var(--c1-rgb), 0.15);
    color: var(--primary);
}

.page-link:hover {
    background-color: rgba(var(--c1-rgb), 0.15);
    border-color: var(--primary);
    color: var(--primary);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
}

/* Alerts */
.alert-warning {
    background-color: rgba(246, 195, 67, 0.15);
    border-color: rgba(246, 195, 67, 0.3);
    color: var(--warning);
}

.alert-success {
    background-color: rgba(0, 217, 126, 0.15);
    border-color: rgba(0, 217, 126, 0.3);
    color: var(--success);
}

.alert-danger {
    background-color: rgba(230, 55, 87, 0.15);
    border-color: rgba(230, 55, 87, 0.3);
    color: var(--danger);
}

/* Select2 Dark Theme */
.select2-container--default .select2-selection--single {
    background-color: rgba(var(--c1-rgb), 0.05);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    color: var(--text-light);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--text-light);
}

.select2-dropdown {
    background-color: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
}

.select2-container--default .select2-results__option {
    color: var(--text-light);
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(var(--c1-rgb), 0.2);
    color: var(--primary);
}

/* Avatar & Profile */
.avatar-img {
    border: 2px solid rgba(var(--c1-rgb), 0.3);
}

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

::-webkit-scrollbar-track {
    background: var(--quaternary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

/* Navbar Brand */
.navbar-brand-logo {
    filter: drop-shadow(0 2px 8px rgba(var(--c1-rgb), 0.3));
}

/* Profile Name */
.profile-name {
    color: var(--text-light) !important;
}

/* Text Trim */
.text-dark {
    color: var(--text-light) !important;
}

/* Border Utilities */
.border-top,
.border-bottom,
.border-left,
.border-right {
    border-color: rgba(var(--c1-rgb), 0.1) !important;
}

/* Loading Spinner */
#loading {
    background: rgba(11, 14, 23, 0.9);
}

/* Shadow Classes */
.shadow,
.shadow-sm {
    box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
    box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Visit & Profile Specific Styles */
.visit_container {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.15);
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.visit_container:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.title-visit {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
}

.title-visit-id {
    flex: 1;
    color: var(--text-light);
    font-weight: 600;
}

.visit_test_container {
    background: rgba(var(--c1-rgb), 0.03);
    border-top: 1px solid rgba(var(--c1-rgb), 0.1);
    padding: 8px;
}

.test-item {
    background: var(--tertiary);
    border: 1px solid rgba(var(--c1-rgb), 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-item:hover {
    border-color: var(--primary);
    background: rgba(var(--c1-rgb), 0.05);
}

.test-item div {
    color: var(--text-light);
}

.buttom_visit_test {
    background: transparent;
    border: none;
    color: var(--danger);
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.buttom_visit_test:hover {
    color: #d32f4f;
}

.point {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.profile-patient-name {
    font-size: 1.5rem;
    font-weight: 700;
}

.profile-data-user {
    color: var(--text-muted);
}

.profile-data-user strong {
    color: var(--text-light);
}

.positive-balance {
    color: var(--danger);
    font-weight: 600;
}

.normal-balance {
    color: var(--success);
    font-weight: 600;
}

/* Form Hidden Helper */
.form_hidden {
    display: none;
}

.display-non {
    display: none;
}

/* Page Header Styling */
.page-header {
    background: var(--quaternary);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(var(--c1-rgb), 0.15);
    margin-bottom: 20px;
}

.page-header-title {
    color: var(--text-light);
    font-weight: 700;
}

/* Input Group */
.input-group {
    border-radius: 8px;
    
}

.input-group .form-control:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.input-group .btn:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    color: var(--text-muted);
}

.breadcrumb-item.active {
    color: var(--primary);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted);
}

/* Custom Control (Checkbox/Radio) */
.custom-control-label {
    color: var(--text-light);
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--primary);
    border-color: var(--primary);
}

.custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(var(--c1-rgb), 0.25);
}

/* Toast/Notification Positioning */
#toast-container > div {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-md);
}

#toast-container .toast-success {
    background: var(--success);
}

#toast-container .toast-error {
    background: var(--danger);
}

#toast-container .toast-info {
    background: var(--primary);
}

#toast-container .toast-warning {
    background: var(--warning);
    color: #000;
}

/* Language Selector Dropdown */
.lang-menu {
    background: var(--quaternary);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-md);
}

.lang-menu .dropdown-item {
    color: var(--text-light);
}

.lang-menu .dropdown-item:hover {
    background: rgba(var(--c1-rgb), 0.1);
    color: var(--primary);
}

/* Profile Dropdown */
.navbar-dropdown-account-wrapper {
    transition: all 0.3s ease;
}

.navbar-dropdown-account-wrapper:hover {
    transform: translateY(-2px);
}

/* Status Indicators */
.avatar-status {
    border: 2px solid var(--quaternary);
}

.avatar-status-success {
    background-color: var(--success);
}

.avatar-status-danger {
    background-color: var(--danger);
}

.avatar-status-warning {
    background-color: var(--warning);
}

/* Loading Overlay */
.loader-wrap {
    background: rgba(11, 14, 23, 0.95);
    backdrop-filter: blur(5px);
}

/* Icon Styling */
.tio-circle {
    color: var(--primary);
}

/* Nav Indicator */
.nav-indicator-icon {
    color: var(--text-muted);
}

/* Improved Hover States for Interactive Elements */
a, button, .btn, .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Text Selection */
::selection {
    background: rgba(var(--c1-rgb), 0.3);
    color: var(--text-light);
}

::-moz-selection {
    background: rgba(var(--c1-rgb), 0.3);
    color: var(--text-light);
}

/* Improved Focus Styles */
*:focus {
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--c1-rgb), 0.25);
}

/* Print Styles */
@media print {
    body {
        background: #fff !important;
        color: #000 !important;
    }
    
    .non-printable {
        display: none !important;
    }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
    .card {
        margin-bottom: 15px;
    }
    
    .dashboard--card {
        padding: 20px 15px;
    }
    
    .navbar-vertical-aside {
        background: var(--bg-main);
    }
    
    .modal-dialog {
        margin: 10px;
    }
}

/* Desktop Enhancements */
@media (min-width: 1200px) {
    .container-fluid {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Utility Text Colors */
.text-primary {
    color: var(--primary) !important;
}

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

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

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

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

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

/* Background Utilities */
.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-dark {
    background-color: var(--quaternary) !important;
}

/* Border Utilities */
.border-primary {
    border-color: var(--primary) !important;
}

.border-secondary {
    border-color: var(--secondary) !important;
}

/* Hover Utilities */
.hover-shadow:hover {
    box-shadow: var(--shadow-md) !important;
    transform: translateY(-2px);
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(var(--c1-rgb), 0.4);
}

/* Animation Utilities */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in {
    animation: slideIn 0.4s ease-out;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(var(--c1-rgb), 0.05) 25%, 
        rgba(var(--c1-rgb), 0.15) 50%, 
        rgba(var(--c1-rgb), 0.05) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 4px;
}

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

/* Glassmorphism Effect */
.glass {
    background: rgba(16, 16, 32, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(var(--c1-rgb), 0.2);
    box-shadow: var(--shadow-md);
}

/* Neon Glow Effect */
.neon-glow {
    text-shadow: 0 0 10px rgba(var(--c1-rgb), 0.8),
                 0 0 20px rgba(var(--c1-rgb), 0.6),
                 0 0 30px rgba(var(--c1-rgb), 0.4);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Futuristic Border */
.futuristic-border {
    position: relative;
    border: 1px solid transparent;
    background: linear-gradient(var(--quaternary), var(--quaternary)) padding-box,
                linear-gradient(135deg, var(--primary), var(--secondary)) border-box;
    border-radius: 12px;
}

/* Enhanced Card Hover */
.card-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(var(--c1-rgb), 0.3);
    border-color: var(--primary);
}

/* Status Badge Variants */
.badge-status-pending {
    background-color: rgba(246, 195, 67, 0.2);
    color: var(--warning);
    border: 1px solid var(--warning);
}

.badge-status-active {
    background-color: rgba(0, 217, 126, 0.2);
    color: var(--success);
    border: 1px solid var(--success);
}

.badge-status-inactive {
    background-color: rgba(230, 55, 87, 0.2);
    color: var(--danger);
    border: 1px solid var(--danger);
}

/* Improved List Group */
.list-group-item {
    background-color: var(--quaternary);
    border-color: rgba(var(--c1-rgb), 0.15);
    color: var(--text-light);
}

.list-group-item:hover {
    background-color: rgba(var(--c1-rgb), 0.05);
}

.list-group-item.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-color: var(--primary);
}

/* Improved Navbar */
.navbar {
    background: var(--quaternary);
    border-bottom: 1px solid rgba(var(--c1-rgb), 0.15);
}

.navbar-brand {
    color: var(--text-light);
}

.navbar-brand:hover {
    color: var(--primary);
}

/* ============================================
   ENHANCED UI/UX IMPROVEMENTS
   ============================================ */

/* Smooth Page Transitions */
.content {
    animation: contentFadeIn 0.4s ease-out;
}

@keyframes contentFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Card Interactions */
.card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    transform: translateY(-2px);
}

.card-footer {
    border-radius: 0 0 16px 16px !important;
}

/* Enhanced Form Controls */
.form-control {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(var(--c1-rgb), 0.15);
}



/* Enhanced Buttons */
.btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    box-shadow: 0 4px 14px rgba(var(--c1-rgb), 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(var(--c1-rgb), 0.45);
}

.btn-success {
    box-shadow: 0 4px 14px rgba(46, 204, 113, 0.35);
}

.btn-success:hover {
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.45);
}

.btn-danger {
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
}


.badge-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.badge-success {
    background: linear-gradient(135deg, var(--success) 0%, #00c46e 100%);
}

.badge-danger {
    background: linear-gradient(135deg, var(--danger) 0%, #d32f4f 100%);
}

.badge-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #e5a800 100%);
    color: #000;
}

.badge-info {
    background: linear-gradient(135deg, var(--info) 0%, #2a5ea8 100%);
}

/* Enhanced Modal Styling */
.modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Page Header */
.page-header {
    background: linear-gradient(135deg, var(--quaternary) 0%, rgba(var(--c1-rgb), 0.03) 100%);
    animation: headerSlideIn 0.4s ease-out;
}

@keyframes headerSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}




.page-item .page-link {

    transition: all 0.25s ease;
}

.page-item .page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(var(--c1-rgb), 0.15);
}

.page-item.active .page-link {
    box-shadow: 0 4px 12px rgba(var(--c1-rgb), 0.35);
}

/* Enhanced Alert Boxes */
.alert {
    border-radius: 12px;
    border: none;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert::before {
    font-family: 'tio-icon' !important;
    font-size: 1.25rem;
}

.alert-success::before {
    content: '\e900';
}

.alert-danger::before {
    content: '\e901';
}

.alert-warning::before {
    content: '\e902';
}

.alert-info::before {
    content: '\e903';
}



.dropdown-item {
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: rgba(var(--c1-rgb), 0.08);
    transform: translateX(4px);
}

.dropdown-item i {
    margin-right: 0.5rem;
    width: 18px;
    text-align: center;
}

/* Enhanced Select2 */
.select2-container--default .select2-selection--single {
    border-radius: 10px;
    transition: all 0.25s ease;
}


.select2-dropdown {
    border-radius: 12px;

}

.select2-container--default .select2-results__option {
    transition: all 0.2s ease;
}


.input-group {
    border-radius: 10px;
}

.input-group-text {
    border-radius: 10px 0 0 10px;
    background: rgba(var(--c1-rgb), 0.08);
    border-color: rgba(var(--c1-rgb), 0.2);
}

.input-group .form-control {
    border-radius: 0 10px 10px 0;
}

.input-group .form-control:focus {
    transform: none;
}

/* Loading State Enhancement */
#loading {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.loader-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Action Buttons in Tables */
.action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.action-btn:hover {
    transform: translateY(-2px) scale(1.1);
}

/* Empty State Enhancement */
.text-center.py-5 {
    padding: 3rem !important;
}

.text-center.py-5 img {
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.text-center.py-5 p {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Filter Section Enhancement */
.card-header form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* Status Indicator Dots */
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 0.5rem;
}

.status-dot.active {
    background: var(--success);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.25);
}

.status-dot.inactive {
    background: var(--danger);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25);
}

.status-dot.pending {
    background: var(--warning);
    box-shadow: 0 0 0 3px rgba(245, 177, 0, 0.25);
}

/* Quick Action Floating Button */
.quick-action-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(var(--c1-rgb), 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.quick-action-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(var(--c1-rgb), 0.5);
}

/* Print Styles Enhancement */
@media print {
    .page-header,
    .card {
        border: 1px solid #ddd !important;
        box-shadow: none !important;
    }
    
    .btn,
    
    .quick-action-btn {
        display: none !important;
    }
}

/* Responsive Improvements */
@media (max-width: 991px) {
    .page-header {
        padding: 1rem;
    }
    
    .page-header-title {
        font-size: 1.25rem;
    }
    
    .page-header-icon {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    
    .card-header form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .card-header form .form-control,
    .card-header form .select2 {
        width: 100% !important;
        min-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        border-radius: 10px !important;
        margin-bottom: 0.5rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .quick-action-btn {
        bottom: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
    }
}

/* Accessibility Improvements */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid rgba(var(--c1-rgb), 0.5);
    outline-offset: 2px;
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
