:root {
    --gray-font: #7a808a;
    /* --active-font: #e63050; */
    --blue-font: #374d9e;
    --secondar-color: #;

    --active-bg: #e630501a;
    --black-font: #071739;
    --secondary-font: #191717;
    --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;
}

@font-face {
    font-family: "Helvetica Neue W23 for SKY";
    src: url("assets/fonts/Helvetica font/HelveticaNeueW23forSKY-Reg.ttf")
        format("truetype");
    /* font-weight: normal;
  font-style: normal; */
}

@font-face {
    font-family: "Helvetica Neue W23 for SKY";
    src: url("assets/fonts/Helvetica font/Helvetica-Bold.ttf")
        format("truetype");
    /* font-weight: bold; */
    /* font-style: normal; */
}

@font-face {
    font-family: "DubaiWeb";
    src:
        local("NonExistentFont"),
        url("/dashboard/assets/fonts/dubai/Dubai-Regular.ttf")
            format("woff2-variations");
    font-weight: 400;
}

@font-face {
    font-family: "DubaiWeb";
    src:
        local("NonExistentFont"),
        url("/dashboard/assets/fonts/dubai/Dubai-Medium.ttf")
            format("woff2-variations");
    font-weight: 500;
}

@font-face {
    font-family: "DubaiWeb";
    src:
        local("NonExistentFont"),
        url("/dashboard/assets/fonts/dubai/Dubai-Bold.ttf")
            format("woff2-variations");
    font-weight: 700;
}
/* test */

:root {
    --main-font:
        "DubaiWeb", -apple-system, BlinkMacSystemFont, sans-serif !important;
}

body {
    font-family: var(--main-font) !important;
}

/* Apply to text elements */
h1,
h2,
h3,
h4,
h5,
h6,
p,
button,
input,
select,
textarea,
label,
td,
th {
    font-family: var(--main-font) !important;
}

/* DO NOT apply to icons */
i {
    font-family: inherit; /* Let icons use their own font */
}
i,
[class*="fa-"],
.fa,
.fas,
.far,
.fab {
    font-family: "Font Awesome 6 Free" !important;
}

/* 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: "DubaiWeb", sans-serif !important;
    direction: rtl;
    font-size: 14px;
    font-weight: 700;
    color: var(--black-font);
    line-height: 160%;
}
html {
    font-family: "DubaiWeb", sans-serif !important;
}

/* Typography - Headings */
h1,
h2,
h3,
h4,
h5,
h6,
.title-page,
.heading {
    font-family: "DubaiWeb", sans-serif !important;
    font-weight: 700;
    font-size: 23px;
    line-height: 160%;
    color: var(--black-font);
}

/* Typography - Tables, Buttons, Secondary Text */
table,
.table,
.btn,
.form-control,
.form-select,
label,
input,
select,
textarea,
.secondary-text {
    font-family: "DubaiWeb", sans-serif !important;
    font-weight: 700;
    font-size: 14px;
    line-height: 160%;
    color: var(--secondary-font);
}

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

.active-color {
    color: var(--active-font);
}
.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;
}
.btn-primary {
    background-color: #374d9e !important;
    border-color: #374d9e !important;
}

.image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-image: url("./assets/images/Cover.png");
}
.custom-checkbox:checked {
    background-color: #d2b52b;
    border-color: #d2b52b;
}

.custom-checkbox:focus {
    border-color: #d2b52b;
    box-shadow: 0 0 0 0.25rem rgba(210, 181, 43, 0.25);
}
.custom-checkbox:checked {
    background-color: #d2b52b !important;
    border-color: #d2b52b !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e") !important;
}
@media (max-width: 768px) {
    #sidebar {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        transition: left 0.3s;
        z-index: 1030;
    }
    #sidebar.show {
        right: 0;
    }
    .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: #071739;
    min-height: 85px;
    border-width: 0px 0px 1px 0px;
}

.header-user-block {
    gap: 12px;
}

.header-user-divider {
    width: 1px;
    height: 52px;
    background: rgba(255, 255, 255, 0.18);
}

.header-admin-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.header-admin-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    line-height: 1.1;
}

.header-admin-name-row {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-admin-chevron {
    font-size: 11px;
    color: #e8efff;
}

.header-admin-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.header-admin-last-seen {
    font-size: 14px;
    font-weight: 500;
    color: #e5ecff;
    white-space: nowrap;
}

.header-admin-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #d2b52b;
    color: #0e1a44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(14, 26, 68, 0.25);
    font-size: 20px;
}

.lang-switcher .lang-switcher-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #2f468e;
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 0.4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-shadow: none;
}

.lang-switcher .lang-switcher-btn:focus {
    color: #ffffff;
    background: #2f468e;
    box-shadow: none;
}

.lang-switcher .dropdown-menu {
    min-width: 150px;
}

@media (max-width: 991.98px) {
    .header-admin-name {
        font-size: 16px;
    }

    .header-admin-last-seen {
        font-size: 11px;
    }

    .header-user-divider {
        height: 42px;
    }
}
#sidebar {
    min-height: 100vh;
    padding-top: 1rem;
    /* padding-left: 3rem; */
    border-left: 1px solid #e1e1e1;
    background: #ffff;
    overflow: auto;
}

#sidebar .nav-link {
    font-size: 14px;
    font-weight: 700;
    line-height: 160%;
    color: var(--gray-font);
    padding: 0px 15px 0px 15px;
    min-height: 45px;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 20px;
    gap: 10px;
}
/* .modal-content{
    width:370px !important;
} */
.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: #374d9e !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    float: none;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    color: #6c757d;
    content: "/";
}

/* للـ RTL */
[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: none;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.title-page {
    font-size: 23px;
    font-weight: 700;
    line-height: 160%;
    color: var(--black-font);
    padding: 20px 0px;
}

.main-content {
    padding: 2rem;
}
.container-tabel {
    background: #f8f9fa !important;
    height: 100%;
    margin-top: 10px;
}

.otp-box {
    width: 55px;
    height: 55px;
    font-size: 22px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background-color: #f8f9fa;
}

.otp-box:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

/* iconstyle in investor section */
.investor-icon {
    width: 40px;
    height: 40px;
    background-color: #f3f6f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 40px;
}

.investor-icon img {
    width: 24px;
    height: 24px;
    max-width: 100%;
    object-fit: contain;
    display: block;
}
.investor-statistics-card-yellow {
    background-color: #fff8d7;
    border-radius: 20px;
}

.investor-statistics-card-blue {
    background-color: #e9f2ff;
    border-radius: 20px;
}
.investor-text-holder {
    max-width: 180px;
    line-height: 1.3;
    font-size: 17px;
}
.text-primary {
    color: #2d4373 !important;
}
.text-primary {
    color: #2d4373 !important;
}
.text-secondary {
    color: var(--secondary-font) !important;
}
.bg-warning {
    background-color: #d4af37 !important;
}

/* property card */
.property-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.property-id {
    color: #999;
    font-size: 14px;
    margin-bottom: 5px;
}

.property-icon {
    width: 50px;
    height: 50px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #666;
}

.property-location {
    color: #666;
    font-size: 14px;
    margin: 8px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-area {
    color: #666;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.property-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
}

.stat-box {
    text-align: center;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.stat-value.price {
    color: #1976d2;
}

.stat-value.percentage {
    color: #4caf50;
}

.details-panel {
    position: sticky;
    top: 20px;
}

.details-panel h5 {
    font-weight: 700;
}

/* fintioal trasaction */

/* Header Cards */
.report-card {
    background-color: #e5f0ff;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    border: none;
}

.report-card h5 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.report-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.report-card .icon-holder {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.report-card .icon-holder img {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.download-btn {
    background-color: #d2b52b;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(249, 202, 36, 0.4);
        } */

/* Date Range & Export Section */
.filter-section {
    background: white;
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.date-range-picker {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.export-btn {
    background: #e3f2fd;
    color: #374d9e;
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.export-btn:hover {
    background: #bbdefb;
}

.profit-badge {
    background: #fef3e0;
    color: #f39c12;
    border-radius: 20px;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

/* Transaction Items */
.transaction-item {
    background: white;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 15px;

    /* REMOVE LEFT BORDER */
    border-left: none;

    /* ADD RIGHT BORDER */
    border-right: 4px solid transparent;

    transition: all 0.3s ease;
}
/* show propeerty */
.property-stat-box {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 12px;
    min-width: 150px;
    text-align: center;
}

.property-stat-title {
    font-size: 14px;
    color: #6c757d;
}

.property-stat-number {
    font-size: 18px;
    font-weight: 600;
}

.stat-positive {
    color: #28a745;
}

.stat-negative {
    color: #dc3545;
}
.transaction-item {
    position: relative;
}

.transaction-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 50%;
    width: 5px;
    border-radius: 10px;
    background: transparent;
}

.transaction-item.positive::after {
    background: #4caf50;
}

.transaction-item.negative::after {
    background: #f44336;
}

.eye-icon {
    width: 35px;
    height: 35px;
    background: #fff3cd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f39c12;
    cursor: pointer;
}

.eye-icon:hover {
    background: #f39c12;
    color: white;
}

tbody {
    background-color: var(--bg-gray) !important;
}
.table {
    border-collapse: separate !important;
    border-spacing: 0 10px; /* adds spacing between rows */
}

.table tbody tr {
    /* background-color: #fff; */
    border-radius: 16px !important;
    /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); */
    margin-bottom: 12px;
    display: table-row;
    overflow: hidden;

    vertical-align: middle;
    transition: all 0.2s ease-in-out;
    /* overflow: hidden; */
}

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

.table tbody td {
    vertical-align: middle;
}
.table td,
.table th {
    padding: 1rem 1.25rem;
    vertical-align: middle;
}
/* oval table */
/* Table Styling */
.table {
    border-collapse: separate;
    border-spacing: 0 12px;
}

.table thead th {
    font-weight: 600;
    color: #495057;
    border: none;
    background-color: transparent;
}

/* Oval Cells - الأعمدة داخل الشكل البيضاوي */
.oval-cell {
    background-color: white;
    padding: 1.2rem 0.75rem;
    vertical-align: middle;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* بداية ونهاية الشكل البيضاوي بشكل متوافق مع RTL/LTR */
.oval-start {
    border-start-start-radius: 50px;
    border-end-start-radius: 50px;
    border-start-end-radius: 0;
    border-end-end-radius: 0;
    border-inline-start: 1px solid #e9ecef;
    border-inline-end: 0;
}

.oval-end {
    border-start-end-radius: 50px;
    border-end-end-radius: 50px;
    border-start-start-radius: 0;
    border-end-start-radius: 0;
    border-inline-end: 1px solid #e9ecef;
    border-inline-start: 0;
}

/* Actions Cell - خارج الشكل البيضاوي - بدون background */
.actions-cell {
    background-color: transparent !important;
    padding: 1.2rem 0.75rem;
    vertical-align: middle;
    border: none !important;
}

/* Status cell (investors table) */
.status-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #28a745;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #28a745;
    display: inline-block;
}

.status-cell .form-check,
.status-cell .form-switch {
    margin: 0;
    padding: 0;
}

.status-cell .form-check-input {
    margin: 0;
}

/* Investors table switch outside oval */
.investor-table-wrapper .switch-cell {
    background: transparent !important;
    padding: 1.2rem 0.75rem;
    vertical-align: middle;
    border: none !important;
    white-space: nowrap;
}

/* logo vedio */

.video-logo-container {
    width: 300px;
    height: 80px;
    overflow: hidden;
    border-radius: 10px;
}

.video-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* .card-header {
    border-radius: 1rem 1rem 0 0 !important;
} */

/* ovale table */
/* Remove default table borders */
.table tbody tr {
    border: none;
    background-color: transparent;
}

.table tbody {
    background-color: transparent;
}

/* Button Styling */
.btn-warning {
    background-color: #d4af37;
    border: none;
    font-size: 14px;
}

.btn-warning:hover {
    background-color: #c19f2f;
}

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

.btn-outline-secondary:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

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

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

/* Responsive - الأهم */
@media (max-width: 991px) {
    /* إخفاء النص في الأزرار */
    .btn-text {
        display: none;
    }

    /* تصغير حجم الأزرار */
    .btn-warning {
        padding: 0.5rem !important;
    }

    /* تقليل المسافات */
    .oval-cell {
        padding: 0.8rem 0.5rem;
        font-size: 0.9rem;
    }

    .actions-cell {
        padding: 0.8rem 0.5rem;
    }
}

@media (max-width: 768px) {
    /* تصغير border-radius للشاشات الصغيرة */
    .oval-start {
        border-start-start-radius: 25px;
        border-end-start-radius: 25px;
    }

    .oval-end {
        border-start-end-radius: 25px;
        border-end-end-radius: 25px;
    }

    /* تقليل المسافات أكثر */
    .oval-cell {
        padding: 0.6rem 0.4rem;
        font-size: 0.85rem;
    }

    /* تصغير الأزرار */
    .rounded-circle {
        width: 35px !important;
        height: 35px !important;
        padding: 0.4rem !important;
    }

    .rounded-circle i {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    /* للشاشات الصغيرة جداً */
    .oval-start {
        border-start-start-radius: 20px;
        border-end-start-radius: 20px;
    }

    .oval-end {
        border-start-end-radius: 20px;
        border-end-end-radius: 20px;
    }

    .oval-cell {
        padding: 0.5rem 0.3rem;
        font-size: 0.8rem;
    }

    /* Stack buttons vertically if needed */
    .actions-cell .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .btn-warning {
        width: 100%;
    }

    .rounded-circle {
        width: 32px !important;
        height: 32px !important;
    }
}

/* تحسين العرض على الشاشات المتوسطة */
@media (min-width: 768px) and (max-width: 1200px) {
    .table {
        font-size: 0.9rem;
    }

    .oval-start {
        border-start-start-radius: 35px;
        border-end-start-radius: 35px;
    }

    .oval-end {
        border-start-end-radius: 35px;
        border-end-end-radius: 35px;
    }
}
.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: #ffc107 !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: 5px;
}
.daterange-input input {
    background: transparent;
    width: 100%;
    height: 40px;
    cursor: pointer;
    font-size: 13px;
}
.daterange-input img {
    margin-left: -20px;
    margin-right: 6px;
}
.form-control:focus,
.form-select:focus {
    border-color: #374d9e !important;
    box-shadow: 0 0 0 0.2rem rgba(5, 27, 171, 0.5);
}

.daterange-input i {
    color: #374d9e;
}
/* .search-input {
    color: var(--gray-font);
    position: relative;
    min-width: 300px;
    display: flex;
    align-items: center;
    border:1px solid transparent;
    border-radius:20px;
} */
/* .search-input input {
    background: var(--bg-gray);
    color: var(--gray-font);
    padding: 0px 23px;
    height: 40px;
    font-size: 13px;
}
.search-input i {
    z-index: 10;
    right: 10px;
    position: absolute;
} */
.nav-pills .nav-link.active {
    background-color: #d2b52b !important;
    color: #fff !important;
}
.nav-pills .nav-link {
    color: black !important;
    border: 1px solid #dbdee1 !important;
    border-radius: 8px !important;
}

/* ----------------------------- input Wrappers ----------------------------- */
.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;
}
.icon-holder {
    background-color: #e5e5e5;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.btn-add-admin-yellow {
    background: #d2b52b33;
    color: #0e0d0d !important;
    padding: 10px 8px;
    /* يتحكم في ارتفاع و عرض الزر */
    border-radius: 30px; /* يجعل الشكل كبسولة */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* المسافة بين النص والأيقونة */
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    width: auto !important;
}
.offcanvas-header {
    justify-content: center !important
    ;
}

.offcanvas.offcanvas-start {
    width: 500px !important;
}

/* sidebar svg */
/* Base nav-link styles */
#sidebar .nav-link {
    font-size: 14px;
    font-weight: 700;
    line-height: 160%;
    color: var(--gray-font);
    padding: 12px 16px;
    min-height: 45px;
    margin: 2px 8px;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 8px;
    gap: 10px;
    transition: all 0.3s ease;
}
/* login */
.video-container-login {
    background-image: url("/dashboard/assets/images/cover.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
}

.video-logo-login {
    max-width: 700px; /* Adjust size as needed */
    width: 80%;
    height: auto;
    z-index: 1;
}
/* Gray icon by default (inactive) */
#sidebar .nav-link .grid-icon path {
    fill: #777777;
    transition: fill 0.3s ease;
}

/* Active state styles */
#sidebar .nav-link.active {
    background-color: #374d9e;
    color: white;
}
.text-primary {
    color: #374d9e !important;
}
/* White icon when active */
#sidebar .nav-link.active .grid-icon path {
    fill: white;
}

/* Optional: Hover effect for inactive links */
#sidebar .nav-link:not(.active):hover {
    background-color: #e5e5e5;
}
/* contact us */

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

.social-input input {
    font-size: 18px;
    direction: rtl;
    text-align: right;
    padding-right: 130px; /* space for overlay */

    border: 1px solid #ccc;
    background-color: #fff;
    outline: none;
}

/* Overlay container */
.input-overlay {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: none;
    z-index: 2; /* overlay above input */
}

/* Overlay text */
.overlay-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: right;
    background: transparent; /* make sure no gray background */
}

.overlay-text .label {
    margin: 0;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.overlay-text .placeholder {
    font-size: 12px;
    color: #777;
    display: block;
    background: transparent; /* remove gray */
}

/* Icon */
.overlay-icon {
    background: black;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 6px;
    border: 1px solid #28b446;
}

.overlay-icon i {
    font-size: 18px;
    color: #3b5998;
}

.badge-warning {
    background-color: #d4af37 !important;
    color: #fff !important;
}
/* button */
.btn-add-admin {
    background: #d2b52b;
    color: #fff !important;
    padding: 10px 8px;
    /* يتحكم في ارتفاع و عرض الزر */
    border-radius: 30px; /* يجعل الشكل كبسولة */
    display: inline-flex;
    align-items: center;
    gap: 10px; /* المسافة بين النص والأيقونة */
    text-decoration: none;
    white-space: nowrap;
    font-size: 15px;
    font-weight: 500;
    width: auto !important;
}

.btn-add-admin .icon-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    width: auto;
    height: auto;
    padding: 0;
    border: none;
    box-shadow: none; /* إزالة الظل */
}

.btn-add-admin .icon-holder i {
    font-size: 18px; /* حجم الآيكون مضبوط */
    margin: 0;
}
.delete-img-holder {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
}

.password-toggle-icon {
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6c757d;
    z-index: 10;
}

body.locale-en .password-toggle-icon {
    right: 15px;
    left: auto;
}

body.locale-ar .password-toggle-icon {
    left: 15px;
    right: auto;
}

body.locale-en .password-input {
    padding-right: 2.8rem !important;
    padding-left: 1rem !important;
}

body.locale-ar .password-input {
    padding-left: 2.8rem !important;
    padding-right: 1rem !important;
}
/* toggle password icon */
.rating-badge {
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.rating-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rating-badge span {
    font-size: 13px;
}

.rating-badge img {
    flex-shrink: 0;
}

/* selectoption  */

.custom-drop-down {
    direction: rtl; /* container rtl */
}

.custom-drop-down select.form-select {
    direction: rtl !important; /* text direction */
    text-align: right !important; /* text appears on the RIGHT */

    /* arrow styling */
    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='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: left 15px center !important; /* arrow LEFT */
    background-size: 16px 12px !important;

    padding-left: 45px !important; /* space for arrow */
    padding-right: 20px !important;
}

/* English layout fixes for select inputs */
body.locale-en .custom-drop-down {
    direction: ltr;
}

body.locale-en .custom-drop-down label {
    text-align: left;
    width: 100%;
}

body.locale-en .custom-drop-down select.form-select {
    direction: ltr !important;
    text-align: left !important;
    background-position: right 15px center !important;
    padding-right: 45px !important;
    padding-left: 20px !important;
}

/* chate-holder */
.chate-holder-sender {
    background-color: #d2b52b; /* نفس  الموجود بالصورة */
    color: white; /* لون النص */
    padding: 5px 11px; /* نفس المسافة الداخلية */
    border-radius: 20px 20px 0 20px; /* شكل الفقاعة */
    max-width: 70%; /* يمنع التمدد */
    display: inline-block;
    direction: rtl; /* لأن النص عربي */
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
}
.chate-holder-reciver {
    background-color: #b3b9c0; /* نفس الأخضر الموجود بالصورة */
    color: black; /* لون النص */
    padding: 5px 11px; /* نفس المسافة الداخلية */
    border-radius: 20px 20px 20px 0; /* شكل الفقاعة */
    max-width: 70%; /* يمنع التمدد */
    display: inline-block;
    direction: rtl; /* لأن النص عربي */
    text-align: right;
    font-size: 14px;
    line-height: 1.6;
}

.videoholder {
    width: 190px;
    height: 250px;
    object-fit: cover;

    border-radius: 10px;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select-wrapper .form-label {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 8px;
    display: block;
}

.custom-dropdown-toggle {
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    padding: 8px 10px;
    background-color: #fff;
    width: 100%;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

body.locale-en .custom-dropdown-toggle {
    text-align: left;
    padding-right: 44px;
    padding-left: 12px;
}

body.locale-ar .custom-dropdown-toggle {
    text-align: right;
    padding-left: 44px;
    padding-right: 12px;
}

.custom-dropdown-toggle:hover {
    border-color: #d1d5db;
}

.custom-dropdown-toggle.show {
    border-color: #d2b52b;
}

.custom-dropdown-toggle .toggle-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}

.custom-dropdown-toggle .toggle-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.custom-dropdown-toggle .toggle-subtitle {
    font-size: 13px;
    color: #6b7280;
    margin: 2px 0 0 0;
    line-height: 1;
}

.custom-dropdown-toggle .toggle-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #d2b52b;
    transition: transform 0.2s ease;
}

body.locale-en .custom-dropdown-toggle .toggle-icon {
    right: 18px;
    left: auto;
}

body.locale-ar .custom-dropdown-toggle .toggle-icon {
    left: 18px;
    right: auto;
}

.custom-dropdown-toggle.show .toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

.custom-dropdown-menu {
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 8px 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-top: 8px;
    background: white;
    display: none;
    position: absolute;
    z-index: 1000;
    list-style: none;
}

.custom-dropdown-menu.show {
    display: block;
}

.custom-dropdown-item {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.custom-dropdown-item:hover {
    background-color: #f9fafb;
}

.custom-dropdown-item label {
    flex: 1;
    cursor: pointer;
    margin: 0;
    font-size: 15px;
    color: #374151;
    text-align: right;
    user-select: none;
}

body.locale-en .custom-dropdown-item label {
    text-align: left;
}

body.locale-ar .custom-dropdown-item label {
    text-align: right;
}

.custom-dropdown-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #d2b52b;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
}
/* role check box 
 */

.form-check {
    margin-bottom: 0;
}

.form-check-input {
    cursor: pointer;
}

.form-check-label {
    cursor: pointer;
    font-size: 0.9rem;
    white-space: nowrap;
}

.text-success {
    color: #28a745 !important;
}

/* RTL Support */
[dir="rtl"] .form-check {
    padding-right: 1.5em;
    padding-left: 0;
}

[dir="rtl"] .form-check-input {
    float: right;
    margin-right: -1.5em;
    margin-left: 0;
}

/* button for satuus for supportmessage */

.status-btn {
    background: #f0f0f0;
    border-radius: 8px !important;
    padding: 10px 20px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.status-btn.active {
    background: #d2b52b; /* Your green color */
    color: white;
    border-color: #d2b52b;
}

.image-logo-holder {
    border: 2px dashed #d0d0d0;
    border-radius: 18px;
    overflow: hidden;
    width: 150px;
    height: 150px;
}

html,
body {
    overflow-x: hidden !important;
}
.row {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.btn-add,
.btn-add:hover {
    background: black;
    height: 40px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    line-height: 160%;
    padding: 10px 20px;
}
.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: 14px;
    font-weight: 700;
    line-height: 160%;
    border-color: var(--bg-gray) !important;
}
.table tr td {
    white-space: nowrap;
    font-size: 14px;
    font-weight: 700;
    line-height: 160%;
    color: var(--secondary-font);
}

.table tr {
    border-color: var(--bg-gray) !important;
    text-align: center;
}
.select-img img {
    width: 135px;
    height: 135px;
    border-radius: 10px;
    border: 2px dashed var(--active-font);
    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: var(--bg-gray);
    justify-content: center;
    gap: 5px;
}
.login-form form {
    width: 375px;
    gap: 5px;
}
.login-form form input,
.login-form form label {
    background: var(--bg-gray) !important;
}
.login-form form input {
    font-size: 15px;
    padding-top: 25px;
    height: 45px;
}
.login-title {
    font-size: 24px;
    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;
    font-weight: 700;
    line-height: 160%;
    min-height: 40px;
    padding: 0px 30px;
    border-radius: 10px;
}
.tab-btn.active,
.tab-btn.active:hover {
    color: #fff;
    border: 1.3px solid #d2b52b;
    font-size: 14px;
    font-weight: 500;
    line-height: 160%;
    min-height: 40px;
    padding: 0px 30px;
    background: #d2b52b;
}
.tab-btn-small {
    padding: 0px 15px !important;
}

.nav-pills .nav-link.active {
    background-color: #d2b52b !important;
    color: #fff !important;
}
.action-btn {
    background: var(--bg-gray);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.action-btn-warning {
    background: #d4af37;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffc107;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}
.action-btn:hover {
    background-color: #e5e5e5 !important;
    color: #6c757d !important;
}
.btn:hover {
    background-color: #e5e5e5 !important;
}
.badge {
    font-size: 0.8rem;
    padding: 0.4em 0.8em;
    border-radius: 1rem;
}
.form-check-input:checked {
    background-color: var(--blue-font);
    font-size: 20px;
    border-color: var(--blue-font);
}
.form-check-input {
    background-color: #e1e1e1;
    font-size: 20px;
    border-color: var(--bg-gray);
}
.form-switch .form-check-input:checked {
    background-color: var(--blue-font) !important;
    border-color: var(--blue-font) !important;
}

/* 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: linear-gradient(90deg, #f37f7b 0%, #ed3d57 50%, #dd1e47 100%);
    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: 15px;
    height: 15px;
    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 ----------------------------- */

/* Sub Admins tables */
.admin-table-wrapper .table-responsive,
.admin-role-table-wrapper .table-responsive {
    overflow-x: auto;
    padding-bottom: 6px;
}

.admin-table-wrapper .table {
    min-width: 1320px;
}

.admin-role-table-wrapper .table {
    min-width: 620px;
}

.admin-table-wrapper .table thead th,
.admin-table-wrapper .table tbody td,
.admin-role-table-wrapper .table thead th,
.admin-role-table-wrapper .table tbody td {
    padding: 0.85rem 0.9rem;
    white-space: nowrap;
}

.admin-table-wrapper .oval-cell,
.admin-role-table-wrapper .oval-cell {
    border-color: #e6eaf1;
    box-shadow: none;
}

.admin-table-wrapper .switch-cell,
.admin-table-wrapper .actions-cell,
.admin-role-table-wrapper .switch-cell,
.admin-role-table-wrapper .actions-cell {
    background: transparent !important;
    border: none !important;
    white-space: nowrap;
}

.admin-table-wrapper .actions-cell .d-flex,
.admin-role-table-wrapper .actions-cell .d-flex {
    flex-wrap: nowrap;
}

.admin-avatar-cell {
    text-align: center;
}

.admin-avatar {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 50%;
}

body.locale-ar .admin-table-wrapper .oval-start,
body.locale-ar .admin-role-table-wrapper .oval-start {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-right: 1px solid #e6eaf1;
    border-left: 0;
}

body.locale-ar .admin-table-wrapper .oval-end,
body.locale-ar .admin-role-table-wrapper .oval-end {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 1px solid #e6eaf1;
    border-right: 0;
}

body.locale-en .admin-table-wrapper .oval-start,
body.locale-en .admin-role-table-wrapper .oval-start {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-left: 1px solid #e6eaf1;
    border-right: 0;
}

body.locale-en .admin-table-wrapper .oval-end,
body.locale-en .admin-role-table-wrapper .oval-end {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-right: 1px solid #e6eaf1;
    border-left: 0;
}
