/* --- اصلاح کلی ساختار پاپ‌آپ برای حذف حاشیه‌های اضافی --- */
div#pop-up,
div.pop-up {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

div.pop-up .pop-up-content {
    background: #fff !important;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
    border-radius: 30px !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 1px solid rgba(0,0,0,0.05) !important;
}

/* --- استایل یکپارچه برای محتوای ورود و ثبت‌نام --- */
#login_popup, 
#register_popup {
    background: #fff !important;
    padding: 0 !important;
}

/* --- هدر یکپارچه --- */
#login_popup .popup_title, 
#register_popup .popup_title {
    background: linear-gradient(135deg, #b0141a, #d71920) !important;
    color: #fff !important;
    padding: 25px !important;
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    text-align: center !important;
    border-radius: 0 !important;
}

/* --- تنظیم فیلدها و فرم --- */
#login_form, 
#register_form {
    padding: 25px !important;
}

#login_popup .text_box, 
#register_popup .text_box {
    width: 100% !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: 1px solid #ddd !important;
    background: #fcfcfc !important;
    padding: 0 15px !important;
    margin-top: 5px !important;
}

/* --- دکمه‌ها --- */
#login_popup .btn, 
#register_popup .btn {
    width: 100% !important;
    height: 50px !important;
    border-radius: 12px !important;
    border: none !important;
    background: #d71920 !important;
    color: #fff !important;
    font-weight: bold !important;
    cursor: pointer !important;
    margin-top: 10px !important;
}

/* --- حذف دکمه ضربدر تکراری (اگر نیاز بود) --- */
#login_popup .close_btn, 
#register_popup .close_btn {
    display: none !important;
}

/* --- اصلاح رادیو باکس‌ها در ثبت‌نام --- */
#register_popup .radios_box {
    display: flex !important;
    gap: 15px !important;
    padding: 10px 0 !important;
}
/* حذف آیکون‌ها از هدر */
#login_popup .popup_title i,
#register_popup .popup_title i {
    display: none !important;
}

/* وسط‌چین کردن دقیق و مطلقِ متن عنوان */
#login_popup .popup_title,
#register_popup .popup_title {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding: 25px !important;
    margin: 0 !important;
}
/* اعمال استایل روی پاپ‌آپ ارتباط با ما و پاپ‌آپ منوی کاربری */
#header_menu .submenu, 
#mobile_sidebar {
    border-radius: 25px !important; /* گرد کردن لبه‌ها */
    overflow: hidden !important; 
    box-shadow: 0 0px 45px rgba(0, 0, 0, 0.6) !important; /* سایه حرفه‌ای */
    border: 0px solid rgba(0, 0, 0, 0.08) !important;
    background-color: #fff !important;
}

/* اصلاح موقعیت پاپ‌آپ منوی کاربری برای نمایش بهتر سایه */
#mobile_sidebar {
    top: 65px !important; /* تنظیم فاصله از بالا برای تداخل نداشتن با هدر */
    height: auto !important; /* اگر ارتفاع زیاد بود، خودکار تنظیم شود */
    max-height: 80vh !important;
}

/* گرد کردن سربرگ داخلی هر دو پاپ‌آپ */
#header_menu .submenu .head_menu,
#mobile_sidebar #mobile_sidebar_head {
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    background-color: #fff !important; /* رنگ زمینه ملایم برای هدر پاپ‌آپ */
}

/* گرد کردن باکس‌های داخلی منوی کاربری برای هماهنگی کامل */
#mobile_sidebar .sb_menu a {
    margin: 5px 10px !important;
    border-radius: 10px !important;
    transition: all 0.2s ease !important;
}

#mobile_sidebar .sb_menu a:hover {
    background: #f1f1f1 !important;
}
@media only screen and (max-width: 767px) {

    /* 1) shadow فقط وقتی منو باز است دیده شود */
    #mobile_sidebar {
        box-shadow: none !important;
    }

    /* اگر سایدبار باز شد، shadow فعال شود */
    #mobile_sidebar[style*="display: block"],
    #mobile_sidebar[style*="display:block"],
    #mobile_sidebar.active,
    #mobile_sidebar.show,
    #mobile_sidebar.open {
        box-shadow: 0 0px 45px rgba(0, 0, 0, 0.6) !important;
    }
    /* 3) فقط گوشه‌های سمت چپ گرد باشند */
    #mobile_sidebar {
        border-top-left-radius: 25px !important;
        border-bottom-left-radius: 25px !important;
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    /* اگر خود هدر جداگانه radius دارد، با این هم هماهنگ شود */
    #mobile_sidebar #mobile_sidebar_head {
        border-top-left-radius: 25px !important;
        border-top-right-radius: 0 !important;
    }
}
@media only screen and (max-width: 767px) {
    #mobile_sidebar #mobile_sidebar_head,
    #mobile_sidebar > #mobile_sidebar_head,
    div#mobile_sidebar_head {
        /* گرادینت خطی شیک: از قرمز عمیق به قرمز روشن‌تر */
        background: linear-gradient(135deg, #b0141a 0%, #d71920 100%) !important;
        background-image: linear-gradient(135deg, #b0141a 0%, #d71920 100%) !important;
        
        /* اضافه کردن یک سایه داخلی بسیار ملایم برای روح دادن به دکمه‌ها */
        box-shadow: inset 0 -3px 10px rgba(0,0,0,0.1) !important;
        
        border-bottom: 1px solid rgba(255,255,255,0.1) !important;
    }

    /* تغییر رنگ متن و آیکون‌های داخل هدر به سفید برای خوانایی بهتر روی قرمز */
    #mobile_sidebar #mobile_sidebar_head * {
        color: #ffffff !important;
    }
}
/* جایگزین کردن عکس آواتار با آیکون اختصاصی */
#mobile_sidebar .user_pic {
    background-image: url('https://khaterehgasht.ir/belotelicon/redusernew.png') !important; /* آدرس عکس خود را اینجا بگذارید */
    background-size: cover !important; /* پوشش کامل دایره */
    background-position: center !important; /* وسط‌چین کردن عکس */
    background-repeat: no-repeat !important;
    border: 2px solid #eee !important; /* یک حاشیه ظریف برای زیبایی */
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important; /* سایه ملایم زیر عکس */
    width: 65px !important; /* تنظیم دقیق سایز (اگر نیاز به تغییر داشت) */
    height: 65px !important;
    border-radius: 50% !important; /* حفظ حالت دایره‌ای */
}

/* حذف آیکون پیش‌فرض اگر به صورت فونت-آیکون (Before/After) باشد */
#mobile_sidebar .user_pic::before, 
#mobile_sidebar .user_pic::after {
    display: none !important;
}
/* ۲. تنظیمات مخصوص نسخه موبایل */
@media only screen and (max-width: 767px) {
    #mobile_sidebar .user_pic {
        /* آدرس عکس متفاوت برای نسخه موبایل را اینجا وارد کنید */
        background-image: url('https://khaterehgasht.ir/belotelicon/whiteuser.png') !important; 
        
        /* اگر در موبایل سایز متفاوتی مد نظرت است اینجا تغییر بده، در غیر این صورت همان 65px می‌ماند */
        width: 60px !important;
        height: 60px !important;
    }
}
/* فقط ظاهر فیلدها را تغییر می‌دهیم، نه اندازه و موقعیت باکس */

#search_flight .line_box .main_inp {
    background: #fff !important;
    border: 1px solid #e8e8e8 !important;
    border-radius: 12px !important;
    box-shadow: 0 0px 21px rgba(0, 0, 0, 0.20) !important;
    transition: all 0.25s ease !important;
    overflow: hidden !important;
}

/* حالت hover و focus */
#search_flight .line_box .main_inp:hover {
    box-shadow: 0 0px 22px rgba(0, 0, 0, 0.12) !important;
}

#search_flight .line_box .main_inp:focus-within {
    border-color: #d9d9d9 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.09) !important;
}

/* خود input ها */
#search_flight .line_box .main_inp input.text_box,
#search_flight .line_box .main_inp input[type="text"],
#search_flight .line_box .main_inp input[readonly] {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    color: #222 !important;
}

/* کمی مینیمال‌تر شدن ظاهر placeholder */
#search_flight .line_box .main_inp input::placeholder {
    color: #9a9a9a !important;
    opacity: 1 !important;
}

/* separator line زیر فیلدها را لطیف‌تر کنیم */
#search_flight .borderaz {
    opacity: 0.15 !important;
}

/* آیکن‌ها کمی ملایم‌تر */
#search_flight .input_icon.ch_icon,
#search_flight .date_icon i {
    opacity: 0.75 !important;
}

/* اگر خواستی دکمه جستجو هم فقط کمی مینیمال‌تر شود */
#search_flight .ch_button {
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
}
/* حذف خط‌های اضافی داخل باکس جستجو */
#search_flight .borderaz {
    display: none !important;
}

#search_flight .line_box,
#search_flight .main_inp,
#search_flight .main_inp_inn {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}
#search_flight,
#search_flight .widg_inn,
#search_flight .line_box,
#search_flight .main_inp {
    overflow: visible !important;
}
/* ایجاد فاصله بین ردیف‌های جستجو */
#search_flight .line_box {
    margin-bottom: 10px !important; /* مقدار فاصله را می‌توانید کم و زیاد کنید */
    float: none !important; /* اطمینان از چیدمان صحیح */
    width: 100% !important;
}

/* حذف فاصله آخرین المان (دکمه جستجو) برای تمیزی کار */
#search_flight .line_box:last-child {
    margin-bottom: 0 !important;
}
#search_flight .nodatedesc {
    color: #ff4d4d !important; /* رنگ قرمز ملایم و مدرن */
    font-size: 12px !important;  /* کوچک‌تر کردن فونت */
    margin-top: 5px !important;  /* تنظیم فاصله از لبه بالا */
    text-align: center !important;
    font-weight: normal !important;
}
/* taghire icon haye box jostoju */

/* آیکون مبدا */
#search_flight .line_box_mabda .input_icon.ch_icon {
    background-image: url('https://khaterehgasht.ir/belotelicon/takeoff.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    opacity: 1 !important;
}

/* آیکون مقصد */
#search_flight .line_box_maghsad .input_icon.ch_icon {
    background-image: url('https://khaterehgasht.ir/belotelicon/landing.png') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    opacity: 1 !important;
}

/* حذف کامل فیلد تاریخ رفت از باکس جستجو */
#search_flight #departing {
    display: none !important;
}

#search_flight #departing-jd {
    display: none !important;
}

#search_flight #departing,
#search_flight #departing-jd,
#search_flight .date_icon,
#search_flight .nodatedesc {
    display: none !important;
}
/* حذف کامل کل باکس تاریخ و خطوط خاکستری اطراف آن */
#search_flight .line_box_date {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    visibility: hidden !important;
}
/* تنظیم کانتینر اصلی دکمه */
/* کانتینر اصلی - اجبار برای تغییر ارتفاع */
.ch_button {
    background-color: #e20943 !important;
    border-radius: 12px !important;
  box-shadow: 0 0px 30px rgba(0,0,0,0.30) !important;    
    width: 100% !important;
    min-width: 100% !important;
    
    /* استفاده از min-height برای شکستن محدودیت‌های احتمالی */
    height: 54px !important; 
    min-height: 54px !important; 
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    margin: 25px 0 !important;
    position: relative !important;
    overflow: hidden !important;
    border: none !important;
    padding: 0 !important;
    float: none !important;
    touch-action: manipulation;
}

/* حذف آیکون‌های قدیمی */
.ch_button i, .ch_button .circle1, .ch_button .circle2, .ch_button .bg {
    display: none !important;
}

/* متن دکمه - فیکس کردن در وسط با ارتفاع خط */
.ch_button span.speaksearch {
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: bold !important;
    z-index: 5 !important;
    position: relative !important;
    
    /* اجبار برای قرارگیری در مرکز */
    display: block !important;
    line-height: 62px !important; /* دقیقا هم‌اندازه ارتفاع دکمه */
    height: 62px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

/* فیلد مخفی کلیک - پوشش کامل */
.ch_button input#search_submit {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 62px !important;
    opacity: 0 !important;
    z-index: 10 !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
}

/* افکت Ripple */
.ch_button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease-out, height 0.4s ease-out, opacity 0.4s ease-out;
}
.ch_button:active::after {
    width: 500px;
    height: 500px;
    opacity: 1;
    transition: 0s;
}

/* مخصوص موبایل برای اطمینان نهایی */
@media only screen and (max-width: 767px) {
    .ch_button {
        height: 62px !important;
        min-height: 62px !important;
        
    }
    .ch_button span.speaksearch {
        line-height: 62px !important;
        height: 62px !important;
    }
}
/* etmam zaher ta qable placeholdere bala */
/* ۱. فقط ظاهرِ هدر را تغییر می‌دهیم، بدون تغییر در سایز یا ساختار */
/* ۱. تنظیم هدر و تصویر */
#search_flight .sb_title {
    background-image: url('https://khaterehgasht.ir/belotelicon/planewindow.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    height: 150px !important; /* ارتفاع دلخواه */
    border-radius: 12px 12px 0 0 !important;
    position: relative !important; /* این خیلی مهم است */
    overflow: visible !important;
    box-shadow: 0 0px 30px rgba(0,0,0,0.3) !important;
}

/* ۲. حذف کامل و تهاجمی تمام متن‌ها و آیکون‌های قدیمی */
#search_flight .sb_title *, 
#search_flight .sb_title span, 
#search_flight .sb_title i, 
#search_flight .sb_title div,
#search_flight .sb_title h3 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ۳. اصلاح مکان دکمه تغییر مسیر */
/* این کد دکمه را به زور به وسطِ دو فیلد می‌چسباند */
.exchange {
    position: absolute !important;
    top: 210px !important;  /* این مقدار را تغییر دهید تا دقیقاً بین دو فیلد بنشیند */
    left: 16% !important;
    transform: translateX(-50%) !important;
    z-index: 999 !important;
    display: block !important;
    background: #fff !important; /* رنگ زمینه دکمه */
    border-radius: 50% !important;
    box-shadow: 0 0px 10px rgba(0,0,0,0.4) !important;
}
/* جایگزینی آیکون شهرها در باکس جستجو */
.diricon {
    /* ۱. آدرس آیکون جدید خود را اینجا قرار دهید */
    background-image: url('https://khaterehgasht.ir/belotelicon/locicon.png') !important;
    
    /* ۲. تنظیمات نمایش صحیح آیکون */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important; /* یا از 16px 16px استفاده کنید */
    
    /* ۳. شفاف‌سازی پس‌زمینه قدیمی (در صورت وجود) */
    background-color: transparent !important;
    
    /* ۴. اطمینان از نمایش صحیح */
    display: inline-block !important;
    width: 20px !important; /* پهنای آیکون را بر اساس اندازه عکس خود تنظیم کنید */
    height: 20px !important; /* ارتفاع آیکون را بر اساس اندازه عکس خود تنظیم کنید */
    padding-left: 35px;
}
/* افکت زوم و بولد روی آیتم‌های لیست شهرها */

/* انتخاب‌گر لیست - در بیشتر پلاگین‌های autocomplete این کلاس استفاده می‌شود */
.autocomplete-suggestion {
        transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.5, 1);  /* ایجاد نرمی در حرکت */
    display: block !important;
    padding: 8px !important;
    cursor: pointer;
    font-weight: normal !important;
    transform: scale(1) !important; /* حالت پیش‌فرض */
}

/* افکت موقع هاور */
.autocomplete-suggestion:hover {
    transform: scale(1.02) !important; /* کمی زوم (۲ درصد) برای اینکه ساختار نپاشد */
    font-weight: bold !important;      /* بولد کردن متن */
    background-color: #f7f7f7 !important; /* اختیاری: تغییر رنگ پس‌زمینه برای زیبایی بیشتر */
    border-radius: 5px !important;      /* نرم کردن لبه‌ها */
    box-shadow: 0 0px 15px rgba(0,0,0,0.2) !important; /* اضافه کردن یک سایه ملایم */
}
/* این کدها فقط برای اطمینان از حذفِ موارد اضافی است که قبلاً می‌خواستید */
.autocomplete-suggestion .borderaz {
    display: none !important;
}
/* ۱. اصلاح موقعیت و ظاهر کلی لیست (بدون تغییر در ساختار داخلی) */
.autocomplete-suggestions {
    margin-top: 2px !important; /* فقط فاصله لیست از باکس */
    border-radius: 15px 15px 15px 15px !important; /* فقط گردی پایین */
    box-shadow: 0 0px 28px rgba(0,0,0,0.35) !important; /* فقط سایه */
    overflow: hidden !important;
}

/* ۲. اصلاح هاور (بدون تغییر در چیدمان و بدون زوم) */
.autocomplete-suggestion:hover {
    background-color: #f7f7f7 !important;
    color: #505050  !important;
}

/* ۳. آیکون‌ها دست نخورده باقی می‌مانند (مطمئن شوید این بخش را پاک نمی‌کنید) */
/* در فایل قبلی شما، آیکون‌ها توسط کلاس .diricon هندل می‌شدند. ما اینجا به آن‌ها دست نمی‌زنیم */
.autocomplete-suggestion .diricon {
    /* هر کدی که قبلاً برای آیکون‌ها داشتید، همان درست است */
    /* ما اینجا هیچ `display: flex` یا تغییر ساختاری اعمال نمی‌کنیم */
}

/* ۴. حذف موارد اضافی که قبلاً می‌خواستید حذف شود */
.autocomplete-suggestion .borderaz, 
.borderaz {
    display: none !important;
}
/* حذف دکمه خرید در ردیف تبلیغات هتل - نسخه بدون خطا */
.advertise.advertise_typing ~ .select,
.resu .advertise_typing ~ .select {
    display: none !important;
}
/* ۱. مخفی کردن عدد اضافی بدون آسیب به بقیه */
.advertise_typing span {
    display: none !important;
}

/* ۲. وسط‌چین کردن متن لینک فقط در بخش تبلیغات */
.advertise_typing {
    text-align: center !important;
}

.advertise_typing a {
    display: block !important;
    width: 100% !important;
    float: none !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    color: #cc0033 !important;
    font-weight: bold !important;
}
/* حذف منوی بالایی (هتل و صفحه اصلی) */
#other_menu {
    display: none !important;
}
.reserve_sidebar {
    border-radius: 14px !important;
    overflow: hidden !important;
    border: 8px solid #e20943 !important; /* رنگ قاب دور سایدبار */
    background: #e20943 !important;
        box-shadow: 0 0px 30px rgba(0, 0, 0, 0.30) !important;
}

.reserve_sidebar .reserve_sidebar_inn {
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #f9f9f9 !important;
}

.reserve_sidebar .sb_title {
    background: #e20943 !important; /* فقط نوار عنوان بالا */
    border-radius: 0 !important;
}

.reserve_sidebar .reserve_sidebar_cnt,
.reserve_sidebar .res_widg_main,
.reserve_sidebar .res_widg,
.reserve_sidebar .res_widg_inn,
.reserve_sidebar .fly_info_list,
.reserve_sidebar .support_tell {
    background: #f9f9f9 !important;
}
.reserve_sidebar .reserve_sidebar_inn {
    border: 0px solid #e20943 !important; /* رنگ قاب دور سایدبار */
}
 /* فیلدها  */
/* محدود کردن استایل‌ها فقط به فرم مسافر و وسط‌چین کردن محتوا */
#frmPnr .text_box {
    border-radius: 8px !important; /* کمی کمتر کردم تا با استایل فعلی‌تان هماهنگ‌تر باشد */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid #ccc !important;
    padding: 0 10px !important;
    transition: box-shadow 0.3s ease !important;
    
    /* اضافه شدن ویژگی‌های وسط‌چین */
    text-align: center !important; 
}

/* برای اطمینان از وسط‌چین شدن placeholder در مرورگرهای مختلف */
#frmPnr .text_box::placeholder {
    text-align: center !important;
}

/* افکت جذاب‌تر هنگام کلیک روی فیلد (Focus) */
#frmPnr .text_box:focus {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.30) !important; 
    border-color: #e40046 !important;
    outline: none !important;
}
/* تغییر رنگ پس‌زمینه و متن هدر جدول مسافر */
.header_pessenger {
    background-color: #e20943 !important;
    color: #ffffff !important;
}

/* برای اطمینان از اینکه سلول‌های داخل این ردیف هم رنگ پس‌زمینه را بگیرند */
.header_pessenger td {
    background-color: #e20943 !important;
    color: #ffffff !important;
}
.sr_table {
    border: none !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 0px 25px rgba(0, 0, 0, 0.25) !important;
    margin-bottom: 25px;
    background: #fff;
    transition: transform 0.3s ease;
}

.sr_table:hover {
    transform: translateY(-5px);
    box-shadow: 0 0px 30px rgba(0, 0, 0, 0.30) !important;
}

.sr_table .t_head {
    height: 100px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    border: none !important;
}

.sr_table .t_head::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    z-index: 1;
}

.sr_table .t_head .t_table {
    position: relative;
    z-index: 2;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 21px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    background: transparent !important;
    border: none !important;
    width: 100%;
    text-align: center;
}

.sr_tables_box .sr_table:nth-child(1) .t_head {
    background-image: url("https://khaterehgasht.ir/wp-content/uploads/2024/09/2151037386.jpg") !important;
}

.sr_tables_box .sr_table:nth-child(2) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/tehran.jpeg") !important;
}

.sr_tables_box .sr_table:nth-child(3) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/gorgan.jpeg") !important;
}

.sr_tables_box .sr_table:nth-child(4) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/kish.jpeg") !important;
}

.sr_tables_box .sr_table:nth-child(5) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/mashhad.jpeg") !important;
}

.sr_tables_box .sr_table:nth-child(6) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/sari.jpeg") !important;
}
.sr_tables_box .sr_table:nth-child(7) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/shiraz.jpg") !important;
}
.sr_tables_box .sr_table:nth-child(8) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/tabriz.jpeg") !important;
}
.sr_tables_box .sr_table:nth-child(9) .t_head {
    background-image: url("https://khaterehgasht.ir/belotelicon/ahvaz.jpg") !important;
}
.sr_table .content {
    border: none !important;
    padding: 10px 5px !important;
}

.sr_table a.line {
    border-bottom: 1px solid #f2f2f2 !important;
    margin: 0 10px;
    padding: 12px 5px !important;
}

.sr_table a.line:last-child {
    border-bottom: none !important;
}
/* =========================================================
   Belotel Flight Result Styles
   Scoped only to flight results page
   Scope wrapper:
   #content_result #search_result_from
   ========================================================= */


/* ================================
   Flight list card layout
   ================================ */

#content_result #search_result_from .resu {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    min-height: 60px !important;
    padding: 10px 10px !important;
    overflow: visible !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 15px rgba(0,0,0,.30) !important;
    background: #fff !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
    position: relative !important;
    z-index: 1 !important;
}

#content_result #search_result_from .resu:hover {
    z-index: 999 !important;
    transform: scale(1.01) !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.16) !important;
}

#content_result #search_result_from .resu > * {
    min-width: 0 !important;
}


/* ================================
   Price block
   ================================ */

#content_result #search_result_from .price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 44px !important;
    min-width: 44px !important;
    padding: 0px 0px !important;
    margin: 0 8px !important;
                background: #f0f0f0 !important;

}

#content_result #search_result_from .price span {
    line-height: 1.35 !important;
}

#content_result #search_result_from .price .icon11 {
    margin-top: 2px !important;
}


/* ================================
   Date / User blocks
   ================================ */

#content_result #search_result_from .date,
#content_result #search_result_from .user {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 40px !important;
    white-space: nowrap !important;
}

#content_result #search_result_from .date {
    flex-direction: row-reverse !important;
}


/* custom icons */

#content_result #search_result_from .date i.icon.icon-time,
#content_result #search_result_from .user span.icon.icon-seat {
    width: 20px !important;
    height: 20px !important;
    display: inline-block !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    font-size: 0 !important;
    color: transparent !important;
}

#content_result #search_result_from .date i.icon.icon-time {
    background-image: url("https://khaterehgasht.ir/belotelicon/clocknew.png") !important;
}

#content_result #search_result_from .user span.icon.icon-seat {
    background-image: url("https://khaterehgasht.ir/belotelicon/seatnew.png") !important;
}

#content_result #search_result_from .date i.icon.icon-time::before,
#content_result #search_result_from .user span.icon.icon-seat::before {
    content: none !important;
    display: none !important;
}


/* ================================
   Code / tooltip / logo area
   ================================ */

#content_result #search_result_from .code {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

#content_result #search_result_from .code_inn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 48px !important;
    white-space: nowrap !important;
    margin-right: 15px !important;
}

#content_result #search_result_from .info_parvaz.efitooltip_bg {
    position: relative !important;
}


/* ================================
   Tooltip
   ================================ */

#content_result #search_result_from .efitooltip {
    position: absolute !important;
    top: calc(100% + 1px) !important;
    right: -1px !important;
    z-index: 2000 !important;
    width: 520px !important;
    max-width: 520px !important;
    background-color: #ffffff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 15px !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 22px rgba(0,0,0,.22) !important;
}

#content_result #search_result_from .resu:hover .efitooltip {
    z-index: 2700 !important;
}


/* ================================
   Buy button area
   ================================ */

#content_result #search_result_from .select {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 0 0 12px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
    line-height: 0 !important;
}

#content_result #search_result_from .select::before,
#content_result #search_result_from .select::after,
#content_result #search_result_from .select a::after {
    content: none !important;
    display: none !important;
}

#content_result #search_result_from .select a {
    position: relative !important;
    z-index: 2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: 78px !important;
    height: 34px !important;
    padding: 0 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #cf2020 !important;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    box-shadow: 0 1px 19px rgba(0,0,0,.32) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

#content_result #search_result_from .select a:hover {
    transform: translateY(-1px) !important;
    background: #d62828 !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.44) !important;
}

#content_result #search_result_from .select a::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 16px !important;
    background-image: url("https://khaterehgasht.ir/belotelicon/buyticket.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}


/* ================================
   Fine tuning for row spacing
   ================================ */

#content_result #search_result_from .resu .select + * {
    margin-top: 0 !important;
}


/* ================================
   Responsive adjustments
   ================================ */

@media (max-width: 992px) {
    #content_result #search_result_from .resu {
        min-height: 112px !important;
    }

    #content_result #search_result_from .efitooltip {
        width: 420px !important;
        max-width: 420px !important;
    }
}

@media (max-width: 758) {
    #content_result #search_result_from .resu {
        min-height: 104px !important;
        padding: 8px 8px !important;
    }

    #content_result #search_result_from .price {
        min-width: 86px !important;
        min-height: 44px !important;
    }

    #content_result #search_result_from .select {
        margin-left: 12px !important;
    }

    #content_result #search_result_from .select a {
        width: 76px !important;
        height: 32px !important;
        font-size: 12px !important;
    }

    #content_result #search_result_from .efitooltip {
        width: 320px !important;
        max-width: 320px !important;
    }
}

/* =========================================================
   FINAL SAFE FIX
   scoped to flight list only
   ========================================================= */

#content_result #search_result_from .resu {
    align-items: center !important;
    flex-wrap: nowrap !important;
}

#content_result #search_result_from .code {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    gap: 12px !important;
}

#content_result #search_result_from .info_parvaz.efitooltip_bg {
    margin-right: 6px !important;
    flex: 0 0 auto !important;
}

#content_result #search_result_from .code_inn {
    margin-right: 8px !important;
}

#content_result #search_result_from .select {
    flex: 0 0 auto !important;
    margin-left: 16px !important;
    align-self: center !important;
}

/* keep tooltip from colliding with next row */
#content_result #search_result_from .efitooltip {
    margin-top: 6px !important;
}

/* desktop / tablet */
@media (min-width: 769px) {
    #content_result #search_result_from .resu {
        flex-wrap: nowrap !important;
    }
}

/* mobile */
@media (max-width: 768px) {
    #content_result #search_result_from .resu {
        flex-wrap: nowrap !important;
    }

    #content_result #search_result_from .code {
        gap: 8px !important;
    }

    #content_result #search_result_from .info_parvaz.efitooltip_bg {
        margin-right: 3px !important;
    }

    #content_result #search_result_from .code_inn {
        margin-right: 6px !important;
    }

    #content_result #search_result_from .select {
        margin-left: 8px !important;
        margin-top: 0 !important;
    }

    #content_result #search_result_from .select a {
        transform: scale(0.96) !important;
        transform-origin: center !important;
    }

    #content_result #search_result_from .efitooltip {
        width: min(420px, 92vw) !important;
        max-width: 92vw !important;
    }
}
#content_result #search_result_from .rot1 {
    position: relative !important;
    top: -9px !important;
}
.submenu.submenu_blog {
    display: none !important;
}
.svgsep {
    display: none !important;
}
/* =========================================================
   MOBILE FIX - KEEP BUY BUTTON IN ROW
   Scoped to flight result list only
   ========================================================= */

@media (max-width: 768px) {
  /* کارت نتیجه: اجازه بده محتوا جمع شود ولی دکمه نیفتد خط بعد */
  #content_result #search_result_from .resu {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 6px !important;
    min-height: 84px !important;
    padding: 8px 8px !important;
    position: relative !important;
    overflow: visible !important;
  }

  /* ستون قیمت: خیلی کوچک‌تر شود */
  #content_result #search_result_from .price {
    flex: 0 0 68px !important;
    min-width: 64px !important;
    min-height: 68px !important;
    margin: 0 4px !important;
        border-radius: 10px !important;
            background: #f0f0f0 !important;
                box-shadow: 0 0px 15px rgba(0,0,0,.30) !important;

    
  }

  /* محتوای وسط: اجازه shrink داشته باشد */
  #content_result #search_result_from .code,
  #content_result #search_result_from .date,
  #content_result #search_result_from .user {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }

  /* دکمه خرید باید حتماً جا بماند */
  #content_result #search_result_from .select {
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-self: center !important;
    position: relative !important;
    z-index: 3 !important;
  }

  #content_result #search_result_from .select a {
    width: 72px !important;
    height: 30px !important;
    font-size: 12px !important;
    padding: 0 8px !important;
    white-space: nowrap !important;
  }

  /* tooltip قوانین: کوچک و کنترل‌شده */
  #content_result #search_result_from .efitooltip {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    right: 0 !important;
    left: auto !important;
    width: min(320px, calc(100vw - 16px)) !important;
    max-width: calc(100vw - 16px) !important;
    z-index: 9999 !important;
  }

  /* فضای پایین لیست برای اینکه فوتر/بخش بعدی روی آن نیفتد */
  #content_result #search_result_from {
    padding-bottom: 140px !important;
  }

  body {
    padding-bottom: 120px !important;
  }
}
/* =========================================================
   MOBILE TOOLTIP CENTERED FIX
   ========================================================= */
@media (max-width: 768px) {
  #content_result #search_result_from .efitooltip {
    position: fixed !important; /* ثابت نسبت به صفحه */
    top: 50% !important;        /* وسط عمودی */
    left: 50% !important;       /* وسط افقی */
    transform: translate(-50%, -50%) !important; /* اصلاح نقطه اتکا */
    
    width: 90vw !important;     /* ۹۰ درصد عرض صفحه */
    max-width: 400px !important;/* حداکثر عرض منطقی */
    height: auto !important;
    max-height: 80vh !important; /* ارتفاع کنترل شده */
    
    overflow-y: auto !important; /* اسکرول داخلی اگر متن زیاد بود */
    z-index: 99999 !important;   /* بالاتر از همه */
    
    right: auto !important;
    margin: 0 !important;
  }
}
@media (max-width: 768px) {
  #content_result #search_result_from ~ #footer,
  #footer {
    display: none !important;
  }
}
#content_result #search_result_from .select a {
    flex-direction: row-reverse !important;
}
@media (max-width: 768px) {
  #content_result #search_result_from img.plan_icon {
    width: auto !important;
    height: auto !important;
    max-width: 45px !important;
    max-height: 45px !important;
    object-fit: contain !important;
    flex: 0 0 auto !important;
    aspect-ratio: auto !important;
    margin-left: -19px !important;
    
  }

  #content_result #search_result_from .plan_icon_bg {
    width: auto !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
}
#from_to_popup .calcu_table .box a.price .igniconf {
    width: 45px !important;
    height: 30px !important;
    display: block !important;
    background-image: url('https://khaterehgasht.ir/belotelicon/noticketnow.png') !important; /* آدرس آیکون خودت */
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: contain !important;
    opacity: 1 !important;
    margin: 0 auto !important;
    position: relative !important;
    left: 0 !important;
    top: 0 !important;
}
/* 1. بزرگ کردن باکس اصلی و حذف محدودیت‌های پیش‌فرض */
#from_to_popup .calcu_table .box {
    height: 60px !important; /* ارتفاع کل باکس */
    padding: 0 !important;   /* حذف پدینگ برای اینکه لینک کل فضای باکس را بگیرد */
    overflow: hidden !important;
    border-radius: 11px !important;
    box-shadow: 0 0px 19px rgba(0,0,0,0.28) !important;
    border: 0px solid #eee !important;
    display: flex !important;
    flex-direction: column !important;
}

/* 2. لینک قیمت را وادار می‌کنیم تمام ارتفاع باکس را پر کند */
#from_to_popup a.price {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* محتوا را وسط‌چین عمودی می‌کند */
    align-items: center !important;
    height: 100% !important;   /* پر کردن کل ارتفاع باکس */
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    text-decoration: none !important;
    font-size: 15px !important;
    font-weight: bold !important;
    color: #444 !important;
    transition: all 0.3s ease;
    line-height: 1 !important;
}

/* 3. استایل کلمه تومان که داخل Span است */
#from_to_popup a.price span {
    display: block !important;
    font-size: 11px !important;
    font-weight: normal !important;
    margin-top: 2px !important;
    color: #888 !important; /* رنگ خاکستری برای حالت عادی */
    line-height: 1 !important;
}

/* 4. استایل ارزان‌ترین قیمت (حالا کل باکس سبز می‌شود) */
#from_to_popup a.price.minpriceshow {
    background-color: #27ae60 !important;
    color: #fff !important;
    border: none !important;
}

/* وقتی باکس سبز است، کلمه تومان هم سفید شود */
#from_to_popup a.price.minpriceshow span {
    color: rgba(255,255,255,0.9) !important;
}

/* 5. تنظیم فاصله تاریخ و روز در بالای باکس */
#from_to_popup .calcu_table .titrwrap {
    margin-bottom: 3px !important;
    display: block !important;
}
