/* ── تقویم شمسی نوبت‌گذاری ── */
.bn-shamsi-cal {
    border-radius: 18px;
    border: 1px solid rgba(53, 89, 68, 0.12);
    background: linear-gradient(160deg, #fffdf9 0%, #f7f3ee 100%);
    padding: 12px;
    box-shadow: 0 8px 24px rgba(16, 37, 29, 0.06);
}

.bn-shamsi-cal--compact {
    padding: 10px;
}

.bn-shamsi-cal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.bn-shamsi-cal__title {
    text-align: center;
    line-height: 1.25;
}

.bn-shamsi-cal__title strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 900;
    color: var(--bn-green-deep, #274842);
}

.bn-shamsi-cal__title span {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--bn-gold, #c9a66b);
}

.bn-shamsi-cal__nav {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(53, 89, 68, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--bn-green-deep, #274842);
    cursor: pointer;
    display: grid;
    place-items: center;
}

.bn-shamsi-cal__nav:hover {
    border-color: rgba(201, 166, 107, 0.45);
    color: var(--bn-gold-deep, #9a7b1a);
}

.bn-shamsi-cal__week,
.bn-shamsi-cal__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.bn-shamsi-cal__week {
    margin-bottom: 6px;
}

.bn-shamsi-cal__week span {
    text-align: center;
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--bn-text-3, #8a918a);
}

.bn-shamsi-cal__pad {
    display: block;
    min-height: 34px;
}

.bn-shamsi-cal__day {
    position: relative;
    min-height: 36px;
    border: 1px solid transparent;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--bn-green-deep, #274842);
    font-size: 0.82rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding: 0;
}

.bn-shamsi-cal--compact .bn-shamsi-cal__day {
    min-height: 32px;
    font-size: 0.78rem;
}

.bn-shamsi-cal__day.is-today {
    border-color: rgba(201, 166, 107, 0.5);
    box-shadow: inset 0 0 0 1px rgba(201, 166, 107, 0.25);
}

.bn-shamsi-cal__day.is-selected {
    background: linear-gradient(145deg, #1a6b52, #2aab82);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(30, 122, 92, 0.28);
}

.bn-shamsi-cal__day.is-marked:not(.is-selected) {
    background: rgba(231, 245, 238, 0.9);
    border-color: rgba(42, 171, 130, 0.22);
}

.bn-shamsi-cal__day.is-disabled {
    opacity: 0.34;
    cursor: not-allowed;
}

.bn-shamsi-cal__dot {
    position: absolute;
    bottom: 4px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2aab82;
}

.bn-shamsi-cal__day.is-selected .bn-shamsi-cal__dot {
    background: #fff;
}

.bn-shamsi-cal__picked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 10px 0 0;
    padding-top: 8px;
    border-top: 1px dashed rgba(53, 89, 68, 0.12);
    font-size: 0.76rem;
    color: var(--bn-text-2, #6f756f);
}

.bn-shamsi-cal__picked strong {
    color: var(--bn-green-deep, #274842);
}

.bn-shamsi-cal-field {
    display: grid;
    gap: 8px;
}

/* ── جدول برنامه نوبت شمسی ── */
.dp-schedule-table-shell {
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(53, 89, 68, 0.1);
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(16, 37, 29, 0.05);
}

.dp-schedule-table-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(145deg, rgba(243, 248, 245, 0.95), rgba(255, 253, 249, 0.98));
    border-bottom: 1px solid rgba(53, 89, 68, 0.08);
}

.dp-schedule-table-summary span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(53, 89, 68, 0.08);
    font-size: 0.74rem;
    font-weight: 800;
    color: var(--bn-green-deep, #274842);
}

.dp-schedule-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dp-schedule-table,
.bk-schedule-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.dp-schedule-table thead th,
.bk-schedule-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 11px 12px;
    text-align: right;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    color: var(--bn-green-deep, #274842);
    background: linear-gradient(180deg, #f3f8f5, #eef4f0);
    border-bottom: 1px solid rgba(53, 89, 68, 0.12);
    white-space: nowrap;
}

.dp-schedule-table tbody td,
.bk-schedule-table tbody td {
    padding: 12px;
    vertical-align: top;
    border-bottom: 1px solid rgba(53, 89, 68, 0.07);
    color: var(--bn-text, #24322f);
}

.dp-schedule-table tbody tr:hover,
.bk-schedule-table tbody tr:hover {
    background: rgba(243, 248, 245, 0.55);
}

.dp-schedule-table__date strong {
    display: block;
    font-size: 0.86rem;
    font-weight: 900;
    color: var(--bn-green-deep, #274842);
}

.dp-schedule-table__date small {
    display: block;
    margin-top: 2px;
    font-size: 0.7rem;
    color: var(--bn-text-3, #8a918a);
}

.dp-schedule-table__wd {
    font-weight: 800;
    color: var(--bn-gold-deep, #9a7b1a);
    white-space: nowrap;
}

.dp-schedule-table__stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    font-weight: 900;
}

.dp-schedule-table__stat--free {
    background: rgba(42, 171, 130, 0.12);
    color: #1e7a5c;
}

.dp-schedule-table__stat--booked {
    background: rgba(198, 57, 43, 0.1);
    color: #a33b2e;
}

.dp-schedule-table__slots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.dp-schedule-layout {
    display: grid;
    gap: 14px;
}

@media (min-width: 900px) {
    .dp-schedule-layout {
        grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
        align-items: start;
    }
}

.dp-schedule-lux__form-grid {
    display: grid;
    gap: 10px;
}

@media (min-width: 640px) {
    .dp-schedule-lux__form-grid--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ── Schedule wizard (luxury 3-step) ── */
.dp-schedule-wizard .dp-schedule-lux__head h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 900;
}

.dp-schedule-wizard__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 18px 0 22px;
}

.dp-schedule-wizard__step {
    text-align: center;
    padding: 12px 8px;
    border-radius: 16px;
    border: 1.5px solid rgba(201, 168, 76, 0.28);
    background: #fffefb;
}

.dp-schedule-wizard__step span {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
    background: #e8ece9;
    color: #5a6b62;
    margin-bottom: 6px;
}

.dp-schedule-wizard__step em {
    display: block;
    font-style: normal;
    font-weight: 900;
    font-size: 0.82rem;
    color: #3d4f46;
}

.dp-schedule-wizard__step.is-active {
    border-color: rgba(45, 106, 79, 0.55);
    box-shadow: 0 8px 24px rgba(45, 106, 79, 0.14);
}

.dp-schedule-wizard__step.is-active span {
    background: linear-gradient(135deg, #2d6a4f, #40916c);
    color: #fff;
}

.dp-schedule-wizard__step.is-done span {
    background: #b7dfc9;
    color: #1b4332;
}

.dp-schedule-wizard__panel {
    padding: 20px;
    border-radius: 20px;
    border: 1.5px solid rgba(201, 168, 76, 0.3);
    background: linear-gradient(165deg, #fffefb 0%, #f8f4ea 100%);
    margin-bottom: 18px;
}

.dp-schedule-wizard__lead {
    font-weight: 900;
    font-size: 1.05rem;
    margin: 0 0 14px;
    color: #1b4332;
}

.dp-schedule-wizard__choices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

@media (min-width: 560px) {
    .dp-schedule-wizard__choices {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.dp-schedule-wizard__choice {
    padding: 18px 12px;
    border-radius: 16px;
    border: 2px solid rgba(201, 168, 76, 0.35);
    background: #fff;
    font-weight: 900;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.dp-schedule-wizard__choice:hover {
    transform: translateY(-2px);
}

.dp-schedule-wizard__choice.is-selected {
    border-color: #2d6a4f;
    background: rgba(45, 106, 79, 0.12);
    color: #1b4332;
    box-shadow: 0 8px 20px rgba(45, 106, 79, 0.18);
}

.dp-schedule-wizard__times {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 10px;
    max-height: 360px;
    overflow: auto;
    padding: 4px;
    margin-bottom: 14px;
}

.dp-schedule-wizard__time {
    padding: 14px 8px;
    border-radius: 14px;
    border: 1.8px solid rgba(201, 168, 76, 0.35);
    background: #fff;
    font-weight: 900;
    font-size: 0.95rem;
    cursor: pointer;
}

.dp-schedule-wizard__time.is-selected {
    border-color: #2d6a4f;
    background: rgba(45, 106, 79, 0.14);
    color: #1b4332;
}

.dp-schedule-wizard__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.dp-schedule-wizard__actions .bn-btn--lux {
    flex: 1;
    min-height: 52px;
    font-weight: 900;
    font-size: 1rem;
}

.dp-schedule-wizard__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.dp-schedule-wizard__chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1.5px solid rgba(45, 106, 79, 0.35);
    background: rgba(45, 106, 79, 0.1);
    font-weight: 900;
    font-size: 0.88rem;
    cursor: pointer;
}

.dp-schedule-wizard__empty {
    margin: 0;
    font-weight: 700;
    color: #6b7c73;
}

.bn-shamsi-cal-mount--lux .bn-shamsi-cal__day {
    min-height: 46px;
    font-size: 1rem;
    font-weight: 900;
}

.bn-shamsi-cal-mount--lux .bn-shamsi-cal__title strong {
    font-size: 1.2rem;
    font-weight: 900;
}

.form-control--lux {
    min-height: 48px;
    font-weight: 800;
    font-size: 1rem;
}

.bn-btn--lux {
    min-height: 52px;
    font-weight: 900 !important;
    font-size: 1rem !important;
    border-radius: 14px !important;
}

.dp-schedule-wizard__table {
    margin-top: 8px;
}

.dp-schedule-wizard__time-tools {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

