#bb-booking-app {
    max-width: 480px;
    margin: 0 auto;
    font-family: inherit;
    direction: rtl;
}

.bb-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.bb-step-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e0d8cc;
    transition: background 0.25s;
}

.bb-step-dot.active {
    background: #b08d57;
}

.bb-step h3 {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: center;
    color: #3a3a3a;
}

.bb-step input[type="text"],
.bb-step input[type="tel"],
.bb-step input[type="date"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

.bb-btn-primary {
    width: 100%;
    padding: 13px;
    background: #b08d57;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.bb-btn-primary:hover {
    background: #96763f;
}

.bb-btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.bb-gender-options {
    display: flex;
    gap: 12px;
}

.bb-btn-option {
    flex: 1;
    padding: 18px;
    border: 2px solid #e0d8cc;
    border-radius: 10px;
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.bb-btn-option:hover,
.bb-btn-option.selected {
    border-color: #b08d57;
    background: #fdf8f1;
}

.bb-service-card {
    border: 1px solid #e5e0d5;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.bb-service-card.selected {
    border-color: #b08d57;
    background: #fdf8f1;
}

.bb-service-card .bb-service-name {
    font-weight: 600;
    font-size: 15px;
}

.bb-service-card .bb-service-meta {
    font-size: 13px;
    color: #888;
    margin-top: 4px;
}

.bb-staff-select {
    margin-top: 10px;
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.bb-field-label {
    font-size: 13px;
    color: #777;
    margin: 10px 0 4px;
}

.bb-summary-meta {
    font-size: 13px;
    color: #888;
    display: inline-block;
    margin-top: 2px;
}

.bb-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 14px 0;
    max-height: 260px;
    overflow-y: auto;
    padding-left: 4px; /* فاصله از اسکرول‌بار تا تایم آخر بریده نشود */
}

.bb-time-grid::-webkit-scrollbar {
    width: 6px;
}

.bb-time-grid::-webkit-scrollbar-thumb {
    background: #e0d8cc;
    border-radius: 3px;
}

.bb-time-slot {
    padding: 10px 4px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}

.bb-time-slot.unavailable {
    background: #f3f3f3;
    color: #bbb;
    cursor: not-allowed;
    text-decoration: line-through;
}

.bb-time-slot.selected {
    background: #b08d57;
    color: #fff;
    border-color: #b08d57;
}

.bb-error {
    color: #c0392b;
    font-size: 13px;
    margin-top: 6px;
}

.bb-note {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin: 14px 0;
}

.bb-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.bb-summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.bb-summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    font-weight: 700;
    font-size: 16px;
}

.bb-success-icon {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: #2ecc71;
    color: #fff;
    font-size: 28px;
    margin: 0 auto 16px;
}

.bb-btn-back {
    display: block;
    background: none;
    border: none;
    color: #96763f;
    font-size: 13px;
    cursor: pointer;
    padding: 0 0 14px;
    margin: 0;
}

.bb-btn-back:hover {
    text-decoration: underline;
}

.bb-summary-item {
    align-items: flex-start;
}

.bb-summary-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-right: 8px;
}

.bb-link-edit,
.bb-link-delete {
    background: none;
    border: none;
    font-size: 12px;
    cursor: pointer;
    padding: 4px 0;
}

.bb-link-edit {
    color: #96763f;
}

.bb-link-delete {
    color: #c0392b;
}

.bb-link-edit:hover,
.bb-link-delete:hover {
    text-decoration: underline;
}
