.elementor-9223 .elementor-element.elementor-element-b83d93b{--display:flex;--padding-top:50px;--padding-bottom:60px;--padding-left:20px;--padding-right:20px;}@media(max-width:767px){.elementor-9223 .elementor-element.elementor-element-b83d93b{--padding-top:20px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}@media(min-width:768px){.elementor-9223 .elementor-element.elementor-element-b83d93b{--content-width:1300px;}}/* Start custom CSS for shortcode, class: .elementor-element-0245d63 *//*
 * Front styles for Pediatric Booking (v2.3.4)
 * ───────────────────────────────────────────
 * شخصی‌سازی سریع با CSS Custom Properties:
 */



.pbf-btn {
    background: var(--pbf-primary);
    color: #fff;
    border: none;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer
}

.pbf-inline-cal {
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px
}

/* Alerts */
.pbf-error,
.pbf-alert {
    background: #fde8e8;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 10px;
    border-radius: 8px
}

.pbf-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    padding: 10px;
    border-radius: 8px
}

.pbf-muted {
    color: var(--pbf-muted)
}

.pbf-center {
    text-align: center
}

.pbf-badge {
    display: inline-block;
    background: #eef;
    padding: 6px 10px;
    border-radius: 8px;
    margin: 6px 0
}

.pbf-link {
    background: none;
    border: 1px solid var(--pbf-danger);
    color: var(--pbf-danger);
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    padding: 8px 14px
}

/* Modal */
.pbf-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999
}

.pbf-modal .box {
    background: #fff;
    border-radius: 12px;
    padding: 18px;
    min-width: 320px;
    max-width: 92%
}

.pbf-modal .row {
    margin: 10px 0
}

.pbf-modal .actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap
}

/* === PBF calendar addons (non-destructive) ==========================
   فقط افکت‌های تکمیلی؛ به استایل قبلیِ تقویم دست نمی‌زند
   - نمایش برچسب ظرفیت/تکمیل‌شده
   - غیرفعال‌سازی کلیک برای روزهای پر (JS کلاس is-disabled را اضافه می‌کند)
   - رنگ جمعه‌ها (تعطیل)
=================================================================== */

.pbf-day__cap {
    display: block;
    font-size: 12px;
    line-height: 1.2;
    margin-top: 6px;
    opacity: .8;
}

.pbf-day.is-holiday .pbf-day__num {
    color: #e11d48;
    /* جمعه‌ها قرمز */
}

.pbf-day.is-disabled {
    pointer-events: none;
    opacity: .5;
    /* فقط کم‌رنگ؛ ظاهر قبلی حفظ می‌شود */
    filter: grayscale(0.15);
}

.pbf-day.is-full .pbf-day__cap {
    color: #e11d48;
    font-weight: 600;
    /* متن «تکمیل شده» پررنگ و قرمز */
}

/* اگر خواستی فاصله‌ی برچسب با عدد روز کمتر/بیشتر شود */
.pbf-day .pbf-day__num {
    margin-top: 2px;
}

/**---------------------------------------**/

.pbf-title {
    width: fit-content;
    background: linear-gradient(90.51deg, #5635DD -2.48%, #E63573 99.68%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.pbf-form h1 {
    font-size: 33px;
    font-weight: 700;
    color: #0c0c0c;
    margin: 20px 0 20px;
}

/* Container & layout */
.pbf-form {
    direction: rtl;
}

.pbf-form .pbf-mom-row {
    display: flex;
    gap: 10px;
}

.pbf-form .pbf-row {
    margin-bottom: 12px
}

.pbf-form .pbf-mom-row .pbf-row {
    width: 100%;
}

.pbf-form form {
    display: flex;
    gap: 30px;
}

.pbf-column {
    width: 50%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.pbf-note {
    font-size: 18px;
    font-weight: 500;
    line-height: 33px;
    color: #0c0c0c;
    margin: 0px 0 35px;
}

.pbf-note li {
    margin-right: -23px;
    margin-top: 13px;
}

.pbf-row label, .pbf-row-status label, .pbf-column label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #0c0c0c;
    font-size: 16px;
}

.pbf-column > label {
    /*display: none;*/
}

.pbf-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #0c0c0c !important;
    border-radius: 12px !important;
    box-shadow: inset 0px 0px 2px #ddd;
    height: 50px;
}

.pbf-row-status {
    margin-top: 20px;
}

.pbf-seg {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 600;
    color: #0c0c0c;
    border: 1px solid #0c0c0c !important;
    border-radius: 12px !important;
    box-shadow: inset 0px 0px 2px #ddd;
    min-height: 50px;
    padding: 10px 10px 0;
}

.pbf-seg label {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 8px 8px 4px;
    cursor: pointer;
    font-weight: 500;
    color: #0c0c0c;
}

@media (max-width: 1024px) {
    .pbf-form form {
        flex-direction: column;
        gap: 35px;
    }
    
    .pbf-column {
        width: 100%;
    }
    
    .pbf-note {
        margin: 0px 0 40px;
    }
    
    .pbf-column > label {
        display: block;
    }
}

@media (max-width: 767px) {
    .pbf-form h1 {
        font-size: 28px;
        line-height: 45px;
        margin: 15px 0 0px;
    }
    
    .pbf-form .pbf-mom-row {
        flex-direction: column;
    }
    
    .pbf-form .pbf-mom-row {
        gap: 20px;
    }
    
    .pbf-seg { 
        height: auto;
        gap: 0px;
        padding: 10px 10px 8px;
    }
    
    .pbf-seg label { 
        line-height: 27px;
        margin: 0;
    }
    
    .pbf-note {
        margin: 10px 0 35px;
    }
}

/*.pbf-inline-cal { --pbf-col-min: 52px; }*/

@media (max-width: 480px){
  /* کانتینر تقویم قابل اسکرول افقی */
  .pbf-inline-cal{
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* اسکرول نرم iOS */
    padding-bottom: 6px; /* فضا برای اسکرول‌بار احتمالی */
    scrollbar-width: thin; /* فایرفاکس */
  }

  /* گپ‌ها کمی کمتر شوند */
  .pbf-cal__weekhead, .pbf-cal__grid { gap: 8px; }

  /* گرید ۷ ستونه بماند اما حداقل عرض کل گرید را نگه داریم تا اسکرول فعال شود */
  .pbf-cal__grid{
    grid-template-columns: repeat(7, minmax(52px), 1fr));
    min-width: calc(7 * var(--pbf-col-min) + 6 * 8px); /* 7 ستون + 6 گپ */
  }

  /* ارتفاع/پدینگ سلول‌ها کوچک‌تر، ولی لمس‌پذیر باقی بماند */
  .pbf-day{
    min-height: 56px;
    padding: 6px 4px 8px;
    border-radius: 12px;
  }

  .pbf-day__num{ font-size: 14px; }
  .pbf-day__cap{ font-size: 11px; margin-top: 4px; }

  /* دکمه‌های ناوبری و تیتر ماه جمع‌وجورتر */
  .pbf-cal__nav{ width: 36px; height: 36px; border-radius: 10px; }
  .pbf-cal__title{ font-size: 15px; }
}


/**-------------------------------------**/

.pbf-confirm-title {
    font-size: 22px;
    font-weight: 600;
    border-bottom: 1px solid #0c0c0c;
    padding-bottom: 5px;
    width: fit-content;
}

.pbf-btn {
    background: #0c0c0c !important;
    color: #fff !important;
}

#pbf-date-inline {
    height: 100%;
    display: flex;
    flex-direction: column;
    /*justify-content: space-evenly;*/
}

/*.pbf-cal-head {*/
/*    padding-bottom: 9px !important;*/
/*    border-bottom: 1px solid #0c0c0c;*/
/*    margin-bottom: 13px !important;*/
/*}*//* End custom CSS */