/* Salon Seat Booking Style (RTL Persian) */
.ssb-container {
    direction: rtl;
    text-align: right;
    font-family: inherit;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ssb-header {
    border-bottom: 2px solid #edf2f7;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.ssb-header h2 {
    margin: 0 0 10px 0;
    color: #1a202c;
    font-size: 22px;
}

.ssb-event-meta {
    display: flex;
    gap: 25px;
    color: #4a5568;
    font-size: 14px;
}

/* Legend */
.ssb-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #f7fafc;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 25px;
    font-size: 13px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.seat-sample {
    width: 20px;
    height: 20px;
    border-radius: 4px 4px 2px 2px;
    display: inline-block;
}

.seat-sample.regular { background: #3182ce; }
.seat-sample.vip { background: #d69e2e; }
.seat-sample.selected { background: #38a169; }
.seat-sample.reserved { background: #a0aec0; }

/* Stage */
.ssb-stage {
    text-align: center;
    margin: 30px auto;
    max-width: 60%;
}

.stage-bar {
    background: linear-gradient(180deg, #4a5568, #2d3748);
    color: #ffffff;
    padding: 8px;
    border-radius: 8px 8px 30px 30px;
    font-weight: bold;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

/* Hall Map Grid */
.ssb-hall-map {
    overflow-x: auto;
    padding: 20px 10px;
    background: #fcfcfc;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    margin-bottom: 25px;
}

.ssb-seats-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 500px;
    align-items: center;
}

.ssb-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.row-label {
    width: 65px;
    font-size: 12px;
    color: #718096;
    font-weight: 600;
    text-align: center;
}

.row-seats {
    display: flex;
    gap: 8px;
}

/* Seats */
.ssb-seat {
    width: 32px;
    height: 32px;
    border-radius: 6px 6px 3px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    color: #ffffff;
    transition: all 0.2s ease;
    user-select: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ssb-seat.regular {
    background-color: #3182ce;
}
.ssb-seat.regular:hover {
    background-color: #2b6cb0;
    transform: scale(1.1);
}

.ssb-seat.vip {
    background-color: #d69e2e;
}
.ssb-seat.vip:hover {
    background-color: #b7791f;
    transform: scale(1.1);
}

.ssb-seat.selected {
    background-color: #38a169 !important;
    transform: scale(1.12);
    box-shadow: 0 0 10px rgba(56, 161, 105, 0.6);
}

.ssb-seat.reserved, .ssb-seat.sold, .ssb-seat.held-other {
    background-color: #cbd5e0 !important;
    color: #718096;
    cursor: not-allowed;
    box-shadow: none;
    transform: none !important;
}

/* Checkout Bar */
.ssb-checkout-bar {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.ssb-selected-summary, .ssb-total-amount {
    font-size: 15px;
    color: #2d3748;
}

#ssb-total-price {
    color: #2b6cb0;
    font-weight: bold;
    font-size: 18px;
}

.ssb-btn-primary {
    background: #38a169;
    color: #ffffff !important;
    border: none;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.ssb-btn-primary:hover:not(:disabled) {
    background: #2f855a;
}

.ssb-btn-primary:disabled {
    background: #a0aec0;
    cursor: not-allowed;
}

#ssb-action-msg {
    margin-top: 6px;
    font-size: 13px;
}
.ssb-msg-error { color: #e53e3e; }
.ssb-msg-success { color: #38a169; }
