/* ==========================================================================
   شركة علامات للاستقدام | Alamat Recruitment - Prestige Velvet & Light Corporate System
   Unified Prestige Corporate Architecture:
   Royal Velvet Burgundy Header & Footer Framing • Clean Light Content Canvas • Luxury Velvet Share Hub
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800;900&display=swap');

:root {
  /* Alamat Prestige Velvet Burgundy Brand Colors (Matching User Reference Image) */
  --primary-burgundy-darkest: #1b0204;
  --primary-burgundy-dark: #270305;
  --primary-burgundy: #490407;
  --primary-burgundy-mid: #74070a;
  --primary-burgundy-light: #aa2212;
  --primary-burgundy-soft: #fdf2f2;
  --primary-burgundy-tint: #fee2e2;
  
  /* Reference Font Colors on Dark Surfaces */
  --text-dark-heading: #FFF0DB;
  --text-dark-body: #FFDFDC;
  --text-dark-muted: #E5B3AC;
  --border-dark-subtle: rgba(255, 223, 220, 0.16);

  /* Luminous Rose & Gold Accents */
  --accent-rose: #9e1a22;
  --accent-rose-hover: #ba222a;
  --accent-pink-glow: #aa2212;
  --accent-pink-soft: #ffe4e6;
  --accent-gold: #d97706;
  --accent-gold-soft: #fef3c7;

  /* Verified & Emerald Accents */
  --primary-green: #059669;
  --primary-green-vibrant: #10b981;
  --primary-green-dark: #047857;
  --primary-green-soft: #ecfdf5;

  /* Architectural Canvas Surfaces */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --border-hairline: #e2e8f0;
  --border-subtle: #cbd5e1;

  /* High-Contrast Crisp Typography Scale */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* Royal Luxury Wave Gradients (Sampled from Reference Background) */
  --primary-gradient: linear-gradient(135deg, #aa2212 0%, #74070a 50%, #490407 100%);
  --primary-gradient-hover: linear-gradient(135deg, #c22916 0%, #8c090d 50%, #5a060a 100%);
  --primary-gradient-soft: linear-gradient(135deg, #fdf2f2 0%, #fee2e2 100%);
  --header-gradient: linear-gradient(135deg, rgba(73, 4, 7, 0.96) 0%, rgba(44, 3, 5, 0.97) 50%, rgba(27, 2, 4, 0.98) 100%);
  --footer-gradient: linear-gradient(180deg, rgba(73, 4, 7, 0.95) 0%, rgba(32, 4, 1, 0.98) 100%);

  /* Diffused Modern Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-card-hover: 0 16px 36px -6px rgba(170, 34, 18, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
  --shadow-btn: 0 4px 18px 0 rgba(170, 34, 18, 0.42);
  --shadow-btn-hover: 0 8px 24px 0 rgba(170, 34, 18, 0.55);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
}

/* ==========================================================================
   BASE STYLES & GLOBAL CANVAS (النمط الفاتح النظيف للمحتوى)
   ========================================================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body, html {
  background-color: #f8fafc !important;
  background-image: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%) !important;
  color: #0f172a !important;
  direction: rtl;
  text-align: right;
  overflow-x: hidden;
  line-height: 1.65;
  font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif !important;
}

/* Custom Selection Highlight */
::selection {
  background: #aa2212 !important;
  color: #FFF0DB !important;
}

/* Explicit Font Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif !important;
  color: #0f172a;
  text-shadow: none;
}

p, span, div, strong, b, label, table, th, td, ul, li {
  color: inherit;
}

/* FontAwesome Icons Integrity */
i[class*="fa-"], [class^="fa-"], [class*=" fa-"], .fa, .fas, .far, .fab, .fad, .fal, .fass, .fa-solid, .fa-regular {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", fontawesome !important;
}
i[class*="fa-brands"], .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
}

/* Matrix Subtle Light Pattern */
.bg-grid-pattern {
  background-image: radial-gradient(rgba(116, 7, 10, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION (هيدر عنابي ملكي فاخر بنفس خلفية وتدريجات وخط الصورة المرفقة)
   ========================================================================== */
.glass-header {
  background-color: #3b090e !important;
  background-image: 
    linear-gradient(135deg, rgba(125, 14, 23, 0.92) 0%, rgba(88, 8, 14, 0.94) 50%, rgba(52, 5, 9, 0.96) 100%),
    url('../img/velvet-waves-clean.svg') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border-bottom: 1px solid rgba(255, 223, 220, 0.22) !important;
  box-shadow: 0 10px 30px -5px rgba(52, 5, 9, 0.45) !important;
  transition: all 0.3s ease;
}

header.glass-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

@media (max-width: 768px) {
  .glass-header {
    background-image: 
      linear-gradient(135deg, rgba(125, 14, 23, 0.93) 0%, rgba(88, 8, 14, 0.95) 50%, rgba(52, 5, 9, 0.97) 100%),
      url('../img/velvet-waves-clean.svg') !important;
  }
}

.glass-header a span, .glass-header span {
  color: #FFF0DB !important;
}

.nav-link {
  color: #FFDFDC !important;
  position: relative;
  transition: all 0.2s ease;
  font-weight: 700;
}

/* Ensure desktop header nav is visible and overrides .hidden on md screens */
@media (min-width: 768px) {
  header#mainHeader nav.md\:flex,
  #mainHeader nav {
    display: flex !important;
  }
  #menuToggleBtn {
    display: none !important;
  }
}

.nav-link:hover {
  color: #FFF0DB !important;
  text-shadow: 0 0 12px rgba(170, 34, 18, 0.6);
}

.nav-link.active-nav {
  color: #ffffff !important;
  font-weight: 800 !important;
  text-shadow: 0 0 14px rgba(170, 34, 18, 0.7);
}

.nav-link.active-nav::after {
  content: '';
  position: absolute;
  bottom: -6px;
  right: 0;
  left: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #aa2212, #e5b3ac) !important;
  border-radius: 9999px;
  box-shadow: 0 0 10px rgba(170, 34, 18, 0.85);
}

/* Dropdown Navigation Menu in Header */
.nav-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 250px;
  background: rgba(39, 3, 5, 0.98) !important;
  backdrop-filter: blur(24px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
  border: 1px solid rgba(255, 223, 220, 0.18) !important;
  border-top: 2.5px solid #aa2212 !important;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.75), 0 0 20px rgba(170, 34, 18, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 60;
}

.nav-dropdown-wrapper:hover .nav-dropdown-menu,
.nav-dropdown-wrapper:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  color: #FFF0DB !important;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
  background: rgba(255, 223, 220, 0.14) !important;
  color: #ffffff !important;
  transform: translateX(-3px);
}

/* Header Action Buttons */
.glass-header button:not(.nav-link) {
  background: rgba(255, 223, 220, 0.12) !important;
  color: #FFF0DB !important;
  border: 1px solid rgba(255, 223, 220, 0.22) !important;
}

.glass-header button:not(.nav-link):hover {
  background: rgba(255, 223, 220, 0.24) !important;
  border-color: rgba(170, 34, 18, 0.7) !important;
  color: #ffffff !important;
}

/* Nav Link Button (مثل زر خدماتنا في الهيدر) بدون خلفية أو إطار نهائياً */
.glass-header button.nav-link,
.glass-header .nav-dropdown-wrapper button,
.nav-dropdown-wrapper button.nav-link {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ==========================================================================
   ADMIN SIDEBAR NAVIGATION (أزرار القائمة الجانبية في لوحة الإدارة بألوان واضحة وفاخرة)
   ========================================================================== */
aside .staff-tab-btn,
aside .staff-group-btn {
  color: #f1f5f9 !important; /* Crisp light slate for maximum contrast */
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-weight: 700 !important;
  transition: all 0.22s ease-in-out;
}

aside .staff-tab-btn i,
aside .staff-group-btn i {
  color: #fb7185 !important; /* Rose accent icon for clear contrast */
  transition: all 0.2s ease;
}

aside .staff-tab-btn:hover,
aside .staff-group-btn:hover {
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
}

aside .staff-tab-btn:hover i,
aside .staff-group-btn:hover i {
  color: #fef08a !important; /* Golden pop on hover */
}

aside .staff-group-btn.staff-group-has-active {
  background-color: rgba(170, 34, 18, 0.28) !important;
  color: #ffffff !important;
  border-color: rgba(252, 165, 165, 0.45) !important;
}

aside .staff-group-btn.staff-group-has-active i {
  color: #fde047 !important;
}

aside #staffAdminSubmenu .staff-tab-btn {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.08) !important;
}

aside .staff-tab-btn.active,
aside .staff-tab-btn.staff-tab-active {
  background: linear-gradient(135deg, #aa2212 0%, #74070a 100%) !important;
  color: #ffffff !important;
  border: 1px solid #fca5a5 !important;
  box-shadow: 0 4px 18px rgba(170, 34, 18, 0.6) !important;
  font-weight: 800 !important;
}

aside .staff-tab-btn.active i,
aside .staff-tab-btn.staff-tab-active i {
  color: #fde047 !important; /* Bright Gold accent */
}

aside .sidebar-footer-btn-home {
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}
aside .sidebar-footer-btn-home:hover {
  background-color: rgba(255, 255, 255, 0.18) !important;
  color: #ffffff !important;
}

aside .sidebar-footer-btn-logout {
  background-color: rgba(159, 18, 57, 0.45) !important;
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  color: #fecdd3 !important;
}
aside .sidebar-footer-btn-logout:hover {
  background-color: rgba(190, 18, 60, 0.7) !important;
  color: #ffffff !important;
}

.glass-header button.nav-link:hover,
.glass-header .nav-dropdown-wrapper button:hover,
.nav-dropdown-wrapper button.nav-link:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   CARDS & SURFACES (بطاقات بيضاء نقية للمحتوى لسهولة القراءة)
   ========================================================================== */
.luxury-card, .main-feature-card, .bg-white {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 18px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.03) !important;
  color: #0f172a !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.luxury-card:hover, .main-feature-card:hover {
  border-color: #cbd5e1 !important;
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -6px rgba(136, 19, 55, 0.12), 0 4px 12px rgba(15, 23, 42, 0.04) !important;
}

/* Inner Panels & Sub-Cards */
.bg-slate-50, .bg-slate-100, .bg-slate-50\/50, .bg-white\/85, .bg-white\/90, .bg-white\/95 {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Preserve translucent glass buttons inside dark burgundy surfaces (Header, Footer, Admin Sidebar, Drawer) */
#staffAdminSidebar .bg-white\/10,
.glass-header .bg-white\/10,
footer .bg-white\/10,
#drawerNav .bg-white\/10 {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #FFF0DB !important;
}

#staffAdminSidebar .bg-white\/10:hover,
.glass-header .bg-white\/10:hover,
footer .bg-white\/10:hover,
#drawerNav .bg-white\/10:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.bg-emerald-50 {
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
  color: #047857 !important;
}

/* High-Contrast Text Rules */
.text-slate-900, .text-slate-800, .text-slate-700 {
  color: #0f172a !important;
}

.text-slate-600, .text-slate-500 {
  color: #475569 !important;
}

.text-slate-400, .text-slate-300, .text-slate-200 {
  color: #64748b !important;
}

/* Pink / Rose Brand Tokens mapped to Rich Burgundy Accent */
.text-pink-300, .text-pink-400, .text-rose-400 {
  color: #74070a !important;
}

.text-pink-500, .text-rose-600 {
  color: #aa2212 !important;
}

.border-slate-100, .border-slate-200, .border-white\/10, .border-white\/15, .border-white\/20 {
  border-color: #e2e8f0 !important;
}

.border-pink-400\/30, .border-pink-400\/50, .border-pink-400 {
  border-color: #fecdd3 !important;
}

.bg-pink-950\/60, .bg-pink-950\/80, .bg-pink-950\/50, .bg-pink-950 {
  background: #fdf2f2 !important;
  border-color: #fecdd3 !important;
  color: #74070a !important;
}

/* Main Feature Card & Booking Widget (Airbnb & Airline Style) */
.main-feature-card, .main-booking-widget {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl) !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 12px rgba(136, 19, 55, 0.04) !important;
  transition: all 0.3s ease;
}

.main-booking-widget:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 20px 40px -8px rgba(136, 19, 55, 0.14), 0 6px 16px rgba(15, 23, 42, 0.05) !important;
}

/* 3 Segmented Hero Service Tabs (Side by side) */
.hero-service-tab {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 700;
  user-select: none;
}

.hero-service-tab:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #cbd5e1 !important;
}

.hero-service-tab.active {
  background: var(--primary-gradient) !important;
  color: #FFF0DB !important;
  border-color: #aa2212 !important;
  box-shadow: 0 4px 14px rgba(170, 34, 18, 0.4) !important;
  font-weight: 900;
}

.hero-service-tab.active * {
  color: #FFF0DB !important;
}

.card-geometric-bg-layer {
  display: none !important;
}

.main-feature-card-overlay {
  display: none !important;
}

.main-feature-card-content {
  position: relative;
  z-index: 2;
}

/* Quick Consultation CTA Banner (بنر الاستشارة العنابي الفاخر) */
.consultation-banner {
  background-color: #200401 !important;
  background-image: 
    linear-gradient(135deg, rgba(73, 4, 7, 0.94) 0%, rgba(44, 3, 5, 0.96) 50%, rgba(27, 2, 4, 0.98) 100%),
    url('../img/velvet-waves-clean.svg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(255, 223, 220, 0.2) !important;
  box-shadow: 0 15px 35px -5px rgba(27, 2, 4, 0.55) !important;
}

.consultation-banner h2, .consultation-banner h3 {
  color: #FFF0DB !important;
}

.consultation-banner p {
  color: #FFDFDC !important;
}

/* ==========================================================================
   HERO AIRLINE SECTION & BOOKING WIDGET (تصميم طيران الاتحاد الملكي الفاخر)
   ========================================================================== */
.hero-airline-slider {
  position: relative;
  background-color: #200401;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.hero-slide-bg.active {
  opacity: 1;
}

.hero-slide-dot {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Floating Attached Airline Tabs */
.airline-tab-btn {
  padding: 11px 24px;
  border-radius: 18px 18px 0 0;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  border-bottom: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

@media (max-width: 640px) {
  .airline-tab-btn {
    padding: 8px 10px !important;
    font-size: 11.5px !important;
    flex: 1 1 0 !important;
    max-width: 96px !important;
    min-width: 80px !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 14px 14px 0 0 !important;
    white-space: nowrap !important;
    min-height: 40px !important;
  }
}

.airline-tab-btn i,
.airline-tab-btn span {
  color: #ffffff !important;
}

.airline-tab-btn:hover {
  background: rgba(255, 255, 255, 0.32) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.airline-tab-btn.active {
  background: #ffffff !important;
  color: #74070a !important;
  border-color: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
  text-shadow: none !important;
}

.airline-tab-btn.active i,
.airline-tab-btn.active span {
  color: #74070a !important;
}

/* Airline Floating White Card */
.airline-booking-card {
  background: #ffffff !important;
  border-radius: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.38), 0 8px 24px -6px rgba(170, 34, 18, 0.18) !important;
  position: relative;
  overflow: hidden;
}

@media (max-width: 640px) {
  .airline-booking-card {
    border-radius: 22px !important;
    padding: 14px 12px !important;
  }
}

/* Airline Segment Input Boxes */
.airline-segment-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 10px 14px 10px 14px;
  transition: all 0.2s ease;
}

.airline-segment-box:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.airline-segment-box:focus-within {
  border-color: #aa2212;
}

/* Styled Dropdown Select with Inward Arrow */
.airline-segment-box select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2374070a'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 10px center !important;
  background-size: 13px 13px !important;
  padding-left: 28px !important;
  padding-right: 12px !important;
  padding-top: 7px !important;
  padding-bottom: 7px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
  width: 100% !important;
  transition: all 0.2s ease !important;
}

.airline-segment-box select:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06) !important;
}

.airline-segment-box select:focus {
  border-color: #aa2212 !important;
  box-shadow: 0 0 0 3px rgba(170, 34, 18, 0.12) !important;
  outline: none !important;
}

@media (max-width: 640px) {
  .airline-segment-box {
    border-radius: 16px !important;
    padding: 10px 14px 10px 14px !important;
    min-height: 54px !important;
  }

  .airline-segment-box select {
    background-position: left 10px center !important;
    padding-left: 28px !important;
    padding-right: 10px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    font-size: 12.5px !important;
    border-radius: 10px !important;
  }
}

/* ==========================================================================
   BUTTON SYSTEM (الأزرار العنابية الملكية الفاخرة الموحدة بنفس المرجع المعتمد)
   ========================================================================== */
.btn-luxury-emerald,
.btn-luxury-burgundy {
  background: var(--primary-gradient) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 18px 0 rgba(170, 34, 18, 0.42) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(254, 229, 199, 0.35) !important;
  cursor: pointer;
  user-select: none;
}

.btn-luxury-emerald *,
.btn-luxury-burgundy * {
  color: #ffffff !important;
}

.btn-luxury-emerald:hover,
.btn-luxury-burgundy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px 0 rgba(170, 34, 18, 0.55) !important;
  background: var(--primary-gradient-hover) !important;
  color: #ffffff !important;
}

.btn-luxury-emerald:hover *,
.btn-luxury-burgundy:hover * {
  color: #ffffff !important;
}

.btn-luxury-emerald:active,
.btn-luxury-burgundy:active {
  transform: translateY(1px) scale(0.985);
}

/* WhatsApp Action Button (أخضر واتساب الرسمي) */
.btn-whatsapp-green {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  cursor: pointer;
  user-select: none;
}

.btn-whatsapp-green * {
  color: #FFFFFF !important;
}

.btn-whatsapp-green:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
  background: linear-gradient(135deg, #22bf5b 0%, #0e7065 100%) !important;
  color: #FFFFFF !important;
}

.btn-whatsapp-green:active {
  transform: translateY(1px) scale(0.985);
}

.btn-luxury-ghost {
  background: #ffffff !important;
  color: #74070a !important;
  font-weight: 700 !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.22s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-luxury-ghost * {
  color: #74070a !important;
}

.btn-luxury-ghost:hover {
  background: #fdf2f2 !important;
  border-color: #fca5a5 !important;
  color: #490407 !important;
  transform: translateY(-1px);
}

.btn-luxury-ghost:hover * {
  color: #490407 !important;
}

/* ==========================================================================
   FORM INPUTS, SELECTS & CONTROLS (حقول إدخال بيضاء نقية واضحة)
   ========================================================================== */
input, select, textarea {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  border-radius: var(--radius-md) !important;
  transition: all 0.2s ease;
}

input::placeholder, textarea::placeholder {
  color: #94a3b8 !important;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  background: #ffffff !important;
  border-color: #aa2212 !important;
  box-shadow: 0 0 0 3px rgba(170, 34, 18, 0.18) !important;
}

/* ==========================================================================
   FORM INPUTS, SELECTS & CONTROLS (حقول إدخال بيضاء نقية واضحة)
   ========================================================================== */
select option {
  background-color: #ffffff !important;
  color: #0f172a !important;
}

/* ==========================================================================
   MODALS & DIALOGUES (نوافذ بيضاء مريحة)
   ========================================================================== */
#accountModal, #cvDetailModal, #reserveModal, #rentalModal, #successModal, #zatcaModal, #cvManageModal, #agencyCvModal, #orderDetailsModal, #adminChangeStatusModal, #cancelReservationModal, #ocrUploadModal {
  background: rgba(15, 23, 42, 0.65) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Universal Modal Containment & Clean Internal Scrollbars (All Modals) */
.fixed[id$="Modal"],
.fixed[id*="Modal"] {
  overflow: hidden !important;
}

.fixed[id$="Modal"] .luxury-card,
.fixed[id*="Modal"] .luxury-card,
.fixed[id$="Modal"] .luxury-card:hover,
.fixed[id*="Modal"] .luxury-card:hover {
  transform: none !important;
}

.fixed[id$="Modal"] > .luxury-card.overflow-hidden,
.fixed[id*="Modal"] > .luxury-card.overflow-hidden {
  max-height: calc(100dvh - 32px) !important;
  overflow: hidden !important;
}

.fixed[id$="Modal"] > .luxury-card:not(.overflow-hidden),
.fixed[id*="Modal"] > .luxury-card:not(.overflow-hidden) {
  max-height: calc(100dvh - 32px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  -webkit-overflow-scrolling: touch;
}

.fixed[id$="Modal"] .luxury-card,
.fixed[id*="Modal"] .luxury-card,
.fixed[id$="Modal"] .overflow-y-auto,
.fixed[id*="Modal"] .overflow-y-auto,
.custom-scrollbar {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.fixed[id$="Modal"] .luxury-card::-webkit-scrollbar,
.fixed[id*="Modal"] .luxury-card::-webkit-scrollbar,
.fixed[id$="Modal"] .overflow-y-auto::-webkit-scrollbar,
.fixed[id*="Modal"] .overflow-y-auto::-webkit-scrollbar,
.custom-scrollbar::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}

.fixed[id$="Modal"] .luxury-card::-webkit-scrollbar-track,
.fixed[id*="Modal"] .luxury-card::-webkit-scrollbar-track,
.fixed[id$="Modal"] .overflow-y-auto::-webkit-scrollbar-track,
.fixed[id*="Modal"] .overflow-y-auto::-webkit-scrollbar-track,
.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent !important;
  margin-top: 16px;
  margin-bottom: 16px;
}

.fixed[id$="Modal"] .luxury-card::-webkit-scrollbar-thumb,
.fixed[id*="Modal"] .luxury-card::-webkit-scrollbar-thumb,
.fixed[id$="Modal"] .overflow-y-auto::-webkit-scrollbar-thumb,
.fixed[id*="Modal"] .overflow-y-auto::-webkit-scrollbar-thumb,
.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1 !important;
  border-radius: 9999px !important;
  border: 3px solid transparent !important;
  background-clip: content-box !important;
}

.fixed[id$="Modal"] .luxury-card::-webkit-scrollbar-thumb:hover,
.fixed[id*="Modal"] .luxury-card::-webkit-scrollbar-thumb:hover,
.fixed[id$="Modal"] .overflow-y-auto::-webkit-scrollbar-thumb:hover,
.fixed[id*="Modal"] .overflow-y-auto::-webkit-scrollbar-thumb:hover,
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #aa2212 !important;
}

.fixed[id$="Modal"] .luxury-card::-webkit-scrollbar-corner,
.fixed[id*="Modal"] .luxury-card::-webkit-scrollbar-corner,
.fixed[id$="Modal"] .overflow-y-auto::-webkit-scrollbar-corner,
.fixed[id*="Modal"] .overflow-y-auto::-webkit-scrollbar-corner {
  background: transparent !important;
}

#accountModal .luxury-card,
#cvDetailModal .luxury-card,
#reserveModal .luxury-card,
#rentalModal .luxury-card,
#successModal .luxury-card,
#zatcaModal .luxury-card,
#cvManageModal .luxury-card,
#agencyCvModal .luxury-card,
#orderDetailsModal .luxury-card,
#adminChangeStatusModal .luxury-card,
#cancelReservationModal .luxury-card,
#ocrUploadModal .luxury-card,
#staffLoginModal .luxury-card,
#officeManageModal .luxury-card,
#teamMemberModal .luxury-card,
#treasuryVoucherModal .luxury-card,
#shareQrModal .luxury-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-top: 3.5px solid #aa2212 !important;
  box-shadow: 0 25px 60px -10px rgba(15, 23, 42, 0.25) !important;
  color: #0f172a !important;
  transform: none !important;
}

/* Modal Close Button */
.modal-close-btn, button.rounded-full[onclick*="closeModal"]:not(.btn-luxury-emerald):not(.btn-luxury-burgundy) {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
  transition: all 0.2s ease;
}

.modal-close-btn:hover, button.rounded-full[onclick*="closeModal"]:not(.btn-luxury-emerald):not(.btn-luxury-burgundy):hover {
  background: #fdf2f2 !important;
  color: #aa2212 !important;
  border-color: #fca5a5 !important;
}

/* Universal Mobile Modal Optimization (Keyboard-Friendly & Ergonomic Touch Targets) */
@media (max-width: 640px) {
  .fixed.z-50 {
    padding: 10px !important;
  }

  .fixed.z-50 .luxury-card:not(.overflow-hidden) {
    max-height: 88dvh !important;
    padding: 18px 14px 14px !important;
    border-radius: 22px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    width: 100% !important;
  }

  .fixed.z-50 .luxury-card.overflow-hidden {
    max-height: 88dvh !important;
    border-radius: 22px !important;
    overflow: hidden !important;
    width: 100% !important;
  }

  .modal-close-btn, button.rounded-full[onclick*="closeModal"]:not(.btn-luxury-emerald):not(.btn-luxury-burgundy) {
    width: 34px !important;
    height: 34px !important;
    top: 10px !important;
    left: 10px !important;
    font-size: 13px !important;
    z-index: 40 !important;
  }

  /* Safe ergonomic touch targets */
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    min-height: 44px !important;
    font-size: 13px !important;
  }
}

/* ==========================================================================
   MODAL SCROLL LOCK & OVERSCROLL PREVENTION (منع تحرك الصفحة خلف النوافذ المنبثقة)
   ========================================================================== */
html {
  scrollbar-gutter: stable;
}

html.modal-open,
body.modal-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
}

/* Universal Hidden Override: Ensure explicitly hidden elements/modals are not displayed unless responsive classes override */
.page-view.hidden,
.fixed.z-50.hidden,
[hidden] {
  display: none !important;
}

/* Modals containment: prevent scroll chaining to background */
.fixed.z-50 {
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch;
}

.fixed.z-50 > div {
  overscroll-behavior: contain !important;
}

/* Allow touch scrolling inside open modal content */
body.modal-open .fixed.z-50:not(.hidden) {
  touch-action: pan-y !important;
}

/* Scrollbar styling for CV details and OCR modal content */
#cvDetailContent,
#ocrModalScrollContent {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

#cvDetailContent::-webkit-scrollbar,
#ocrModalScrollContent::-webkit-scrollbar {
  width: 6px;
}

#cvDetailContent::-webkit-scrollbar-track,
#ocrModalScrollContent::-webkit-scrollbar-track {
  background: transparent;
}

#cvDetailContent::-webkit-scrollbar-thumb,
#ocrModalScrollContent::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 9999px;
}

#cvDetailContent::-webkit-scrollbar-thumb:hover,
#ocrModalScrollContent::-webkit-scrollbar-thumb:hover {
  background-color: #94a3b8;
}

/* ==========================================================================
   MOBILE HIGH-DENSITY BENTO
   ========================================================================== */
@media (max-width: 768px) {
  .mobile-screen-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 16px 18px 24px;
  }

  .mobile-primary-btn {
    width: 100%;
    padding: 18px 20px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
  }

  .mobile-primary-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 8px;
    right: 8px;
    height: 2.5px;
    background: linear-gradient(90deg, #aa2212 0%, #74070a 100%);
    border-radius: 9999px;
  }

  .mobile-primary-btn:hover, .mobile-primary-btn:active {
    transform: scale(0.98);
    background: #fdf2f2 !important;
    border-color: #fca5a5 !important;
  }
}

/* ==========================================================================
   MOBILE DRAWER SIDEBAR (القائمة الجانبية للجوال - هوية عنابية ملكية متناسقة)
   ========================================================================== */
.drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.drawer-backdrop.active {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.drawer-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  right: -360px;
  width: 320px;
  max-width: 85vw;
  background-color: #3b090e !important;
  background-image: 
    linear-gradient(180deg, rgba(125, 14, 23, 0.94) 0%, rgba(48, 5, 8, 0.97) 100%),
    url('../img/velvet-waves-clean.svg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  backdrop-filter: blur(28px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(180%) !important;
  border-left: 1px solid rgba(255, 223, 220, 0.22) !important;
  z-index: 100;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  box-shadow: -18px 0 50px rgba(0, 0, 0, 0.85);
  color: #FFF0DB !important;
}
.drawer-sidebar.active {
  right: 0;
}

/* Clean hidden scrollbar inside drawer */
.drawer-sidebar .overflow-y-auto {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.drawer-sidebar .overflow-y-auto::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Close Button */
.drawer-close-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 12px !important;
  background: rgba(255, 223, 220, 0.12) !important;
  border: 1px solid rgba(255, 223, 220, 0.22) !important;
  color: #FFF0DB !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.drawer-close-btn:hover {
  background: rgba(255, 223, 220, 0.24) !important;
  border-color: rgba(170, 34, 18, 0.6) !important;
  color: #ffffff !important;
}
.drawer-close-btn i {
  color: #FFF0DB !important;
  font-size: 15px !important;
}

/* Drawer Navigation Links */
.drawer-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(255, 223, 220, 0.08) !important;
  color: #FFF0DB !important;
  border: 1px solid rgba(255, 223, 220, 0.12) !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
  margin-bottom: 8px;
}
.drawer-link span {
  color: #FFF0DB !important;
  font-weight: 700 !important;
}
.drawer-link i {
  color: rgba(255, 223, 220, 0.65) !important;
  font-size: 11px !important;
  transition: transform 0.2s ease, color 0.2s ease;
}
.drawer-link:hover, .drawer-link:active {
  background: rgba(255, 223, 220, 0.18) !important;
  border-color: rgba(170, 34, 18, 0.6) !important;
  transform: translateX(-3px);
  color: #ffffff !important;
}
.drawer-link:hover i, .drawer-link:active i {
  color: #ffffff !important;
  transform: translateX(-2px);
}

/* Services Sub-Box in Drawer */
.drawer-services-box {
  background: rgba(0, 0, 0, 0.35) !important;
  border: 1px solid rgba(255, 223, 220, 0.12) !important;
  border-radius: 16px !important;
  padding: 10px 10px 8px !important;
  margin-bottom: 8px !important;
}
.drawer-services-title {
  color: #FFDFDC !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  padding: 2px 8px 6px !important;
  display: block !important;
  text-decoration: none !important;
}
.drawer-services-title:hover {
  color: #FFF0DB !important;
}
.drawer-services-box .drawer-link {
  background: rgba(255, 223, 220, 0.05) !important;
  border: 1px solid rgba(255, 223, 220, 0.08) !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  margin-bottom: 5px !important;
  border-radius: 10px !important;
}
.drawer-services-box .drawer-link:last-child {
  margin-bottom: 0 !important;
}
.drawer-services-box .drawer-link:hover {
  background: rgba(255, 223, 220, 0.14) !important;
  border-color: rgba(170, 34, 18, 0.5) !important;
}

/* Customer Account Button in Drawer */
.drawer-account-btn {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  background: var(--primary-gradient) !important;
  border: 1px solid rgba(254, 229, 199, 0.35) !important;
  color: #FFF0DB !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}
.drawer-account-btn span {
  color: #FFF0DB !important;
}
.drawer-account-btn i {
  color: #FFDFDC !important;
  font-size: 14px !important;
}
.drawer-account-btn:hover {
  background: var(--primary-gradient-hover) !important;
  border-color: rgba(254, 229, 199, 0.55) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* ==========================================================================
   SHARE PAGE / BIO-LINK HUB (صفحة المشاركة العنابية الفاخرة بنفس هوية المرجع)
   ========================================================================== */
.share-page-canvas {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  background-color: #200401 !important;
  background-image: 
    linear-gradient(180deg, rgba(65, 4, 21, 0.55) 0%, rgba(30, 4, 15, 0.45) 50%, rgba(15, 23, 42, 0.75) 100%), 
    url('../img/hero-slide-1.jpg') !important;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .share-page-canvas {
    background-image: 
      linear-gradient(180deg, rgba(65, 4, 21, 0.60) 0%, rgba(30, 4, 15, 0.50) 50%, rgba(15, 23, 42, 0.80) 100%), 
      url('../img/hero-slide-1.jpg') !important;
    background-position: center center !important;
    background-attachment: scroll;
  }
}

.share-page-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(170, 34, 18, 0.18) 0%, rgba(10, 0, 5, 0.55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Ultra-Premium Glassmorphism Card Container (بطاقة زجاجية كريستالية شفافة) */
.share-hub-card {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(28px) saturate(200%) brightness(105%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(105%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.55) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 28px !important;
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.65), 
    0 10px 30px -5px rgba(170, 34, 18, 0.35),
    inset 0 1px 2px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 2px 0 rgba(0, 0, 0, 0.25) !important;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.share-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  border-radius: inherit;
}

@media (min-width: 640px) {
  .share-hub-card {
    border-radius: 32px !important;
  }
}

/* Clean High-Impact Title */
.share-title {
  font-family: 'Tajawal', 'Cairo', system-ui, -apple-system, sans-serif !important;
  color: #FFF0DB !important;
  font-weight: 900 !important;
  font-size: 32px !important;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
  display: block;
  width: 100%;
}

/* Frameless High-Contrast Standalone Logo */
.share-logo-standalone {
  height: 72px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.75)) !important;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
}

@media (min-width: 640px) {
  .share-logo-standalone {
    height: 90px;
    max-width: 230px;
  }
}

.share-logo-standalone:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 16px rgba(244, 114, 182, 0.45)) !important;
}

/* The 3 Buttons Side-by-Side */
.share-service-btn-compact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 13px 4px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.45) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
  color: #FFFFFF !important;
}

@media (min-width: 640px) {
  .share-service-btn-compact {
    padding: 16px 8px;
    border-radius: 22px;
  }
}

/* Signature Multi-Color Neon Glowing Rim at Bottom */
.share-service-btn-compact::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2.5px;
  background: linear-gradient(90deg, #38bdf8 0%, #818cf8 25%, #c084fc 50%, #f472b6 75%, #fb923c 100%) !important;
  border-radius: 9999px;
  opacity: 0.9;
  box-shadow: 0 0 14px rgba(244, 114, 182, 0.75), 0 0 6px rgba(56, 189, 248, 0.5) !important;
  transition: all 0.25s ease;
}

.share-service-btn-compact:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.05) 100%) !important;
  border-color: rgba(244, 114, 182, 0.4) !important;
  box-shadow: 0 16px 32px -6px rgba(136, 14, 79, 0.5), 0 0 20px rgba(244, 114, 182, 0.3) !important;
}

.share-service-btn-compact:hover::after {
  left: 3px;
  right: 3px;
  height: 3px;
  opacity: 1;
  box-shadow: 0 0 18px rgba(244, 114, 182, 0.95), 0 0 10px rgba(56, 189, 248, 0.7) !important;
}

.share-service-btn-compact:active {
  transform: scale(0.97);
}

/* Social Icon Pills */
.share-social-pill {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06) !important;
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  color: #fce7f3 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
}

@media (min-width: 640px) {
  .share-social-pill {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 16px;
  }
}

.share-social-pill:hover {
  transform: translateY(-2.5px) scale(1.08);
  box-shadow: 0 10px 22px -4px rgba(0, 0, 0, 0.45) !important;
}

.share-pill-whatsapp:hover {
  background: rgba(37, 211, 102, 0.18) !important;
  border-color: rgba(37, 211, 102, 0.65) !important;
  box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.45) !important;
}

.share-pill-phone:hover {
  background: rgba(16, 185, 129, 0.18) !important;
  border-color: rgba(16, 185, 129, 0.65) !important;
  box-shadow: 0 8px 20px -3px rgba(16, 185, 129, 0.45) !important;
}

.share-pill-snapchat:hover {
  background: rgba(255, 252, 0, 0.16) !important;
  border-color: rgba(255, 252, 0, 0.65) !important;
  box-shadow: 0 8px 20px -3px rgba(255, 252, 0, 0.45) !important;
}

.share-pill-tiktok:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 8px 20px -3px rgba(255, 255, 255, 0.35) !important;
}

.share-pill-instagram:hover {
  background: rgba(228, 64, 95, 0.2) !important;
  border-color: rgba(228, 64, 95, 0.65) !important;
  box-shadow: 0 8px 20px -3px rgba(228, 64, 95, 0.45) !important;
}

.share-pill-maps:hover {
  background: rgba(234, 67, 53, 0.2) !important;
  border-color: rgba(234, 67, 53, 0.65) !important;
  box-shadow: 0 8px 20px -3px rgba(234, 67, 53, 0.45) !important;
}

/* Page View Architecture & Transitions */
.page-view {
  animation: fadeInPageView 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-view.hidden {
  display: none !important;
}

@keyframes fadeInPageView {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   TABLES & DATA GRIDS
   ========================================================================== */
table {
  color: #0f172a !important;
}

thead tr {
  background-color: #f1f5f9 !important;
  color: #334155 !important;
  border-bottom: 2px solid #e2e8f0 !important;
}

tbody tr {
  border-bottom: 1px solid #e2e8f0 !important;
}

tbody tr:hover {
  background-color: #f8fafc !important;
}

/* Responsive Mobile Table Optimization */
@media (max-width: 768px) {
  table th, table td {
    padding: 8px 10px !important;
    font-size: 11.5px !important;
    white-space: nowrap !important;
  }

  table td .font-bold, table td strong {
    font-size: 12px !important;
  }

  table td button {
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 11px !important;
  }
}

/* Watermark */
.watermark-cv {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8) !important;
  pointer-events: none;
}

/* ==========================================================================
   FOOTER (فوتر عنابي ملكي فاخر بنفس خلفية وتدريجات وخط الصورة المرفقة)
   ========================================================================== */
#mainFooter {
  position: relative !important;
  background-color: #200401 !important;
  background-image: 
    linear-gradient(180deg, rgba(61, 5, 4, 0.92) 0%, rgba(20, 2, 3, 0.98) 100%),
    url('../img/velvet-waves-clean.svg') !important;
  background-position: center bottom !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  border-top: 1px solid rgba(255, 223, 220, 0.16) !important;
  color: #FFDFDC !important;
  box-shadow: 0 -10px 30px -5px rgba(27, 2, 4, 0.6) !important;
}

@media (max-width: 768px) {
  #mainFooter {
    background-image: 
      linear-gradient(180deg, rgba(61, 5, 4, 0.94) 0%, rgba(20, 2, 3, 0.98) 100%),
      url('../img/velvet-waves-clean.svg') !important;
  }
}

#mainFooter h1, #mainFooter h2, #mainFooter h3, #mainFooter h4,
#mainFooter .font-black, #mainFooter .font-bold {
  color: #FFF0DB !important;
}

#mainFooter p {
  color: #FFDFDC !important;
}

#mainFooter span, #mainFooter li, #mainFooter a:not(.btn-luxury-emerald) {
  color: #E5B3AC !important;
  transition: color 0.2s ease;
}

#mainFooter a:not(.btn-luxury-emerald):hover {
  color: #FFF0DB !important;
}

#mainFooter a.bg-white\/10 {
  background: rgba(255, 223, 220, 0.12) !important;
  color: #FFF0DB !important;
  border-color: rgba(255, 223, 220, 0.22) !important;
}

#mainFooter a.bg-white\/10:hover {
  background: rgba(255, 223, 220, 0.24) !important;
  border-color: rgba(170, 34, 18, 0.7) !important;
  color: #ffffff !important;
}

#mainFooter button {
  background: rgba(255, 223, 220, 0.12) !important;
  color: #FFF0DB !important;
  border-color: rgba(255, 223, 220, 0.22) !important;
}

#mainFooter button:hover {
  background: rgba(255, 223, 220, 0.24) !important;
  border-color: rgba(170, 34, 18, 0.7) !important;
  color: #ffffff !important;
}

/* OCR Laser & Scanning Animation */
@keyframes ocrScanLaser {
  0% { top: 0%; opacity: 0.85; }
  50% { top: 96%; opacity: 1; }
  100% { top: 0%; opacity: 0.85; }
}

.ocr-laser-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #aa2212 20%, #059669 50%, #aa2212 80%, transparent 100%);
  box-shadow: 0 0 16px rgba(170, 34, 18, 0.9), 0 0 28px rgba(5, 150, 105, 0.8);
  animation: ocrScanLaser 2.4s infinite ease-in-out;
  z-index: 25;
}

.ocr-bounding-box {
  position: absolute;
  border: 1.5px dashed #059669;
  background: rgba(5, 150, 105, 0.12);
  border-radius: 6px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.ocr-field-highlight {
  animation: ocrFieldPulse 1.8s infinite;
}

@keyframes ocrFieldPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(170, 34, 18, 0.4);
    border-color: #aa2212;
  }
  50% {
    box-shadow: 0 0 0 6px rgba(170, 34, 18, 0);
    border-color: #ba222a;
  }
}

.ocr-doc-canvas {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

/* Custom Polish Scrollbar */
::-webkit-scrollbar {
  width: 11px;
  height: 11px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:hover {
  background: #aa2212;
  border: 3px solid transparent;
  background-clip: content-box;
}
::-webkit-scrollbar-corner {
  background: transparent;
}

/* OTP Input & SMS Notification Styles */
@keyframes bounceShort {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.animate-bounce-short {
  animation: bounceShort 2.5s ease-in-out infinite;
}

.otp-input:focus {
  border-color: #aa2212 !important;
  background-color: #fdf2f2 !important;
  box-shadow: 0 0 0 3px rgba(170, 34, 18, 0.18) !important;
}

/* ==========================================================================
   OFFICIAL SOCIAL MEDIA BRAND COLORS (أزرار التواصل بألوانها الرسمية الحقيقية)
   ========================================================================== */
.btn-social-x {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.btn-social-x i {
  color: #ffffff !important;
}
.btn-social-x:hover {
  background: #171717 !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: translateY(-2px);
}

.btn-social-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.btn-social-instagram i {
  color: #ffffff !important;
}
.btn-social-instagram:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.btn-social-tiktok {
  background: #000000 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  box-shadow: -1.5px -1.5px 0px rgba(0, 242, 234, 0.7), 1.5px 1.5px 0px rgba(255, 0, 79, 0.7) !important;
}
.btn-social-tiktok i {
  color: #ffffff !important;
}
.btn-social-tiktok:hover {
  background: #111111 !important;
  transform: translateY(-2px);
}

.btn-social-snapchat {
  background: #FFFC00 !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.15) !important;
}
.btn-social-snapchat i {
  color: #000000 !important;
}
.btn-social-snapchat:hover {
  background: #f5f200 !important;
  transform: translateY(-2px);
}

.btn-social-whatsapp {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.btn-social-whatsapp i {
  color: #ffffff !important;
}
.btn-social-whatsapp:hover {
  background: #20ba59 !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   ADMIN DASHBOARD SIDEBAR (DESKTOP ALWAYS DISPLAYED & MOBILE SLIDE-OUT DRAWER)
   ========================================================================== */
#staffSidebarBackdrop {
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
#staffSidebarBackdrop.active {
  display: block !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Mobile & Tablet Styling (< 1280px): Off-canvas slide-out drawer without edge shadow leak */
#view-staff {
  overflow-x: clip;
}

@media (max-width: 1279px) {
  #staffAdminSidebar {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 290px !important;
    max-width: 86vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 95 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(115%) !important;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s !important;
    box-shadow: none !important;
  }
  #staffAdminSidebar.mobile-open {
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
    box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85) !important;
  }
}

/* Wide Desktop Styling (>= 1280px): Permanently displayed sticky sidebar */
@media (min-width: 1280px) {
  #staffAdminSidebar {
    display: flex !important;
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    width: 17.5rem !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 30 !important;
    flex-shrink: 0 !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
  }
}


