/*
Theme Name: Hoteller Child
Theme URI: https://nianstudio.ir
Description: Ferdows international hotel
Version: 1.0
Author: Nianstudio
Author URI: https://nianstudio.ir
License: GNU General Public License
License URI: https://nianstudio.ir
Text Domain: hoteller
Template: hoteller
*/
#wp-admin-bar-wp-logo {
    display: none !important;
}

/* ---------- کانتینر اصلی فرم با افکت شیشه‌ای ---------- */
.mphb_sc_search-form {
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 28px 30px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end; /* همه فیلدها در پایین تراز شوند */
    gap: 16px 20px;
    direction: rtl;
    max-width: 960px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

/* ---------- هر پاراگراف (فیلد) به صورت انعطاف‌پذیر ---------- */
.mphb_sc_search-form > p {
    flex: 1 1 0; /* رشد مساوی برای پر کردن فضا */
    min-width: 140px; /* حداقل عرض برای جلوگیری از خیلی کوچک شدن */
    margin: 0;
}

/* ---------- دکمه جستجو نباید رشد کند، عرض مشخص دارد ---------- */
.mphb_sc_search-submit-button-wrapper {
    flex: 0 0 auto; /* اندازه ثابت */
    min-width: 120px;
}

/* ---------- برچسب‌ها (با فونت ریز و شفاف) ---------- */
.mphb_sc_search-form label {
    display: block;
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 5px;
}

.mphb_sc_search-form label abbr {
    color: rgba(255, 200, 200, 0.9);
    text-decoration: none;
    margin-right: 3px;
}

/* ---------- ورودی‌ها (تاریخ و سلکت) با رنگ خاکستری برای متن ---------- */
.mphb_sc_search-form input[type="text"],
.mphb_sc_search-form select {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.95rem;
    font-weight: 400;
    color: #6c757d !important; /* رنگ خاکستری برای متن */
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    outline: none;
    transition: all 0.25s ease;
    height: 48px;
    box-sizing: border-box;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

/* تغییر رنگ placeholder به خاکستری روشن‌تر */
.mphb_sc_search-form input[type="text"]::placeholder {
    color: #a0aec0 !important;
    opacity: 1;
}

/* ---------- فوکس فیلدها ---------- */
.mphb_sc_search-form input[type="text"]:focus,
.mphb_sc_search-form select:focus {
    background: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(255, 255, 255, 0.3);
    color: #343a40 !important; /* هنگام فوکس کمی تیره‌تر برای خوانایی */
}

/* ---------- استایل سلکت با فلش سفارشی ---------- */
.mphb_sc_search-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234b5563' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 38px;
    cursor: pointer;
    color: #6c757d !important;
}

/* ---------- دکمه جستجو ---------- */
.mphb_sc_search-form input[type="submit"] {
    width: 100%;
    padding: 0 20px;
    height: 48px;
    background: rgba(255, 255, 255, 0.25) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
}

.mphb_sc_search-form input[type="submit"]:hover {
    background: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.mphb_sc_search-form input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ---------- پیام راهنما (فیلدهای الزامی) ---------- */
.mphb-required-fields-tip {
    flex: 0 0 100% !important;
    margin-bottom: 0 !important;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: right;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.mphb-required-fields-tip abbr {
    color: rgba(255, 180, 180, 0.8);
    text-decoration: none;
}

/* ---------- ریسپانسیو برای موبایل (تبدیل به ستونی) ---------- */
@media (max-width: 640px) {
    .mphb_sc_search-form {
        padding: 20px 16px 16px;
        gap: 14px;
        border-radius: 20px;
    }

    .mphb_sc_search-form > p {
        flex: 1 1 100%;
        min-width: 0;
    }

    .mphb_sc_search-submit-button-wrapper {
        flex: 1 1 100%;
        min-width: 0;
        margin-top: 4px;
    }

    .mphb_sc_search-form input[type="submit"] {
        height: 52px;
        font-size: 1rem;
    }
}

/* ---------- (اختیاری) آیکون تقویم برای تاریخ‌ها ---------- */

.mphb_sc_search-check-in-date input,
.mphb_sc_search-check-out-date input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%236b7a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 14px center;
    padding-left: 42px;
    background-size: 18px;
}
/* ================================================
   استایل شیشه‌ای پروگرس بار رزرو
   کاملاً سازگار با قالب Hoteller و RTL
   بهینه برای فونت IRANYekanx
   ================================================ */

/* ============================================
    بخش 1: کانتینر اصلی پروگرس بار
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
    margin-top: 30px !important;
    padding: 16px 20px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
    position: relative !important;
    overflow: hidden !important;
    direction: rtl !important;
    min-height: 56px !important;
    width: 100% !important;
    padding-bottom: 16px !important;
}

/* حذف دکوراسیون‌های اضافی */
#page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar::before,
#page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar::after {
    display: none !important;
}

/* ============================================
    بخش 2: هر استپ (مرحله)
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 6px 12px !important;
    border-radius: 12px !important;
    position: relative !important;
    z-index: 1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex: 0 1 auto !important;
    cursor: default !important;
    direction: rtl !important;
    background: transparent !important;
    border: none !important;
    min-width: 50px !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    box-sizing: border-box !important;
}

/* ============================================
    بخش 3: استپ غیرفعال
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step {
    opacity: 0.5 !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-number {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-label {
    color: rgba(255, 255, 255, 0.35) !important;
    font-size: 13px !important;
}

/* ============================================
    بخش 4: استپ فعال
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active {
    opacity: 1 !important;
    background: rgba(6, 182, 212, 0.08) !important;
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active .step-number {
    background: linear-gradient(135deg, #06b6d4, #3b82f6) !important;
    color: #ffffff !important;
    border-color: transparent !important;
    box-shadow: 0 2px 16px rgba(6, 182, 212, 0.25) !important;
    transform: scale(1.05) !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active .step-label {
    color: #ffffff !important;
    font-weight: 500 !important;
    opacity: 1 !important;
}

/* ============================================
    بخش 5: استپ تکمیل شده
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.completed {
    opacity: 0.8 !important;
    background: transparent !important;
    border: none !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.completed .step-number {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border-color: rgba(16, 185, 129, 0.1) !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.completed .step-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* ============================================
    بخش 6: شماره مرحله (دایره)
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-number {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
    font-family: 'IRANYekanx', 'IRANYekan', 'Renner', -apple-system, sans-serif !important;
    order: 1 !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
}

/* ============================================
    بخش 7: برچسب مرحله (با فونت IRANYekanx)
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-label {
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    transition: all 0.3s ease !important;
    color: rgba(255, 255, 255, 0.35) !important;
    font-family: 'IRANYekanx', 'IRANYekan', 'Renner', -apple-system, sans-serif !important;
    white-space: nowrap !important;
    order: 0 !important;
    line-height: 1.5 !important;
    opacity: 0.8 !important;
    display: inline-block !important;
    visibility: visible !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================
    بخش 8: خطوط اتصال بین استپ‌ها (نازک‌تر)
   ============================================ */

#page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
    content: '' !important;
    position: absolute !important;
    left: -14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 24px !important;
    height: 1.5px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-radius: 2px !important;
    transition: all 0.4s ease !important;
    display: block !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active:not(:last-child)::after {
    background: rgba(6, 182, 212, 0.25) !important;
    height: 1.5px !important;
    box-shadow: none !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step.completed:not(:last-child)::after {
    background: rgba(16, 185, 129, 0.2) !important;
}

/* ============================================
    بخش 9: اصلاح برای LTR
   ============================================ */

body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar {
    direction: ltr !important;
}

body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step {
    direction: ltr !important;
}

body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-number {
    order: 0 !important;
}

body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-label {
    order: 1 !important;
}

body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
    left: auto !important;
    right: -14px !important;
}

/* ============================================
    بخش 10: موبایل و تبلت
   ============================================ */

@media (max-width: 768px) {
    #page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar {
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 2px !important;
        padding: 10px 12px !important;
        border-radius: 14px !important;
        min-height: 48px !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        margin-top: 20px !important;
        padding-bottom: 10px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step {
        padding: 4px 8px !important;
        gap: 6px !important;
        min-width: 36px !important;
        flex: 0 0 auto !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-number {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        font-size: 10px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-label {
        font-size: 11px !important;
        white-space: nowrap !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
        width: 14px !important;
        left: -10px !important;
        height: 1px !important;
    }

    body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
        left: auto !important;
        right: -10px !important;
    }
}

@media (max-width: 480px) {
    #page_caption .page_title_wrapper .page_title_inner .themegoods-progress-bar {
        padding: 8px 10px !important;
        border-radius: 12px !important;
        min-height: 42px !important;
        gap: 0 !important;
        margin-top: 16px !important;
        padding-bottom: 8px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step {
        padding: 3px 6px !important;
        gap: 4px !important;
        min-width: 30px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-number {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        font-size: 9px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step .step-label {
        font-size: 10px !important;
    }

    #page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
        width: 10px !important;
        left: -7px !important;
        height: 1px !important;
    }

    body:not(.rtl) #page_caption .page_title_wrapper .page_title_inner .themegoods-step:not(:last-child)::after {
        left: auto !important;
        right: -7px !important;
    }
}

/* ============================================
    بخش 11: حذف استایل‌های پیش‌فرض قالب
   ============================================ */

/* حذف border دایره‌ها و پس‌زمینه‌های قدیمی */
#page_caption .page_title_wrapper .page_title_inner .themegoods-step {
    border: none !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    margin-bottom: 0 !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step:before {
    display: none !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step:after {
    display: none !important;
}

/* حذف استایل‌های اضافی عناوین */
#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active:before,
#page_caption .page_title_wrapper .page_title_inner .themegoods-step.active + .step:before {
    display: none !important;
}

/* حذف محتوای متنی که با :before ایجاد شده */
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(1):before,
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(2):before,
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(3):before,
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(4):before {
    content: none !important;
}

/* ============================================
    بخش 12: انیمیشن ملایم
   ============================================ */

@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step {
    animation: stepFadeIn 0.3s ease forwards !important;
}

#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(1) {
    animation-delay: 0.15s !important;
}
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(2) {
    animation-delay: 0.1s !important;
}
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(3) {
    animation-delay: 0.05s !important;
}
#page_caption .page_title_wrapper .page_title_inner .themegoods-step:nth-child(4) {
    animation-delay: 0s !important;
}
/* فونت بدنه و تمام المان‌های داخل آن */
body, p, a, button, span, div {
    font-family: 'IRANSharp', sans-serif;
}

/* فونت تگ‌های هدینگ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANSharp', sans-serif;
}