/* Ultimate Service Booking - Main Styles */

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #f59e0b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    
    /* Premium Gold/Champagne Accents */
    --gold-color: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a88b4a;
    --champagne: #f7e7ce;
    --champagne-light: #fdf6eb;
    --rose-gold: #b76e79;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-hover: 0 8px 24px -4px rgb(0 0 0 / 0.15), 0 4px 8px -2px rgb(0 0 0 / 0.1);
    --shadow-gold: 0 4px 20px -2px rgba(201, 169, 98, 0.25);
    --radius: 0.5rem;
    --radius-lg: 14px;
    --card-border: 1px solid var(--gray-200);
    --card-padding: 24px;
    
    /* Premium Serif Font */
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* Unified Card Styles */
.card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

.card-body {
    padding: var(--card-padding);
}

/* Base Styles */
body {
    background-color: var(--light-color);
    min-height: 100vh;
}

/* Alternating Section Backgrounds */
.section-white {
    background-color: #ffffff;
}

.section-light {
    background-color: var(--gray-100);
}

.section-cream {
    background-color: #fffbf5;
}

.section-pale-blue {
    background-color: #f0f7ff;
}

.section-pale-purple {
    background-color: #f5f3ff;
}

.section-gradient-light {
    background: linear-gradient(180deg, #ffffff 0%, var(--gray-100) 100%);
}

/* Section Spacing */
.section-padding {
    padding: 100px 0;
}

.section-padding-sm {
    padding: 70px 0;
}

/* Section Headers with Eyebrow Labels */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-dark);
    background: linear-gradient(135deg, var(--champagne-light), var(--champagne));
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--gold-light);
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* RTL Adjustments for Section Headers */
[dir="rtl"] .section-eyebrow {
    letter-spacing: 0.05em;
}

[dir="rtl"] .section-title {
    font-family: 'Cairo', var(--font-serif);
}

/* Hero Section - Premium Gradient */
.hero-section {
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 25%, #818cf8 50%, #6366f1 75%, #4f46e5 100%);
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse at 60% 80%, rgba(201, 169, 98, 0.1) 0%, transparent 40%);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 3.25rem;
    font-weight: 700;
    margin-bottom: 1.75rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

[dir="rtl"] .hero-title {
    font-family: 'Cairo', var(--font-serif);
}

/* Quick Booking Form - Premium Style */
.quick-booking-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gold-light);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
    padding: calc(var(--card-padding) + 8px);
    position: relative;
    overflow: visible;
    z-index: 10;
}

.quick-booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-color), var(--gold-light));
    border-radius: 0 0 3px 3px;
    z-index: 1;
    pointer-events: none;
}

.quick-booking-card .form-select,
.quick-booking-card .form-control {
    position: relative;
    z-index: 5;
}

.quick-booking-card .form-label {
    font-weight: 600;
    color: var(--dark-color);
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card-img-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.service-card-img-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    pointer-events: none;
}

.service-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

[dir="rtl"] .service-card-badges {
    flex-direction: row-reverse;
}

/* RTL Service Card Adjustments */
[dir="rtl"] .service-card-body {
    text-align: right;
}

[dir="rtl"] .service-card-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-card-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .service-card-actions {
    flex-direction: row-reverse;
}

.service-card-body {
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-card-title {
    font-family: var(--font-serif);
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
    line-height: 1.3;
}

.service-card-desc {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    flex: 1;
}

.service-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.service-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.service-card-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
}

.service-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-duration {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Staff Cards */
.staff-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.staff-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 4px solid var(--primary-light);
}

.staff-avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.staff-name {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.staff-rating {
    color: var(--secondary-color);
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.75rem;
    color: white;
}

/* Booking Steps */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.booking-step {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin: 0 0.5rem;
    color: var(--gray-500);
    transition: all 0.3s;
}

.booking-step.active {
    background: var(--primary-color);
    color: white;
}

.booking-step.completed {
    background: var(--success-color);
    color: white;
}

.booking-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-weight: 600;
}

[dir="rtl"] .booking-step-number {
    margin-right: 0;
    margin-left: 0.75rem;
}

/* Time Slots */
.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.time-slot {
    padding: 0.75rem;
    text-align: center;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.time-slot:hover {
    border-color: var(--primary-color);
    background: var(--gray-50);
}

.time-slot.selected {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.time-slot.unavailable {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Booking Summary */
.booking-summary {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    position: sticky;
    top: 100px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Dashboard Sidebar - Unified Card Style */
.dashboard-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    transition: all 0.3s ease;
}

.dashboard-sidebar:hover {
    box-shadow: var(--shadow-hover);
}

.dashboard-nav .nav-link {
    color: var(--gray-600);
    padding: 0.875rem 1rem;
    border-radius: var(--radius);
    margin-bottom: 0.375rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-nav .nav-link:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.dashboard-nav .nav-link.active {
    background: var(--primary-color);
    color: white;
}

.dashboard-nav .nav-link i {
    width: 20px;
    text-align: center;
}

/* RTL Dashboard Sidebar */
[dir="rtl"] .dashboard-nav .nav-link {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .dashboard-nav .nav-link i {
    margin-left: 0;
    margin-right: 0;
}

/* Stats Cards */
.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-icon.primary { background: linear-gradient(135deg, var(--primary-color), var(--primary-dark)); }
.stat-icon.success { background: linear-gradient(135deg, var(--success-color), #059669); }
.stat-icon.warning { background: linear-gradient(135deg, var(--warning-color), #d97706); }
.stat-icon.info { background: linear-gradient(135deg, var(--info-color), #2563eb); }

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
}

.stat-label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Tables */
.table-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.table-card .table {
    margin-bottom: 0;
}

.table thead th {
    background: var(--gray-50);
    border-bottom: 2px solid var(--gray-200);
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* Status Badges */
.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-pending { background: #fef3c7; color: #92400e; }
.badge-confirmed { background: #d1fae5; color: #065f46; }
.badge-completed { background: #dbeafe; color: #1e40af; }
.badge-cancelled { background: #fee2e2; color: #991b1b; }
.badge-paid { background: #d1fae5; color: #065f46; }
.badge-unpaid { background: #fee2e2; color: #991b1b; }

/* Forms */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-label {
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    transition: all 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.35);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.btn-success {
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-success:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.1rem;
}

/* Admin Sidebar */
.admin-sidebar {
    width: 260px;
    background: var(--dark-color);
    height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
    overflow: hidden;
}

.admin-sidebar > .p-4 {
    height: 72px;
    flex-shrink: 0;
}

.admin-logo-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.admin-logo-text .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #D4AF37, #C5A028);
    color: #1a1a2e;
    font-size: 20px;
    font-weight: 700;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.admin-logo-text .logo-name {
    color: white;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: 'Inter', sans-serif;
}

.admin-sidebar > nav,
.admin-sidebar > nav.nav,
.admin-sidebar > nav.nav.flex-column {
    display: block !important;
    height: calc(100vh - 72px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.4) rgba(255,255,255,0.1);
}

.admin-sidebar > nav .nav-link {
    display: flex;
    width: 100%;
    white-space: nowrap;
}

.admin-sidebar > nav::-webkit-scrollbar {
    width: 8px;
}

.admin-sidebar > nav::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
}

.admin-sidebar > nav::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.5);
    border-radius: 4px;
}

.admin-sidebar > nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.7);
}

[dir="rtl"] .admin-sidebar {
    left: auto;
    right: 0;
}

.admin-sidebar .nav-link {
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 1.25rem;
    border-radius: 0;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.admin-sidebar .nav-link:hover {
    background: rgba(255,255,255,0.08);
    color: white;
    border-left-color: rgba(255,255,255,0.3);
}

.admin-sidebar .nav-link.active {
    background: rgba(255,255,255,0.12);
    color: white;
    border-left-color: var(--accent-color, #D4AF37);
}

.admin-sidebar .nav-link i {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

[dir="rtl"] .admin-sidebar .nav-link {
    border-left: none;
    border-right: 3px solid transparent;
}

[dir="rtl"] .admin-sidebar .nav-link:hover {
    border-right-color: rgba(255,255,255,0.3);
}

[dir="rtl"] .admin-sidebar .nav-link.active {
    border-right-color: var(--accent-color, #D4AF37);
}

.admin-sidebar .nav-section-title {
    color: rgba(255,255,255,0.4);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.75rem 1.25rem 0.35rem;
    margin-top: 0.25rem;
    font-weight: 600;
}

.admin-sidebar .nav-section-title:first-child {
    margin-top: 0;
    padding-top: 0.5rem;
}

.admin-content {
    margin-left: 260px;
    padding: 2rem;
    min-height: 100vh;
    background: var(--light-color);
}

[dir="rtl"] .admin-content {
    margin-left: 0;
    margin-right: 260px;
}

/* Calendar Styles */
.fc .fc-button-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.fc .fc-button-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.fc-event {
    border-radius: var(--radius);
    padding: 0.25rem 0.5rem;
}

/* Responsive */
@media (max-width: 991px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }
    
    [dir="rtl"] .admin-sidebar {
        transform: translateX(100%);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-content {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .booking-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .booking-step {
        width: 100%;
        max-width: 300px;
        margin: 0.25rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 40px 0;
    }
    
    .quick-booking-card {
        padding: 1.5rem;
    }
    
    .time-slots {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Loyalty Points Progress */
.points-progress {
    background: var(--gray-200);
    border-radius: 50px;
    height: 10px;
    overflow: hidden;
}

.points-progress-bar {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 50px;
    transition: width 0.5s ease;
}

/* Coupon Input */
.coupon-input-group {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-group .form-control {
    text-transform: uppercase;
}

/* Payment Method Cards */
.payment-method {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.payment-method:hover {
    border-color: var(--primary-color);
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.payment-method-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--gray-600);
}

.payment-method.selected .payment-method-icon {
    color: var(--primary-color);
}

/* Payment Type Options (Deposit vs Full) */
.payment-type-option {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: white;
    position: relative;
}

.payment-type-option:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.02);
}

.payment-type-option.selected {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.payment-type-option.selected::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    color: var(--primary-color);
    font-size: 0.875rem;
}

/* Payment Status Badges */
.badge-status.badge-partial {
    background-color: #f59e0b;
    color: white;
}

.badge-status.badge-deposit_paid {
    background-color: #3b82f6;
    color: white;
}

/* Star Rating Input */
.star-rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 0.25rem;
}

.star-rating-input input[type="radio"] {
    display: none;
}

.star-rating-input label {
    font-size: 1.75rem;
    color: var(--gray-300);
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating-input label:hover,
.star-rating-input label:hover ~ label,
.star-rating-input input[type="radio"]:checked ~ label {
    color: var(--warning-color);
}

/* Star Rating Display - Unified Styling */
.star-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
}

.star-rating .fa-star,
.star-rating .fa-star-half-alt {
    color: var(--gold-color);
    font-size: 0.875rem;
}

.star-rating .far.fa-star {
    color: var(--gray-300);
    font-size: 0.875rem;
}

.star-rating-lg .fa-star,
.star-rating-lg .fa-star-half-alt,
.star-rating-lg .far.fa-star {
    font-size: 1.1rem;
}

/* Rating with Count - Unified Layout */
.rating-with-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Card Metadata - Unified Styling */
.card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
}

.card-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.card-meta-item i {
    color: var(--gray-400);
}

[dir="rtl"] .card-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .card-meta-item {
    flex-direction: row-reverse;
}

/* Booking Cards */
.booking-card {
    background: white;
    border-radius: var(--radius-lg);
    border: var(--card-border);
    padding: var(--card-padding);
    margin-bottom: 1rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.booking-card:hover {
    box-shadow: var(--shadow-hover);
}

.booking-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.booking-card-info {
    flex: 1;
}

.booking-card-ref {
    font-weight: 700;
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.booking-card-service {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.booking-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.booking-card-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.booking-card-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: right;
}

.booking-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.booking-card-price {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.booking-card-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Status-based background tints */
.booking-card.status-confirmed {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--success-color);
}

.booking-card.status-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--warning-color);
}

.booking-card.status-completed {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--info-color);
}

.booking-card.status-cancelled {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-left: 4px solid var(--danger-color);
}

[dir="rtl"] .booking-card.status-confirmed,
[dir="rtl"] .booking-card.status-pending,
[dir="rtl"] .booking-card.status-completed,
[dir="rtl"] .booking-card.status-cancelled {
    border-left: none;
    border-right: 4px solid;
}

[dir="rtl"] .booking-card.status-confirmed { border-right-color: var(--success-color); }
[dir="rtl"] .booking-card.status-pending { border-right-color: var(--warning-color); }
[dir="rtl"] .booking-card.status-completed { border-right-color: var(--info-color); }
[dir="rtl"] .booking-card.status-cancelled { border-right-color: var(--danger-color); }

/* RTL Booking Card Adjustments */
[dir="rtl"] .booking-card-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-card-info {
    text-align: right;
}

[dir="rtl"] .booking-card-badges {
    align-items: flex-start;
}

[dir="rtl"] .booking-card-date {
    text-align: left;
}

[dir="rtl"] .booking-card-meta {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-card-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-card-actions {
    flex-direction: row-reverse;
}

/* Review Card */
.review-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    margin-bottom: 1rem;
    border: var(--card-border);
    position: relative;
}

.review-card:last-child {
    margin-bottom: 0;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-card-rating {
    position: absolute;
    top: var(--card-padding);
    right: var(--card-padding);
}

[dir="rtl"] .review-card-rating {
    right: auto;
    left: var(--card-padding);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.review-author-name {
    font-weight: 600;
    color: var(--dark-color);
}

.review-date {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.review-comment {
    color: var(--gray-600);
    line-height: 1.6;
}

.review-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    margin-top: 1rem;
}

/* RTL Review Card Adjustments */
[dir="rtl"] .review-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-author {
    flex-direction: row-reverse;
    text-align: right;
}

[dir="rtl"] .review-card-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .review-comment {
    text-align: right;
}

/* Reviews Summary */
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.reviews-summary-rating {
    text-align: center;
    padding-right: 1.5rem;
    border-right: 1px solid var(--gray-200);
}

[dir="rtl"] .reviews-summary-rating {
    padding-right: 0;
    padding-left: 1.5rem;
    border-right: none;
    border-left: 1px solid var(--gray-200);
}

.reviews-summary-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.reviews-summary-count {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Service Rating Badge */
.service-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.service-rating .fa-star {
    color: var(--warning-color);
}

/* Location Cards */
.location-card {
    border-radius: var(--radius-lg);
    transition: all 0.2s ease;
    border: 2px solid var(--gray-200);
}

.location-card:hover {
    border-color: var(--primary-light);
    background-color: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.location-card.selected {
    border-color: var(--primary-color) !important;
    background-color: rgba(99, 102, 241, 0.05);
}

.location-card .card-title {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.location-card .distance-badge {
    font-size: 0.75rem;
    white-space: nowrap;
}

#use-my-location-btn {
    transition: all 0.2s ease;
}

#use-my-location-btn:hover {
    transform: scale(1.02);
}

#location-status {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Google Reviews Section */
.google-review-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: var(--card-padding);
    height: 100%;
    transition: all 0.3s ease;
    border: var(--card-border);
}

.google-review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.google-review-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.google-review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.google-review-author {
    flex: 1;
}

.google-review-author h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.google-review-stars {
    display: flex;
    gap: 0.1rem;
}

.google-review-stars .fa-star {
    color: #fbbc04;
    font-size: 0.875rem;
}

.google-badge {
    flex-shrink: 0;
}

.google-badge img {
    border-radius: 4px;
}

.google-review-text {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.google-review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--gray-100);
}

.google-posted-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.google-posted-badge .fab.fa-google {
    color: #4285f4;
}

.google-review-date {
    font-size: 0.75rem;
    color: var(--gray-400);
}

[dir="rtl"] .google-review-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .google-review-footer {
    flex-direction: row-reverse;
}

[dir="rtl"] .google-posted-badge .me-1 {
    margin-right: 0 !important;
    margin-left: 0.25rem;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 55px;
    height: 55px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    text-decoration: none;
    z-index: 999;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

@media (max-width: 576px) {
    .whatsapp-float {
        bottom: 85px;
        right: 15px;
        width: 48px;
        height: 48px;
        font-size: 1.4rem;
    }
    
    [dir="rtl"] .whatsapp-float {
        right: auto;
        left: 15px;
    }
}

/* Instagram Feed Section */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.instagram-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    display: block;
}

.instagram-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-overlay i {
    font-size: 2.5rem;
    color: white;
}

.instagram-item:hover .instagram-overlay {
    opacity: 0.9;
}

.instagram-item:hover .instagram-img {
    transform: scale(1.1);
}

@media (max-width: 991px) {
    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .instagram-overlay i {
        font-size: 1.75rem;
    }
}

/* ========================================
   ENHANCED MOBILE RESPONSIVENESS
   ======================================== */

/* Mobile Navigation */
@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .navbar .btn {
        margin: 0.5rem 1rem;
        width: calc(100% - 2rem);
    }
}

/* Mobile Hero Section - 768px breakpoint */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-content .d-flex {
        justify-content: center;
    }
    
    .hero-content .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .quick-booking-card {
        margin-top: 2rem;
    }
}

/* Mobile Service Cards */
@media (max-width: 576px) {
    .service-card-img {
        height: 160px;
    }
    
    .service-card-body {
        padding: 1rem;
    }
    
    .service-card-title {
        font-size: 1rem;
    }
    
    .service-card-price {
        font-size: 1.1rem;
    }
    
    .service-card .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
}

/* Mobile Category Cards */
@media (max-width: 576px) {
    .category-card {
        padding: 1.25rem;
    }
    
    .category-icon {
        width: 55px;
        height: 55px;
        font-size: 1.25rem;
    }
    
    .category-card h5 {
        font-size: 0.95rem;
    }
}

/* Mobile Staff Cards */
@media (max-width: 576px) {
    .staff-card {
        padding: 1rem;
    }
    
    .staff-avatar,
    .staff-avatar-placeholder {
        width: 70px;
        height: 70px;
        font-size: 1.75rem;
    }
    
    .staff-name {
        font-size: 0.95rem;
    }
}

/* Mobile Google Reviews */
@media (max-width: 576px) {
    .google-review-card {
        padding: 1rem;
    }
    
    .google-review-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .google-review-text {
        font-size: 0.875rem;
    }
}

/* Mobile Booking Steps */
@media (max-width: 576px) {
    .booking-step {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .booking-step-number {
        width: 24px;
        height: 24px;
        font-size: 0.75rem;
    }
}

/* Mobile Tables (horizontal scroll) */
@media (max-width: 768px) {
    .table-card {
        overflow-x: auto;
    }
    
    .table-card .table {
        min-width: 600px;
    }
}

/* ========================================
   ENHANCED WHY CHOOSE US SECTION
   ======================================== */
.why-choose-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.why-choose-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.why-choose-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.why-choose-card:hover::before {
    opacity: 1;
}

.why-choose-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    position: relative;
}

.why-choose-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(99, 102, 241, 0.3);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.2); opacity: 0; }
}

.why-choose-title {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.why-choose-desc {
    color: var(--gray-500);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ========================================
   ENHANCED TESTIMONIALS SECTION  
   ======================================== */
.testimonial-section {
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 5%;
    font-size: 15rem;
    color: var(--gray-100);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-rating {
    margin-bottom: 1rem;
}

.testimonial-rating .fa-star {
    color: #fbbf24;
    font-size: 1.1rem;
}

.testimonial-text {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

.testimonial-info h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.testimonial-info span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.testimonial-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--success-color);
    background: rgba(16, 185, 129, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    margin-left: auto;
}

/* Mobile Testimonials */
@media (max-width: 576px) {
    .testimonial-card {
        padding: 1.25rem;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
    }
    
    .testimonial-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   STATS COUNTER SECTION - Premium Style
   ======================================== */
.stats-section {
    background: linear-gradient(135deg, #1f2937 0%, #374151 50%, #1f2937 100%);
    padding: 5rem 0;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 50%, rgba(201, 169, 98, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 40%);
    opacity: 1;
}

.stat-counter {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.stat-counter-number {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #fff 0%, var(--gold-light) 50%, #fff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-counter-label {
    font-size: 1rem;
    opacity: 0.9;
}

@media (max-width: 576px) {
    .stat-counter-number {
        font-size: 2rem;
    }
    
    .stat-counter-label {
        font-size: 0.875rem;
    }
}
