/* ==========================================================
   Private-lesson booking page (احجز درس خاص) — the instructor
   profile redesigned into a booking landing. Wears the unified
   purple wallpaper; hero + pricing + features use the deep-purple
   glass identity. Palette locked to #ffffff / #f5d8ff / #6a0d7a /
   #c13fd8 + gold #f1c87a. Arabic/RTL baseline, logical properties.
   ========================================================== */

.private-lesson-page {
    position: relative;
    z-index: 1;
    --lp-deep: #4a0f66;
    --lp-purple: #6a0d7a;
    --lp-magenta: #c13fd8;
    --lp-pink: #f5d8ff;
    --lp-gold: #f1c87a;
    --lp-card-a: #2a1140;
    --lp-card-b: #170a28;
}

/* ============================ HERO ============================ */
.pl-hero {
    position: relative;
    margin-block-end: 44px;
    padding-block: clamp(40px, 7vw, 104px);
    text-align: center;
    background: radial-gradient(120% 150% at 80% 0%, #7a2b96 0%, var(--lp-purple) 40%, var(--lp-deep) 80%, #350a4e 100%);
    border-end-start-radius: 40px;
    border-end-end-radius: 40px;
    overflow: hidden;
}
.pl-hero::before {
    content: "";
    position: absolute;
    inset-block-start: -30%;
    inset-inline-end: -10%;
    width: 55%;
    height: 130%;
    background: radial-gradient(circle, rgba(241, 200, 122, 0.10) 0%, transparent 62%);
    pointer-events: none;
}
.pl-hero__inner { position: relative; z-index: 2; max-width: 720px; margin-inline: auto; }
.pl-hero__eyebrow {
    display: inline-block;
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 700;
    color: var(--lp-pink);
    margin-block-end: 12px;
}
.pl-hero__title {
    font-size: clamp(38px, 5.2vw, 68px);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 18px;
    text-shadow: 0 6px 28px rgba(0, 0, 0, 0.3);
}
.pl-hero__sub {
    font-size: clamp(15px, 1.5vw, 19px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 auto 28px;
    max-width: 560px;
}
.pl-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    border-radius: 16px;
    background: #ffffff;
    color: var(--lp-purple);
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
    transition: transform 0.18s ease, color 0.18s ease;
}
.pl-hero__cta:hover { transform: translateY(-2px); color: var(--lp-magenta); }
.pl-hero__cta .icons { color: currentColor; }

/* ========================= BOOKING ========================= */
.pl-booking { margin-block-end: 12px; }
.pl-booking__grid {
    display: grid;
    grid-template-columns: 1.35fr 0.95fr;
    gap: 24px;
    align-items: start;
}
/* Design: calendar on the LEFT, pricing on the RIGHT (RTL). */
.pl-booking__right { order: 1; }
.pl-booking__left { order: 2; }
.pl-section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-block-end: 16px;
}
.pl-section-head .icons { color: var(--lp-pink); }

/* --- calendar + times card (left) --- */
.pl-cal-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(193, 63, 216, 0.16);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(106, 13, 122, 0.14);
}
.pl-cal-card .profile-reserve-meeting { display: flex; justify-content: center; }
.pl-times-wrap { margin-block-start: 18px; }
.pl-times-wrap .p-16 { border: 0 !important; padding: 0 !important; }
.pl-times-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--lp-purple);
    margin-block-end: 12px;
}

/* persian-datepicker overrides → clean purple calendar */
.pl-cal-card .datepicker-plot-area {
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    width: 100%;
    font-family: inherit !important;
}
.pl-cal-card .datepicker-navigator {
    border-bottom: 0 !important;
    margin-block-end: 8px;
}
.pl-cal-card .datepicker-navigator .pwt-btn,
.pl-cal-card .datepicker-navigator button {
    color: var(--lp-purple) !important;
    font-weight: 800 !important;
    font-size: 16px !important;
    background: transparent !important;
}
.pl-cal-card .datepicker-navigator .pwt-btn-next,
.pl-cal-card .datepicker-navigator .pwt-btn-prev {
    width: 34px; height: 34px;
    border-radius: 10px !important;
    background: rgba(106, 13, 122, 0.07) !important;
}
.pl-cal-card table.table-days td,
.pl-cal-card .datepicker-day-view td {
    padding: 3px !important;
}
.pl-cal-card .datepicker-day-view .header .title,
.pl-cal-card table.table-days thead td {
    color: var(--lp-magenta) !important;
    font-weight: 700 !important;
    font-size: 12px !important;
}
.pl-cal-card .datepicker-day-view td span,
.pl-cal-card table.table-days td span {
    width: 40px !important; height: 40px !important;
    line-height: 40px !important;
    border-radius: 12px !important;
    color: #3a2148 !important;
    font-weight: 600 !important;
    transition: background 0.15s ease, color 0.15s ease;
}
.pl-cal-card .datepicker-day-view td span:hover {
    background: rgba(193, 63, 216, 0.12) !important;
}
.pl-cal-card .datepicker-day-view td span.other-month,
.pl-cal-card .datepicker-day-view td span.disabled {
    color: rgba(106, 13, 122, 0.28) !important;
}
.pl-cal-card .datepicker-day-view td span.selected,
.pl-cal-card .datepicker-day-view td span.today.selected {
    background: linear-gradient(135deg, var(--lp-magenta), var(--lp-purple)) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(106, 13, 122, 0.35) !important;
}
.pl-cal-card .datepicker-day-view td span.today {
    border: 1px solid rgba(193, 63, 216, 0.5) !important;
}

/* time slot pills (radio + label) */
.pl-cal-card #availableTimes { gap: 10px !important; }
.pl-cal-card .profile-available-times-item input { position: absolute; opacity: 0; pointer-events: none; }
.pl-cal-card .profile-available-times-item label {
    border: 1px solid rgba(106, 13, 122, 0.22) !important;
    color: var(--lp-purple) !important;
    background: #ffffff !important;
    cursor: pointer;
    margin: 0;
    transition: all 0.15s ease;
}
.pl-cal-card .profile-available-times-item label:hover { border-color: var(--lp-magenta) !important; }
.pl-cal-card .profile-available-times-item input:checked + label {
    background: linear-gradient(135deg, var(--lp-magenta), var(--lp-purple)) !important;
    border-color: transparent !important;
    color: #ffffff !important;
}
.pl-cal-card .profile-available-times-item label.unavailable {
    opacity: 0.4;
    text-decoration: line-through;
    cursor: not-allowed;
}
.pl-cal-card .js-proceed-to-booking-btn {
    background: linear-gradient(135deg, var(--lp-purple), var(--lp-magenta)) !important;
    border: 0 !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    padding-block: 14px !important;
}
.pl-cal-card .js-before-select-day-card .bg-primary-30 { background: rgba(193, 63, 216, 0.14) !important; }
.pl-cal-card .js-before-select-day-card h3 { color: var(--lp-purple) !important; }

/* --- pricing (right) --- */
.pl-pricing { position: relative; }
.pl-members-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--lp-magenta), var(--lp-purple));
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 999px;
    margin-block-end: 16px;
    box-shadow: 0 8px 20px rgba(106, 13, 122, 0.25);
}
.pl-pricing__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.pl-price-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 26px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, var(--lp-card-a) 0%, var(--lp-card-b) 100%);
    border: 1px solid rgba(193, 63, 216, 0.28);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
    color: #ffffff;
}
.pl-price-card.is-featured {
    background: linear-gradient(180deg, #ffffff 0%, var(--lp-pink) 100%);
    border: 1.5px solid var(--lp-magenta);
    transform: translateY(-10px);
    box-shadow: 0 26px 52px rgba(106, 13, 122, 0.30);
}
.pl-price-card__icon {
    width: 54px; height: 54px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 16px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, var(--lp-magenta), var(--lp-purple));
    margin-block-end: 16px;
}
.pl-price-card__icon .icons { color: #ffffff; transform: rotate(-45deg); }
.pl-price-card.is-featured .pl-price-card__icon { background: linear-gradient(135deg, var(--lp-purple), var(--lp-magenta)); }
.pl-price-card__title {
    font-size: 17px;
    font-weight: 800;
    margin-block-end: 6px;
    color: #ffffff;
}
.pl-price-card.is-featured .pl-price-card__title { color: var(--lp-purple); }
.pl-price-card__desc {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.66);
    margin-block-end: 16px;
}
.pl-price-card.is-featured .pl-price-card__desc { color: rgba(106, 13, 122, 0.7); }
.pl-price-card__price {
    font-size: 34px;
    font-weight: 800;
    margin-block-end: 20px;
    color: #ffffff;
}
.pl-price-card.is-featured .pl-price-card__price { color: var(--lp-purple); }
.pl-price-card__price * { color: inherit !important; font-size: inherit !important; }
.pl-price-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(245, 216, 255, 0.4);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    margin-block-start: auto;
    transition: all 0.15s ease;
}
.pl-price-card__btn:hover { background: rgba(255, 255, 255, 0.20); color: #ffffff; }
.pl-price-card.is-featured .pl-price-card__btn {
    background: linear-gradient(135deg, var(--lp-purple), var(--lp-magenta));
    border-color: transparent;
    color: #ffffff;
}
.pl-price-card.is-featured .pl-price-card__btn:hover { filter: brightness(1.08); }

.pl-cancel-note {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-block-start: 20px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(193, 63, 216, 0.16);
    color: var(--lp-purple);
    font-size: 13px;
    font-weight: 600;
}
.pl-cancel-note .icons { color: var(--lp-magenta); }

/* ===================== FEATURES BANNER ===================== */
.pl-features {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-block-start: 48px;
    padding: clamp(24px, 3.5vw, 44px);
    border-radius: 32px;
    overflow: hidden;
    background: radial-gradient(120% 160% at 90% 20%, #7a2b96 0%, var(--lp-purple) 45%, var(--lp-deep) 88%);
    box-shadow: 0 24px 50px rgba(106, 13, 122, 0.28);
}
.pl-features__intro {
    flex: 0 0 auto;
    align-self: center;
    text-align: center;
    padding-inline: 20px;
    order: 1;
}
.pl-features__intro h3 { color: #ffffff; font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.pl-features__intro p { color: var(--lp-pink); font-size: 14px; margin: 0; }
.pl-features__list {
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: center;
    order: 3;
}
.pl-feature { text-align: center; }
.pl-feature__icon {
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: rgba(245, 216, 255, 0.12);
    border: 1px solid rgba(245, 216, 255, 0.24);
}
.pl-feature__icon .icons { color: var(--lp-pink); }
.pl-feature h4 { color: #ffffff; font-size: 16px; font-weight: 800; margin: 0 0 4px; }
.pl-feature p { color: rgba(255, 255, 255, 0.72); font-size: 12.5px; margin: 0; }
.pl-features__figure { flex: 0 0 auto; align-self: flex-end; order: 2; }
.pl-features__figure img { max-height: 230px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 991px) {
    .pl-booking__grid { grid-template-columns: 1fr; }
    .pl-section-head { color: #ffffff; }
    .pl-features { flex-direction: column; text-align: center; }
    .pl-features__intro, .pl-features__list, .pl-features__figure { order: initial; }
    .pl-features__figure { display: none; }
}
@media (max-width: 640px) {
    .pl-pricing__row { grid-template-columns: 1fr; }
    .pl-price-card.is-featured { transform: none; }
    .pl-features__list { grid-template-columns: 1fr; }
}
