:root {
    --clr-primary: #05381f;
    --clr-secondary: #F5822C;
    --clr-white: #fff;
    --clr-black: #000;
    --clr-dark: #0d1424;
    --clr-light: #344054;
    --clr-light-sm: #dee2e6;
}

.mybazar-login-section .forget-password input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1px solid #d0d5dd !important;
    background: var(--clr-primary) !important;
    margin-right: 5px;
    margin-top: -1px;
}

.text-custom-primary,
.text-custom-primary:hover {
    color: var(--clr-primary);
    font-weight: bold;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked+.custom-control-label::before {
    color: #ffffff;
}

.mybazar-login-section .forget-password input[type="checkbox"]:checked {
    accent-color: #3291d4 !important;
}

.indicate-text {
    font-size: 12px;
    color: red;
}

.form-control.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.image-wrapper.error {
    border-color: red;
    padding: 0.375rem 0.75rem;
}

.error-alert {
    font-size: 11px;
    color: red;
}

.error {
    color: red !important;
}

.payment-section .form-control[readonly] {
    background-color: #fff !important;
}

.budget-form ::placeholder {
    font-size: 12px;
}

.avatar {
    background: var(--clr-primary);
    border-radius: 50%;
    color: #e3eaef;
    display: inline-block;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
    position: relative;
    vertical-align: middle;
    line-height: 1.28;
    height: 45px;
    width: 45px;
}

.avatar.avatar-sm {
    font-size: 12px;
    height: 30px;
    width: 30px;
}

.avatar img {
    border-radius: 50%;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 1;
}

.btn-custom-warning {
    background-color: var(--clr-primary) !important;
    color: #fff;
    border: none !important;
}

.btn-custom-warning:hover {
    color: #fff !important;
}

.custom-warning-color {
    color: var(--clr-primary);
}

.roles-permissions table td {
    color: black;
}

.img-preview {
    margin-top: 4px;
    height: auto;
    width: 100px;
}

.folders-files tr a {
    font-size: 18px !important;
}

.gradient-row {
    background: linear-gradient(270deg, #dbe4df 0%, #65e4a6 50%, #ffffff 100%);
}

.order-form-section label,
.permission label,
.role-input-label label {
    left: 10px;
    white-space: nowrap;
}

.table-form-section .responsive-table {
    min-height: unset !important;
}

.table-title-three h5 {
    font-weight: 600 !important;
}

.loss-profit-custom-color1 {
    background-color: rgba(255, 132, 0, 0.15);
}

.loss-profit-custom-color2 {
    background-color: rgba(255, 181, 101, 1);
    font-weight: bold;
}

.production-wrap {
    padding-right: 60px;
}

.form-control.reset-img {
    display: none;
}

.table-header h3,
.table-header h4 {
    font-weight: 700;
}

.privacy-condition-header h4 {
    font-weight: 700;
}

.erp-new-invice .invice-detaisl {
    padding: 20px 0;
}

.commercial-invoice {
    margin-bottom: 30px;
}

.invoice-payment-details {
    margin-top: 40px;
}

.erp-new-invice {
    min-height: 900px !important;
}

/* dropdown font size reduce */
.form-select {
    font-size: 1rem;
}

.product-img {
    height: 100px;
    width: 250px;
    border-radius: 2%;
    overflow: hidden;
    border: 2px dashed #e4e5e7;
}

.form-control .form-control {
    border: 0 !important;
}

.table-user-icon {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: var(--clr-gray4);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.table-user-icon img {
    height: 25px;
}

.ctg-icon img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
}

/*delete modal*/
.delete-modal {
    text-align: center;
    margin-bottom: 20px;
}

.delete-modal h5 {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    margin-bottom: 5px;
}

.delete-modal p {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.multiple-button-group {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 24px;
}

.chart-css {
    width: 100% !important;
    max-height: 308px !important;
    min-height: 290px;
}

.rounded-image .table-img {
    width: 40px;
    height: 40px;
}

.width-10 {
    width: 10px;
}

.add-feature-btn {
    min-height: 30px;
    padding: 4px 20px;
    background: var(--clr-primary) !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 5px;
}

.remove-list {
    position: relative;
}

.remove-list .remove-one {
    background: transparent !important;
    /* background: linear-gradient(90deg, var(--clr-primary) 0%, var(--clr-primary) 100%) !important; */
    color: #fff !important;
    height: 50px;
    width: 50px;
    border: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.remove-list .remove-one i {
    color: #ff3030;
}

.feature-add-wrp {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.feature-add-wrp .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.button-container {
    border: 1px solid #ccc;
    width: 100%;
    height: 45px;
    border-radius: 5px;
    display: inline-block;
}

.top-btn-custom {
    text-decoration: none;
    border: none;
}

.top-btn-custom:hover,
.top-btn-custom:active {
    color: #007bff;
    text-decoration: underline;
    border: none;
    text-underline-offset: 18px;
}

.top-btn-custom.active {
    text-decoration: underline;
    color: #007bff;
    font-weight: bold;
    border: none;
    text-underline-offset: 18px;
}

.card {
    border: 0;
    box-shadow: 0px 4px 24px 0px #e4c3c30d;
    border-radius: 12px;
    background-color: #fff !important;
}

.table th {
    border-bottom: 1px solid #d8d8d8 !important;
    background: #f9f8f8;
    border: 0;
    height: 54px;
}

.delete-selected {
    cursor: pointer;
}

.custom-primary {
    color: var(--clr-primary);
}

.table-hidden-checkbox {
    display: none;
}

/* Style the custom checkbox */
.table-custom-checkbox {
    display: inline-block;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    padding-left: 35px;
    line-height: 24px;
}

/* Create the custom checkmark */
.table-custom-checkmark {
    position: absolute;
    top: -9px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid #d8d8d8;
    border-radius: 6px;
    transition: background-color 0.3s, border-color 0.3s;
}

/* Style the checkmark when checked */
.table-hidden-checkbox:checked+.table-custom-checkmark {
    background-color: var(--clr-primary);
    border-color: var(--clr-primary);
}

/* Add the tick mark inside the checkbox */
.table-custom-checkbox .custom-checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the tick mark when the checkbox is checked */
.table-custom-checkbox .table-hidden-checkbox:checked+.custom-checkmark:after {
    display: block;
}

/* Style the tick mark */
.table-custom-checkbox .custom-checkmark:after {
    left: 8px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Customize the label text color and size */
.table-custom-checkbox {
    color: #333;
    font-family: Arial, sans-serif;
}

.dropdown-menu-scroll {
    max-height: 400px;
    overflow-y: auto;
}

.language-li {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.language-check {
    color: #00ae1c;
    font-weight: 400;
    font-size: 16px;
}

.verify-modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #212121;
}

.verify-modal-body .des,
.verify-modal-body .des span {
    color: #4d4d4d;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.verify-modal-body .des {
    font-weight: 400 !important;
}

.verify-modal-body .des .reset {
    color: var(--clr-primary);
}

.verify-modal-body .code-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.verify-modal-body .code-input input {
    width: 51px;
    height: 58px;
    padding: 14px 15px;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    box-shadow: none !important;
}

.verify-modal-body .code-input input:focus {
    border: 1px solid var(--clr-primary) !important;
}

.verify-modal-body .code-input input:focus-visible {
    border: 1px solid var(--clr-primary) !important;
}

.verify-modal-body .des span {
    color: #121212;
}

.success-content {
    border-radius: 16px;
}

.success-modal-body h4 {
    font-size: 24px;
    font-weight: 600;
    line-height: 36px;
    color: #121212;
    margin-bottom: 0px;
    padding-top: 8px;
    padding-bottom: 16px;
}

.create-account-body h4 {
    font-size: 28px;
    font-weight: 700;
    line-height: 36px;
    color: #121212;
    margin-bottom: 0px;
}

.success-modal-body p {
    font-size: 16px;
    font-weight: 400;
    line-height: 26px;
    color: #4d4d4d;
    margin-bottom: 24px;
}

.verify-btn {
    background-color: var(--clr-primary);
    color: white;
    width: 100%;
    padding: 10px 0px;
    margin-top: 12px;
}

.verify-btn:hover {
    color: white;
}

/********** Sales page code start **********/
.sales-container {
    background-color: white;
    border-radius: 15px 0 0 15px;
}

.quick-act-header {
    background-color: white;
    padding: 2% 0;
    width: 100%;
    margin: 0 auto;
    border-radius: 10px;
}

.sales-container .quick-act-title {
    font-weight: 600;
    font-size: 16px;
    white-space: nowrap;
}

.sales-container .save-product-btn {
    background-color: #0ec03b1a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.sales-container .bulk-upload-btn {
    background-color: #10B9811a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.sales-container .sales-btn {
    background-color: #9e0de81a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.sales-container .calculator-btn {
    background-color: #007aff1a;
    color: #4d4d4d;
    border: none;
}

.sales-container .dashboard-btn {
    background-color: #ff3b301a;
    color: #4d4d4d;
    padding: 2px 6px;
    border-radius: 4px;
}

.form-select:focus {
    outline: none;
    box-shadow: none;
    border-color: gray;
}

.btn-danger {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.input-group .btn-danger,
.input-group .btn-outline-secondary {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.form-control {
    background-color: #f5f3f34d;
}

/* quick action table */
.icon {
    font-weight: 400;
    font-size: 13px;
}

.incre-decre {
    width: 20px !important;
    height: 20px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d8d8d899 !important;
    border-radius: 3px !important;
    background-color: #fff !important;
}

.incre-decre:hover {
    background-color: #fef0f1 !important;
    border-color: var(--clr-primary) !important;
    color: var(--clr-primary) !important;
}

.num-input {
    border-radius: 5px;
    background-color: white;
}

.num-input input {
    background-color: white;
    width: 95px;
}

.hr-container {
    margin-top: 50px;
}

.hr-container hr {
    border: 1px solid var(--clr-primary) 4d;
}

.payment-title {
    font-size: 14px;
    display: flex;
    width: fit-content;
    font-weight: 400 !important;
}

.amount-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding-right: 12px;
}

.save-amount-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
}

.save-btn {
    background-color: #ff9500;
    color: white;
    width: 100%;
    border: none;
    height: 48px;
    border-radius: 6px;
}

.payment-btn {
    background-color: var(--clr-primary);
    color: white;
    width: 100%;
    border: none;
    height: 48px;
    border-radius: 6px;
}

.form-control-amount {
    background-color: white;
}

.payment-container {
    background-color: #f5f3f380;
    border-radius: 8px;
    padding: 12px 15px 5px 15px;
}

.cancel-sale-btn {
    margin-top: 15px;
}

.table-background {
    background-color: rgba(245, 243, 243, 0.5);
}

.discount-btn {
    color: var(--clr-primary);
    border: 1px solid var(--clr-primary);
    border-radius: 5px;
    background-color: transparent;
}

.main-container {
    background-color: white;
    padding: 0%;
}

.products-header {
    border: none;
    border-radius: 0px 12px 12px 0px !important;
    border-left: 1px solid #d8d8d8;
    padding: 12px;
    overflow: hidden;
    color: white;
}

.main-container .products-container {
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    z-index: 0 !important;
    position: relative;
}

.main-container .products-header .fa-search {
    color: white;
}

.main-container .products-header .category-btn {
    background-color: #ff9500;
    color: white;
    border: none;
    height: 48px;
    border-radius: 6px;
    padding-left: 15px;
    padding-right: 15px;
}

.main-container .products-header .brand-btn {
    background-color: #007aff;
    color: white;
    border: none;
    height: 48px;
    border-radius: 6px;
    padding-left: 15px;
    padding-right: 15px;
}

.search-input {
    border-radius: 0.25rem;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
    border: 1px solid #ced4da;
    padding: 0.5rem;
    flex-grow: 1;
}

.btn-category {
    background-color: #f8961e;
    color: white;
    padding-top: 9px;
    padding-bottom: 9px;
}

.btn-brand {
    background-color: #1e90ff;
    color: white;
    padding-top: 9px;
    padding-bottom: 9px;
}

.btn-brand:hover {
    background-color: #1b87f2;
    color: white;
    border: 1px solid white;
}

.btn-category:hover {
    background-color: #df8415;
    color: white;
    border: 1px solid white;
}

.btn-search {
    background-color: var(--clr-primary);
    color: white;
    border-radius: 0 0.25rem 0.25rem 0;
    border: 1px solid var(--clr-primary);
    width: 48px;
}

.btn-search:hover {
    border: 1px solid var(--clr-primary);
}

.btn-search svg {
    height: 25px;
    width: 25px;
}

.btn-search:hover {
    background-color: var(--clr-primary);
    color: white;
    border: 1px solid var(--clr-primary);
}

/* Products section start */
/* .products {
    display: grid;
    grid-template-columns: 3fr !important;
    gap: 10px;

} */

.products .single-product {
    background-color: white;
    border-radius: 6px;
    border: 1px solid #d8d8d8;
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
}

.products .single-product:hover {
    border: 1px solid var(--clr-primary);
}

.products .single-product .product-con {
    padding: 12px;
}

.products .single-product .pro-img img {
    border-radius: 6px;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
    object-fit: cover;
    width: 100%;
    height: 145px;
}

.products .single-product .pro-title {
    font-weight: 500;
    font-size: 15px;
    line-height: 20px;
}

.products .single-product .pro-price {
    font-weight: 600;
    font-size: 14px;
}

.products .single-product .pro-category {
    color: #7c7c7c;
    font-size: 14px;
}

.products .single-product .price {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 20px !important;
}

.products .single-product .price .old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: gray;
}

.custom-number-input {
    width: 40px;
    padding: 5px;
    border: 1px solid #4a90e2;
    border-radius: 5px;
    font-size: 18px;
    text-align: center;
    outline: none;
    transition: border-color 0.3s;
}

.custom-number-input:focus {
    border-color: #007bff;
}

.x-btn {
    border: none;
    background-color: white;
    border-radius: 5px;
}

.x-btn:hover {
    background-color: #f5f5f5;
    border-radius: 5px;
}

.product-dropdown {
    border: 1px solid #e4e5e7;
    border-radius: 6px;
    position: relative;
    background-color: #fff;
}

.product-left img {
    height: 44px;
    width: 44px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #eaecf0;
}

.product-selected {
    padding: 11px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-selected #arrow svg {
    width: 20px;
    height: 20px;
}

.product-dropdown-options {
    position: absolute;
    top: 90px !important;
    left: 0;
    right: 0;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 300px;
    overflow-y: auto;
    background: white;
    z-index: 3;
    display: none;
}

.product-option-group {
    border-top: 1px solid #eee;
    padding: 8px;
}

/* .product-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    cursor: pointer;
    transition: background 0.2s;
} */

.product-option-item:hover {
    background-color: #f4f4f4;
}

.product-left {
    display: grid;
    gap: 10px;
    grid-template-columns: 2fr 38fr;
}

.multi-items {
    border-bottom: 1px solid #ececec;
    padding: 4px 0;
}

.multi-items:last-child {
    border-bottom: none;
}

.multi-items:hover {
    background-color: #eaeaea;
}

.product-left img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.product-text {
    font-size: 14px;
}

.product-title {
    font-weight: bold;
    font-size: 15px;
}

.product-in-stock {
    color: #34c759;
    font-weight: 500;
}

.product-price {
    font-weight: bold;
    color: #111;
}

.product-rotate {
    transform: rotate(180deg);
}

/* Products section end */

.padding-status {
    color: #fb8a00;
    border: 1px solid #fb8a00;
    border-radius: 4px;
    background-color: #ff920c1a;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.approved-status {
    color: #00a551;
    border: 1px solid #00a551;
    border-radius: 4px;
    background-color: #00a5511a;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.rejected-status {
    color: #ff3b30;
    border: 1px solid #ff3b30;
    border-radius: 4px;
    background-color: #ff3b3021;
    max-width: 100px;
    padding: 7px;
    text-align: center;
}

.select-batch {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.select-batch:hover {
    background-color: #c5212712;
}

.gradient-alert {
    background: linear-gradient(270deg, #ff7db8 0%, #ee2a7b 100%);
}

.domain-instructions ol li {
    list-style: decimal;
    padding-left: 3px;
}

#fieldsContainer label {
    top: 0;
}

.choices__list--dropdown {
    z-index: 20 !important;
}

.placeholder-btn {
    cursor: pointer;
}

.serial-remove-btn,
.add-row-icon {
    cursor: pointer;
}

/* ==========================================================================
   CLARIO FUTURISTIC & HYBRID MODERN DASHBOARD DESIGN SYSTEM
   ========================================================================== */
:root {
    --clario-dark-bg: #061812;
    --clario-dark-surface: #0b221a;
    --clario-dark-card: rgba(11, 34, 26, 0.75);
    --clario-emerald: #10B981;
    --clario-emerald-neon: #00FF87;
    --clario-emerald-glow: rgba(16, 185, 129, 0.25);
    --clario-orange: #FF6B00;
    --clario-orange-hover: #FF8800;
    --clario-orange-glow: rgba(255, 107, 0, 0.25);
    --clario-border-dark: rgba(16, 185, 129, 0.18);
    --clario-text-title: #FFFFFF;
    --clario-text-body: #E2E8F0;
    --clario-text-muted: #94A3B8;
    --clario-glass-blur: blur(14px);
}

/* Futuristic Dark Mode / Glassmorphism Dashboard Base */
body.dark-mode,
body.futuristic-mode {
    background-color: var(--clario-dark-bg) !important;
    color: var(--clario-text-body) !important;
}

body.dark-mode .section-container,
body.futuristic-mode .section-container {
    background-color: var(--clario-dark-bg) !important;
}

/* Glassmorphic Cards */
.futuristic-card {
    background: rgba(11, 34, 26, 0.75) !important;
    backdrop-filter: var(--clario-glass-blur);
    -webkit-backdrop-filter: var(--clario-glass-blur);
    border: 1px solid var(--clario-border-dark) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.futuristic-card:hover {
    transform: translateY(-2px);
    border-color: rgba(16, 185, 129, 0.35) !important;
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45), 0 0 25px var(--clario-emerald-glow);
}

/* Emerald Glowing Card Variant */
.glow-emerald-card {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.12) 0%, rgba(11, 34, 26, 0.85) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.18) !important;
}

.glow-emerald-card:hover {
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.35) !important;
}

/* Orange Glowing Card Variant */
.glow-orange-card {
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.12) 0%, rgba(11, 34, 26, 0.85) 100%) !important;
    border: 1px solid rgba(255, 107, 0, 0.4) !important;
    box-shadow: 0 0 25px rgba(255, 107, 0, 0.18) !important;
}

.glow-orange-card:hover {
    box-shadow: 0 0 35px rgba(255, 107, 0, 0.35) !important;
}

/* Modern Pill Badges */
.badge-neon-emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-neon-orange {
    background: rgba(255, 107, 0, 0.15);
    color: #FF6B00;
    border: 1px solid rgba(255, 107, 0, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-neon-danger {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
}

/* Stat Card Icon Boxes */
.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-icon-wrapper.emerald {
    background: rgba(16, 185, 129, 0.15);
    color: #00FF87;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.stat-icon-wrapper.orange {
    background: rgba(255, 107, 0, 0.15);
    color: #FF8800;
    border: 1px solid rgba(255, 107, 0, 0.3);
}

/* Action Buttons */
.btn-futuristic-orange {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    padding: 9px 20px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-futuristic-orange:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(255, 107, 0, 0.55) !important;
}

.btn-futuristic-emerald {
    background: linear-gradient(135deg, #10B981 0%, #05DF72 100%) !important;
    color: #061812 !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-futuristic-emerald:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.55) !important;
}

/* Live Header Status Indicator */
.live-status-pill {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.28);
    color: #10B981;
    padding: 5px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.live-status-pill .pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

/* Futuristic Header Search Input */
.futuristic-search-bar {
    position: relative;
    width: 280px;
}

.futuristic-search-bar input {
    background: rgba(11, 34, 26, 0.6) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #FFFFFF !important;
    border-radius: 25px !important;
    padding: 7px 16px 7px 38px !important;
    font-size: 0.85rem !important;
    transition: all 0.3s ease !important;
}

.futuristic-search-bar input::placeholder {
    color: #94A3B8;
}

.futuristic-search-bar input:focus {
    border-color: #10B981 !important;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.25) !important;
}

.futuristic-search-bar i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.85rem;
}

/* Futuristic Tables */
.futuristic-table-wrapper {
    overflow-x: auto;
}

.futuristic-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}

.futuristic-table th {
    color: #94A3B8;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 16px;
    border: none !important;
    background: transparent !important;
}

.futuristic-table tbody tr {
    background: rgba(11, 34, 26, 0.45);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.futuristic-table tbody tr:hover {
    background: rgba(16, 185, 129, 0.09);
}

.futuristic-table td {
    padding: 14px 16px;
    color: #E2E8F0;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.futuristic-table td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
}

.futuristic-table td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
}

/* Dark Forest Sidebar Styling */
.side-bar {
    background: #051A12 !important;
    border-right: 1px solid rgba(16, 185, 129, 0.15) !important;
}

.side-bar-manu ul li a {
    color: #94A3B8 !important;
    border-radius: 12px;
    margin: 3px 12px;
    transition: all 0.25s ease;
}

.side-bar-manu ul li.active>a,
.side-bar-manu ul li a:hover {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%) !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}

.side-bar-manu ul li.active>a .sidebar-icon img,
.side-bar-manu ul li a:hover .sidebar-icon img {
    filter: brightness(0) invert(1);
}

/* Theme Toggle Switch */
.theme-toggle-btn {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10B981;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: #10B981;
    color: #061812;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

/* Light Mode Overrides (Hybrid Modern UI - Images 2 & 3) */
body:not(.dark-mode) {
    background-color: #F4F6F8 !important;
    color: #1E293B !important;
}

body:not(.dark-mode) .section-container {
    background-color: #F4F6F8 !important;
}

body.dark-mode .main-header-section {
    background-color: var(--clario-dark-surface) !important;
    border-bottom: 1px solid var(--clario-border-dark) !important;
}

body.dark-mode .main-header-section .nav-greeting,
body.dark-mode .main-header-section .nav-name,
body.dark-mode .main-header-section .lang-name,
body.dark-mode .main-header-section .view-website,
body.dark-mode .main-header-section .exit-branch-btn p,
body.dark-mode .main-header-section .sidebar-opner,
body.dark-mode .main-header-section i:not(.text-red):not(.language-check):not(#themeToggleIcon) {
    color: var(--clario-text-title) !important;
}

.theme-toggle-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.dark-mode .main-header-section .dropdown-toggleer span {
    color: #FFFFFF !important;
}

body.dark-mode .btn-light {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--clario-text-body) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

body.dark-mode .btn-light:hover,
body.dark-mode .btn-light:focus {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}

body.dark-mode .main-header-section .dropdown-menu li a {
    color: var(--clario-text-body) !important;
}

body.dark-mode .main-header-section .dropdown-menu li a:hover {
    color: var(--clario-emerald) !important;
}

body.dark-mode .notification-header,
body.dark-mode .notification-footer,
body.dark-mode .notification-container {
    background-color: var(--clario-dark-surface) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .notification-container ul li a {
    border-top-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .notification-container ul li a strong {
    color: var(--clario-text-title) !important;
}

body.dark-mode .notification-container ul li a span {
    color: var(--clario-text-muted) !important;
}

body.dark-mode .notification-header a.text-red,
body.dark-mode .notification-footer a.text-red {
    color: #EF4444 !important;
}

body:not(.dark-mode) .futuristic-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
}

body:not(.dark-mode) .glow-emerald-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.04) !important;
}

body:not(.dark-mode) .glow-orange-card {
    background: #FFFFFF !important;
    border: 1px solid rgba(255, 107, 0, 0.15) !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.04) !important;
}

body:not(.dark-mode) .futuristic-card .text-white {
    color: #0F172A !important;
}

body:not(.dark-mode) .futuristic-table tbody tr {
    background: #F8FAFC !important;
}

body:not(.dark-mode) .futuristic-table td {
    color: #334155 !important;
    border-top-color: #F1F5F9 !important;
    border-bottom-color: #F1F5F9 !important;
}

body:not(.dark-mode) .futuristic-search-bar input {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

/* ==========================================================================
   PHASE 2 EXPERT UI COMPONENTS: SPARK LINES, SHOWCASE GRID, FAB, TIMEPILLS
   ========================================================================== */

/* Sparkline Background Graph Overlay */
.card-sparkline-bg {
    position: absolute;
    bottom: -5px;
    right: -10px;
    left: -10px;
    height: 55px;
    pointer-events: none;
    opacity: 0.55;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.futuristic-card:hover .card-sparkline-bg {
    opacity: 0.85;
}

/* Timeframe Filter Pill Bar */
.timeframe-pill-bar {
    background: rgba(11, 34, 26, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 30px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.timeframe-pill {
    background: transparent;
    border: none;
    color: #94A3B8;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s ease;
    cursor: pointer;
}

.timeframe-pill:hover,
.timeframe-pill.active {
    background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35);
}

/* Top Performing Products Cards (Reference Image 2) */
.top-product-card {
    background: rgba(11, 34, 26, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 14px;
    transition: all 0.3s ease;
}

.top-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.product-img-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Warehouse Capacity & Goal Progress Bar */
.capacity-progress-track {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.capacity-progress-fill {
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #FF6B00 0%, #FF8800 100%);
    box-shadow: 0 0 12px rgba(255, 107, 0, 0.6);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Floating Quick Action FAB (Bottom-Right Action Trigger) */
.floating-action-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.fab-main-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00 0%, #FF8800 100%);
    color: #FFFFFF;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fab-main-btn:hover {
    transform: scale(1.08) rotate(90deg);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.7);
}

.fab-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
}

.floating-action-fab.active .fab-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fab-item {
    background: rgba(11, 34, 26, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #FFFFFF;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
}

.fab-item:hover {
    background: #10B981;
    color: #061812;
    transform: translateX(-3px);
}

/* ==========================================================================
   PHASE 3 ARCHITECTURAL UPGRADES: FULLSCREEN, EXPORT, DRAG & DROP, REALTIME
   ========================================================================== */

/* Chart Action Buttons (Fullscreen & Export) */
.chart-action-btn {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: #10B981;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.chart-action-btn:hover {
    background: #10B981;
    color: #061812;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

/* Fullscreen Chart Container */
.chart-card-fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99999 !important;
    border-radius: 0 !important;
    background: #061812 !important;
    padding: 30px !important;
}

.chart-card-fullscreen canvas {
    height: calc(100vh - 120px) !important;
}

/* Realtime Sales Stream Ticker */
.realtime-sales-ticker {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(11, 34, 26, 0.8) 50%, rgba(255, 107, 0, 0.15) 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 30px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.82rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ticker-badge {
    background: #10B981;
    color: #061812;
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Drag-and-Drop Handles & Ghost Elements */
.drag-handle {
    cursor: grab;
    opacity: 0.4;
    transition: opacity 0.2s ease;
    margin-right: 6px;
}

.futuristic-card:hover .drag-handle {
    opacity: 1;
}

.sortable-ghost {
    opacity: 0.3 !important;
    border: 2px dashed #10B981 !important;
}

.sortable-chosen {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4) !important;
}

/* ==========================================================================
   PHASE 4: FUTURISTIC ANIMATIONS & DEEP THEMING
   ========================================================================== */

/* Animated Backgrounds */
body.dark-mode {
    background: radial-gradient(circle at top left, #0a1f18 0%, #051A12 100%) !important;
    background-attachment: fixed !important;
}

body:not(.dark-mode) {
    background: radial-gradient(circle at top right, #FFFFFF 0%, #F4F6F8 100%) !important;
    background-attachment: fixed !important;
}

/* Keyframes for Opening Animations */
@keyframes fadeInUpFuturistic {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
        filter: blur(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes slideInRightFuturistic {
    0% {
        opacity: 0;
        transform: translateX(30px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(16, 185, 129, 0.4);
    }

    100% {
        box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    }
}

@keyframes neonFlicker {

    0%,
    19%,
    21%,
    23%,
    25%,
    54%,
    56%,
    100% {
        opacity: 1;
    }

    20%,
    24%,
    55% {
        opacity: 0.5;
    }
}

/* Staggered Animation Classes */
.animate-fade-in-up {
    animation: fadeInUpFuturistic 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    /* Starts hidden */
}

.animate-slide-in-right {
    animation: slideInRightFuturistic 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-stagger-1 {
    animation-delay: 0.1s;
}

.animate-stagger-2 {
    animation-delay: 0.2s;
}

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

.animate-stagger-4 {
    animation-delay: 0.4s;
}

.animate-stagger-5 {
    animation-delay: 0.5s;
}

.animate-stagger-6 {
    animation-delay: 0.6s;
}

.animate-stagger-7 {
    animation-delay: 0.7s;
}

.animate-stagger-8 {
    animation-delay: 0.8s;
}

/* Enhanced Hover Effects */
.futuristic-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.futuristic-card:hover {
    transform: translateY(-5px) scale(1.01);
}

.glow-emerald-card:hover {
    animation: glowPulse 2s infinite;
}

.badge-neon-emerald {
    animation: neonFlicker 4s infinite;
}

/* ==========================================================================
   GLOBAL SYSTEM-WIDE FUTURISTIC OVERRIDES (POS, PRODUCTS, TABLES, FORMS)
   ========================================================================== */

/* Universal Card & ERP Section Glassmorphism */
body.dark-mode .card,
body.dark-mode .erp-table-section .card {
    background: rgba(11, 34, 26, 0.75) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35) !important;
    border-radius: 14px !important;
}

body:not(.dark-mode) .card,
body:not(.dark-mode) .erp-table-section .card {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05) !important;
    border-radius: 14px !important;
}

/* Universal Table Styling Overrides */
.table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

.table thead th {
    background: rgba(16, 185, 129, 0.12) !important;
    color: #10B981 !important;
    font-weight: 700 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.3) !important;
    padding: 12px 14px !important;
}

body.dark-mode .table tbody tr td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #E2E8F0 !important;
    padding: 12px 14px !important;
    transition: background 0.2s ease;
}

body:not(.dark-mode) .table tbody tr td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    color: #1E293B !important;
    padding: 12px 14px !important;
    transition: background 0.2s ease;
}

body.dark-mode .table tbody tr:hover td {
    background: rgba(16, 185, 129, 0.08) !important;
}

body:not(.dark-mode) .table tbody tr:hover td {
    background: rgba(16, 185, 129, 0.04) !important;
}

/* Form Controls & Inputs Overrides */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    border-color: #10B981 !important;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.3) !important;
}

body:not(.dark-mode) .form-control,
body:not(.dark-mode) .form-select {
    background: rgba(248, 250, 252, 0.9) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    color: #0F172A !important;
    border-radius: 8px !important;
}

body:not(.dark-mode) .form-control:focus,
body:not(.dark-mode) .form-select:focus {
    border-color: #10B981 !important;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2) !important;
}

/* Modals Futuristic Styling */
body.dark-mode .modal-content {
    background: #0B221A !important;
    border: 1px solid rgba(16, 185, 129, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8) !important;
    color: #FFFFFF !important;
    border-radius: 16px !important;
}

body:not(.dark-mode) .modal-content {
    background: #FFFFFF !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
    border-radius: 16px !important;
}

/* POS Interface Specific Rules */
.sales-main-container,
.sales-container,
.products-container {
    background: transparent !important;
}

.quick-act-header {
    background: rgba(16, 185, 129, 0.08) !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
}

.quick-act-title {
    color: #10B981 !important;
    font-weight: 700 !important;
}

.quick-actions-container a,
.quick-actions-container button {
    background: rgba(16, 185, 129, 0.15) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 6px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.quick-actions-container a:hover,
.quick-actions-container button:hover {
    background: #10B981 !important;
    color: #061812 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.payment-section,
.cart-payment,
.amount-info-container {
    background: rgba(255, 255, 255, 0.03) !important;
    border-radius: 12px !important;
    padding: 14px !important;
}

/* Offcanvas Drawer Glassmorphic Overrides */
body.dark-mode .custom-offcanvas {
    background: rgba(11, 34, 26, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-left: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #FFFFFF !important;
}

body:not(.dark-mode) .custom-offcanvas {
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-left: 1px solid rgba(16, 185, 129, 0.2) !important;
    color: #0F172A !important;
}

/* Calculator & Button Overrides */
body.dark-mode .calculator-btn.btn-border,
body.dark-mode .calculator-btn.border {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #F8FAFC !important;
}

body.dark-mode .calculator-btn:hover {
    background: rgba(16, 185, 129, 0.25) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
    transform: translateY(-1px);
}

body:not(.dark-mode) .calculator-btn.border {
    background: #F8FAFC !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #1E293B !important;
}

body:not(.dark-mode) .calculator-btn:hover {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: #10B981 !important;
    color: #10B981 !important;
}

/* Dropdown Menu Glassmorphism Overrides */
body.dark-mode .dropdown-menu {
    background: rgba(11, 34, 26, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    border-radius: 12px !important;
}

body.dark-mode .dropdown-item {
    color: #E2E8F0 !important;
}

body.dark-mode .dropdown-item:hover {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

body:not(.dark-mode) .dropdown-menu {
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
}

/* Close Button Overrides for Dark Mode */
body.dark-mode .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

/* Footer in Dark Mode */
body.dark-mode .business-footer {
    background-color: var(--clario-dark-surface) !important;
    border-top: 1px solid var(--clario-border-dark) !important;
    color: var(--clario-text-title) !important;
}

body.dark-mode .business-footer a {
    color: var(--clr-secondary) !important;
}

/* Fix text legibility in dark mode */
/* La page d'accueil (.ch) gere ses propres couleurs par roles : elle est
   exclue de ces regles generales, qui ecrasaient ses accents de marque. */
body.dark-mode, 
body.dark-mode p:not(.ch p):not(.ob p):not(.ck p), 
body.dark-mode span:not([class*="badge"]):not([class*="text-"]):not(.text-muted):not(.ch span):not(.ob span):not(.ck span), 
body.dark-mode h1:not(.ch h1):not(.ob h1):not(.ck h1), body.dark-mode h2:not(.ch h2):not(.ob h2):not(.ck h2), body.dark-mode h3:not(.ch h3):not(.ob h3):not(.ck h3), body.dark-mode h4:not(.ch h4):not(.ob h4):not(.ck h4), body.dark-mode h5:not(.ch h5):not(.ob h5):not(.ck h5), body.dark-mode h6:not(.ch h6):not(.ob h6):not(.ck h6), 
body.dark-mode td, body.dark-mode th {
    color: var(--clario-text-title);
}

/* Fine texts (text-muted) in dark mode */
body.dark-mode .text-muted,
body.dark-mode .text-secondary {
    color: #9ca3af !important; /* Brighter thin white for better readability */
    font-weight: 300 !important;
}

/* Money amounts in dark mode */
body.dark-mode .bus-stat-count,
body.dark-mode .money-text,
body.dark-mode #overall_purchase,
body.dark-mode #overall_sale,
body.dark-mode #overall_income,
body.dark-mode #overall_expense {
    color: #FF8800 !important;
}

/* Fix remaining light blocks in dark mode (Add product, POS, Stocks, etc) */
body.dark-mode .product-card,
body.dark-mode .product-price-container,
body.dark-mode .product-price-header,
body.dark-mode .single-container,
body.dark-mode .order-form-section,
body.dark-mode .upload-box,
body.dark-mode .profit-card,
body.dark-mode .loss-card,
body.dark-mode .bg-white,
body.dark-mode .card-bodys,
body.dark-mode .variant-container,
body.dark-mode .main-variant-content,
body.dark-mode .variant-content,
body.dark-mode .responsive-table,
body.dark-mode .add-suplier-modal-wrapper {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

/* POS page dark mode */
body.dark-mode .sales-container,
body.dark-mode .main-container,
body.dark-mode .products-header,
body.dark-mode .products-container,
body.dark-mode .quick-act-header,
body.dark-mode .cart-payment,
body.dark-mode .amount-info-container,
body.dark-mode .payment-container,
body.dark-mode .search-product,
body.dark-mode .scroll-card,
body.dark-mode .payment-section,
body.dark-mode .search-product-card,
body.dark-mode .hr-container {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

/* Table header row dark mode */
body.dark-mode .table-background,
body.dark-mode thead th,
body.dark-mode .table thead,
body.dark-mode .table th {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #E2E8F0 !important;
}

/* Form controls in dark mode */
body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode select,
body.dark-mode input[type="text"],
body.dark-mode input[type="number"],
body.dark-mode input[type="date"],
body.dark-mode input[type="month"],
body.dark-mode input[type="email"],
body.dark-mode input[type="password"],
body.dark-mode textarea,
body.dark-mode .input-wrapper input {
    background-color: rgba(255,255,255,0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .form-control::placeholder,
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
    color: rgba(226, 232, 240, 0.4) !important;
}

/* Label text */
body.dark-mode label,
body.dark-mode .order-form-section label,
body.dark-mode .upload-box .upload-text,
body.dark-mode .payment-title,
body.dark-mode h6.payment-title {
    color: var(--clario-text-title) !important;
}

/* Header label (floating label on top of input) */
body.dark-mode .header-label {
    background: var(--clario-dark-surface) !important;
    color: var(--clario-text-title) !important;
}

/* Modal dark mode */
body.dark-mode .modal-content {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .modal-header {
    background-color: var(--clario-dark-surface) !important;
    border-bottom-color: var(--clario-border-dark) !important;
}

body.dark-mode .modal-footer {
    background-color: var(--clario-dark-surface) !important;
    border-top-color: var(--clario-border-dark) !important;
}

/* Offcanvas dark mode */
body.dark-mode .offcanvas,
body.dark-mode .offcanvas-body {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
}

/* Stock summary cards dark mode */
body.dark-mode .profit-card,
body.dark-mode .loss-card {
    background: linear-gradient(135deg, rgba(5, 56, 31, 0.8), rgba(16, 185, 129, 0.15)) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #E2E8F0 !important;
}

/* Table rows in dark mode */
body.dark-mode .table td,
body.dark-mode .table tbody tr {
    background-color: transparent !important;
    border-color: var(--clario-border-dark) !important;
    color: #E2E8F0 !important;
}

body.dark-mode .table tbody tr:hover {
    background-color: rgba(16, 185, 129, 0.05) !important;
}

/* Table-striped in dark mode */
body.dark-mode .table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(255,255,255,0.03) !important;
}

/* Erp table section background */
body.dark-mode .erp-table-section {
    background-color: var(--clario-dark-bg) !important;
}

/* Report tables with bg-white */
body.dark-mode table.bg-white {
    background-color: var(--clario-dark-surface) !important;
}

/* Product list card in POS */
body.dark-mode .search-product-card .card,
body.dark-mode .product-list-container .card {
    background-color: rgba(11, 34, 26, 0.7) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

/* Dual dropdown (tax type) */
body.dark-mode .dual-dropdown,
body.dark-mode .dual-dropdown select {
    background-color: rgba(255,255,255,0.05) !important;
    border-color: var(--clario-border-dark) !important;
    color: #E2E8F0 !important;
}

/* Table select */
body.dark-mode .table-select,
body.dark-mode .gpt-up-down-arrow select {
    background-color: rgba(255,255,255,0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

/* Choices.js select in POS */
body.dark-mode .choices__inner,
body.dark-mode .choices__list--dropdown,
body.dark-mode .choices__list--dropdown .choices__item--selectable {
    background-color: rgba(11, 34, 26, 0.95) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background-color: rgba(16, 185, 129, 0.2) !important;
}

/* Blue color -> dark green override for text-blue utility */
body.dark-mode .text-blue,
.text-blue {
    color: var(--clr-primary) !important;
}

/* Override remaining sky-blue highlights */
body.dark-mode .text-primary {
    color: #10B981 !important;
}

body.dark-mode a.text-primary:hover {
    color: #34d399 !important;
}

/* Light-blue background utility -> green in dark */
body.dark-mode .light-blue {
    background: rgba(16, 185, 129, 0.15) !important;
}

/* =====================================================
   SETTINGS PAGE — DARK MODE
   ===================================================== */

/* Nav tabs bar */
body.dark-mode #settingsTab,
body.dark-mode .nav-tabs {
    border-bottom-color: var(--clario-border-dark) !important;
    background: transparent !important;
}

/* Settings tab links — default state */
body.dark-mode .settings-link {
    color: #9ca3af !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* Settings tab links — ACTIVE state → orange */
body.dark-mode .settings-link.active {
    color: #FF8800 !important;
    background: transparent !important;
    border-color: transparent !important;
}

/* Orange underline bar on active tab */
body.dark-mode .settings-link.active::after {
    background-color: #FF8800 !important;
}

/* Settings tab links — hover state */
body.dark-mode .settings-link:hover {
    color: #FF8800 !important;
    border-color: transparent !important;
}

/* Settings box grid container */
body.dark-mode .settings-box-container .setting-box {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

/* Settings box — title text */
body.dark-mode .settings-box-container .setting-box h6 {
    color: #E2E8F0 !important;
}

/* Settings box links (text-dark class → white in dark mode) */
body.dark-mode .settings-box-container a.text-dark,
body.dark-mode .text-dark {
    color: #E2E8F0 !important;
}

/* Settings icon box — default → orange background, dark green icon stroke */
body.dark-mode .settings-box-container .setting-box .settings-icon {
    background-color: rgba(255, 136, 0, 0.15) !important;
    border-radius: 4px;
}

/* Make SVG paths inside icons adapt to dark mode (dark green) */
body.dark-mode .settings-box-container .setting-box .settings-icon svg path {
    stroke: #FF8800 !important;
}

/* Settings box — HOVER state → orange border + subtle orange background */
body.dark-mode .settings-box-container .setting-box:hover {
    border-color: #FF8800 !important;
    background-color: rgba(255, 136, 0, 0.08) !important;
}

/* Settings box — HOVER icon box → solid orange */
body.dark-mode .settings-box-container .setting-box:hover .settings-icon {
    background-color: #FF8800 !important;
}

/* Settings box — HOVER icon SVG paths → white */
body.dark-mode .settings-box-container .setting-box:hover .settings-icon svg path {
    stroke: #ffffff !important;
}

/* Nav tabs — all items general */
body.dark-mode .nav-tabs .nav-link {
    color: #9ca3af !important;
}

body.dark-mode .nav-tabs .nav-link.active,
body.dark-mode .nav-tabs .nav-item.show .nav-link {
    background-color: transparent !important;
    border-color: transparent transparent var(--clario-border-dark) transparent !important;
    color: #FF8800 !important;
}

/* =====================================================
   SUBSCRIPTION / PLAN CARDS — DARK MODE
   ===================================================== */

/* Pricing section background */
body.dark-mode .pricing-plan-section,
body.dark-mode .plans-list {
    background-color: var(--clario-dark-bg) !important;
}

/* Plan card default state in dark mode */
body.dark-mode .pricing-plan-section .futuristic-card,
body.dark-mode .plans-list .futuristic-card {
    background: rgba(11, 34, 26, 0.75) !important;
    border: 1px solid var(--clario-border-dark) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Plan card HOVER → orange accent */
body.dark-mode .pricing-plan-section .futuristic-card:hover,
body.dark-mode .plans-list .futuristic-card:hover {
    border-color: #FF8800 !important;
    background: linear-gradient(145deg, rgba(255, 136, 0, 0.08) 0%, rgba(11, 34, 26, 0.85) 100%) !important;
    box-shadow: 0 8px 35px rgba(255, 136, 0, 0.15), 0 0 20px rgba(255, 136, 0, 0.08) !important;
    transform: translateY(-6px) scale(1.01) !important;
}

/* Card header */
body.dark-mode .pricing-plan-section .card-header,
body.dark-mode .plans-list .card-header {
    background: transparent !important;
    border-bottom-color: var(--clario-border-dark) !important;
}

/* Plan name text */
body.dark-mode .pricing-plan-section .text-custom-primary,
body.dark-mode .plans-list .text-custom-primary {
    color: #E2E8F0 !important;
}

/* Price amount → orange on hover */
body.dark-mode .pricing-plan-section .futuristic-card:hover .display-5,
body.dark-mode .plans-list .futuristic-card:hover .display-5 {
    color: #FF8800 !important;
}

/* Feature list text */
body.dark-mode .pricing-plan-section .card-body span,
body.dark-mode .plans-list .card-body span {
    color: #cbd5e1 !important;
}

/* Strikethrough features dimmed */
body.dark-mode .pricing-plan-section .text-decoration-line-through,
body.dark-mode .plans-list .text-decoration-line-through {
    color: #64748b !important;
}

/* Subscribe button → orange on card hover */
body.dark-mode .pricing-plan-section .futuristic-card:hover .btn-futuristic-emerald,
body.dark-mode .plans-list .futuristic-card:hover .btn-futuristic-emerald {
    background: linear-gradient(135deg, #FF8800, #e07000) !important;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3) !important;
}

/* =====================================================
   COMPREHENSIVE DARK MODE — ALL REMAINING COMPONENTS
   ===================================================== */

/* ---- DROPDOWN MENUS ---- */
body.dark-mode .dropdown-menu {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

body.dark-mode .dropdown-menu li a,
body.dark-mode .dropdown-item {
    color: #cbd5e1 !important;
}

body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
}

body.dark-mode .dropdown-item.active,
body.dark-mode .dropdown-item:active {
    background-color: var(--clr-primary) !important;
    color: #fff !important;
}

/* ---- NOTIFICATIONS DROPDOWN ---- */
body.dark-mode .notification-container {
    background-color: var(--clario-dark-surface) !important;
}

body.dark-mode .notification-header {
    background-color: rgba(255,255,255,0.03) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .notification-header p,
body.dark-mode .notification-header a {
    color: #cbd5e1 !important;
}

body.dark-mode .notification-footer {
    background-color: var(--clario-dark-surface) !important;
    border-top: 1px solid var(--clario-border-dark) !important;
}

body.dark-mode .notification-footer a {
    color: #10B981 !important;
}

body.dark-mode .notifications ul li a {
    border-bottom-color: var(--clario-border-dark) !important;
}

body.dark-mode .notifications ul li a span,
body.dark-mode .notifications ul li a strong {
    color: #E2E8F0 !important;
}

body.dark-mode .notifications .dropdown-toggleer span {
    background-color: #FF8800 !important;
}

body.dark-mode .notifications.dropdown>a.show {
    background-color: rgba(255,255,255,0.05) !important;
}

/* ---- PROFILE DROPDOWN ---- */
body.dark-mode .main-header-section .profile-info .dropdown-menu {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .main-header-section .profile-info .dropdown-menu li a {
    color: #cbd5e1 !important;
}

body.dark-mode .main-header-section .profile-info .dropdown-menu li a:hover {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
}

body.dark-mode .main-header-section .profile-info .dropdown-menu li a i {
    color: #94a3b8 !important;
}

/* ---- TABLE ACTION DROPDOWN ---- */
body.dark-mode .table-action .dropdown-menu {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .table-action .dropdown-menu a {
    color: #cbd5e1 !important;
}

body.dark-mode .table-action .dropdown-menu a:hover {
    background-color: rgba(16, 185, 129, 0.1) !important;
}

/* ---- NICE-SELECT ---- */
body.dark-mode .nice-select {
    background-color: rgba(255,255,255,0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .nice-select .list {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4) !important;
}

body.dark-mode .nice-select .option {
    color: #cbd5e1 !important;
}

body.dark-mode .nice-select .option:hover,
body.dark-mode .nice-select .option.selected {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
}

body.dark-mode .nice-select:after {
    border-bottom-color: #94a3b8 !important;
    border-right-color: #94a3b8 !important;
}

/* ---- DATATABLES ---- */
body.dark-mode .dataTables_wrapper select,
body.dark-mode .dataTables_wrapper input {
    background-color: rgba(255,255,255,0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .dataTables_wrapper .dataTables_filter label,
body.dark-mode .dataTables_wrapper .dataTables_length label {
    color: #cbd5e1 !important;
}

body.dark-mode .dataTables_info {
    color: #94a3b8 !important;
}

body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #FF8800 !important;
    border-color: var(--clario-border-dark) !important;
    background-color: transparent !important;
}

body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current,
body.dark-mode .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
    background: #FF8800 !important;
    color: #fff !important;
}

body.dark-mode .dataTables_wrapper .dt-buttons button {
    color: #94a3b8 !important;
}

/* ---- ACCORDION ---- */
body.dark-mode .accordion-button {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .accordion-button:not(.collapsed) {
    background-color: rgba(16, 185, 129, 0.08) !important;
    color: #10B981 !important;
}

body.dark-mode .accordion-button::after {
    filter: invert(1) brightness(2) !important;
}

body.dark-mode .accordion-item {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .accordion-body {
    background-color: var(--clario-dark-surface) !important;
    color: #cbd5e1 !important;
}

/* ---- BREADCRUMBS ---- */
body.dark-mode .breadcrumb {
    background-color: transparent !important;
}

body.dark-mode .breadcrumb-item,
body.dark-mode .breadcrumb-item a {
    color: #94a3b8 !important;
}

body.dark-mode .breadcrumb-item.active {
    color: #E2E8F0 !important;
}

/* ---- PAGINATION ---- */
body.dark-mode .pagination .page-link {
    background-color: var(--clario-dark-surface) !important;
    color: #cbd5e1 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .pagination .page-item.active .page-link {
    background-color: #FF8800 !important;
    border-color: #FF8800 !important;
    color: #fff !important;
}

body.dark-mode .pagination .page-link:hover {
    background-color: rgba(255, 136, 0, 0.15) !important;
    color: #FF8800 !important;
}

/* ---- ALERTS ---- */
body.dark-mode .alert {
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .alert-warning {
    background-color: rgba(255, 136, 0, 0.12) !important;
    color: #fbbf24 !important;
    border-color: rgba(255, 136, 0, 0.3) !important;
}

body.dark-mode .alert-success {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

body.dark-mode .alert-danger {
    background-color: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

body.dark-mode .alert-info {
    background-color: rgba(16, 185, 129, 0.12) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ---- BADGES ---- */
body.dark-mode .badge.bg-light {
    background-color: rgba(255,255,255,0.08) !important;
    color: #E2E8F0 !important;
}

/* ---- DELETE POPUP ---- */
body.dark-mode .delete-pop {
    background-color: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

body.dark-mode .delete-pop-btn {
    background-color: var(--clr-primary) !important;
}

/* ---- TAGS CARD ---- */
body.dark-mode .tags-card {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .tags-card h6,
body.dark-mode .tags-list a {
    color: #cbd5e1 !important;
}

/* ---- BALANCE CARD ---- */
body.dark-mode .balance-card {
    background-color: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
}

body.dark-mode .balance-card h4 {
    color: #10B981 !important;
}

/* ---- BANK DETAILS ---- */
body.dark-mode .bank-details h4,
body.dark-mode .bank-details h6 {
    color: #E2E8F0 !important;
}

body.dark-mode .bank-details-container {
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .bank-details-container .bank-details-title {
    color: #E2E8F0 !important;
    background-color: rgba(255,255,255,0.03) !important;
}

/* ---- CART VARIANT BOX ---- */
body.dark-mode .cart-variant-box {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .cart-variant-box.cart-active {
    border-color: var(--clr-primary) !important;
    background-color: rgba(16, 185, 129, 0.05) !important;
}

body.dark-mode .cart-variant-price {
    color: #FF8800 !important;
}

body.dark-mode .cart-stock {
    color: #10B981 !important;
}

/* ---- TABLE FOOTER ---- */
body.dark-mode .table-footer {
    background-color: rgba(255,255,255,0.03) !important;
}

body.dark-mode .table-footer td {
    color: #E2E8F0 !important;
}

/* ---- BETWEEN WRAPPER (date filters) ---- */
body.dark-mode .between-wrapper {
    border-color: var(--clario-border-dark) !important;
    background-color: var(--clario-dark-surface) !important;
}

body.dark-mode .between-wrapper input {
    background-color: transparent !important;
    color: #E2E8F0 !important;
}

body.dark-mode .between-wrapper span {
    background-color: #374151 !important;
    color: #E2E8F0 !important;
}

/* ---- CALCULATOR (POS modal) ---- */
body.dark-mode .calculator-content {
    background-color: var(--clario-dark-surface) !important;
}

body.dark-mode .calculator-btn {
    background-color: rgba(255,255,255,0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .calculator-btn:hover {
    background-color: rgba(16, 185, 129, 0.15) !important;
    border-color: #10B981 !important;
}

body.dark-mode .calculator .form-control {
    background-color: rgba(0,0,0,0.3) !important;
    color: #10B981 !important;
}

body.dark-mode .operator-group {
    color: #FF8800 !important;
}

/* ---- INVOICE SECTIONS ---- */
body.dark-mode .invoice-header {
    background-color: rgba(16, 185, 129, 0.08) !important;
}

body.dark-mode .invoice-header h1,
body.dark-mode .invoice-header h2,
body.dark-mode .invoice-header p {
    color: #E2E8F0 !important;
}

body.dark-mode .invoice-section {
    background-color: var(--clario-dark-surface) !important;
}

/* ---- PROFILE PAGE ---- */
body.dark-mode .erp-dashboard-profile {
    background-color: var(--clario-dark-surface) !important;
}

body.dark-mode .erp-dashboard-profile-section {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
}

/* ---- CUSTOM TABLE HEADER ---- */
body.dark-mode .custome-table-header {
    border-bottom-color: var(--clario-border-dark) !important;
    background-color: transparent !important;
}

body.dark-mode .custome-table-header h4,
body.dark-mode .custome-table-header span {
    color: #E2E8F0 !important;
}

/* ---- TABLE HEADER ---- */
body.dark-mode .table-header {
    border-bottom-color: var(--clario-border-dark) !important;
}

body.dark-mode .table-header h4 {
    color: #E2E8F0 !important;
}

body.dark-mode .table-header h4 span {
    color: #94a3b8 !important;
}

/* ---- LOSS-PROFIT PAGE ---- */
body.dark-mode .final-total {
    color: #E2E8F0 !important;
}

body.dark-mode .loss-profit-header {
    color: #E2E8F0 !important;
}

body.dark-mode .loss-profit-tbody {
    color: #cbd5e1 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .bottom-net-profit {
    color: #10B981 !important;
}

body.dark-mode .expense-ammount {
    color: #f87171 !important;
}

/* ---- INCOME CONTAINER (dashboard chart) ---- */
body.dark-mode .income-container {
    color: #cbd5e1 !important;
}

body.dark-mode .dashboard-chart-header {
    border-bottom-color: var(--clario-border-dark) !important;
}

body.dark-mode .dashboard-chart-header h4 {
    color: #E2E8F0 !important;
}

/* ---- SERIAL CELL BUTTON ---- */
body.dark-mode .serial-cell-button {
    background-color: rgba(16, 185, 129, 0.1) !important;
    border-color: var(--clario-border-dark) !important;
}

/* ---- MODAL SAVE BUTTON ---- */
body.dark-mode .modal-save-btn {
    background-color: rgba(16, 185, 129, 0.1) !important;
    color: #10B981 !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
}

/* ---- NOTE / WARNING TEXT ---- */
body.dark-mode .note-pera {
    color: #94a3b8 !important;
}

body.dark-mode .warning-text {
    color: #fbbf24 !important;
}

/* ---- CUSTOM FROM-TO LABEL ---- */
body.dark-mode .custom-from-to label {
    background-color: var(--clario-dark-surface) !important;
    color: #cbd5e1 !important;
}

/* ---- UPLOAD BOXES ---- */
body.dark-mode .custom-upload-box {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode #uploadBox {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode #uploadBox:hover {
    border-color: #10B981 !important;
}

/* ---- BG UTILITIES ---- */
body.dark-mode .bg-gray {
    background: rgba(255,255,255,0.04) !important;
    color: #E2E8F0 !important;
}

body.dark-mode .bg-light {
    background-color: rgba(255,255,255,0.04) !important;
}

/* ---- TEXT COLOR OVERRIDES ---- */
body.dark-mode .text-muted {
    color: #94a3b8 !important;
}

body.dark-mode h1:not(.ch h1):not(.ob h1):not(.ck h1), body.dark-mode h2:not(.ch h2):not(.ob h2):not(.ck h2), body.dark-mode h3:not(.ch h3):not(.ob h3):not(.ck h3),
body.dark-mode h4:not(.ch h4):not(.ob h4):not(.ck h4), body.dark-mode h5:not(.ch h5):not(.ob h5):not(.ck h5), body.dark-mode h6:not(.ch h6):not(.ob h6):not(.ck h6) {
    color: #E2E8F0;
}

body.dark-mode p:not(.ch p):not(.ob p):not(.ck p) {
    color: #cbd5e1;
}

body.dark-mode .text-dark {
    color: #E2E8F0 !important;
}

body.dark-mode small {
    color: #94a3b8;
}

/* ---- TOTAL COUNT AREA ---- */
body.dark-mode .total-count-area .count-item h5 {
    color: #E2E8F0 !important;
}

body.dark-mode .total-count-area .count-item p {
    color: #cbd5e1 !important;
}

body.dark-mode .light-green {
    background: rgba(16, 185, 129, 0.15) !important;
}

body.dark-mode .light-orange {
    background: rgba(255, 136, 0, 0.15) !important;
}

body.dark-mode .light-red {
    background: rgba(239, 68, 68, 0.15) !important;
}

/* ---- SCROLLBAR ---- */
body.dark-mode ::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

body.dark-mode ::-webkit-scrollbar-track {
    background: var(--clario-dark-bg);
}

body.dark-mode ::-webkit-scrollbar-thumb {
    background-color: #374151;
    border-radius: 10px;
}

body.dark-mode ::-webkit-scrollbar-thumb:hover {
    background-color: #4B5563;
}

/* ---- PRODUCT SETTING FORM ---- */
body.dark-mode .product-setting-form .title {
    color: #E2E8F0 !important;
}

body.dark-mode .additional-input {
    color: #cbd5e1 !important;
}

/* ---- SELECT DROPDOWN ARROW (dark mode compatibility) ---- */
body.dark-mode .form-select {
    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='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

/* ---- INPUT GROUP ---- */
body.dark-mode .input-group-text {
    background-color: rgba(255,255,255,0.05) !important;
    color: #cbd5e1 !important;
    border-color: var(--clario-border-dark) !important;
}

/* ---- DEPOSIT BUTTON ---- */
body.dark-mode .deposit-button {
    color: #10B981 !important;
}

body.dark-mode .deposit-button svg path {
    stroke: #10B981 !important;
}

/* ---- FORM CHECK ---- */
body.dark-mode .form-check-label {
    color: #cbd5e1 !important;
}

body.dark-mode .form-switch .form-check-input {
    border-color: #4B5563 !important;
    background-color: #374151 !important;
}

body.dark-mode .form-switch .form-check-input:checked {
    background-color: var(--clr-primary) !important;
    border-color: var(--clr-primary) !important;
}

/* ---- SUBSCRIPTION TAB (business subscription page) ---- */
body.dark-mode .subscription-plan-tabs .nav-tabs {
    border-color: var(--clario-border-dark) !important;
}

/* ---- DUAL DROPDOWN dark fix ---- */
body.dark-mode .dual-dropdown select+select {
    background-color: rgba(255,255,255,0.08) !important;
    border-left-color: var(--clario-border-dark) !important;
}

/* ---- CUSTOM RADIO ---- */
body.dark-mode .custom-radio input[type="radio"]:checked+.checkmark {
    background-color: #FF8800 !important;
    border-color: #FF8800 !important;
}

/* ---- REPORT PAGES ---- */
body.dark-mode .custom-report-check {
    color: #cbd5e1 !important;
}

/* =====================================================
   DARK MODE — COMPLETE FORM AUDIT & OVERRIDES
   ===================================================== */

/* 1. Global Input, Textarea, Select Base in Dark Mode */
body.dark-mode input,
body.dark-mode select,
body.dark-mode textarea,
body.dark-mode .form-control,
body.dark-mode .form-select,
body.dark-mode .custom-input,
body.dark-mode .order-form-section .form-control,
body.dark-mode .role-input-label .form-control,
body.dark-mode .permission .form-control,
body.dark-mode .modal-body .form-control,
body.dark-mode .modal-content .form-control,
body.dark-mode .modal-custom-design .form-control,
body.dark-mode .table-top-form .form-control,
body.dark-mode .table-search .form-control,
body.dark-mode .table-top-left .form-control,
body.dark-mode .input-wrapper > .form-control,
body.dark-mode .input-wrapper .form-select,
body.dark-mode .mybazar-login-section .login-wrapper .input-group .form-control,
body.dark-mode .input-group .form-control,
body.dark-mode .form-control.manage-plan input,
body.dark-mode .table-select,
body.dark-mode .features-input,
body.dark-mode .search-input,
body.dark-mode .custom-number-input,
body.dark-mode .num-input input,
body.dark-mode .code-input input,
body.dark-mode .additional-input,
body.dark-mode .radio-switcher,
body.dark-mode .verify-modal-body .code-input input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

/* 2. Form Control Hover & Focus States */
body.dark-mode input:focus,
body.dark-mode select:focus,
body.dark-mode textarea:focus,
body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus,
body.dark-mode .order-form-section .form-control:focus,
body.dark-mode .modal-body .form-control:focus,
body.dark-mode .modal-content .form-control:focus,
body.dark-mode .table-search .form-control:focus,
body.dark-mode .table-top-form .form-control:focus,
body.dark-mode .gpt-dashboard-chart .card-header .form-control:focus {
    background-color: rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    border-color: #10B981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2) !important;
    outline: none !important;
}

/* 3. Native Select Options Background */
body.dark-mode select option {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
}

body.dark-mode select option:checked,
body.dark-mode select option:hover {
    background-color: #10B981 !important;
    color: #ffffff !important;
}

/* 4. Disabled & Readonly Form Elements */
body.dark-mode input:disabled,
body.dark-mode select:disabled,
body.dark-mode textarea:disabled,
body.dark-mode .form-control:disabled,
body.dark-mode .form-select:disabled,
body.dark-mode .form-control[readonly],
body.dark-mode input[readonly],
body.dark-mode .payment-section .form-control[readonly] {
    background-color: rgba(255, 255, 255, 0.02) !important;
    background: rgba(255, 255, 255, 0.02) !important;
    color: #64748b !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    cursor: not-allowed !important;
}

/* 5. Input Placeholders */
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder,
body.dark-mode select::placeholder,
body.dark-mode .form-control::placeholder,
body.dark-mode .form-control::-webkit-input-placeholder,
body.dark-mode .form-control::-moz-placeholder,
body.dark-mode .form-control:-ms-input-placeholder,
body.dark-mode .order-form-section .form-control::placeholder,
body.dark-mode .order-form-section .form-control::-webkit-input-placeholder {
    color: #94a3b8 !important;
    opacity: 0.8 !important;
}

/* 6. Form Labels, Help Text & Validation Messages */
body.dark-mode label,
body.dark-mode .form-label,
body.dark-mode .input-label,
body.dark-mode .role-input-label label,
body.dark-mode .order-form-section label,
body.dark-mode .custom-control-label {
    color: #cbd5e1 !important;
}

body.dark-mode .form-text,
body.dark-mode .help-block,
body.dark-mode .small-text {
    color: #94a3b8 !important;
}

body.dark-mode .invalid-feedback,
body.dark-mode .form-control.error + .error,
body.dark-mode label.error {
    color: #f87171 !important;
}

body.dark-mode .valid-feedback {
    color: #34d399 !important;
}

/* 7. Chrome / Safari Autofill Override */
body.dark-mode input:-webkit-autofill,
body.dark-mode input:-webkit-autofill:hover,
body.dark-mode input:-webkit-autofill:focus,
body.dark-mode input:-webkit-autofill:active,
body.dark-mode textarea:-webkit-autofill,
body.dark-mode select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #1e293b inset !important;
    -webkit-text-fill-color: #E2E8F0 !important;
    transition: background-color 5000s ease-in-out 0s !important;
}

/* 8. Date, Time & Calendar Indicators */
body.dark-mode input[type="date"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="time"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="datetime-local"]::-webkit-calendar-picker-indicator,
body.dark-mode input[type="month"]::-webkit-calendar-picker-indicator {
    filter: invert(0.9) hue-rotate(180deg) !important;
    cursor: pointer !important;
}

/* 9. File Upload Elements */
body.dark-mode input[type="file"],
body.dark-mode .form-control[type="file"] {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
}

body.dark-mode ::file-selector-button,
body.dark-mode ::-webkit-file-upload-button,
body.dark-mode .form-control::file-selector-button,
body.dark-mode .form-control::-webkit-file-upload-button {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #E2E8F0 !important;
    border: 1px solid var(--clario-border-dark) !important;
    border-radius: 4px;
    padding: 4px 12px;
}

body.dark-mode ::file-selector-button:hover,
body.dark-mode ::-webkit-file-upload-button:hover {
    background-color: rgba(16, 185, 129, 0.2) !important;
    color: #10B981 !important;
}

/* 10. CHOICES.JS Plugin Dark Mode */
body.dark-mode .choices {
    background-color: transparent !important;
}

body.dark-mode .choices__inner {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--clario-border-dark) !important;
    color: #E2E8F0 !important;
    border-radius: 6px !important;
    min-height: 44px !important;
}

body.dark-mode .choices__list--dropdown,
body.dark-mode .choices__list[aria-expanded] {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .choices__list--dropdown .choices__item,
body.dark-mode .choices__list[aria-expanded] .choices__item {
    color: #cbd5e1 !important;
    font-size: 14px !important;
}

body.dark-mode .choices__list--dropdown .choices__item--selectable.is-highlighted,
body.dark-mode .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

body.dark-mode .choices__input {
    background-color: transparent !important;
    color: #E2E8F0 !important;
}

body.dark-mode .choices__list--multiple .choices__item {
    background-color: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.4) !important;
    color: #34d399 !important;
}

body.dark-mode .choices[data-type*="select-one"]::after {
    border-color: #94a3b8 transparent transparent transparent !important;
}

body.dark-mode .choices[data-type*="select-one"].is-open::after {
    border-color: transparent transparent #94a3b8 transparent !important;
}

/* 11. SELECT2 Plugin Dark Mode */
body.dark-mode .select2-container--default .select2-selection--single,
body.dark-mode .select2-container--default .select2-selection--multiple {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--clario-border-dark) !important;
    border-radius: 6px !important;
    height: auto !important;
    min-height: 42px !important;
}

body.dark-mode .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #E2E8F0 !important;
    line-height: 40px !important;
}

body.dark-mode .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #94a3b8 transparent transparent transparent !important;
}

body.dark-mode .select2-dropdown {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

body.dark-mode .select2-search--dropdown .select2-search__field {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #E2E8F0 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .select2-results__option {
    color: #cbd5e1 !important;
}

body.dark-mode .select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

body.dark-mode .select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(255, 136, 0, 0.15) !important;
    color: #FF8800 !important;
}

body.dark-mode .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: rgba(16, 185, 129, 0.2) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #34d399 !important;
}

/* 12. TAGIFY Plugin Dark Mode */
body.dark-mode .tagify {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--clario-border-dark) !important;
    color: #E2E8F0 !important;
    border-radius: 6px !important;
}

body.dark-mode .tagify__tag > div {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.2) !important;
}

body.dark-mode .tagify__tag > div::before {
    box-shadow: 0 0 0 1.1em rgba(16, 185, 129, 0.2) inset !important;
}

body.dark-mode .tagify__input {
    color: #E2E8F0 !important;
}

body.dark-mode .tagify__dropdown {
    background: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .tagify__dropdown__item {
    color: #cbd5e1 !important;
}

body.dark-mode .tagify__dropdown__item--active {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

/* 13. SUMMERNOTE Rich Text Editor Dark Mode */
body.dark-mode .note-editor.note-frame {
    border-color: var(--clario-border-dark) !important;
    background-color: var(--clario-dark-surface) !important;
}

body.dark-mode .note-toolbar {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-bottom-color: var(--clario-border-dark) !important;
}

body.dark-mode .note-btn {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #cbd5e1 !important;
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .note-btn:hover {
    background-color: rgba(16, 185, 129, 0.15) !important;
    color: #10B981 !important;
}

body.dark-mode .note-editing-area,
body.dark-mode .note-editable {
    background-color: var(--clario-dark-surface) !important;
    color: #E2E8F0 !important;
}

body.dark-mode .note-statusbar {
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-top-color: var(--clario-border-dark) !important;
}

/* 14. Checkbox & Radio Buttons */
body.dark-mode .form-check-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: #4B5563 !important;
}

body.dark-mode .form-check-input:checked {
    background-color: #10B981 !important;
    border-color: #10B981 !important;
}

body.dark-mode .form-check-input:focus {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25) !important;
}

/* 15. Form Modals Fix */
body.dark-mode .modal-content {
    background-color: var(--clario-dark-surface) !important;
    border-color: var(--clario-border-dark) !important;
    color: #E2E8F0 !important;
}

body.dark-mode .modal-header,
body.dark-mode .modal-footer {
    border-color: var(--clario-border-dark) !important;
}

body.dark-mode .modal-header .btn-close,
body.dark-mode .modal-header .close {
    filter: invert(1) grayscale(100%) brightness(200%) !important;
}

/* =====================================================
   CLARIO CASH — MODERN SPLIT AUTHENTICATION PAGE
   ===================================================== */
.auth-body-bg {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #0f172a;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.clario-auth-wrapper {
    min-height: 100vh;
    width: 100vw;
}

.clario-auth-card {
    background-color: #ffffff;
    border-radius: 0;
    min-height: 100vh;
}

/* Left Form Column */
.auth-form-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 4rem;
    min-height: 100vh;
}

@media (max-width: 1199.98px) {
    .auth-form-column {
        padding: 2.5rem 2.5rem;
    }
}

@media (max-width: 575.98px) {
    .auth-form-column {
        padding: 1.75rem 1.25rem;
    }
}

.auth-header-logo img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

.auth-content-box {
    max-width: 440px;
    width: 100%;
    margin: auto;
    padding: 1.5rem 0;
}

.auth-heading {
    font-size: 2.35rem;
    font-weight: 800;
    color: #062819;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-subheading {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

.auth-form-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 0.4rem;
}

.auth-input-group {
    position: relative;
    width: 100%;
}

.auth-input {
    height: 52px;
    border-radius: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    background-color: #ffffff !important;
    padding-left: 1.25rem !important;
    padding-right: 3rem !important;
    font-size: 0.95rem;
    color: #0f172a !important;
    font-weight: 500;
    transition: all 0.25s ease;
}

.auth-input:focus {
    border-color: #093824 !important;
    box-shadow: 0 0 0 4px rgba(9, 56, 36, 0.12) !important;
    outline: none !important;
}

.auth-input::placeholder {
    color: #94a3b8 !important;
    font-weight: 400;
}

.auth-input-icon {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 1.2rem;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.auth-password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.2rem;
    padding: 0.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
}

.auth-password-toggle:hover {
    color: #093824;
}

.auth-forgot-link {
    color: #093824;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #10B981;
    text-decoration: underline;
}

/* Primary Green Button with Arrow */
.btn-clario-submit {
    height: 54px;
    background-color: #093824 !important;
    border: none !important;
    border-radius: 9999px !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(9, 56, 36, 0.25);
    cursor: pointer;
}

.btn-clario-submit:hover {
    background-color: #062417 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(9, 56, 36, 0.35);
    color: #ffffff !important;
}

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

.btn-clario-submit .btn-arrow-icon {
    position: absolute;
    right: 1.5rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.auth-switch-text {
    color: #64748b;
    font-size: 0.9rem;
}

.auth-switch-link {
    color: #FF8800;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-switch-link:hover {
    color: #e07000;
    text-decoration: underline;
}

.auth-copyright {
    color: #94a3b8;
    font-size: 0.825rem;
}

/* Right Panel Column */
.auth-panel-column {
    padding: 1rem;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-panel-card {
    width: 100%;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.auth-panel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Dark mode overrides for auth pages */
body.dark-mode .auth-body-bg,
body.dark-mode .clario-auth-card {
    background-color: var(--clario-dark-bg);
}

body.dark-mode .auth-heading {
    color: #f8fafc;
}

body.dark-mode .auth-subheading {
    color: #94a3b8;
}

body.dark-mode .auth-form-label {
    color: #e2e8f0;
}

body.dark-mode .auth-input {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: var(--clario-border-dark) !important;
    color: #ffffff !important;
}

body.dark-mode .auth-input:focus {
    border-color: #10B981 !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
}

body.dark-mode .auth-forgot-link {
    color: #10B981;
}

/* ---- PRINT STYLES: do NOT apply dark bg in print ---- */
@media print {
    body.dark-mode,
    body.dark-mode * {
        background: #fff !important;
        color: #000 !important;
        box-shadow: none !important;
    }
}

