:root {
    --gray-font: #7a808a;
    --active-font: #e6c293;
    --green-font: #28b446;

    --active-bg: #e630501a;
    --black-font: #071739;
    --bg-gray: #f3f6f9;
    /* --medium-gray: #64748b; */
    --blue-gray: #64748b;
    --gl-star-color: #fdd835;
    /* if using SVG images */
    --gl-star-color-inactive: #dcdce6;
    /* if using SVG images */
    --gl-star-empty: url(../img/star-empty.svg);
    /* if using background images */
    --gl-star-full: url(../img/star-full.svg);
    /* if using background images */
    --gl-star-size: 24px;
    --gl-tooltip-background: rgba(17, 17, 17, 0.9);
    --gl-tooltip-border-radius: 4px;
    --gl-tooltip-color: #fff;
    --gl-tooltip-font-size: 0.875rem;
    --gl-tooltip-font-weight: 400;
    --gl-tooltip-line-height: 1;
    --gl-tooltip-margin: 12px;
    --gl-tooltip-padding: 0.5em 1em;
}

@import url(https://db.onlinewebfonts.com/c/2c458bc98aac2311643f30a231a7ea30?family=Helvetica+Neue+W23+for+SKY+Bd);

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: "Dubai";
    src: url("/assets/fonts/Dubai-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: italic;
}

/* scrollbat */
/* WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
    /* For horizontal scrollbar */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 6px;
    border: 3px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #999 #f1f1f1;
}

body {
    font-family: "Dubai", Arial, sans-serif !important;
    direction: rtl;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    background-color: #f8f9fb;
    margin: 0;
    overflow-x: hidden;
}

/* Dashboard Scaling - Compact view */
.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 1400px) {
    .container-fluid {
        max-width: 1920px;
        margin: 0 auto;
    }
}

.main-bg-color {
    background-color: #f7f9fb;
}

.cover-section {
    background-image: url("../images/login-bg.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.active-color {
    color: #202a81 !important;
}

.gray-color {
    color: var(--gray-font);
}

a {
    text-decoration: none;
    cursor: pointer;
}

.small-text {
    font-size: 0.75rem;
    /* 12px */
}

.header {
    font-weight: bold;
    color: var(--active-font);
    margin-bottom: 1rem;
}

.text-brown {
    color: brown;
}

@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        /* transition: left 0.3s; */
        transition: right 0.3s ease-in-out;
        z-index: 1030;
    }

    #sidebar.show {
        right: 0;
        transition: right 0.3s ease-in-out;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1029;
    }

    .overlay.show {
        display: block;
    }
}

header.navbar {
    background: #e7c291;
    min-height: 85px;
    border-width: 0px 0px 1px 0px;
}

.slider-wrapper {
    position: relative;
    display: inline-block;
    background-color: #08080880;
    border-radius: 12px;
}

.slider-wrapper img {
    border-radius: 12px !important;
}

.delete-image-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.61);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 18px;
    line-height: 40px;
    text-align: center;
    cursor: pointer;
}

header.navbar h5 {
    color: #080808;
    padding: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 500;
}

header.navbar h5 .icon {
    color: var(--active-font);
}

header.navbar span {
    color: #202a81;
    margin: 0;
    font-size: 11px;
    font-weight: 400;
}

#sidebar {
    min-height: 100vh;
    padding-top: 1rem;
    border-left: 1px solid #e1e1e1;
    background: #ffff;
    overflow: auto;
}

#sidebar .nav-link {
    font-size: 14px;
    color: var(--gray-font);
    padding: 0px 15px 0px 15px;
    min-height: 45px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 400;
}

/* تغيير لون التبديل عند التفعيل */
.form-check-input:checked {
    background-color: #e7c291 !important;
    border-color: #e7c291 !important;
}

/* تحسين مظهر التبديل */
.form-check-input {
    width: 1.25rem;
    /* زيادة العرض */
    height: 1.25rem;
    /* زيادة الارتفاع */
    cursor: pointer;
}

#sidebar .nav-link.active {
    background: #202a81;
    color: white;
    font-weight: 500;
    border-radius: 8px;
}

.breadcrumb-nav {
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--gray-font) !important;
    gap: 4px;
}

.breadcrumb-nav a {
    color: var(--gray-font) !important;
}

.breadcrumb-nav .breadcrumb-item.active {
    color: #222b9f;
}

.title-page {
    font-size: 22px;
    color: #202a81;
    padding: 20px 0px;
}

.main-content {
    padding: 2rem;
}

.container-tabel {
    /* background: var(--bg-gray); */
    height: 100%;
    margin-top: 10px;
}

.table-responsive {
    background: #fff;
}

.number-th {
    width: 20px;
}

.table thead th {
    vertical-align: middle;
    text-wrap: nowrap;
    padding: 10px 8px;
    text-align: start;
}

.table tbody td {
    vertical-align: middle;
    text-align: center;
}

.daterangepicker .drp-calendar.left {
    display: block;
}

.daterangepicker .drp-calendar.right {
    display: none;
}

.daterangepicker .drp-buttons {
    float: none;
    width: 100%;
    text-align: center;
    margin-top: 10px;
}

.daterangepicker .in-range {
    background-color: var(--active-bg) !important;
}

.daterangepicker .active,
.daterangepicker .active:hover {
    background-color: var(--active-font) !important;
    /* Your desired start/end date background color */
    border-radius: 4px !important;
}

.daterange-input {
    border: 1.3px solid #dbdee1;
    height: 40px;
    display: flex;
    align-items: center;
    min-width: 160px;
    border-radius: 25px;
}

.daterange-input input {
    background: transparent;
    width: 100%;
    height: 40px;
    cursor: pointer;
    font-size: 13px;
}

.daterange-input img {
    margin-left: -20px;
    margin-right: 6px;
}

.daterange-input i {
    margin-right: -20px;
    margin-left: 6px;
}

.search-input {
    color: var(--gray-font);
    border-radius: 25px;
    border: 1px solid #dbdee1;
    overflow: hidden;
    position: relative;
    min-width: 300px;
    width: 50%;
    display: flex;
    align-items: center;
}

.search-input input {
    background: var(--bg-gray);
    border-radius: 25px;
    overflow: hidden;
    color: var(--gray-font);
    padding: 0px 23px;
    height: 40px;
    font-size: 13px;
}

.search-input i {
    z-index: 10;
    right: 4px;
    position: absolute;
}

/* ----------------------------- input Wrappers ----------------------------- */
.add-new-feature {
    color: #7a808a;
    border: 1px dashed #cdcdcd;
    padding: 0.6rem 0;
    border-radius: 8px;

    &:hover {
        background: var(--primary-color-light);
        transition-duration: 0.3s;
    }
}

.input-wrapper {
    position: relative;
    /* padding: 0.5rem; */
}

.input-wrapper input,
.input-wrapper select,
.input-wrapper textarea {
    border: 1px solid #dbdee1;
    border-radius: 6px;
    position: relative;
    width: 200px;
    /* margin: 10px; */
    line-height: 6ex;
    height: 40px;
    padding: 0.5rem;
}

.input-wrapper label {
    position: absolute;
    top: -1.6ex;
    z-index: 1;
    font-size: 14px;
    right: 0.8em;
    background-color: white;
    color: var(--gray-font);
}

.input-wrapper.select:after {
    content: "\f078";
    font: normal normal normal 17px/1 FontAwesome;
    color: var(--active-font);
    left: 11px;
    top: 1rem;
    height: 20px;

    position: absolute;
    pointer-events: none;
}

.input-wrapper.select-discount:after {
    content: "\f078";
    font: normal normal normal 17px/1 FontAwesome;
    color: var(--active-font);
    left: 1rem;
    top: 1.5rem;
    height: 20px;

    position: absolute;
    pointer-events: none;
}

select::-ms-expand {
    display: none;
}

.input-wrapper select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-width: 142px;
    display: block;
    width: 100%;
    /* max-width: 320px; */
    height: 50px;
    float: right;
    margin: 5px 0px;
    padding: 0px 5px;
    font-size: 13px;
    line-height: 1.75;
    color: var(--gray-font);
    background-color: #ffffff;
    background-image: none;
    border: 1px solid #dbdee1;
    -ms-word-break: normal;
    word-break: normal;
    height: 40px;
}

.btn-excel,
.btn-excel:hover {
    background: #202a81;
    height: 40px;
    border-radius: 25px;
    color: white;
}

.btn-add,
.btn-add:hover {
    background: #202a81;

    height: 40px;
    border-radius: 25px;
    color: white;
}

.btn-edit,
.btn-edit:hover {
    background: #202a81;
    height: 45px !important;
    border-radius: 12px;
    color: white;
}

.form-check-custom {
    font-size: 12px;
    color: var(--gray-font);
    direction: initial;
}

/* table */
.table tr th {
    color: var(--gray-font);
    background: var(--bg-gray);
    text-wrap: none;
    font-size: 13px;
    font-weight: 500;
    border-color: var(--bg-gray) !important;
    padding: 10px 8px;
}

.table tr td {
    white-space: nowrap;
    font-weight: 400 !important;
    font-size: 13px;
    padding: 10px 8px;
}

.table tr {
    border-color: var(--bg-gray) !important;
    text-align: center;
}

.select-img {
    border-radius: 10px;
    border: 1.5px dashed #cfcfcf;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.select-img img {
    width: 51px;
    height: 51px;
    margin: auto;
}

.select-user-img img {
    width: 135px;
    height: 135px;
    padding: 2px;
    border-radius: 50%;
    border: 2px solid rgba(230, 48, 80, 0.22);
    margin: auto;
}

/*splash page*/
.login-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    justify-content: center;
    gap: 5px;
}

.login-form form {
    width: 375px;
    gap: 5px;
}

.login-form form input {
    font-size: 15px;
    padding-top: 25px;
    height: 45px;
}

.login-title {
    font-size: 40px;
    font-weight: 700;
}

.input-custom.error input {
    border: 1px solid var(--active-font);
}

.valid-error {
    color: var(--active-font);
    font-size: 11px;
    padding: 0px 20px 10px;
    display: none;
}

.input-custom.error .valid-error {
    display: block grid;
}

div#preview-container {
    position: absolute;
    left: 12px;
    top: 0;
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
    border-radius: 0px;
}

.page-item .page-link {
    border-color: var(--bg-gray);
    color: var(--gray-font);
}

.page-item .page-link.active {
    background: var(--active-font);
    color: #fff;
}

.btn-logout,
.btn-logout:hover {
    background: #fff;
    color: var(--black-font);
}

.tab-btn,
.tab-btn:hover {
    color: #606c7e;
    border: 1.3px solid #dbdee1;
    font-size: 14px;
    min-height: 40px;
    padding: 0px 15px;
}

.tab-btn.active,
.tab-btn.active:hover {
    color: white;
    border: 1.3px solid #e7c291;
    font-size: 14px;
    min-height: 40px;
    padding: 0px 30px;
    background: #e7c291;
}

#recipients {
    max-height: 300px;
    /* تحديد ارتفاع أقصى */
    overflow-y: auto;
    /* تمكين التمرير الرأسي */
    border: 1px solid #ddd;
    /* يمكنك إضافة حد لتحديد الحاوية */
    padding: 10px;
    /* إضافة بعض الحشو حول الـ checkboxes */
    border-radius: 8px;
    /* إضافة حواف دائرية */
}

#recipients .form-check {
    display: block;
    margin-bottom: 10px;
}

#recipients .form-check input {
    margin-top: 0;
    /* للتأكد من أن الـ checkbox ليس بعيداً عن النص */
}

#recipients .form-check-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn-small {
    padding: 0px 15px !important;
}

.action-btn {
    background: var(--bg-gray) !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-check-input:checked {
    background-color: var(--green-font);
    font-size: 20px;
    border-color: var(--green-font);
}

.form-check-input {
    background-color: #e1e1e1;
    font-size: 20px;
    border-color: var(--bg-gray);
}

/* Modal */

.modal-header {
    border-bottom: none;

    button {
        background-color: #ededed;
        border-radius: 50%;
    }
}

.modal-body {
    text-align: center;
}

.modal-body .icon {
    font-size: 45px;
    color: #eb3d34;
}

.modal-body .message {
    font-size: 20px;
    margin-top: 10px;
    font-weight: 80;
}

.modal-footer {
    justify-content: center;
    border-top: none;
}

.btn-delete {
    background: #202a81;
    height: 40px;
    border-radius: 10px;
    width: 18rem;
    border: none;
    color: white;
}

.btn-success {
    background: #202a81 !important;
    height: 40px;
    border-radius: 10px;
    width: 18rem;
    border: none;
    color: white;
}

.btn-edit {
    background: #202a81;
    height: 40px;
    border-radius: 10px;
    width: 18rem;
    border: none;
    color: white;
}

/* Add discount */
.btn-discount {
    background: linear-gradient(90deg, #f37f7b 0%, #ed3d57 50%, #dd1e47 100%);
    height: 40px;
    border-radius: 10px;
    width: 6rem;
    border: none;
    color: white;
}

/* statistics */
.statistics {
    display: inline-block;
    height: 5rem;
    width: 12.1rem;
    padding: 2px;
    border: 1px solid #e3e3e3;
    border-radius: 0.6rem;
}

/* slider */
.slider {
    background-color: var(--bg-gray);
    min-height: 50%;
    padding: 1rem 2rem;
}

.color-box {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 2px;
}

.connected {
    color: #43bd5d !important;
}

.not-connected {
    color: #ff0000 !important;
}

/* File uploader */
.upload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.file-upload {
    display: none;
}

.upload-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.5rem 1rem;
    border: 2px dashed #eb3d34;
    border-radius: 8px;
    color: #eb3d34;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.upload-label:hover {
    background-color: #f1f1f1;
}

.upload-icon {
    font-size: 18px;
    margin-right: 10px;
}

.file-details {
    margin-top: 20px;
    text-align: center;
}

.file-details h5 {
    color: #eb3d34;
}

.file-details ul {
    list-style: none;
    padding: 0;
}

.file-details li {
    margin: 5px 0;
    font-size: 16px;
}

/* Actions buttons */

.refuse,
.accept {
    border: none;
    border-radius: 5px;
    padding: 4px 15px;
    color: #fff;
    cursor: pointer;
}

.refuse {
    background-color: #e63050;
}

.refuse:hover {
    background-color: #d63b57;
}

.accept {
    background-color: #48b446;
}

.accept:hover {
    background-color: #3ca639;
}

/* --------------------------------- TRADER --------------------------------- */

.icon-trader {
    width: 44px;
    height: 44px;
    border-radius: 12px;
}

.trader-statistics {
    display: inline-block;
    height: 7.8rem;
    min-width: 10.75rem;
    padding: 2px;
    border: 1px solid #e3e3e3;
    border-radius: 0.6rem;
}

.user-statistics {
    height: 7.5rem;
    min-width: 8.75rem !important;
}

.btn-money {
    background: linear-gradient(90deg, #f37f7b 0%, #ed3d57 50%, #dd1e47 100%);
    color: white;
    border-radius: 10px;
    padding: 17px 16px;
    width: 111px;
    height: 31px;
    display: flex;
    align-items: center;
}

/* shipping compant details */

.wallet-buttons {
    border: none;
    border-radius: 5px;
    padding: 4px 15px;
}

.add {
    background-color: #dff4e3;
    color: var(--green-font);
}

.discount {
    background-color: #fbe0e5;
    color: #e63050;
}

/* Cutom Radio */

.radio-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    /* width: 20rem; */
    /* margin-right: 9px; */
    border-radius: 8px;
    border: 1px solid #dbdee1;
}

.radio-group label {
    font-size: 1rem;
    color: #2c3e50;
    /* Customize the text color */
}

input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    cursor: pointer;
    border-radius: 50%;
    outline: none;
    box-shadow: 0 0 2px 0px var(--active-font) inset;
}

input[type="radio"]:hover {
    box-shadow: 0 0 5px 0px var(--active-font) inset;
}

input[type="radio"]:before {
    content: "";
    display: block;
    width: 60%;
    height: 60%;
    margin: 20% auto;
    border-radius: 50%;
}

input[type="radio"]:checked:before {
    background: var(--active-font);
}

/* single calender */
.input-wrapper-calender {
    position: relative;
}

.input-wrapper-calender label {
    position: absolute;
    top: -0.8ex;
    z-index: 1;
    font-size: 14px;
    right: 0.8em;
    background-color: white;
    padding: 0 5px;
    color: var(--gray-font);
}

.input-wrapper.select:after {
    content: "\f078";
    font: normal normal normal 17px/1 FontAwesome;
    color: var(--active-font);
    left: 11px;
    top: 1rem;
    height: 20px;

    position: absolute;
    pointer-events: none;
}

/* special orders */
.custom-link-trader {
    color: black;
    text-decoration: underline;
    text-decoration-color: black;
}

.custom-link-trader:hover {
    color: black;
    text-decoration: underline;
    text-decoration-color: black;
}

.icon-button {
    border: none;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition-duration: 0.3s;
    border: 1px solid var(--active-font);
}

.cancel-order {
    color: var(--active-font);
    font-weight: 600;
    background: #fff;

    &:hover {
        background: #fcfcfc;
    }
}

.traders-offers {
    color: #fff;
    font-weight: 600;
    background: linear-gradient(90deg, #f37f7b 0%, #ed3d57 50%, #dd1e47 100%);

    &:hover {
        background: linear-gradient(
            90deg,
            #dd1e47 0%,
            #ed3d57 50%,
            #f37f7b 100%
        );
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
}

.decline-btn {
    color: var(--gray-font);
    font-weight: 600;
    background: #e9e9e9;
    border: 1px solid #e9e9e9;

    &:hover {
        background: #d8d8d8;
    }
}

.done {
    color: var(--green-font) !important;
}

.not-purchased {
    color: #f9a130 !important;
}

.cancelled {
    color: var(--active-font) !important;
}

.no-time {
    color: #868d98 !important;
}

/* ----------------------------- charts ----------------------------- */

.chart-container {
    /* margin-top: 1rem; */
    background-color: white;
}

#myChart {
    width: 100% !important;
    height: 30rem !important;
}

#map {
    height: 300px;
}

/* progress */

.progress-container {
    margin: 20px 0;
}

.progress {
    /* background-color: #f5f5f5; */
    margin-bottom: 10px;
    height: 5px;
}

.progress-bar {
    transition: width 0.6s ease;
    color: #fff;
    text-align: center;
}

.progress-bar-orange {
    background-image: linear-gradient(to right, #ffa033, #f48031);
}

.progress-bar-lightblue {
    background-image: linear-gradient(to right, #31aef4, #339aff);
}

.progress-bar-darkblue {
    background-image: linear-gradient(to right, #36ffff, #2ccfcf);
}

.progress-bar-purple {
    background-image: linear-gradient(to right, #e572ff, #b864df);
}

.best-seller {
    color: var(--active-font);
    font-weight: 700;
    font-size: 24px;
    margin-right: 3px;
    margin-bottom: 1rem;
    /* margin-top: -1.5rem; */
}

.custom-margin {
    margin-top: -1rem;
}

.map-date-picker {
    position: absolute;
    z-index: 999;
    background-color: white;
    top: 5%;
    right: 2%;
}

/* Slider */

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.carousel-indicators-files {
    bottom: -20%;
}

.carousel-indicators li,
.carousel-indicators-files li {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50%;
    background-color: #e0e0e0 !important;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .active,
.carousel-indicators-files .active {
    background-color: #ff0000 !important;
    transform: scale(1.5);
}

.sure-btn {
    border: none;
    padding: 7px 14px;
    border-radius: 8px;
    color: var(--active-font);
    background-color: #fdebee;
    transition: all 0.3s ease;

    &:hover {
        background-color: #f8d7da;
    }
}

.order-status {
    color: #fff;
    background-color: #ff9500;
    border: none;
    transition: all 0.3s ease;

    &:hover {
        background-color: #e68500;
    }
}

/* ----------------------------- Custom Buttons ----------------------------- */

.btn-status {
    border: none;
    padding: 0.5rem;
    border-radius: 8px;
}

.btn-gray-scale {
    background-color: #dddedf;
    color: var(--gray-font);
}

.btn-yellow {
    background-color: #fef1e0;
    color: #f9a130;
}

.btn-cancell {
    color: #e63050;
    border: 1px solid #e63050;
    background-color: white;
}

.btn-success {
    background-color: var(--green-font);
    color: white;
}

/* order details */
.total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: fit-content;
    min-width: 10rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;

    span {
        color: #242e42;
    }
}

.discount-details {
    background-color: #f2f2f2;

    strong {
        color: #7a808a;
    }
}

.total-cash {
    background-color: #fff6eb;

    strong {
        color: #f9a130;
    }
}

.total-order-cost {
    background-color: #fdebee;

    strong {
        color: #e63050;
    }
}

.back-img {
    cursor: pointer;
    align-self: flex-start;
    padding-top: 5px;
}

.tiny-btn {
    background-color: #e3f5e7;
    color: var(--green-font);
    padding: 4px 8px;
    border-radius: 1rem;
}

/* Stepper */
.container {
    direction: rtl;
    /* Set direction to right-to-left for Arabic */
}

.step {
    text-align: center;
    position: relative;
}

.circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 auto;
    z-index: 999;
}

.completed .circle {
    background-color: var(--green-font);
    z-index: 999;
}

.line {
    height: 2px;
    background-color: #ccc;
    position: absolute;
    top: 8px;
    width: 108%;
    /* z-index:1; */
    transform: translateX(-55%);
}

.completed .line {
    z-index: 2;
    background-color: var(--green-font);
}

.circle-active {
    z-index: 2;
    background-color: var(--green-font);
}

.label {
    font-size: 12px;
    margin-top: 10px;
}

.date {
    font-size: 10px;
    color: #888;
    margin-top: 5px;
}

.card-title {
    color: var(--primary-color);
    font-size: 18px;
}

.card {
    border: none;
    border-radius: 12px;
}

.card-body {
    color: var(--black-font);

    small {
        color: var(--gray-font) !important;
    }
}

.offcanvas-content {
    max-height: 100vh;
    /* Set a max height */
    overflow-y: auto;
    /* Enable vertical scrolling */
}

/* returns */
.return-accept {
    border: none;
    background-color: #d4f0da;
    color: var(--green-font);
}

.customer-balance {
    border: none;
    background-color: #feecd6;
    color: #f9a130;
    min-width: 11rem;
}

/* ----------------------------- conversation ----------------------------- */
.conv-product-details {
    color: var(--gray-font);

    strong {
        font-size: 16px;
        color: var(--active-font);
    }
}

.stop-conv {
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;

    &:hover {
        background-color: #f8d7da;
    }
}

.chat-msg {
    max-width: 70%;
    word-wrap: break-word;
    margin: 10px 0;
    padding: 7px;
}

.sender {
    border: 1px solid #dbdee1;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-left: auto;
}

.reciever {
    background-color: #fde5ea;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    margin-right: auto;

    p {
        padding: 7px;

        margin-top: auto;
        margin-bottom: auto;
    }
}

.message-write {
    box-shadow: 0px -8px 22px -1px rgba(187, 189, 189, 0.2);

    input {
        padding: 0.6rem 1rem;
        width: 100%;
        background-color: #f7f7f7;
        border-radius: 25px;
        border: 1px solid #dcdcdc;
        color: #a4acad;
    }
}

.msg-icons {
    display: flex;
    gap: 10px;
    position: absolute;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);

    img {
        cursor: pointer;
    }
}

/* support */

.support-btn {
    border: none;
    padding: 0.25em 1rem;
    border-radius: 5px;
    border: 1px solid #dbdee1;
    color: #606c7e;
    background-color: white;
}

.ended-btn {
    background-color: #fdebee;
    color: var(--active-font);
    border: 2px solid var(--active-font);

    &:hover {
        background-color: #f8d7da;
    }
}

.working-btn {
    background-color: #e3f5e7;
    color: var(--green-font);
    border: 2px solid var(--green-font);

    &:hover {
        background-color: #d4f0da;
    }
}

.notes {
    border: 1px solid #dbdee1;
    padding: 5px;
    background-color: #fff;
    border-radius: 5px;
    color: #606c7e;
    min-width: 18rem;
}

.settings-group {
    background-color: white;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: start;
    padding: 0.75rem;
    white-space: nowrap;
    border: none;
    border-radius: 10px;
}

.pound-kind {
    position: absolute;
    left: 10px;
    top: 0.5rem;
    color: #606c7e;
}

.time-select {
    position: absolute;
    left: 14px;
    top: 3rem;
    color: #606c7e;
}

/* DropDown */

.dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Add space between the text and the icon */
}

#selectedValue {
    font-weight: bold;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    /* Position below the icon */
    left: 0;
    z-index: 1000;
    width: max-content;
}

.active-color {
    cursor: pointer;
    color: #202a81;
}

.blue-gray {
    color: var(--blue-gray);
}

.user-data {
    width: 14.5rem !important;
}

/* check-box */
.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group label {
    margin-left: 5px;
    font-weight: 500;
}

.custom-checkbox {
    position: relative;
    display: inline-block;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.custom-checkbox input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-checkbox span {
    position: absolute;
    top: 0.2rem;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
}

.custom-checkbox input:checked + span {
    background-color: #eb3d34;
    border-color: #eb3d34;
}

.custom-checkbox span:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked + span:after {
    display: block;
}

.custom-checkbox span:after {
    left: 4px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.check-box-label {
    font-size: 18px;
    font-weight: bold;
    color: #1a232b;
}

.form-check {
    padding-left: 5.25px;
}

.check-box-width {
    width: 100%;
}

.small-check-box {
    width: 33%;
}

/* trader papers */
.trader-papers {
    width: 22rem;
    border-radius: 12px;

    p {
        font-size: 16px;
    }
}

.add-new-feature img {
    width: 20px;
    margin-right: 5px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
}

.xls-btn {
    padding: 5px 7px;
    border: none;
    border-radius: 5px;
    color: white;
}

.xls-btn-import {
    background-color: #ffa033;
}

.xls-btn-export {
    background: linear-gradient(90deg, #f37f7b 0%, #ed3d57 50%, #dd1e47 100%);
}

/* imagw container */

.riu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: start;
}

.riu-upload-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.riu-uploaded-media {
    position: relative;
    width: 145px;
    height: 145px;
}

.riu-uploaded-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.riu-uploaded-media video {
    width: 100%;
    height: 120%;

    object-fit: cover;
    border-radius: 10px;
}

.riu-remove-img {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #e63050;
    border-radius: 50%;
    cursor: pointer;
}

/* ----------------------------- Dashboard Typography Enhancements ----------------------------- */

/* Make important statistics data bold */
.trader-statistics strong,
.statistics strong,
.user-statistics strong {
    font-weight: 700 !important;
}

/* Labels and descriptions should be normal weight */
.trader-statistics p,
.statistics p,
.user-statistics p {
    font-weight: 400 !important;
}

/* Table headers should be medium-bold */
.table thead th {
    font-weight: 500 !important;
}

/* ONLY explicitly marked elements in table cells should be bold */
.table tbody td strong,
.table tbody td b,
.table tbody td .fw-bold {
    font-weight: 700 !important;
}

/* Keep regular table data at normal weight - NOT BOLD */
.table tbody td {
    font-weight: 400 !important;
}

/* Keep first column (row numbers) also NOT bold */
.table tbody td:first-child {
    font-weight: 400 !important;
}

/* Ensure images in table cells don't affect font weight */
.table tbody td img {
    font-weight: normal !important;
}

/* Ensure all content within table cells is NOT bold */
.table tbody td span,
.table tbody td a,
.table tbody td div {
    font-weight: 400 !important;
}

/* Sidebar navigation - active should be bold */
#sidebar .nav-link {
    font-weight: 400;
}

#sidebar .nav-link.active {
    font-weight: 500;
}

/* Header text refinement */
header.navbar h5 {
    font-weight: 600;
}

header.navbar span {
    font-weight: 400;
}

/* Breadcrumb refinement */
.breadcrumb-nav {
    font-weight: 400;
}

.breadcrumb-nav .breadcrumb-item.active {
    font-weight: 500;
}

/* Title pages should be bold */
.title-page {
    font-weight: 600;
}

/* Input labels should be normal weight */
.input-wrapper label {
    font-weight: 400;
}

/* Button text should be medium weight */
.btn {
    font-weight: 500;
}

/* Modal text refinement */
.modal-body .message {
    font-weight: 400;
}

/* Statistics cards - ensure numbers are bold */
.fs-1,
.fs-2,
.fs-3,
.fs-4 {
    font-weight: 700 !important;
}

/* Card titles should be bold */
.card-title {
    font-weight: 600;
}

/* Small descriptive text should be normal */
small,
.small {
    font-weight: 400;
}

/* Form labels */
label {
    font-weight: 400;
}

/* Dashboard specific heading weights */
h1,
h2,
h3 {
    font-weight: 600;
}

h4,
h5,
h6 {
    font-weight: 500;
}

/* Paragraph text should be normal */
p {
    font-weight: 400;
}

/* Badge text should be medium weight */
.badge {
    font-weight: 500;
}

/* Dropdown and select text */
select,
option {
    font-weight: 400;
}

/* Status indicators should be slightly bolder */
.btn-status,
.order-status,
.tiny-btn {
    font-weight: 500;
}

/* Chart and statistics labels */
canvas {
    font-weight: 400;
}

/* Important: Override Bootstrap's default bold for specific elements */
strong,
b {
    font-weight: 700 !important;
}

/* Search input placeholder */
::placeholder {
    font-weight: 400;
    opacity: 0.7;
}

/* Tab buttons */
.tab-btn {
    font-weight: 400;
}

.tab-btn.active {
    font-weight: 500;
}

/* Conversation messages should be normal weight */
.chat-msg {
    font-weight: 400;
}

/* Total and summary boxes - numbers should be bold */
.total strong {
    font-weight: 700 !important;
}

.total span {
    font-weight: 400;
}

/* ----------------------------- Filter Dropdowns Styling ----------------------------- */

/* Filter dropdown container */
.filter-dropdown-wrapper {
    border: 1px solid #dbdee1;
    height: 60px;
    padding: 10px 12px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: all 0.3s ease;
}

.filter-dropdown-wrapper:hover {
    border-color: #202a81;
    box-shadow: 0 2px 8px rgba(32, 42, 129, 0.1);
}

.filter-dropdown-wrapper:focus-within {
    border-color: #202a81;
    box-shadow: 0 2px 8px rgba(32, 42, 129, 0.15);
}

/* Filter dropdown label */
.filter-dropdown-wrapper label {
    font-size: 11px;
    font-weight: 600;
    color: #202a81;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Filter dropdown select */
.filter-dropdown-wrapper select,
.filter-dropdown-wrapper .form-select {
    font-size: 13px;
    font-weight: 400;
    box-shadow: none !important;
    height: 24px;
    min-height: 24px;
    direction: rtl;
    text-align: right;
    background-position: left 8px center;
    padding: 0 2rem 0 0 !important;
    border: 0 !important;
    background-color: transparent !important;
    color: #5f5f5f;
    line-height: 1.2;
}

.filter-dropdown-wrapper select:focus,
.filter-dropdown-wrapper .form-select:focus {
    outline: none;
    box-shadow: none !important;
    border: 0 !important;
}

/* Filter dropdown options */
.filter-dropdown-wrapper select option,
.filter-dropdown-wrapper .form-select option {
    font-weight: 400;
    font-size: 13px;
    padding: 8px;
}

/* Responsive filter dropdowns */
@media (max-width: 768px) {
    .filter-dropdown-wrapper {
        height: 56px;
        padding: 8px 10px;
    }

    .filter-dropdown-wrapper label {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .filter-dropdown-wrapper select,
    .filter-dropdown-wrapper .form-select {
        font-size: 12px;
    }
}
