@font-face {
    font-family: 'Vazirmatn';
    src: url('/fonts/Vazirmatn.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --salon-rose-gold: #E8A598;
    --salon-rose-gold-dark: #D48B7B;
    --salon-rose-gold-light: #FBECE8;
    --salon-gold: #D4AF37;
    --salon-gold-light: #F3E5AB;
    --salon-charcoal: #231F20;
    --salon-espresso: #2C2627;
    --salon-ivory: #FAF8F5;
    --salon-pearl: #FFFFFF;
    --salon-card-bg: rgba(255, 255, 255, 0.88);
    --salon-glass-border: rgba(232, 165, 152, 0.28);
    --salon-shadow-soft: 0 10px 30px -5px rgba(44, 38, 39, 0.06);
    --salon-shadow-luxury: 0 20px 45px -10px rgba(212, 139, 123, 0.22);
}

* {
    font-family: 'Vazirmatn', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    box-sizing: border-box;
}

body.luxury-salon-app {
    background: radial-gradient(circle at top right, #FFF4EE 0%, #FAF8F5 50%, #F5EFEB 100%);
    color: var(--salon-charcoal);
    direction: rtl;
    text-align: right;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Glassmorphism Cards */
.salon-glass-card {
    background: var(--salon-card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--salon-glass-border);
    border-radius: 1.25rem;
    box-shadow: var(--salon-shadow-soft);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.salon-glass-card:hover {
    box-shadow: var(--salon-shadow-luxury);
    border-color: rgba(212, 139, 123, 0.45);
}

/* Luxury Hero Gradient (Self-contained, no external CDN) */
.salon-hero-gradient {
    background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.22) 0%, transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(232, 165, 152, 0.24) 0%, transparent 50%),
                linear-gradient(135deg, #231F20 0%, #3A2A2D 55%, #1E1B1D 100%);
    border-radius: 1.75rem;
    color: #FFFFFF;
}

/* Gradient Buttons */
.btn-rose-gold {
    background: linear-gradient(135deg, #E8A598 0%, #D48B7B 100%) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 15px rgba(212, 139, 123, 0.35) !important;
    transition: all 0.3s ease !important;
}

.btn-rose-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 139, 123, 0.5) !important;
}

.btn-champagne {
    background: linear-gradient(135deg, #F3E5AB 0%, #D4AF37 100%) !important;
    color: #231F20 !important;
    font-weight: 600 !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;
    transition: all 0.3s ease !important;
}

.btn-champagne:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.45) !important;
}

/* Persian Badges */
.badge-gold {
    background: rgba(212, 175, 55, 0.15);
    color: #B8860B;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-rose {
    background: rgba(232, 165, 152, 0.2);
    color: #C06B5B;
    border: 1px solid rgba(232, 165, 152, 0.4);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Time Slot Selection Pill */
.time-slot-pill {
    cursor: pointer;
    border: 1.5px solid rgba(212, 139, 123, 0.25);
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
    background: #FFFFFF;
}

.time-slot-pill:hover:not(.disabled) {
    border-color: var(--salon-rose-gold-dark);
    transform: scale(1.03);
    box-shadow: 0 6px 18px rgba(212, 139, 123, 0.2);
}

.time-slot-pill.selected {
    background: linear-gradient(135deg, #E8A598 0%, #D48B7B 100%);
    color: #FFFFFF !important;
    border-color: #D48B7B;
    box-shadow: 0 6px 20px rgba(212, 139, 123, 0.4);
}

.time-slot-pill.disabled {
    background: #F3F4F6;
    border-color: #E5E7EB;
    color: #9CA3AF;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Persian Number Styling */
.persian-nums {
    font-feature-settings: "ss01";
}

/* Fix MudBlazor Outlined Input Label alignment in RTL (including MudDialog portals) */
[dir="rtl"] .mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined,
.mud-rtl .mud-input-control > .mud-input-control-input-container > .mud-input-label-outlined {
    left: unset !important;
    right: 0 !important;
    transform-origin: top right !important;
}

[dir="rtl"] .mud-input-outlined-border legend,
.mud-rtl .mud-input-outlined-border legend {
    text-align: right !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
    background: #E8A598;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D48B7B;
}

/* Luxury Salon Navigation */
.salon-appbar {
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom: 1px solid rgba(232, 165, 152, 0.25) !important;
    box-shadow: 0 4px 20px rgba(44, 38, 39, 0.04) !important;
    height: 72px !important;
}

.salon-appbar .mud-button {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.salon-nav-link {
    white-space: nowrap !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #231F20 !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
}

.salon-nav-link:hover {
    color: #D48B7B !important;
    background: rgba(232, 165, 152, 0.12) !important;
}

.salon-nav-btn {
    white-space: nowrap !important;
    font-size: 0.85rem !important;
    flex-shrink: 0 !important;
}

/* Mobile Sticky Bottom Bar */
@media (max-width: 768px) {
    .mobile-booking-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        border-top: 1px solid rgba(232, 165, 152, 0.25);
        padding: 0.75rem 1.25rem;
        z-index: 1000;
        box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.08);
    }
}