/**
 * RTL styles for Mahzar plugin.
 */
.mahzar-booking-container {
    direction: rtl;
    text-align: right;
    font-family: 'Vazirmatn', Tahoma, Arial, sans-serif;
}
.mahzar-booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    direction: rtl;
}
.mahzar-step {
    padding: 0.5rem 1rem;
    background: #e0d8c8;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #5d6d7e;
}
.mahzar-step.mahzar-step-active {
    background: var(--mahzar-emerald, #0d7c66);
    color: white;
}
.mahzar-service-card {
    border: 2px solid var(--mahzar-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: border-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.mahzar-service-card:hover,
.mahzar-service-card.mahzar-selected {
    border-color: var(--mahzar-emerald);
    background: #f0faf6;
}
.mahzar-service-name {
    font-weight: 600;
    flex: 1;
}
.mahzar-service-meta {
    color: #666;
    font-size: 0.9rem;
    white-space: nowrap;
}
.mahzar-service-fee {
    color: var(--mahzar-emerald, #0d7c66);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}
.mahzar-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
}
.mahzar-slot-btn {
    padding: 0.75rem;
    border: 2px solid var(--mahzar-border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s;
}
.mahzar-slot-btn:hover,
.mahzar-slot-btn.mahzar-selected {
    border-color: var(--mahzar-emerald);
    background: var(--mahzar-emerald);
    color: white;
}
.mahzar-slot-btn.mahzar-unavailable {
    opacity: 0.4;
    cursor: not-allowed;
}
.mahzar-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.mahzar-field label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.mahzar-field input,
.mahzar-field textarea,
.mahzar-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--mahzar-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    direction: rtl;
}
.mahzar-summary-box {
    background: #f9f6ee;
    border: 1px solid var(--mahzar-border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.mahzar-summary-box p {
    margin-bottom: 0.5rem;
}
.mahzar-my-appointments table {
    width: 100%;
    border-collapse: collapse;
}
.mahzar-my-appointments th,
.mahzar-my-appointments td {
    padding: 0.75rem;
    border-bottom: 1px solid var(--mahzar-border);
    text-align: right;
}
.mahzar-tracking {
    background: #f9f6ee;
    border: 1px solid var(--mahzar-border);
    border-radius: 8px;
    padding: 1.5rem;
}

/* ── Slider ── */
.mahzar-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    direction: ltr;
}
.mahzar-slider-track {
    display: flex;
    transition: transform 0.6s ease;
}
.mahzar-slider-slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 4rem 2rem;
    background-size: cover;
    background-position: center;
}
.mahzar-slider-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}
.mahzar-slider-slide > * { position: relative; z-index: 1; }
.mahzar-slider-slide h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.mahzar-slider-slide p { font-size: 1.1rem; margin-bottom: 1.5rem; opacity: 0.9; }
.mahzar-slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    transform: translateY(-50%);
    z-index: 2;
}
.mahzar-slider-arrows button {
    background: rgba(255,255,255,0.7);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.2s;
}
.mahzar-slider-arrows button:hover { background: #fff; }
.mahzar-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 1rem 0;
}
.mahzar-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.2s;
}
.mahzar-slider-dots button.mahzar-dot-active {
    background: #fff;
    transform: scale(1.2);
}

