@font-face {
    font-family: 'Cairo';
    src: url('fonts/Cairo-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: 'Cairo', sans-serif;
    background: #f5f6f7;
    font-size: 14px;
}


.main-title {
    font-family: 'Cairo', sans-serif;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.45;
}

.main-title-red {
    color: #eb1d23;
    font-weight: 900;
}

/* الخط الأساسي للموقع */
body,
input,
button,
select,
textarea {
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
}

.fa,
.fas,
.far,
.fab,
.fa-solid,
.fa-regular,
.fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}

/* الجسم */
body {
    background: #f5f6f7;
    font-size: 14px;
    display: flex;
    flex-direction: column;
}

/* العناوين */

h1,
h2,
h3,
h4 {
    font-weight: 700;
}

/* العنوان الرئيسي */

.main-title {
    font-size: 28px;
    font-weight: 800;
}

/* الحقول */

.form-control {
    height: 42px;
    font-size: 18px;
}

.form-select {
    height: 42px;
}

/* الأزرار */

.btn {
    font-size: 14px;
    padding: 6px 18px;
    border-radius: 6px;
}

/* زر البحث */

.btn-primary {
    background: #2e7d32;
    border-color: #2e7d32;
}

.btn-primary:hover {
    background: #1b5e20;
    border-color: #1b5e20;
}

/* الجدول */

.table {
    font-size: 18px;
}

.table thead th {
    font-weight: 700;
    letter-spacing: .3px;
    font-size: 18px;
}

.table tbody tr td {
    font-weight: 700;
    letter-spacing: .3px;
    font-size: 18px;
}

/* رأس الجدول */

.table-dark {
    background: #2c2c2c;
}

/* صفوف الجدول */

.table-striped tbody tr:nth-of-type(odd) {
    background: #f9fafb;
}

/* تأثير hover */

.table tbody tr:hover {
    background: #e9f5ff;
    transition: .2s;
}

/* container الجدول */

.table-container {
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}



.select2-container--default .select2-selection--single {
    height: 42px;
    padding-top: 6px;
}


.sticky-header {
    background: #fff;
}

.table-container {
    height: 70vh;
    /* ارتفاع ثابت للجدول */
    overflow-y: auto;
    /* Scroll عمودي */
}

.table-container table {
    width: 100%;
}






/* تثبيت عناوين أعمدة الجدول أثناء السحب داخل الجدول */
.table-container thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background-color: #212529 !important;
    color: #fff !important;
}

/* شريط علوي ثابت (العنوان + البحث + أزرار التحكم) */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #dee2e6;
}

/* عند ملء الشاشة اجعل الجدول يملأ كامل الشاشة */
.table-container:fullscreen,
.table-container:-webkit-full-screen {
    height: 100vh !important;
    overflow: auto;
    background: #fff;
}



.select2-container {
    width: 100% !important;
}

.select2-container--default .select2-selection--single {
    height: 42px !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 12px !important;
}

.select2-selection__rendered {
    line-height: 42px !important;
}

.select2-selection__clear {
    margin-left: 10px !important;
    font-size: 18px !important;
    color: red !important;
    cursor: pointer !important;
}

.title-box {
    text-align: center;
    flex: 1;
    font-size: x-large;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
}



/* شريط الشركة أسفل الصفحة */
.footer-bar {
    background-color: #343a40;
    color: #000000;
    background: #f8f8f8;
    border-top: 3px solid #d32f2f;
}

.footer-bar .col-auto {
    padding: 0 15px;
    border-left: 1px solid #ccc;
}

.footer-bar .col-auto:last-child {
    border-left: none;
}

/* شاشة التحميل */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* الدائرة */
.loading-spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #e0e0e0;
    border-top: 6px solid #2e7d32;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

/* النص */
.loading-text {
    font-size: 18px;
    font-weight: 600;
    color: #2e7d32;
}

/* حركة الدوران */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    margin-right: 6px;
    text-decoration: none;
    transition: all .25s ease;
}

.whatsapp-btn i {
    font-size: 16px;
}

/* حركة hover */
.whatsapp-btn:hover {
    transform: scale(1.2) rotate(8deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
    background: #1ebe5d;
}

.red-checkbox {
    width: 16px;
    height: 16px;
    accent-color: red;
    /* اللون الأحمر للcheckmark والإطار عند التحديد */
    cursor: pointer;
}

/* إضافة hover بسيط */
.red-checkbox:hover {
    opacity: 0.8;
}

.no-select {
    user-select: none;
    /* قياسي */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

.side-link {
    cursor: pointer;
    font-size: 18px;
    width: fit-content;
    direction: rtl;
    text-align: right;
}

.details-bar {
    display: flex;
    direction: ltr;
    /* يجعل الزر يسار والادخال يمين */
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
}

.details-input {
    width: 485px;
    height: 32px;
    background: #efefef;
    border: 1px solid #8f8f8f;
    border-radius: 3px;
    font-size: 14px;
    padding: 4px 10px;
}

.details-btn {
    height: 32px;
    padding: 4px 14px;
    background: #fd7e14;
    /* برتقالي */
    border: 1px solid #d96a0b;
    color: #ffffff;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    white-space: nowrap;
    cursor: pointer;
}

.details-btn:hover {
    background: #e96f0c;
    border-color: #c95f08;
}
.btn{
   font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .25);
    white-space: nowrap;
    cursor: pointer;  
}
 .offers-banner-box {
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
        background: #fff7e6;
        border: 1px solid #fd7e14;
        color: #b45309;
        font-weight: bold;
        height: 38px;
        display: flex;
        align-items: center;
        padding: 0 10px;
        position: relative;
    }



    .offer-item {
        cursor: pointer;
        padding: 10px;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .offer-item:hover {
        background: #fff7e6;
    }

    
    


.offers-banner-box {
    overflow: hidden;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(90deg,#fff7e6,#fff1d6);
    border: 1px solid #fd7e14;
    color: #b45309;
    font-weight: bold;
    height: 38px;
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}



.offer-ticker-item {
    display: inline-block;
    padding: 0 12px;
    cursor: pointer;
    color: #b45309;
}

.offer-ticker-item:hover {
    color: #eb1d23;
    text-decoration: underline;
}




.offers-scroll-box{
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-left: 4px;
}

.offers-scroll-box::-webkit-scrollbar{
    width: 8px;
}

.offers-scroll-box::-webkit-scrollbar-thumb{
    background: #fd7e14;
    border-radius: 10px;
}

.offer-item{
    cursor: pointer;
    padding: 12px;
    border-bottom: 1px solid #eee;
    text-align: right;
    transition: .2s;
}




.offer-item:hover{
    background: #fff7e6;
    transform: translateX(-3px);
}

.full-offers-bar{
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 12px 0 18px 0;
}

.full-offers-btn{
    flex-shrink: 0;
    height: 42px;
    min-width: 120px;
}

.full-width-banner{
    width: 100%;
    height: 42px;
    overflow: hidden;
    border-radius: 8px;
    background: linear-gradient(90deg,#fff7e6,#fff1d6);
    border: 1px solid #fd7e14;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}



.offer-ticker-item{
    display: inline-flex;
    align-items: center;
    height: 42px;
    font-size: 15px;
    font-weight: 700;
    color: #b45309;
    cursor: pointer;
    transition: .2s;
}

.offer-ticker-item:hover{
    color: #eb1d23;
    transform: scale(1.03);
}

/* إيقاف حركة شريط العروض عند الوقوف على اسم عرض */
#offersBannerText.is-paused {
    animation-play-state: paused !important;
}



.offers-swal-title{
    background: #fd7e14;
    color: #fff !important;
   padding-bottom: 1%;
    font-weight: 700;
}
/* Language switch additions */
.language-switcher {
    direction: rtl;
}

body.lang-en .language-switcher {
    direction: ltr;
}

body.lang-en .footer-bar,
body.lang-en .offer-item,
body.lang-en .side-link {
    direction: ltr;
    text-align: left;
}

body.lang-en .d-flex.flex-column.align-items-start {
    align-items: flex-start !important;
}

body.lang-en .table th,
body.lang-en .table td {
    text-align: center;
}
.notranslate{
    translate: no;
}
#langToggle{
    user-select:none;
    padding:6px 12px;
    border:1px solid #ccc;
    border-radius:6px;
}



/* Fix offers ticker movement for Arabic/English directions */
#offersBannerBox {
    direction: ltr;
}

#offersBannerText {
    will-change: transform;
    display: inline-flex;
    align-items: center;
    gap: 35px;
    white-space: nowrap;
    padding-inline-start: 100%;
}

/* عربي */
body:not(.lang-en) #offersBannerText {
    animation: offersTickerAr 180s linear infinite;
    
}

/* إنجليزي */
body.lang-en #offersBannerText {
    animation: offersTickerEn 180s linear infinite;
}

@keyframes offersTickerAr {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes offersTickerEn {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-200%);
    }
}

/* تنسيق أعلى الصفحة مطابق للصورة المرفقة */
.top-header-shell {
    position: relative;
    direction: ltr;
    display: grid;
    grid-template-columns: minmax(360px, 1fr) auto minmax(380px, 1fr);
    align-items: start;
    gap: 20px;
    padding: 6px 8px 10px;
    background: #f5f6f7;
}

.header-lang {
    position: absolute;
    left: 4px;
    top: 4px;
    z-index: 2;
}

.language-btn {
    min-width: 36px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #cfd4da;
    border-radius: 4px;
    background: #fff;
    color: #111827;
    font-weight: 700;
    box-shadow: 0 1px 2px rgba(0,0,0,.12);
}

.header-brand {
    direction: rtl;
    justify-self: start;
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    gap: 1.4%;
    padding-left: 10%;
}

.header-logo {
    width: 160px;
    max-width: 38vw;
    height: auto;
    object-fit: contain;
    margin-top: 6px;
}

.header-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    margin-top: 2px;
}

.header-link-item {
    direction: rtl;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    width: fit-content;
    white-space: nowrap;
}

.header-link-item i { margin-left: 4px; }
.google-link { color:#444; }
.google-link i { color:#4285F4; }
.google-word { font-weight: 800; letter-spacing: .2px; }

.header-title-area {
    direction: rtl;
    justify-self: center;
    text-align: center;
    padding-top: 31px;
    min-width: 420px;
}

.header-title-area .main-title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 900;
}

.header-controls {
    direction: rtl;
    justify-self: end;
    width: 100%;
    max-width: 485px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-line,
.filter-line,
.match-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-line { flex-direction: row; }
.filter-line { flex-direction: row; }
.match-line { justify-content: flex-end; font-weight: 700; }

.search-input {
    flex: 1 1 auto;
    min-width: 260px;
    height: 34px !important;
}

.header-controls .form-control,
.header-controls .form-select,
.header-controls .select2-container--default .select2-selection--single {
    height: 34px !important;
    min-height: 34px !important;
    font-size: 14px !important;
}

.header-controls .select2-selection__rendered {
    line-height: 34px !important;
}

.filter-field { flex: 1 1 0; min-width: 0; }
.action-btn {
    height: 34px;
    min-width: 78px;
    padding: 4px 14px;
}

#toggleFullscreen { min-width: 92px; }

@media (max-width: 1100px) {
    .top-header-shell {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .header-brand,
    .header-title-area,
    .header-controls {
        justify-self: center;
        max-width: 100%;
        width: 100%;
    }
    .header-brand { justify-content: center; padding-left: 48px; }
    .header-title-area { min-width: 0; padding-top: 4px; }
    .header-controls { max-width: 720px; }
}

@media (max-width: 640px) {
    .header-brand { flex-wrap: wrap; padding-left: 0; padding-top: 34px; }
    .search-line,
    .filter-line { flex-wrap: wrap; }
    .search-input,
    .filter-field,
    .action-btn,
    #toggleFullscreen { flex: 1 1 100%; width: 100%; }
}

/* ترتيب عناصر البحث والفلترة بشكل عمودي */
.header-controls {
    max-width: 300px;
}

.search-line,
.filter-line {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 6px;
}

.search-input,
.filter-field,
.filter-field .form-select,
.filter-field .select2-container,
#companyFilter,
#city {
    width: 100% !important;
    min-width: 100% !important;
}

.search-line .action-btn,
.filter-line .action-btn,
#toggleFullscreen {
    width: 100% !important;
    min-width: 100% !important;
}

.match-line {
    justify-content: flex-start !important;
}

/* توزيع عناصر التحكم: كل حقل وبجانبه الزر الخاص به */
.header-controls {
    max-width: 385px;
}

.header-controls .control-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 6px;
    width: 100%;
}

.header-controls .control-row .search-input,
.header-controls .control-row .filter-field {
    flex: 1 1 auto;
    min-width: 0 !important;
    width: auto !important;
}

.header-controls .control-row .action-btn,
.header-controls .control-row #toggleFullscreen {
    flex: 0 0 74px;
    width: 92px !important;
    min-width: 92px !important;
    padding-left: 8px;
    padding-right: 8px;
    white-space: nowrap;
}

.header-controls .company-line #toggleFullscreen {
    flex-basis: 100px !important;  /* زيادة العرض من 70 بكسل إلى 100 بكسل */
    width: 100px !important;
    min-width: 100px !important;
}
.header-controls .filter-field .form-select,
.header-controls .filter-field .select2-container,
.header-controls #companyFilter,
.header-controls #city {
    width: 100% !important;
    min-width: 0 !important;
}

@media (max-width: 640px) {
    .header-controls .control-row {
        flex-wrap: nowrap !important;
    }
}


/* قائمة طريقة البحث: بداية الكلمة / يحتوي / نهاية الكلمة / الكلمة كاملة */
.header-controls .search-line .search-mode-select {
    flex: 0 0 118px;
    width: 50px !important;
    min-width: 50px !important;
    padding-inline: 8px 28px !important;
    direction: rtl;
    text-align: right;
    cursor: pointer;
}

.header-controls .search-line .search-input {
    flex: 1 1 0;
    min-width: 0 !important;
    width: 100% !important;
}

body.lang-en .header-controls .search-line .search-mode-select {
    direction: ltr;
    text-align: left;
    padding-inline: 28px 8px !important;
}

@media (max-width: 420px) {
    .header-controls .search-line .search-mode-select {
        flex-basis: 104px;
        width: 104px !important;
        min-width: 104px !important;
        font-size: 12px !important;
    }
}


/* ===== Header like reference screenshot ===== */
.container-fluid.pt-3{
    padding-top:0 !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

.top-header-shell{
    direction:ltr;
    display:grid;
    grid-template-columns: 410px minmax(520px,1fr) 460px;
    align-items:start;
    gap:22px;
    width:100%;
    min-height:150px;
    padding:14px 12px 10px;
    background:linear-gradient(#f7f8fa,#f2f3f5);
    border-bottom:1px solid #d7d7d7;
}

.header-lang{
    position:absolute;
    top:8px;
    left:8px;
}

.language-btn{
    height:26px;
    min-width:34px;
    padding:0 8px;
    font-size:12px;
    border:1px solid #d5d5d5;
    border-radius:2px;
    background:#fff;
}

.header-brand{
    direction:rtl;
    justify-self:start;
    display:grid;
    grid-template-columns:170px 1px 185px;
    column-gap:18px;
    align-items:center;
    padding-left:40px !important;
}

.header-logo{
    width:160px;
    max-width:160px;
    margin-top:0;
}

.header-brand::after{
    content:"";
    width:1px;
    height:118px;
    background:#ddd;
    grid-column:2;
    grid-row:1;
}

.header-links{
    grid-column:3;
    align-items:flex-start;
    gap:10px;
    margin-top:0;
}

.header-link-item{
    font-size:15px;
    font-weight:800;
    line-height:1.2;
}

.header-link-item i{
    font-size:17px;
    margin-left:8px;
}

.header-title-area{
    direction:rtl;
    justify-self:center;
    text-align:center;
    min-width:0 !important;
    padding-top:14px !important;
    border-left:1px solid #e0e0e0;
    border-right:1px solid #e0e0e0;
    padding-left:35px;
    padding-right:35px;
}

.header-title-area .main-title{
    font-family:'Cairo',sans-serif;
    font-weight:900;
    line-height:1.22;
    color:#222;
}

.header-title-area .platform-line{
    font-size:28px;
    margin-bottom:7px;
}

.header-title-area .subtitle-line{
    font-size:34px;
    margin-bottom:8px;
}

.header-contact-line{
    color:#001dd9;
    font-size:20px;
    font-weight:700;
    line-height:1.3;
}

.header-contact-line strong{
    font-size:25px;
    font-weight:900;
    margin-inline-start:12px;
}

.header-controls{
    direction:rtl;
    justify-self:end;
    max-width:420px !important;
    width:100%;
    padding-top:2px;
    gap:7px;
}

.header-controls .control-row{
    display:flex !important;
    flex-direction:row !important;
    align-items:stretch !important;
    gap:7px;
    width:100%;
}

.header-controls .form-control,
.header-controls .form-select,
.header-controls .select2-container--default .select2-selection--single{
    height:36px !important;
    min-height:36px !important;
    border:1px solid #cfd4da !important;
    border-radius:3px !important;
    background:#fff !important;
    font-size:14px !important;
    box-shadow:none !important;
}

.header-controls .select2-selection__rendered{
    line-height:36px !important;
}

.header-controls .action-btn{
    height:36px !important;
    border-radius:3px !important;
    font-weight:800;
}

.header-controls #btnSearch{
    background:#1f7a39 !important;
    border-color:#1f7a39 !important;
    color:#fff !important;
    flex:0 0 100px !important;
    width:100px !important;
    min-width:100px !important;
}

.header-controls .city-line .action-btn,
.header-controls .company-line #toggleFullscreen{
    flex:0 0 100px !important;
    width:100px !important;
    min-width:100px !important;
}

.header-controls .search-line .search-mode-select{
    flex:0 0 126px !important;
    width:126px !important;
    min-width:126px !important;
}



.header-controls .filter-field{
    flex:1 1 auto !important;
    min-width:0 !important;
}

.match-line{
    direction:rtl;
    display:flex;
    justify-content:flex-start !important;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:800;
    padding-top:1px;
}

.red-checkbox{
    width:18px;
    height:18px;
}

.full-offers-bar{
    width:calc(100% - 14px);
    margin:6px 7px 10px 7px !important;
    display:flex;
    align-items:center;
    flex-direction:row-reverse;
    gap:8px;
}

.full-width-banner{
    flex:1 1 auto;
    height:28px !important;
    border-radius:4px !important;
    background:#fff8ed !important;
    border:1px solid #ff8a22 !important;
    box-shadow:none !important;
}

.full-offers-btn{
    height:28px !important;
    min-width:82px !important;
    padding:2px 12px !important;
    border-radius:3px !important;
    background:#ff7822 !important;
    border-color:#ff7822 !important;
    color:#fff !important;
    font-weight:900;
}

@media (max-width:1200px){
    .top-header-shell{
        grid-template-columns:1fr;
    }
    .header-brand,
    .header-title-area,
    .header-controls{
        justify-self:center;
        width:100%;
        max-width:760px !important;
    }
    .header-title-area{
        border-left:0;
        border-right:0;
    }
}
.match-line {
    display:flex;
    align-items:center;
    gap:10px;
    margin-top:10px;
}

.search-mode-select {
    width:180px;
    height:38px;
}

.header-brand {
    display: flex;
    align-items: center;
    direction: rtl;
}

.header-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-brand .header-logo {
    order: 2;
    margin-left: 20px;
}

.header-brand .header-links {
    order: 1;
}
.header-links {
    align-items: flex-start;
}

.header-link-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    direction: rtl;
    min-width: 120px;
}

.header-link-item span {
    text-align: right;
    width: 100%;
}
.header-contact-line a {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* العربي */
body:not(.lang-en) .header-contact-line a {
    direction: rtl;
}

/* الإنجليزي */
body.lang-en .header-contact-line a {
    direction: ltr;
}

body.lang-en .contact-phone {
    order: 2;
}
.search-line {
    display: flex;
    align-items: center;
    position: relative;
}
.search-wrapper {
    position: relative !important;
}

.search-wrapper .search-icon {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 999999 !important;
    display: block !important;
    font-size: 18px !important;
}

body[dir="rtl"] .search-wrapper .search-icon {
    right: 10px !important;
    left: auto !important;
}

body[dir="ltr"] .search-wrapper .search-icon {
    left: 10px !important;
    right: auto !important;
}




body[dir="rtl"] .search-wrapper .search-input {
    padding-right: 35px !important;
}

body[dir="ltr"] .search-wrapper .search-input {
    padding-left: 35px !important;
}

.header-controls .search-input{
    text-align:right !important;
    direction:rtl !important;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
}

.search-input-wrapper .search-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    font-size: 16px;
    line-height: 1;
}

body[dir="rtl"] .search-input-wrapper .search-icon {
    right: 12px;
}

body[dir="ltr"] .search-input-wrapper .search-icon {
    left: 12px;
}

body[dir="rtl"] .search-input-wrapper .search-input {
    padding-right: 35px !important;
}

body[dir="ltr"] .search-input-wrapper .search-input {
    padding-left: 35px !important;
}

/* ===== FINAL SEARCH ICON FIX ===== */
.search-line {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}

.search-input-wrapper {
    position: relative !important;
    flex: 1 1 auto !important;
}

.search-input-wrapper .search-icon {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

body[dir="rtl"] .search-input-wrapper .search-icon {
    right: 12px !important;
    left: auto !important;
}

body[dir="ltr"] .search-input-wrapper .search-icon {
    left: 12px !important;
    right: auto !important;
}

body[dir="rtl"] .search-input-wrapper .search-input {
    padding-right: 35px !important;
    padding-left: 10px !important;
}

body[dir="ltr"] .search-input-wrapper .search-input {
    padding-left: 35px !important;
    padding-right: 10px !important;
}

body[dir="ltr"] .header-controls .search-input {
    direction: ltr !important;
    text-align: left !important;
}

body[dir="rtl"] .header-controls .search-input {
    direction: ltr !important;
    text-align: right !important;
}

.virtual-table-container {
    height: 700px;
    overflow-y: auto;
    position: relative;
}

#company-stock-qty-data tr {
    height: 45px;
}

.virtual-spacer {
    height: 0;
}