@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


/* ========================================
   UNFRM LAB - ADMIN DARK MODE THEME
   Design System Aligned with Public Site
   "Luxe Industriel" - Noir & Crème
======================================== */
/* === IMPORTS === */
:root {
    /* ========== BROWSER NATIVE DARK MODE ========== */
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* ========== COLORS ========== */

    /* Backgrounds */
    --admin-bg-primary: #000000;
    --admin-bg-secondary: #0A0A0A;
    --admin-bg-card: rgba(255, 255, 255, 0.03);
    /* Glassy */
    --admin-bg-card-hover: rgba(255, 255, 255, 0.08);
    --admin-bg-input: rgba(0, 0, 0, 0.3);
    --admin-bg-elevated: #151515;

    /* Text */
    --admin-text-primary: #FFFFFF;
    --admin-text-secondary: #E5E5E5;
    --admin-text-tertiary: #A0A0A0;
    --admin-text-muted: #707070;

    /* Accent (Crème/Or - Signature UNFRM) */
    --admin-accent-primary: #D4B88C;
    --admin-accent-light: #EFE0C5;
    --admin-accent-dark: #C9B18A;
    --admin-accent-hover: #E0C9A0;

    /* Status */
    --admin-status-success: #4CAF50;
    --admin-status-warning: #D4B88C;
    --admin-status-info: #6B9BD1;
    --admin-status-error: #E57373;

    /* Borders */
    --admin-border-subtle: rgba(212, 184, 140, 0.15);
    --admin-border-medium: rgba(212, 184, 140, 0.30);
    --admin-border-strong: rgba(212, 184, 140, 0.50);

    /* Overlays */
    --admin-overlay-light: rgba(255, 255, 255, 0.05);
    --admin-overlay-medium: rgba(255, 255, 255, 0.10);
    --admin-overlay-dark: rgba(0, 0, 0, 0.60);

    /* ========== TYPOGRAPHY ========== */

    --admin-font-serif: 'Playfair Display', 'Georgia', serif;
    --admin-font-sans: 'Inter', 'SF Pro Display', -apple-system, sans-serif;

    --admin-text-xs: 0.75rem;
    /* 12px */
    --admin-text-sm: 0.875rem;
    /* 14px */
    --admin-text-base: 1rem;
    /* 16px */
    --admin-text-lg: 1.125rem;
    /* 18px */
    --admin-text-xl: 1.5rem;
    /* 24px */
    --admin-text-2xl: 2rem;
    /* 32px */

    --admin-font-light: 300;
    --admin-font-normal: 400;
    --admin-font-medium: 500;
    --admin-font-semibold: 600;
    --admin-font-bold: 700;

    /* ========== SPACING ========== */

    --admin-space-xs: 0.25rem;
    /* 4px */
    --admin-space-sm: 0.5rem;
    /* 8px */
    --admin-space-md: 1rem;
    /* 16px */
    --admin-space-lg: 1.5rem;
    /* 24px */
    --admin-space-xl: 2rem;
    /* 32px */
    --admin-space-2xl: 3rem;
    /* 48px */

    /* ========== BORDER RADIUS ========== */

    --admin-radius-sm: 4px;
    --admin-radius-md: 8px;
    --admin-radius-lg: 12px;
    --admin-radius-xl: 16px;
    --admin-radius-full: 9999px;

    /* ========== SHADOWS ========== */

    --admin-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --admin-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --admin-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
    --admin-shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.8);

    /* ========== GLOW ========== */

    --admin-glow-accent: 0 0 20px rgba(212, 184, 140, 0.3);
    --admin-glow-accent-strong: 0 0 40px rgba(212, 184, 140, 0.5);

    /* ========== TRANSITIONS ========== */

    --admin-transition-fast: 0.15s ease;
    --admin-transition-base: 0.2s ease;
    --admin-transition-slow: 0.3s ease;
}
/* ========== GLOBAL STYLES ========== */
.admin-dark-mode {
    background: var(--admin-bg-primary);
    color: var(--admin-text-secondary);
    font-family: var(--admin-font-sans);
    min-height: 100vh;
}
/* Custom Scrollbar */
.admin-dark-mode ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.admin-dark-mode ::-webkit-scrollbar-track {
    background: var(--admin-bg-secondary);
}
.admin-dark-mode ::-webkit-scrollbar-thumb {
    background: var(--admin-bg-card);
    border-radius: var(--admin-radius-sm);
}
.admin-dark-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--admin-accent-dark);
}
/* Selection */
.admin-dark-mode ::selection {
    background: var(--admin-accent-primary);
    color: var(--admin-bg-primary);
}
/* ========== TYPOGRAPHY CLASSES ========== */
.admin-title-page {
    font-family: var(--admin-font-serif);
    font-size: var(--admin-text-2xl);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-accent-light);
    letter-spacing: -0.02em;
    margin-bottom: var(--admin-space-md);
}
.admin-title-section {
    font-family: var(--admin-font-serif);
    font-size: var(--admin-text-xl);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-text-primary);
    margin-bottom: var(--admin-space-md);
}
.admin-subtitle {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-base);
    color: var(--admin-text-tertiary);
    font-weight: var(--admin-font-normal);
}
/* ========== BUTTONS ========== */
.admin-btn {
    font-family: var(--admin-font-sans);
    font-weight: var(--admin-font-medium);
    border-radius: var(--admin-radius-lg);
    cursor: pointer;
    transition: all var(--admin-transition-base);
    border: none;
    outline: none;
}
.admin-btn-primary {
    background: var(--admin-accent-primary);
    color: var(--admin-bg-primary);
    padding: var(--admin-space-md) var(--admin-space-xl);
    font-size: var(--admin-text-base);
    box-shadow: var(--admin-shadow-md);
}
.admin-btn-primary:hover {
    background: var(--admin-accent-hover);
    box-shadow: var(--admin-shadow-lg), var(--admin-glow-accent);
    transform: translateY(-1px);
}
.admin-btn-secondary {
    background: transparent;
    color: var(--admin-accent-primary);
    border: 1.5px solid var(--admin-accent-primary);
    padding: var(--admin-space-sm) var(--admin-space-lg);
    font-size: var(--admin-text-sm);
}
.admin-btn-secondary:hover {
    background: var(--admin-overlay-light);
    border-color: var(--admin-accent-hover);
    color: var(--admin-accent-hover);
}
.admin-btn-ghost {
    background: transparent;
    color: var(--admin-text-secondary);
    padding: var(--admin-space-sm) var(--admin-space-md);
    font-size: var(--admin-text-sm);
}
.admin-btn-ghost:hover {
    color: var(--admin-accent-primary);
}
.admin-btn-danger {
    background: transparent;
    color: var(--admin-status-error);
    border: 1.5px solid var(--admin-status-error);
    padding: var(--admin-space-sm) var(--admin-space-lg);
    font-size: var(--admin-text-sm);
}
.admin-btn-danger:hover {
    background: rgba(229, 115, 115, 0.1);
}
/* ========== CARDS ========== */
.admin-card {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-md);
    transition: all var(--admin-transition-slow);
}
.admin-card:hover {
    background: var(--admin-bg-card-hover);
    border-color: var(--admin-border-medium);
    box-shadow: var(--admin-shadow-lg), var(--admin-glow-accent);
    transform: translateY(-4px);
}
.admin-card-header {
    padding: var(--admin-space-lg);
    border-bottom: 1px solid var(--admin-border-subtle);
}
.admin-card-body {
    padding: var(--admin-space-lg);
}
.admin-card-footer {
    padding: var(--admin-space-md) var(--admin-space-lg);
    background: var(--admin-overlay-light);
    border-top: 1px solid var(--admin-border-subtle);
    display: flex;
    gap: var(--admin-space-sm);
}
/* ========== INPUTS ========== */
.admin-input,
.admin-select,
.admin-textarea {
    background: var(--admin-bg-input);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    color: var(--admin-text-primary);
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-base);
    padding: var(--admin-space-md);
    width: 100%;
    transition: all var(--admin-transition-base);
    appearance: none;
    /* Remove default styling for better control */
    -webkit-appearance: none;
}
/* Custom Select Arrow */
.admin-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D4B88C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}
/* Date Input Customization */
.admin-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8) sepia(100%) saturate(50%) hue-rotate(10deg);
    /* Gold-ish tint */
    cursor: pointer;
    opacity: 0.6;
}
.admin-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    outline: none;
    border-color: var(--admin-accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 184, 140, 0.1);
}
.admin-input::placeholder,
.admin-textarea::placeholder {
    color: var(--admin-text-muted);
}
.admin-label {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-sm);
    font-weight: var(--admin-font-medium);
    color: var(--admin-text-tertiary);
    margin-bottom: var(--admin-space-xs);
    display: block;
}
/* ========== BADGES ========== */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--admin-space-xs);
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--admin-border-medium);
    color: var(--admin-accent-primary);
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-xs);
    font-weight: var(--admin-font-medium);
    padding: var(--admin-space-xs) var(--admin-space-sm);
    border-radius: var(--admin-radius-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.admin-badge-success {
    color: var(--admin-status-success);
    border-color: var(--admin-status-success);
}
.admin-badge-warning {
    color: var(--admin-status-warning);
    border-color: var(--admin-status-warning);
}
.admin-badge-error {
    color: var(--admin-status-error);
    border-color: var(--admin-status-error);
}
/* ========== PROPERTY SPECIFIC ========== */
.property-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    color: var(--admin-text-muted);
    font-family: 'IBM Plex Mono', monospace;
    font-size: var(--admin-text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.property-appointment {
    display: flex;
    align-items: center;
    gap: var(--admin-space-sm);
    background: var(--admin-overlay-light);
    padding: var(--admin-space-sm);
    border-radius: var(--admin-radius-md);
    border-left: 3px solid var(--admin-accent-primary);
    margin: var(--admin-space-md) 0;
}
.property-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--admin-space-xs);
    background: var(--admin-overlay-light);
    border: 1px solid var(--admin-border-subtle);
    color: var(--admin-text-secondary);
    font-size: var(--admin-text-xs);
    padding: 4px 8px;
    border-radius: var(--admin-radius-sm);
}
/* ========== SEARCH / FILTERS ========== */
.admin-search-container {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    padding: var(--admin-space-md);
    margin-bottom: var(--admin-space-xl);
}
.admin-search-title {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-sm);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--admin-space-md);
}
/* ========== GLOBAL COMPONENT OVERRIDES ========== */
/* Force all glass-panels in admin mode to use the new card style */
/* /* .admin-dark-mode .glass-panel,
.admin-dark-mode .glass-panel-inner {
    background: var(--admin-bg-card) !important;
    border: 1px solid var(--admin-border-subtle) !important;
    border-radius: var(--admin-radius-lg) !important;
    box-shadow: var(--admin-shadow-md) !important;
    backdrop-filter: none !important;
} */
*/

/* Force headings in admin mode */
.admin-dark-mode h1,
.admin-dark-mode h2,
.admin-dark-mode h3,
.admin-dark-mode h4 {
    color: var(--admin-text-primary) !important;
}
.admin-dark-mode p,
.admin-dark-mode span,
.admin-dark-mode label {
    color: var(--admin-text-secondary);
}
/* Force standard buttons if they use old classes */
.admin-dark-mode .primary-btn {
    background: var(--admin-accent-primary) !important;
    color: var(--admin-bg-primary) !important;
    border: none !important;
}
.admin-dark-mode .secondary-btn,
.admin-dark-mode .back-btn-styled {
    background: transparent !important;
    border: 1px solid var(--admin-accent-primary) !important;
    color: var(--admin-accent-primary) !important;
}
.admin-dark-mode .secondary-btn:hover,
.admin-dark-mode .back-btn-styled:hover {
    background: var(--admin-overlay-light) !important;
    color: var(--admin-accent-hover) !important;
}
.admin-flex {
    display: flex;
}
.admin-flex-col {
    display: flex;
    flex-direction: column;
}
.admin-gap-sm {
    gap: var(--admin-space-sm);
}
.admin-gap-md {
    gap: var(--admin-space-md);
}
.admin-gap-lg {
    gap: var(--admin-space-lg);
}
.admin-mb-sm {
    margin-bottom: var(--admin-space-sm);
}
.admin-mb-md {
    margin-bottom: var(--admin-space-md);
}
.admin-mb-lg {
    margin-bottom: var(--admin-space-lg);
}
/* ========== LIGHT THEME OVERRIDES ========== */
body.theme-light .admin-dark-mode,
.theme-light .admin-dark-mode {
    --admin-bg-primary: #F4F5F7; /* Very light slate gray to contrast with white cards */
    --admin-bg-secondary: #E9ECEF;
    --admin-bg-card: rgba(255, 255, 255, 0.75); /* Semi-transparent for glassmorphism */
    --admin-bg-card-hover: rgba(255, 255, 255, 0.95);
    --admin-bg-input: rgba(255, 255, 255, 0.85);
    --admin-bg-elevated: #FFFFFF;

    --admin-text-primary: #000000;
    --admin-text-secondary: #333333;
    --admin-text-tertiary: #555555;
    --admin-text-muted: #888888;

    --admin-accent-primary: #B89662; /* Slightly darker gold */
    --admin-accent-light: #D4B88C;
    --admin-accent-dark: #8E734A;
    --admin-accent-hover: #A68551;

    --admin-border-subtle: rgba(0, 0, 0, 0.05);
    --admin-border-medium: rgba(0, 0, 0, 0.1);
    --admin-border-strong: rgba(0, 0, 0, 0.18);

    --admin-overlay-light: rgba(255, 255, 255, 0.5);
    --admin-overlay-medium: rgba(255, 255, 255, 0.7);
    --admin-overlay-dark: rgba(255, 255, 255, 0.90);

    --admin-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --admin-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --admin-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --admin-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
:root {
  /* ONE MAN LAB - Dark Mode Palette */
  --bg-primary: #050505;
  /* Deepest black */
  --bg-surface: rgba(255, 255, 255, 0.03);
  /* Subtle glass */
  --bg-gradient: radial-gradient(circle at 50% 0%, #1a1a1a, #050505);

  --text-main: #f3f4f6;
  /* Gray 100 */
  --text-secondary: #9ca3af;
  /* Gray 400 */
  --text-muted: #9CA3AF;
  /* Gray 400 – WCAG AA 4.6:1 against dark bg */

  /* --- ELITE PALETTE (From Hero Page) --- */
  --lab-gold: #D4B88C;
  /* Primary Gold */
  --lab-gold-light: #EFE0C5;
  /* Cream/Beige Text */
  --lab-gold-dark: #A69076;
  /* Darker Gold for gradients */

  --bg-dark-mesh: #0F0F0F;
  /* Dark background tone */

  --gradient-gold: linear-gradient(135deg, #A69076, #C4A882);
  --gradient-dark: linear-gradient(135deg, #1A1A1A, #000000);

  /* Animation Tokens */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --noise-opacity: 0.03;

  /* Mapping to functional vars */
  --text-accent: var(--lab-gold);
  --accent-cta: var(--lab-gold);
  --accent-gold: #D4AF37;
  --glass-border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --bg-alt: rgba(255, 255, 255, 0.02);

  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 40px rgba(0, 0, 0, 0.6);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  /* Sharper "Lab" feel */
  --radius-md: 10px;
  --radius-lg: 14px;

  /* Typography */
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  /* Tech feel */

  font-family: var(--font-sans);
}
.theme-light {
  --bg-primary: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-gradient: radial-gradient(circle at 50% 0%, #FFFFFF, #F0F0F0);

  --text-main: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;

  --lab-gold: #B89662; /* Slightly darker gold for light mode contrast */
  --lab-gold-light: #D4B88C;
  --lab-gold-dark: #8E734A;

  --bg-dark-mesh: #E5E7EB;

  --gradient-dark: linear-gradient(135deg, #FFFFFF, #F3F4F6);

  --glass-border: rgba(0, 0, 0, 0.1);
  --border-light: rgba(0, 0, 0, 0.1);
  --border-medium: rgba(0, 0, 0, 0.2);
  --bg-alt: rgba(0, 0, 0, 0.03);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-primary);
  background-image: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}
#root {
  width: 100%;
  min-height: 100vh;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}
button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  transition: all 0.2s ease;
}
/* UTILITIES */
.glass-panel {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
/* INPUTS & FORMS - Dark Mode Adaptation */
input,
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-sans);
  outline: none;
  transition: all 0.2s;
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent-cta);
  background: var(--bg-surface);
  box-shadow: 0 0 0 1px rgba(212, 184, 140, 0.2);
}
input::placeholder {
  color: var(--text-muted);
}
/* BUTTONS */
.premium-btn {
  background: var(--accent-cta);
  /* Gold */
  color: #000;
  /* Black text on Gold */
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-soft);
}
.premium-btn:hover {
  background: #f0d0a0;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(212, 184, 140, 0.3);
}
.premium-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.secondary-btn {
  background: transparent;
  border: 1px solid var(--border-medium);
  color: var(--text-main);
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
}
.secondary-btn:hover {
  border-color: var(--accent-cta);
  background: rgba(255, 255, 255, 0.05);
  color: var(--accent-cta);
}
/* Premium Card - Dark Mode */
.premium-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}
.premium-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-cta);
  transform: translateY(-2px);
}
/* MODAL / OVERLAYS */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  /* Darker overlay */
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.modal-content {
  background: #111;
  /* Solid dark for modal content to ensure readability */
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  max-height: 90vh;
  overflow-y: auto;
  color: var(--text-main);
}
/* --- PREMIUM ATMOSPHERE UTILITIES --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
/* Lenis Smooth Scroll Setup */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}
/* Improved Smooth Text Transitions */
.text-reveal-premium {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.text-reveal-letter {
  display: inline-block;
  transform: translateY(100%);
  animation: revealLetter 0.8s var(--ease-premium) forwards;
}
@keyframes revealLetter {
  to {
    transform: translateY(0);
  }
}
/* Spotlight Effect Base */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y),
      rgba(212, 184, 140, 0.08),
      transparent 40%);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}
.spotlight-card:hover::after {
    opacity: 1;
  }
/* --- WA GLOW ANIMATION (global) --- */
@keyframes waGlowPulse {
  0%, 100% { box-shadow: 0 0 14px rgba(37,211,102,0.28), 0 2px 8px rgba(0,0,0,0.4); }
  50%       { box-shadow: 0 0 26px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.4); }
}
/* --- FLOATING WIDGETS SAFE AREAS --- */
/* Mobile & Tablet Global: Push widgets up to clear sticky bars (Showcase, etc.) */
@media (max-width: 768px) {
    .public-layout {
      padding-bottom: 140px !important;
    }
  
    .concierge-wrapper {
      bottom: 140px !important;
      right: 1rem !important;
    }
  
    .whatsapp-fab,
    .whatsapp-fab-pill {
      bottom: 140px !important;
      left: 1rem !important;
    }

    @keyframes waGlowPulse {
      0%, 100% { box-shadow: 0 0 14px rgba(37,211,102,0.28), 0 2px 8px rgba(0,0,0,0.4); }
      50%       { box-shadow: 0 0 26px rgba(37,211,102,0.55), 0 2px 8px rgba(0,0,0,0.4); }
    }
  }
/* Desktop Property Showcase: Move AI launcher to avoid overlap with floating pill */
@media (min-width: 769px) {
    .public-layout:has(.showcase-container) .concierge-wrapper,
    body:has(.showcase-container) .concierge-wrapper {
      bottom: 6rem !important;
    }
  }


/* ========================================
   UNFRM LAB - ADMIN DARK MODE THEME
   Design System Aligned with Public Site
   "Luxe Industriel" - Noir & Crème
======================================== */
/* === IMPORTS === */
:root {
    /* ========== BROWSER NATIVE DARK MODE ========== */
    color-scheme: dark;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    /* ========== COLORS ========== */

    /* Backgrounds */
    --admin-bg-primary: #000000;
    --admin-bg-secondary: #0A0A0A;
    --admin-bg-card: rgba(255, 255, 255, 0.03);
    /* Glassy */
    --admin-bg-card-hover: rgba(255, 255, 255, 0.08);
    --admin-bg-input: rgba(0, 0, 0, 0.3);
    --admin-bg-elevated: #151515;

    /* Text */
    --admin-text-primary: #FFFFFF;
    --admin-text-secondary: #E5E5E5;
    --admin-text-tertiary: #A0A0A0;
    --admin-text-muted: #707070;

    /* Accent (Crème/Or - Signature UNFRM) */
    --admin-accent-primary: #D4B88C;
    --admin-accent-light: #EFE0C5;
    --admin-accent-dark: #C9B18A;
    --admin-accent-hover: #E0C9A0;

    /* Status */
    --admin-status-success: #4CAF50;
    --admin-status-warning: #D4B88C;
    --admin-status-info: #6B9BD1;
    --admin-status-error: #E57373;

    /* Borders */
    --admin-border-subtle: rgba(212, 184, 140, 0.15);
    --admin-border-medium: rgba(212, 184, 140, 0.30);
    --admin-border-strong: rgba(212, 184, 140, 0.50);

    /* Overlays */
    --admin-overlay-light: rgba(255, 255, 255, 0.05);
    --admin-overlay-medium: rgba(255, 255, 255, 0.10);
    --admin-overlay-dark: rgba(0, 0, 0, 0.60);

    /* ========== TYPOGRAPHY ========== */

    --admin-font-serif: 'Playfair Display', 'Georgia', serif;
    --admin-font-sans: 'Inter', 'SF Pro Display', -apple-system, sans-serif;

    --admin-text-xs: 0.75rem;
    /* 12px */
    --admin-text-sm: 0.875rem;
    /* 14px */
    --admin-text-base: 1rem;
    /* 16px */
    --admin-text-lg: 1.125rem;
    /* 18px */
    --admin-text-xl: 1.5rem;
    /* 24px */
    --admin-text-2xl: 2rem;
    /* 32px */

    --admin-font-light: 300;
    --admin-font-normal: 400;
    --admin-font-medium: 500;
    --admin-font-semibold: 600;
    --admin-font-bold: 700;

    /* ========== SPACING ========== */

    --admin-space-xs: 0.25rem;
    /* 4px */
    --admin-space-sm: 0.5rem;
    /* 8px */
    --admin-space-md: 1rem;
    /* 16px */
    --admin-space-lg: 1.5rem;
    /* 24px */
    --admin-space-xl: 2rem;
    /* 32px */
    --admin-space-2xl: 3rem;
    /* 48px */

    /* ========== BORDER RADIUS ========== */

    --admin-radius-sm: 4px;
    --admin-radius-md: 8px;
    --admin-radius-lg: 12px;
    --admin-radius-xl: 16px;
    --admin-radius-full: 9999px;

    /* ========== SHADOWS ========== */

    --admin-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --admin-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.6);
    --admin-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.7);
    --admin-shadow-xl: 0 16px 32px rgba(0, 0, 0, 0.8);

    /* ========== GLOW ========== */

    --admin-glow-accent: 0 0 20px rgba(212, 184, 140, 0.3);
    --admin-glow-accent-strong: 0 0 40px rgba(212, 184, 140, 0.5);

    /* ========== TRANSITIONS ========== */

    --admin-transition-fast: 0.15s ease;
    --admin-transition-base: 0.2s ease;
    --admin-transition-slow: 0.3s ease;
}
/* ========== GLOBAL STYLES ========== */
.admin-dark-mode {
    background: var(--admin-bg-primary);
    color: var(--admin-text-secondary);
    font-family: var(--admin-font-sans);
    min-height: 100vh;
}
/* Custom Scrollbar */
.admin-dark-mode ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
.admin-dark-mode ::-webkit-scrollbar-track {
    background: var(--admin-bg-secondary);
}
.admin-dark-mode ::-webkit-scrollbar-thumb {
    background: var(--admin-bg-card);
    border-radius: var(--admin-radius-sm);
}
.admin-dark-mode ::-webkit-scrollbar-thumb:hover {
    background: var(--admin-accent-dark);
}
/* Selection */
.admin-dark-mode ::selection {
    background: var(--admin-accent-primary);
    color: var(--admin-bg-primary);
}
/* ========== TYPOGRAPHY CLASSES ========== */
.admin-title-page {
    font-family: var(--admin-font-serif);
    font-size: var(--admin-text-2xl);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-accent-light);
    letter-spacing: -0.02em;
    margin-bottom: var(--admin-space-md);
}
.admin-title-section {
    font-family: var(--admin-font-serif);
    font-size: var(--admin-text-xl);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-text-primary);
    margin-bottom: var(--admin-space-md);
}
.admin-subtitle {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-base);
    color: var(--admin-text-tertiary);
    font-weight: var(--admin-font-normal);
}
/* ========== BUTTONS ========== */
.admin-btn {
    font-family: var(--admin-font-sans);
    font-weight: var(--admin-font-medium);
    border-radius: var(--admin-radius-lg);
    cursor: pointer;
    transition: all var(--admin-transition-base);
    border: none;
    outline: none;
}
.admin-btn-primary {
    background: var(--admin-accent-primary);
    color: var(--admin-bg-primary);
    padding: var(--admin-space-md) var(--admin-space-xl);
    font-size: var(--admin-text-base);
    box-shadow: var(--admin-shadow-md);
}
.admin-btn-primary:hover {
    background: var(--admin-accent-hover);
    box-shadow: var(--admin-shadow-lg), var(--admin-glow-accent);
    transform: translateY(-1px);
}
.admin-btn-secondary {
    background: transparent;
    color: var(--admin-accent-primary);
    border: 1.5px solid var(--admin-accent-primary);
    padding: var(--admin-space-sm) var(--admin-space-lg);
    font-size: var(--admin-text-sm);
}
.admin-btn-secondary:hover {
    background: var(--admin-overlay-light);
    border-color: var(--admin-accent-hover);
    color: var(--admin-accent-hover);
}
.admin-btn-ghost {
    background: transparent;
    color: var(--admin-text-secondary);
    padding: var(--admin-space-sm) var(--admin-space-md);
    font-size: var(--admin-text-sm);
}
.admin-btn-ghost:hover {
    color: var(--admin-accent-primary);
}
.admin-btn-danger {
    background: transparent;
    color: var(--admin-status-error);
    border: 1.5px solid var(--admin-status-error);
    padding: var(--admin-space-sm) var(--admin-space-lg);
    font-size: var(--admin-text-sm);
}
.admin-btn-danger:hover {
    background: rgba(229, 115, 115, 0.1);
}
/* ========== CARDS ========== */
.admin-card {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    box-shadow: var(--admin-shadow-md);
    transition: all var(--admin-transition-slow);
}
.admin-card:hover {
    background: var(--admin-bg-card-hover);
    border-color: var(--admin-border-medium);
    box-shadow: var(--admin-shadow-lg), var(--admin-glow-accent);
    transform: translateY(-4px);
}
.admin-card-header {
    padding: var(--admin-space-lg);
    border-bottom: 1px solid var(--admin-border-subtle);
}
.admin-card-body {
    padding: var(--admin-space-lg);
}
.admin-card-footer {
    padding: var(--admin-space-md) var(--admin-space-lg);
    background: var(--admin-overlay-light);
    border-top: 1px solid var(--admin-border-subtle);
    display: flex;
    gap: var(--admin-space-sm);
}
/* ========== INPUTS ========== */
.admin-input,
.admin-select,
.admin-textarea {
    background: var(--admin-bg-input);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    color: var(--admin-text-primary);
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-base);
    padding: var(--admin-space-md);
    width: 100%;
    transition: all var(--admin-transition-base);
    appearance: none;
    /* Remove default styling for better control */
    -webkit-appearance: none;
}
/* Custom Select Arrow */
.admin-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D4B88C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}
/* Date Input Customization */
.admin-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(0.8) sepia(100%) saturate(50%) hue-rotate(10deg);
    /* Gold-ish tint */
    cursor: pointer;
    opacity: 0.6;
}
.admin-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}
.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    outline: none;
    border-color: var(--admin-accent-primary);
    box-shadow: 0 0 0 3px rgba(212, 184, 140, 0.1);
}
.admin-input::placeholder,
.admin-textarea::placeholder {
    color: var(--admin-text-muted);
}
.admin-label {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-sm);
    font-weight: var(--admin-font-medium);
    color: var(--admin-text-tertiary);
    margin-bottom: var(--admin-space-xs);
    display: block;
}
/* ========== BADGES ========== */
.admin-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--admin-space-xs);
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--admin-border-medium);
    color: var(--admin-accent-primary);
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-xs);
    font-weight: var(--admin-font-medium);
    padding: var(--admin-space-xs) var(--admin-space-sm);
    border-radius: var(--admin-radius-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.admin-badge-success {
    color: var(--admin-status-success);
    border-color: var(--admin-status-success);
}
.admin-badge-warning {
    color: var(--admin-status-warning);
    border-color: var(--admin-status-warning);
}
.admin-badge-error {
    color: var(--admin-status-error);
    border-color: var(--admin-status-error);
}
/* ========== PROPERTY SPECIFIC ========== */
.property-card-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);
    color: var(--admin-text-muted);
    font-family: 'IBM Plex Mono', monospace;
    font-size: var(--admin-text-sm);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.property-appointment {
    display: flex;
    align-items: center;
    gap: var(--admin-space-sm);
    background: var(--admin-overlay-light);
    padding: var(--admin-space-sm);
    border-radius: var(--admin-radius-md);
    border-left: 3px solid var(--admin-accent-primary);
    margin: var(--admin-space-md) 0;
}
.property-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--admin-space-xs);
    background: var(--admin-overlay-light);
    border: 1px solid var(--admin-border-subtle);
    color: var(--admin-text-secondary);
    font-size: var(--admin-text-xs);
    padding: 4px 8px;
    border-radius: var(--admin-radius-sm);
}
/* ========== SEARCH / FILTERS ========== */
.admin-search-container {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    padding: var(--admin-space-md);
    margin-bottom: var(--admin-space-xl);
}
.admin-search-title {
    font-family: var(--admin-font-sans);
    font-size: var(--admin-text-sm);
    font-weight: var(--admin-font-semibold);
    color: var(--admin-accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--admin-space-md);
}
/* ========== GLOBAL COMPONENT OVERRIDES ========== */
/* Force all glass-panels in admin mode to use the new card style */
/* /* .admin-dark-mode .glass-panel,
.admin-dark-mode .glass-panel-inner {
    background: var(--admin-bg-card) !important;
    border: 1px solid var(--admin-border-subtle) !important;
    border-radius: var(--admin-radius-lg) !important;
    box-shadow: var(--admin-shadow-md) !important;
    backdrop-filter: none !important;
} */
*/

/* Force headings in admin mode */
.admin-dark-mode h1,
.admin-dark-mode h2,
.admin-dark-mode h3,
.admin-dark-mode h4 {
    color: var(--admin-text-primary) !important;
}
.admin-dark-mode p,
.admin-dark-mode span,
.admin-dark-mode label {
    color: var(--admin-text-secondary);
}
/* Force standard buttons if they use old classes */
.admin-dark-mode .primary-btn {
    background: var(--admin-accent-primary) !important;
    color: var(--admin-bg-primary) !important;
    border: none !important;
}
.admin-dark-mode .secondary-btn,
.admin-dark-mode .back-btn-styled {
    background: transparent !important;
    border: 1px solid var(--admin-accent-primary) !important;
    color: var(--admin-accent-primary) !important;
}
.admin-dark-mode .secondary-btn:hover,
.admin-dark-mode .back-btn-styled:hover {
    background: var(--admin-overlay-light) !important;
    color: var(--admin-accent-hover) !important;
}
.admin-flex {
    display: flex;
}
.admin-flex-col {
    display: flex;
    flex-direction: column;
}
.admin-gap-sm {
    gap: var(--admin-space-sm);
}
.admin-gap-md {
    gap: var(--admin-space-md);
}
.admin-gap-lg {
    gap: var(--admin-space-lg);
}
.admin-mb-sm {
    margin-bottom: var(--admin-space-sm);
}
.admin-mb-md {
    margin-bottom: var(--admin-space-md);
}
.admin-mb-lg {
    margin-bottom: var(--admin-space-lg);
}
/* ========== LIGHT THEME OVERRIDES ========== */
body.theme-light .admin-dark-mode,
.theme-light .admin-dark-mode {
    --admin-bg-primary: #F4F5F7; /* Very light slate gray to contrast with white cards */
    --admin-bg-secondary: #E9ECEF;
    --admin-bg-card: rgba(255, 255, 255, 0.75); /* Semi-transparent for glassmorphism */
    --admin-bg-card-hover: rgba(255, 255, 255, 0.95);
    --admin-bg-input: rgba(255, 255, 255, 0.85);
    --admin-bg-elevated: #FFFFFF;

    --admin-text-primary: #000000;
    --admin-text-secondary: #333333;
    --admin-text-tertiary: #555555;
    --admin-text-muted: #888888;

    --admin-accent-primary: #B89662; /* Slightly darker gold */
    --admin-accent-light: #D4B88C;
    --admin-accent-dark: #8E734A;
    --admin-accent-hover: #A68551;

    --admin-border-subtle: rgba(0, 0, 0, 0.05);
    --admin-border-medium: rgba(0, 0, 0, 0.1);
    --admin-border-strong: rgba(0, 0, 0, 0.18);

    --admin-overlay-light: rgba(255, 255, 255, 0.5);
    --admin-overlay-medium: rgba(255, 255, 255, 0.7);
    --admin-overlay-dark: rgba(255, 255, 255, 0.90);

    --admin-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.03);
    --admin-shadow-md: 0 4px 16px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.03);
    --admin-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --admin-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}/* required styles */

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
	position: absolute;
	left: 0;
	top: 0;
	}
.leaflet-container {
	overflow: hidden;
	}
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
	-webkit-user-select: none;
	   -moz-user-select: none;
	        user-select: none;
	  -webkit-user-drag: none;
	}
/* Prevents IE11 from highlighting tiles in blue */
.leaflet-tile::selection {
	background: transparent;
}
/* Safari renders non-retina tile on retina better with this, but Chrome is worse */
.leaflet-safari .leaflet-tile {
	image-rendering: -webkit-optimize-contrast;
	}
/* hack that prevents hw layers "stretching" when loading new tiles */
.leaflet-safari .leaflet-tile-container {
	width: 1600px;
	height: 1600px;
	-webkit-transform-origin: 0 0;
	}
.leaflet-marker-icon,
.leaflet-marker-shadow {
	display: block;
	}
/* .leaflet-container svg: reset svg max-width decleration shipped in Joomla! (joomla.org) 3.x */
/* .leaflet-container img: map is broken in FF if you have max-width: 100% on tiles */
.leaflet-container .leaflet-overlay-pane svg {
	max-width: none !important;
	max-height: none !important;
	}
.leaflet-container .leaflet-marker-pane img,
.leaflet-container .leaflet-shadow-pane img,
.leaflet-container .leaflet-tile-pane img,
.leaflet-container img.leaflet-image-layer,
.leaflet-container .leaflet-tile {
	max-width: none !important;
	max-height: none !important;
	width: auto;
	padding: 0;
	}

.leaflet-container img.leaflet-tile {
	/* See: https://bugs.chromium.org/p/chromium/issues/detail?id=600120 */
	mix-blend-mode: plus-lighter;
}

.leaflet-container.leaflet-touch-zoom {
	-ms-touch-action: pan-x pan-y;
	touch-action: pan-x pan-y;
	}
.leaflet-container.leaflet-touch-drag {
	-ms-touch-action: pinch-zoom;
	/* Fallback for FF which doesn't support pinch-zoom */
	touch-action: none;
	touch-action: pinch-zoom;
}
.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom {
	-ms-touch-action: none;
	touch-action: none;
}
.leaflet-container {
	-webkit-tap-highlight-color: transparent;
}
.leaflet-container a {
	-webkit-tap-highlight-color: rgba(51, 181, 229, 0.4);
}
.leaflet-tile {
	filter: inherit;
	visibility: hidden;
	}
.leaflet-tile-loaded {
	visibility: inherit;
	}
.leaflet-zoom-box {
	width: 0;
	height: 0;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	z-index: 800;
	}
/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */
.leaflet-overlay-pane svg {
	-moz-user-select: none;
	}

.leaflet-pane         { z-index: 400; }

.leaflet-tile-pane    { z-index: 200; }
.leaflet-overlay-pane { z-index: 400; }
.leaflet-shadow-pane  { z-index: 500; }
.leaflet-marker-pane  { z-index: 600; }
.leaflet-tooltip-pane   { z-index: 650; }
.leaflet-popup-pane   { z-index: 700; }

.leaflet-map-pane canvas { z-index: 100; }
.leaflet-map-pane svg    { z-index: 200; }

.leaflet-vml-shape {
	width: 1px;
	height: 1px;
	}
.lvml {
	behavior: url(#default#VML);
	display: inline-block;
	position: absolute;
	}


/* control positioning */

.leaflet-control {
	position: relative;
	z-index: 800;
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}
.leaflet-top,
.leaflet-bottom {
	position: absolute;
	z-index: 1000;
	pointer-events: none;
	}
.leaflet-top {
	top: 0;
	}
.leaflet-right {
	right: 0;
	}
.leaflet-bottom {
	bottom: 0;
	}
.leaflet-left {
	left: 0;
	}
.leaflet-control {
	float: left;
	clear: both;
	}
.leaflet-right .leaflet-control {
	float: right;
	}
.leaflet-top .leaflet-control {
	margin-top: 10px;
	}
.leaflet-bottom .leaflet-control {
	margin-bottom: 10px;
	}
.leaflet-left .leaflet-control {
	margin-left: 10px;
	}
.leaflet-right .leaflet-control {
	margin-right: 10px;
	}


/* zoom and fade animations */

.leaflet-fade-anim .leaflet-popup {
	opacity: 0;
	-webkit-transition: opacity 0.2s linear;
	   -moz-transition: opacity 0.2s linear;
	        transition: opacity 0.2s linear;
	}
.leaflet-fade-anim .leaflet-map-pane .leaflet-popup {
	opacity: 1;
	}
.leaflet-zoom-animated {
	-webkit-transform-origin: 0 0;
	    -ms-transform-origin: 0 0;
	        transform-origin: 0 0;
	}
svg.leaflet-zoom-animated {
	will-change: transform;
}

.leaflet-zoom-anim .leaflet-zoom-animated {
	-webkit-transition: -webkit-transform 0.25s cubic-bezier(0,0,0.25,1);
	   -moz-transition:    -moz-transform 0.25s cubic-bezier(0,0,0.25,1);
	        transition:         transform 0.25s cubic-bezier(0,0,0.25,1);
	}
.leaflet-zoom-anim .leaflet-tile,
.leaflet-pan-anim .leaflet-tile {
	-webkit-transition: none;
	   -moz-transition: none;
	        transition: none;
	}

.leaflet-zoom-anim .leaflet-zoom-hide {
	visibility: hidden;
	}


/* cursors */

.leaflet-interactive {
	cursor: pointer;
	}
.leaflet-grab {
	cursor: -webkit-grab;
	cursor:    -moz-grab;
	cursor:         grab;
	}
.leaflet-crosshair,
.leaflet-crosshair .leaflet-interactive {
	cursor: crosshair;
	}
.leaflet-popup-pane,
.leaflet-control {
	cursor: auto;
	}
.leaflet-dragging .leaflet-grab,
.leaflet-dragging .leaflet-grab .leaflet-interactive,
.leaflet-dragging .leaflet-marker-draggable {
	cursor: move;
	cursor: -webkit-grabbing;
	cursor:    -moz-grabbing;
	cursor:         grabbing;
	}

/* marker & overlays interactivity */
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-image-layer,
.leaflet-pane > svg path,
.leaflet-tile-container {
	pointer-events: none;
	}

.leaflet-marker-icon.leaflet-interactive,
.leaflet-image-layer.leaflet-interactive,
.leaflet-pane > svg path.leaflet-interactive,
svg.leaflet-image-layer.leaflet-interactive path {
	pointer-events: visiblePainted; /* IE 9-10 doesn't have auto */
	pointer-events: auto;
	}

/* visual tweaks */

.leaflet-container {
	background: #ddd;
	outline-offset: 1px;
	}
.leaflet-container a {
	color: #0078A8;
	}
.leaflet-zoom-box {
	border: 2px dotted #38f;
	background: rgba(255,255,255,0.5);
	}


/* general typography */
.leaflet-container {
	font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-size: 0.75rem;
	line-height: 1.5;
	}


/* general toolbar styles */

.leaflet-bar {
	box-shadow: 0 1px 5px rgba(0,0,0,0.65);
	border-radius: 4px;
	}
.leaflet-bar a {
	background-color: #fff;
	border-bottom: 1px solid #ccc;
	width: 26px;
	height: 26px;
	line-height: 26px;
	display: block;
	text-align: center;
	text-decoration: none;
	color: black;
	}
.leaflet-bar a,
.leaflet-control-layers-toggle {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	display: block;
	}
.leaflet-bar a:hover,
.leaflet-bar a:focus {
	background-color: #f4f4f4;
	}
.leaflet-bar a:first-child {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	}
.leaflet-bar a:last-child {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: none;
	}
.leaflet-bar a.leaflet-disabled {
	cursor: default;
	background-color: #f4f4f4;
	color: #bbb;
	}

.leaflet-touch .leaflet-bar a {
	width: 30px;
	height: 30px;
	line-height: 30px;
	}
.leaflet-touch .leaflet-bar a:first-child {
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	}
.leaflet-touch .leaflet-bar a:last-child {
	border-bottom-left-radius: 2px;
	border-bottom-right-radius: 2px;
	}

/* zoom control */

.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
	font: bold 18px 'Lucida Console', Monaco, monospace;
	text-indent: 1px;
	}

.leaflet-touch .leaflet-control-zoom-in, .leaflet-touch .leaflet-control-zoom-out  {
	font-size: 22px;
	}


/* layers control */

.leaflet-control-layers {
	box-shadow: 0 1px 5px rgba(0,0,0,0.4);
	background: #fff;
	border-radius: 5px;
	}
.leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);
	width: 36px;
	height: 36px;
	}
.leaflet-retina .leaflet-control-layers-toggle {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);
	background-size: 26px 26px;
	}
.leaflet-touch .leaflet-control-layers-toggle {
	width: 44px;
	height: 44px;
	}
.leaflet-control-layers .leaflet-control-layers-list,
.leaflet-control-layers-expanded .leaflet-control-layers-toggle {
	display: none;
	}
.leaflet-control-layers-expanded .leaflet-control-layers-list {
	display: block;
	position: relative;
	}
.leaflet-control-layers-expanded {
	padding: 6px 10px 6px 6px;
	color: #333;
	background: #fff;
	}
.leaflet-control-layers-scrollbar {
	overflow-y: scroll;
	overflow-x: hidden;
	padding-right: 5px;
	}
.leaflet-control-layers-selector {
	margin-top: 2px;
	position: relative;
	top: 1px;
	}
.leaflet-control-layers label {
	display: block;
	font-size: 13px;
	font-size: 1.08333em;
	}
.leaflet-control-layers-separator {
	height: 0;
	border-top: 1px solid #ddd;
	margin: 5px -10px 5px -6px;
	}

/* Default icon URLs */
.leaflet-default-icon-path { /* used only in path-guessing heuristic, see L.Icon.Default */
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=);
	}


/* attribution and scale controls */

.leaflet-container .leaflet-control-attribution {
	background: #fff;
	background: rgba(255, 255, 255, 0.8);
	margin: 0;
	}
.leaflet-control-attribution,
.leaflet-control-scale-line {
	padding: 0 5px;
	color: #333;
	line-height: 1.4;
	}
.leaflet-control-attribution a {
	text-decoration: none;
	}
.leaflet-control-attribution a:hover,
.leaflet-control-attribution a:focus {
	text-decoration: underline;
	}
.leaflet-attribution-flag {
	display: inline !important;
	vertical-align: baseline !important;
	width: 1em;
	height: 0.6669em;
	}
.leaflet-left .leaflet-control-scale {
	margin-left: 5px;
	}
.leaflet-bottom .leaflet-control-scale {
	margin-bottom: 5px;
	}
.leaflet-control-scale-line {
	border: 2px solid #777;
	border-top: none;
	line-height: 1.1;
	padding: 2px 5px 1px;
	white-space: nowrap;
	-moz-box-sizing: border-box;
	     box-sizing: border-box;
	background: rgba(255, 255, 255, 0.8);
	text-shadow: 1px 1px #fff;
	}
.leaflet-control-scale-line:not(:first-child) {
	border-top: 2px solid #777;
	border-bottom: none;
	margin-top: -2px;
	}
.leaflet-control-scale-line:not(:first-child):not(:last-child) {
	border-bottom: 2px solid #777;
	}

.leaflet-touch .leaflet-control-attribution,
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	box-shadow: none;
	}
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
	border: 2px solid rgba(0,0,0,0.2);
	background-clip: padding-box;
	}


/* popup */

.leaflet-popup {
	position: absolute;
	text-align: center;
	margin-bottom: 20px;
	}
.leaflet-popup-content-wrapper {
	padding: 1px;
	text-align: left;
	border-radius: 12px;
	}
.leaflet-popup-content {
	margin: 13px 24px 13px 20px;
	line-height: 1.3;
	font-size: 13px;
	font-size: 1.08333em;
	min-height: 1px;
	}
.leaflet-popup-content p {
	margin: 17px 0;
	margin: 1.3em 0;
	}
.leaflet-popup-tip-container {
	width: 40px;
	height: 20px;
	position: absolute;
	left: 50%;
	margin-top: -1px;
	margin-left: -20px;
	overflow: hidden;
	pointer-events: none;
	}
.leaflet-popup-tip {
	width: 17px;
	height: 17px;
	padding: 1px;

	margin: -10px auto 0;
	pointer-events: auto;

	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
	background: white;
	color: #333;
	box-shadow: 0 3px 14px rgba(0,0,0,0.4);
	}
.leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 0;
	right: 0;
	border: none;
	text-align: center;
	width: 24px;
	height: 24px;
	font: 16px/24px Tahoma, Verdana, sans-serif;
	color: #757575;
	text-decoration: none;
	background: transparent;
	}
.leaflet-container a.leaflet-popup-close-button:hover,
.leaflet-container a.leaflet-popup-close-button:focus {
	color: #585858;
	}
.leaflet-popup-scrolled {
	overflow: auto;
	}

.leaflet-oldie .leaflet-popup-content-wrapper {
	-ms-zoom: 1;
	}
.leaflet-oldie .leaflet-popup-tip {
	width: 24px;
	margin: 0 auto;

	-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
	filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
	}

.leaflet-oldie .leaflet-control-zoom,
.leaflet-oldie .leaflet-control-layers,
.leaflet-oldie .leaflet-popup-content-wrapper,
.leaflet-oldie .leaflet-popup-tip {
	border: 1px solid #999;
	}


/* div icon */

.leaflet-div-icon {
	background: #fff;
	border: 1px solid #666;
	}


/* Tooltip */
/* Base styles for the element that has a tooltip */
.leaflet-tooltip {
	position: absolute;
	padding: 6px;
	background-color: #fff;
	border: 1px solid #fff;
	border-radius: 3px;
	color: #222;
	white-space: nowrap;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
	box-shadow: 0 1px 3px rgba(0,0,0,0.4);
	}
.leaflet-tooltip.leaflet-interactive {
	cursor: pointer;
	pointer-events: auto;
	}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	position: absolute;
	pointer-events: none;
	border: 6px solid transparent;
	background: transparent;
	content: "";
	}

/* Directions */

.leaflet-tooltip-bottom {
	margin-top: 6px;
}
.leaflet-tooltip-top {
	margin-top: -6px;
}
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-top:before {
	left: 50%;
	margin-left: -6px;
	}
.leaflet-tooltip-top:before {
	bottom: 0;
	margin-bottom: -12px;
	border-top-color: #fff;
	}
.leaflet-tooltip-bottom:before {
	top: 0;
	margin-top: -12px;
	margin-left: -6px;
	border-bottom-color: #fff;
	}
.leaflet-tooltip-left {
	margin-left: -6px;
}
.leaflet-tooltip-right {
	margin-left: 6px;
}
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
	top: 50%;
	margin-top: -6px;
	}
.leaflet-tooltip-left:before {
	right: 0;
	margin-right: -12px;
	border-left-color: #fff;
	}
.leaflet-tooltip-right:before {
	left: 0;
	margin-left: -12px;
	border-right-color: #fff;
	}

/* Printing */

@media print {
	/* Prevent printers from removing background-images of controls. */
	.leaflet-control {
		-webkit-print-color-adjust: exact;
		print-color-adjust: exact;
		}
	}
/* OrderWizard.css - PREMIUM THEME */

.wizard-container, .smart-agenda-container {
    --primary-color: var(--admin-accent-primary, #D4B88C);
    /* Gold */
    --primary-rgb: 212, 184, 140;
    --accent-gold: var(--admin-accent-primary, #D4B88C);
    --text-primary: var(--admin-text-primary, #EAEAEA);
    --text-secondary: var(--admin-text-secondary, #888);
    --text-tertiary: var(--admin-text-tertiary, #555);
    --border-light: var(--admin-border-subtle, #333);
    --bg-subtle: var(--admin-bg-primary, #0F0F0F);
    --bg-dark: var(--admin-bg-secondary, #0a0a0a);
    --bg-card: var(--admin-bg-card, #1A1A1A);
    --white: var(--admin-bg-card, #1A1A1A);
    /* In Dark Mode, "white" is mapped to card bg */
    --font-serif: "Playfair Display", Georgia, serif;
    --font-mono: monospace;
}

.wizard-container {
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 6rem;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
}

/* --- HEADER & STEPS --- */
.wizard-header {
    margin-bottom: 3rem;
    text-align: center;
}

.steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.step-dot {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-tertiary);
    position: relative;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.step-dot.active {
    color: var(--accent-gold);
    font-weight: 700;
}

.step-dot.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.step-line {
    width: 40px;
    height: 2px;
    background: var(--border-light);
}

/* --- TITLES --- */
.step-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.step-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.form-section {
    margin-bottom: 3rem;
}

/* --- INPUTS: FLOATING LABELS (Modern) --- */
.form-group.floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.floating label {
    position: absolute;
    top: -10px;
    left: 12px;
    background: var(--bg-card);
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    z-index: 2;
    transition: all 0.2s;
}

.form-group.floating .select-wrapper {
    position: relative;
}

.form-group.floating select,
.form-group.floating input {
    height: 56px;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
    font-size: 1.05rem;
    font-weight: 500;
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.form-group.floating select:focus,
.form-group.floating input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.1);
    transform: translateY(-1px);
}

/* Enhancing Standard Inputs too */
.form-group input,
.form-group select {
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
    display: block;
    letter-spacing: 0.3px;
}

/* --- 1. SURFACE SELECTOR (Segmented Control) --- */
.surface-toggle {
    display: flex;
    background: var(--bg-subtle);
    padding: 0.4rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    gap: 0.5rem;
}

.surface-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.8rem;
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.surface-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
}

.surface-btn.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.surface-alert {
    margin-top: 1rem;
    background: rgba(212, 184, 140, 0.1);
    color: var(--accent-gold);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    gap: 0.5rem;
    border: 1px solid rgba(212, 184, 140, 0.2);
}

/* --- 2. SOLO PRODUCTS (Interactive Rows) --- */
.services-list-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.service-row {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.service-row:hover {
    border-color: var(--border-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.service-row.selected {
    border-color: var(--accent-gold);
    background: linear-gradient(to right, rgba(212, 184, 140, 0.05), rgba(212, 184, 140, 0.1));
    box-shadow: 0 0 0 1px rgba(212, 184, 140, 0.2);
}

.service-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-gold);
    margin-right: 1.2rem;
    cursor: pointer;
}

.service-row-name {
    flex: 1;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-primary);
}

.service-row-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: var(--font-mono);
}

/* --- 3. PACKS (Cards) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pack-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.pack-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.pack-card.selected {
    border-color: var(--accent-gold);
    background: rgba(212, 184, 140, 0.05);
    box-shadow:
        0 0 0 4px rgba(212, 184, 140, 0.15),
        0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.pack-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color), 0 10px 20px rgba(var(--primary-rgb), 0.15);
}

.check-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.pack-card.selected .check-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.drone-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.3);
    white-space: nowrap;
    z-index: 2;
}

.service-info {
    margin-top: 1rem;
    text-align: center;
}

.service-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.service-description {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    min-height: 40px;
}

.service-price-tag {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-color);
}

/* --- 4. HOME STAGING WIDGET --- */
.highlight-section {
    background: linear-gradient(135deg, rgba(212, 184, 140, 0.05), rgba(167, 139, 250, 0.05));
    border: 1px solid rgba(212, 184, 140, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
}

.staging-widget {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.staging-info p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.staging-info strong {
    font-size: 1.1rem;
    color: #d97706;
    /* Amber color for "Gold" effect */
}

.staging-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.4rem;
    border-radius: 12px;
}

.staging-controls button {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.staging-controls button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
}

.staging-controls input {
    width: 50px;
    height: 36px;
    background: transparent;
    border: none;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* --- ACTIONS --- */
.wizard-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

/* --- STICKY FOOTER (Premium Glassmorphism - DARK) --- */
.sticky-total-footer {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.9);
    /* Dark Glass */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 1.2rem 2.5rem;
    box-shadow:
        0 20px 50px -10px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    width: auto;
    min-width: 600px;
    z-index: 1000;
    animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        transform: translate(-50%, 100%);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.total-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    width: 100%;
}

.totals-group {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 280px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    letter-spacing: -0.02em;
}

.total-row.small {
    font-size: 0.7rem;
    opacity: 0.6;
}

.total-row.discount {
    color: #FFD700;
}

.total-row.main {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.total-row.main.infinity {
    border-top: none;
    margin: 0;
    padding: 0;
    text-align: right;
    display: block;
}

.total-row.main.infinity span {
    display: block;
    line-height: 1;
}

.total-row.main.infinity .label {
    font-size: 0.7rem;
    color: #a78bfa;
    text-transform: uppercase;
    margin-top: 4px;
    letter-spacing: 0.1em;
}

/* Transport Section */
.transport-wow {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 140px;
}

.transport-wow .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    /* Lighter grey for better contrast */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.transport-wow .price-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.crossed-price {
    text-decoration: line-through;
    color: var(--text-tertiary);
    /* Lighter crossed-out grey */
    font-weight: 500;
    font-size: 1.1rem;
    font-family: monospace;
}

.free-price {
    color: var(--text-primary);
    /* Black text for max contrast */
    font-weight: 800;
    background: #34d399;
    /* Solid Bright Emerald */
    padding: 0.3rem 0.8rem;
    border-radius: 99px;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.4);
    /* Glow */
    border: none;
}

/* Vertical Separator */
.separator-vertical {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #333, transparent);
}

/* Totals Section */
.totals-group {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex: 1;
    justify-content: flex-end;
}

.total-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.total-row.sub span:first-child {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
    font-family: monospace;
}

.total-row.sub span:last-child {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-variant-numeric: tabular-nums;
    font-family: monospace;
}

.total-row.main span:first-child {
    font-size: 0.8rem;
    color: #d4b88c;
    /* Gold Accent */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: monospace;
}

.total-row.main span:last-child {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    /* White text */
    letter-spacing: -1px;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    font-family: 'Playfair Display', serif;
    /* Matching Premium Font */
}

/* Button Disabled State Override */
.wizard-actions button:disabled {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(1);
    background: var(--border-light);
    color: #94a3b8;
}

/* --- PROPERTY DETAILS STEP --- */

.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

@media (max-width: 768px) {
    .form-grid-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.address-row-1 {
    display: grid;
    grid-template-columns: 2fr 0.8fr 0.8fr;
    gap: 1rem;
}

.address-row-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

/* TOGGLE CARDS (Premium Checkboxes) */
.toggle-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1rem;
}

.toggle-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card);
}

.toggle-card.active {
    border-color: var(--primary-color);
    background: #f0f9ff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.toggle-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--bg-card);
}

.toggle-info {
    display: flex;
    flex-direction: column;
}

.toggle-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.toggle-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* iOS Switch Style */
.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--border-light);
    border-radius: 99px;
    position: relative;
    transition: all 0.3s;
}

.toggle-card.active .toggle-switch {
    background: var(--primary-color);
}

.switch-knob {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


/* --- MIGRATED FROM SERVICESELECTION.JSX --- */

.section-header {
    margin-bottom: 1.5rem;
    border-left: 2px solid var(--accent-gold);
    padding-left: 1rem;
}

.section-header h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0;
}

.section-header p {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.2rem;
}

/* 1. SURFACE TOGGLE - TECHNICAL SWITCH */
.surface-toggle-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-switch {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1rem 2rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 140px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    /* Added for consistency */
}

.tech-switch:hover {
    border-color: var(--text-tertiary);
    color: var(--text-primary);
}

.tech-switch.active {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(212, 184, 140, 0.05);
}

.tech-switch.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
}

/* 2. SOLO PRODUCTS GRID */
.solo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.premium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    cursor: pointer;
    transition: border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    border-radius: 12px;
}

.premium-card:hover {
    border-color: var(--text-tertiary);
}

.premium-card.selected {
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(212, 184, 140, 0.1);
    background: rgba(212, 184, 140, 0.05);
    /* Subtle gold tint */
}

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

.product-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.checkbox-visual {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-light);
    transition: all 0.2s;
    border-radius: 4px;
    /* Added for consistency */
}

.premium-card.selected .checkbox-visual {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
}

.price-tag {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-mono);
}

.price-tag .utils {
    font-size: 0.7em;
    color: var(--text-tertiary);
    font-weight: 400;
}

/* 3. PACKS GRID */
.packs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Redefining .pack-card here would override or merge with above. careful.
   Currently `ServiceSelection.jsx` uses `.premium-card.pack-card`.
   The `OrderWizard.css` has `.pack-card` already.
   Let's ensure they are compatible.
*/

.pack-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    color: var(--text-primary);
}

.pack-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1rem 0 1.5rem 0;
    line-height: 1.5;
}

/* 4. HOME STAGING ROW */
.staging-row {
    background: linear-gradient(90deg, rgba(212, 184, 140, 0.05), transparent);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-gold);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
}

.staging-content h4 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0 0 0.3rem 0;
}

.staging-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.counter-control {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ctrl-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 50%;
    /* Or rounded square */
}

.ctrl-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.count-display {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--accent-gold);
    min-width: 30px;
    text-align: center;
}

/* WIZARD ACTIONS OVERRIDE */
.btn-prev {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
    border-radius: 8px;
}

.btn-prev:hover {
    background: rgba(255,255,255,0.05);
    color: var(--text-primary);
    border-color: var(--text-secondary);
    transform: translateX(-5px);
}

.btn-next {
    background: var(--text-primary);
    color: var(--bg-dark);
    border: none;
    padding: 1rem 2rem;
    font-family: var(--font-mono);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 0.05em;
    border-radius: 8px;
}

.btn-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-next:hover:not(:disabled) {
    background: var(--accent-gold);
    color: var(--text-primary);
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .surface-toggle-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .tech-switch {
        width: 100%;
    }

    .staging-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .counter-control {
        align-self: flex-end;
    }
}

/* --- 5. PRODUCT PREVIEW (Inside Cards) --- */
.product-preview-container {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.75rem 0;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.product-preview-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    font-size: 0.75rem;
    transition: background 0.3s;
}

.pack-card.selected .product-preview-item {
    background: rgba(212, 184, 140, 0.12);
}

.product-preview-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.pack-card.selected .product-preview-label {
    color: var(--accent-gold);
}

/* --- 6. EXACT SURFACE INPUT --- */
.exact-surface-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem 1.25rem;
}

.exact-surface-input {
    width: 100px;
    padding: 0.6rem 0.8rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--accent-gold);
    font-family: var(--font-mono);
    font-size: 1.1rem;
    text-align: center;
}

.surcharge-text {
    color: #ef9a3d;
    font-size: 0.8rem;
    margin-left: auto;
    font-family: monospace;
}

/* --- 7. SMART UPSELL BANNER --- */
.upsell-banner {
    margin: 1.5rem 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 184, 140, 0.12), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(212, 184, 140, 0.3);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.upsell-btn {
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #D4B88C, #a78bfa);
    border: none;
    border-radius: 8px;
    color: #0F0F0F;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
}

/* --- 8. HS UPSELL (Home Staging) --- */
.hs-upsell-banner {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(212, 184, 140, 0.15), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(212, 184, 140, 0.4);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.hs-upsell-action {
    background: #D4B88C;
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
}

.hs-upsell-title {
    color: #D4B88C;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.3rem;
}


.hs-upsell-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* --- 9. PROPERTY DETAILS STEP (Tabs & Layout) --- */
.form-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.tabs-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.tab-btn {
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-tertiary);
    font-family: var(--font-serif);
    font-size: 1.2rem;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.tab-btn.active {
    color: var(--accent-gold);
    border-bottom-color: var(--accent-gold);
}

.tab-btn.valid {
    color: #4ade80;
}

.tab-btn.add-btn {
    color: #10b981;
    border-bottom-color: transparent;
    opacity: 0.7;
    font-size: 1rem;
}

.tab-btn.add-btn:hover {
    opacity: 1;
}

.address-row-1 {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
}

.address-row-2 {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.toggle-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.toggle-card.active {
    border-color: var(--accent-gold);
    background: rgba(212, 184, 140, 0.05);
}

.toggle-info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.toggle-title {
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background: var(--admin-bg-secondary);
    border-radius: 99px;
    position: relative;
    transition: background 0.3s;
}

.toggle-card.active .toggle-switch {
    background: var(--accent-gold);
}

.switch-knob {
    width: 20px;
    height: 20px;
    background: var(--bg-card);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.switch-knob.on {
    transform: translateX(20px);
}

.map-preview-container {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 1rem;
    border: 1px solid var(--border-light);
    background: var(--bg-subtle);
}

/* Remove Property Button Styling */
.btn-remove {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid #ef4444;
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}


.btn-remove:hover {
    background: #ef4444;
    color: white;
}

/* --- 10. DOCUMENTS STEP (Upload & Files) --- */
.documents-upload-area {
    padding: 2.5rem 2rem;
    text-align: center;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
}

.documents-upload-area:hover {
    border-color: rgba(212, 184, 140, 0.3);
    background: rgba(212, 184, 140, 0.04);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(0.3);
}

.upload-title {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.upload-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.upload-hint {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-top: 0.75rem;
}

.upload-capacity-bar {
    margin-top: 1rem;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.capacity-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.capacity-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.capacity-fill {
    height: 100%;
    background: var(--accent-gold);
    border-radius: 2px;
}

.capacity-fill.danger {
    background: #ef4444;
}

.upload-error-banner {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    color: #f87171;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active-upload-item {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(212, 184, 140, 0.05);
    border: 1px solid rgba(212, 184, 140, 0.1);
    border-radius: 10px;
}

.file-result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all 0.2s;
}

.file-result-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.file-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.file-name {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

.file-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.btn-file-remove {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    cursor: pointer;
    color: #ef4444;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.2s;
}


.btn-file-remove:hover {
    background: #ef4444;
    color: white;
}

/* --- 11. PLANNING & VALIDATION STEP (Final Summary) --- */
.validation-split-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

@media (max-width: 1100px) {
    .validation-split-layout {
        grid-template-columns: 1fr;
    }
}

.summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    height: 100%;
}

.summary-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-header h3 {
    margin: 0;
    font-family: var(--font-serif);
    color: var(--text-primary);
}

.summary-date {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-tertiary);
}

.summary-body {
    padding: 1.5rem;
}

.sum-section {
    margin-bottom: 1.5rem;
}

.sum-val {
    color: var(--text-primary);
    font-weight: 500;
}

.sum-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
    display: block;
    margin-bottom: 0.5rem;
}

.dashed-divider {
    border-bottom: 1px dashed var(--border-light);
    margin: 1.5rem 0;
}

.total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 1rem;
}

.total-label {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

.total-amount {
    font-size: 1.8rem;
    color: var(--accent-gold);
    font-family: var(--font-serif);
}

/* Slot Feedback */
.selected-slot-banner {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(212, 184, 140, 0.1);
    border: 1px solid var(--accent-gold);
    border-radius: 8px;
}

.slot-label {
    display: block;
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.slot-date {
    font-size: 1.2rem;
    color: var(--text-primary);
}

.slot-time {
    font-size: 1.5rem;
    color: var(--accent-gold);
    font-family: var(--font-mono);
}

/* Email Preview */
.email-preview-container {
    margin-top: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
}

.email-preview-header {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.email-mock-up {
    background: var(--bg-dark);
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid var(--border-light);
    line-height: 1.6;
}

.email-subject {
    color: var(--accent-gold);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.email-content {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), #a78bfa);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transform: scale(0);
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s forwards;
}

.success-title {
    color: white;
    font-size: 1.5rem;
    font-family: var(--font-serif);
    margin: 0 0 0.5rem 0;
    opacity: 0;
    animation: fadeInStep 0.5s ease 0.8s forwards;
}

.success-subtitle {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    opacity: 0;
    animation: fadeInStep 0.5s ease 1s forwards;
}

/* Animations */
@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInStep {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes confettiFall {
    0% {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx), var(--ty)) rotate(180deg) scale(0.3);
    }
}.delivery-checklist-modal {
    max-width: 700px;
    width: 90vw;
}

.delivery-checklist-modal .modal-body {
    padding: 1.5rem;
}

.delivery-checklist-modal .order-info {
    padding: 1rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.delivery-checklist-modal .order-info p {
    margin: 0.5rem 0;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.delivery-checklist-modal .order-info strong {
    color: #fff;
}

/* Deliverables Grid */
.deliverables-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.deliverable-card {
    cursor: pointer;
    padding: 1.5rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    user-select: none;
}

.deliverable-card.completed {
    border: 2px solid #10b981;
    background: rgba(16, 185, 129, 0.05);
}

.deliverable-card.pending {
    border: 2px solid #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.deliverable-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.deliverable-card.pending:hover {
    border-color: #f59e0b;
}

.deliverable-card.completed {
    animation: pulse-green 0.3s ease;
}

@keyframes pulse-green {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.card-info {
    flex: 1;
}

.card-info h4 {
    margin: 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
}

.card-info p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #94a3b8;
}

.card-status {
    flex-shrink: 0;
}

/* Validation Status */
.validation-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid;
}

.validation-status.valid {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

.validation-status.invalid {
    background: rgba(239, 68, 68, 0.1);
    border-color: #ef4444;
}

.validation-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.validation-header strong {
    color: #fff;
    font-size: 0.95rem;
}

.validation-errors {
    margin-top: 0.75rem;
}

.error-item {
    margin: 0.25rem 0;
    color: #ef4444;
    font-size: 0.9rem;
}

.validation-success {
    margin: 0.75rem 0 0;
    color: #10b981;
    font-size: 0.9rem;
}

/* Modal Footer */
.delivery-checklist-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.delivery-checklist-modal .btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}.week-view-container {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.week-view-header {
    margin-bottom: 1.5rem;
}

.week-view-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #e2e8f0;
}

.week-grid {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.time-column {
    background: rgba(0, 0, 0, 0.2);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.time-header {
    height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.time-cell {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.day-column {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.day-column:last-child {
    border-right: none;
}

.day-header {
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
}

.day-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.day-header.today {
    background: rgba(59, 130, 246, 0.2);
    border-bottom-color: #3b82f6;
}

.day-header.selected {
    background: rgba(139, 92, 246, 0.3);
    border-bottom-color: #8b5cf6;
}

.day-name {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 600;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e2e8f0;
}

.appointment-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #8b5cf6;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.slot-cell {
    height: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
    position: relative;
}

.slot-cell:hover {
    background: rgba(255, 255, 255, 0.03);
}

.slot-cell.available {
    background: rgba(16, 185, 129, 0.05);
}

.slot-cell.occupied {
    background: rgba(239, 68, 68, 0.15);
}

.slot-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
}

.week-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.loading-spinner {
    color: white;
    font-size: 0.9rem;
}.react-calendar {
  width: 350px;
  max-width: 100%;
  background: white;
  border: 1px solid #a0a096;
  font-family: 'Arial', 'Helvetica', sans-serif;
  line-height: 1.125em;
}

.react-calendar--doubleView {
  width: 700px;
}

.react-calendar--doubleView .react-calendar__viewContainer {
  display: flex;
  margin: -0.5em;
}

.react-calendar--doubleView .react-calendar__viewContainer > * {
  width: 50%;
  margin: 0.5em;
}

.react-calendar,
.react-calendar *,
.react-calendar *:before,
.react-calendar *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.react-calendar button {
  margin: 0;
  border: 0;
  outline: none;
}

.react-calendar button:enabled:hover {
  cursor: pointer;
}

.react-calendar__navigation {
  display: flex;
  height: 44px;
  margin-bottom: 1em;
}

.react-calendar__navigation button {
  min-width: 44px;
  background: none;
}

.react-calendar__navigation button:disabled {
  background-color: #f0f0f0;
}

.react-calendar__navigation button:enabled:hover,
.react-calendar__navigation button:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__month-view__weekdays {
  text-align: center;
  text-transform: uppercase;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__weekdays__weekday {
  padding: 0.5em;
}

.react-calendar__month-view__weekNumbers .react-calendar__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-size: 0.75em;
  font-weight: bold;
}

.react-calendar__month-view__days__day--weekend {
  color: #d10000;
}

.react-calendar__month-view__days__day--neighboringMonth,
.react-calendar__decade-view__years__year--neighboringDecade,
.react-calendar__century-view__decades__decade--neighboringCentury {
  color: #757575;
}

.react-calendar__year-view .react-calendar__tile,
.react-calendar__decade-view .react-calendar__tile,
.react-calendar__century-view .react-calendar__tile {
  padding: 2em 0.5em;
}

.react-calendar__tile {
  max-width: 100%;
  padding: 10px 6.6667px;
  background: none;
  text-align: center;
  font: inherit;
  font-size: 0.833em;
}

.react-calendar__tile:disabled {
  background-color: #f0f0f0;
  color: #ababab;
}

.react-calendar__month-view__days__day--neighboringMonth:disabled,
.react-calendar__decade-view__years__year--neighboringDecade:disabled,
.react-calendar__century-view__decades__decade--neighboringCentury:disabled {
  color: #cdcdcd;
}

.react-calendar__tile:enabled:hover,
.react-calendar__tile:enabled:focus {
  background-color: #e6e6e6;
}

.react-calendar__tile--now {
  background: #ffff76;
}

.react-calendar__tile--now:enabled:hover,
.react-calendar__tile--now:enabled:focus {
  background: #ffffa9;
}

.react-calendar__tile--hasActive {
  background: #76baff;
}

.react-calendar__tile--hasActive:enabled:hover,
.react-calendar__tile--hasActive:enabled:focus {
  background: #a9d4ff;
}

.react-calendar__tile--active {
  background: #006edc;
  color: white;
}

.react-calendar__tile--active:enabled:hover,
.react-calendar__tile--active:enabled:focus {
  background: #1087ff;
}

.react-calendar--selectRange .react-calendar__tile--hover {
  background-color: #e6e6e6;
}
/* Client Directory Styles */

.client-directory {
    padding: 2rem;
    color: var(--admin-text-primary);
    min-height: 100vh;
    background: var(--admin-bg-primary);
}

/* Header */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2rem;
    margin: 0;
    font-family: var(--admin-font-serif);
    background: linear-gradient(135deg, var(--admin-accent-primary), var(--admin-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--admin-text-tertiary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--admin-accent-primary), var(--admin-accent-dark));
    color: var(--admin-bg-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--admin-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-glow-accent);
}

/* Filters Bar */
.filters-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--admin-bg-input);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    padding: 0.75rem 1rem;
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--admin-text-primary);
    font-size: 1rem;
    outline: none;
}

.search-box input::placeholder {
    color: var(--admin-text-muted);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--admin-bg-input);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    padding: 0.75rem 1rem;
}

.filter-group label {
    color: var(--admin-text-tertiary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-group select {
    background: var(--admin-bg-secondary);
    border: 1px solid var(--admin-border-subtle);
    color: var(--admin-text-primary);
    padding: 0.25rem 0.5rem;
    border-radius: var(--admin-radius-sm);
    cursor: pointer;
}

/* Agencies List */
.agencies-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.agency-group {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    padding: 1.5rem;
}

.agency-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--admin-border-medium);
    transition: all 0.3s ease;
}

.agency-header.clickable {
    cursor: pointer;
    padding: 1rem;
    margin: -1rem -1rem 1.5rem -1rem;
    border-radius: var(--admin-radius-md);
}

.agency-header.clickable:hover {
    background: var(--admin-bg-card-hover);
    border-color: var(--admin-accent-primary);
    transform: translateX(4px);
}

.agency-header h2 {
    margin: 0 0 0.5rem 0;
    color: var(--admin-accent-primary);
    font-size: 1.3rem;
    font-family: var(--admin-font-serif);
}

.agency-info {
    display: flex;
    gap: 0.75rem;
    color: var(--admin-text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.client-card,
.user-card {
    background: var(--admin-bg-elevated);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 200px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--admin-border-subtle);
    gap: 1rem;
}

.card-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--admin-text-primary);
    word-break: break-word;
}

/* Move badge to be more compact if needed */
.tier-badge {
    padding: 0.2rem 0.6rem;
    border-radius: var(--admin-radius-sm);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    height: fit-content;
}

.user-details {
    margin: 0.75rem 0;
    flex-grow: 1;
    /* Push footer to bottom */
}

/* New layout for the 'Voir details' button inside the card flow */
.card-footer {
    display: flex;
    justify-content: flex-end;
    /* Align to right */
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--admin-border-subtle);
    margin-top: auto;
}

.btn-view {
    background: transparent;
    color: var(--admin-accent-primary);
    border: 1px solid var(--admin-border-medium);
    /* Subtle border */
    padding: 0.5rem 1rem;
    border-radius: var(--admin-radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view:hover {
    background: var(--admin-overlay-light);
    color: var(--admin-accent-hover);
    border-color: var(--admin-accent-hover);
}

.btn-icon {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: all 0.2s;
    color: var(--admin-text-secondary);
}

.btn-icon:hover {
    opacity: 1;
    transform: scale(1.1);
    color: var(--admin-accent-primary);
}

/* Empty State */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--admin-text-muted);
}

.empty-state p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* Loader */
.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    color: var(--admin-text-muted);
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr;
    }

    .filters-bar {
        flex-direction: column;
    }

    .search-box {
        min-width: 100%;
    }
}/* UNFRM LAB - Prospect Manager Styles */

.prospect-manager {
    padding: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.pm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.pm-header h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1F2937;
    margin: 0;
}

.btn-primary {
    padding: 12px 24px;
    background: linear-gradient(135deg, #C5A47E 0%, #B89968 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(197, 164, 126, 0.4);
}

.pm-controls {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pm-search input {
    padding: 10px 16px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    width: 300px;
    font-size: 14px;
}

.pm-zone-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pm-zone-filter button {
    padding: 8px 16px;
    border: 2px solid transparent;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pm-zone-filter button:hover {
    background: #F9FAFB;
}

.pm-zone-filter button.active {
    border-color: currentColor;
    font-weight: 600;
}

.pm-view-toggle {
    display: flex;
    gap: 4px;
    background: #F3F4F6;
    padding: 4px;
    border-radius: 8px;
}

.pm-view-toggle button {
    padding: 8px 16px;
    border: none;
    background: transparent;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.pm-view-toggle button.active {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.pm-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: var(--bg-surface, rgba(255, 255, 255, 0.03));
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.08));
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-gold, #C5A47E);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pm-list {
    background: transparent;
    border-radius: 12px;
    overflow: hidden;
}

.pm-list table {
    width: 100%;
    border-collapse: collapse;
}

.pm-list thead {
    background: rgba(255, 255, 255, 0.05);
}

.pm-list th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary, #9ca3af);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

.pm-list td {
    padding: 16px;
    border-bottom: 1px solid var(--border-light, rgba(255, 255, 255, 0.05));
    color: var(--text-main, #f3f4f6);
}

.pm-list tbody tr:hover {
    background: rgba(197, 164, 126, 0.1);
}

.zone-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.status-prospect {
    background: #FEF3C7;
    color: #92400E;
}

.status-client {
    background: #D1FAE5;
    color: #065F46;
}

.status-inactive {
    background: #F3F4F6;
    color: #6B7280;
}

.btn-icon {
    padding: 6px 10px;
    border: 1px solid #D1D5DB;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 16px;
}

.btn-icon:hover {
    background: #F9FAFB;
    border-color: #C5A47E;
}

.btn-danger:hover {
    background: #FEE2E2;
    border-color: #DC2626;
}

/* Map container */
.map-container {
    background: var(--bg-surface, #1e1e1e);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-light, rgba(255, 255, 255, 0.1));
}

/* Responsive */
@media (max-width: 768px) {
    .pm-controls {
        flex-direction: column;
    }

    .pm-search input {
        width: 100%;
    }

    .pm-list {
        overflow-x: auto;
    }

    .pm-list table {
        min-width: 800px;
    }
}

/* CSS for City Filters in ProspectManager */
.pm-city-filter {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 15px;
}

.city-pills-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    color: #64748b;
}

.btn-text-sm {
    background: none;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    font-size: 0.8rem;
    text-decoration: underline;
    padding: 0;
}

.city-pills-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.city-pills-scroll::-webkit-scrollbar {
    height: 4px;
}

.city-pills-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.city-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--text-secondary, #94a3b8);
    font-size: 0.9rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.city-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.city-pill.active {
    background: #C5A47E;
    /* Gold accent */
    color: white;
    border-color: #C5A47E;
    font-weight: 500;
}

.city-pill .count {
    font-size: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    opacity: 0.8;
}.agency-detail {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    background: var(--admin-bg-primary);
    min-height: 100vh;
    color: var(--admin-text-primary);
}

/* Loading & Error States */
.agency-detail-loading,
.agency-detail-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--admin-border-medium);
    border-top-color: var(--admin-accent-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Header */
.agency-detail-header {
    background: var(--admin-bg-card);
    border: 1px solid var(--admin-border-subtle);
    backdrop-filter: blur(10px);
    border-radius: var(--admin-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--admin-shadow-md);
}

.back-button {
    background: transparent;
    border: 1px solid var(--admin-accent-primary);
    color: var(--admin-accent-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--admin-radius-sm);
    cursor: pointer;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--admin-overlay-light);
    border-color: var(--admin-accent-hover);
    color: var(--admin-accent-hover);
}

.agency-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.agency-info h1 {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    color: var(--admin-text-primary);
    font-family: var(--admin-font-serif);
}

.agency-tier-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.tier-label {
    font-size: 0.95rem;
    color: var(--admin-text-tertiary);
}

.tier-selector {
    padding: 0.5rem 1rem;
    background: var(--admin-bg-input);
    border: 1px solid var(--admin-border-medium);
    border-radius: var(--admin-radius-sm);
    color: var(--admin-text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tier-selector:hover:not(:disabled) {
    background: var(--admin-bg-card-hover);
    border-color: var(--admin-accent-primary);
}

.tier-selector:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.updating-spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
    font-size: 1.2rem;
    color: var(--admin-accent-primary);
}

.agency-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    color: var(--admin-text-secondary);
    font-size: 0.95rem;
}

.agency-contact p {
    margin: 0;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--admin-bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-lg);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--admin-shadow-sm);
}

.stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--admin-accent-primary);
    box-shadow: var(--admin-glow-accent);
}

.stat-icon {
    font-size: 2rem;
    opacity: 0.9;
    /* You might want to colorize icons or keep them distinct */
}

.stat-info h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.5rem;
    color: var(--admin-accent-primary);
    font-family: var(--admin-font-serif);
}

.stat-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--admin-text-tertiary);
}

/* Tabs */
.agency-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--admin-border-subtle);
    flex-wrap: wrap;
}

.agency-tabs button {
    background: transparent;
    border: none;
    color: var(--admin-text-tertiary);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.agency-tabs button:hover {
    color: var(--admin-accent-primary);
}

.agency-tabs button.tab-active {
    color: var(--admin-accent-primary);
    border-bottom-color: var(--admin-accent-primary);
    font-weight: 600;
}

/* Tab Content */
.tab-content {
    background: var(--admin-bg-card);
    backdrop-filter: blur(10px);
    border-radius: var(--admin-radius-lg);
    padding: 2rem;
    border: 1px solid var(--admin-border-subtle);
    min-height: 400px;
    box-shadow: var(--admin-shadow-md);
}

.tab-content h2 {
    margin-top: 0;
    margin-bottom: 1.5rem;
    color: var(--admin-accent-primary);
    font-family: var(--admin-font-serif);
}

.empty-state {
    text-align: center;
    color: var(--admin-text-muted);
    padding: 3rem;
    font-size: 1.1rem;
}

/* Overview Content */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.overview-section {
    background: var(--admin-bg-elevated);
    padding: 1.5rem;
    border-radius: var(--admin-radius-md);
    border: 1px solid var(--admin-border-subtle);
}

.overview-section h3 {
    margin-top: 0;
    color: var(--admin-accent-primary);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-family: var(--admin-font-serif);
}

.overview-section p {
    margin: 0.5rem 0;
    color: var(--admin-text-secondary);
    line-height: 1.6;
}

.overview-section strong {
    color: var(--admin-text-tertiary);
    margin-right: 0.5rem;
}

/* Users Grid */
.users-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.user-card {
    background: var(--admin-bg-elevated);
    border: 1px solid var(--admin-border-subtle);
    border-radius: var(--admin-radius-md);
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: all 0.3s ease;
}

.user-card:hover {
    transform: translateY(-2px);
    border-color: var(--admin-accent-primary);
    box-shadow: var(--admin-glow-accent);
}

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

.user-info {
    flex: 1;
    min-width: 0;
}

.user-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--admin-text-primary);
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.user-email {
    color: var(--admin-text-tertiary);
    font-size: 0.85rem;
    margin: 0 0 0.5rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.role-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

/* Tables */
.orders-table-container,
.invoices-table-container {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.data-table thead {
    background: var(--admin-overlay-light);
}

.data-table th {
    text-align: left;
    padding: 1rem;
    color: var(--admin-accent-primary);
    font-weight: 600;
    border-bottom: 2px solid var(--admin-border-medium);
}

.data-table tbody tr {
    border-bottom: 1px solid var(--admin-border-subtle);
    transition: background 0.2s ease;
}

.data-table tbody tr:hover {
    background: var(--admin-overlay-light);
}

.data-table td {
    padding: 1rem;
    color: var(--admin-text-secondary);
}

.status-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
}

/* Responsive */
@media (max-width: 768px) {
    .agency-detail {
        padding: 1rem;
    }

    .agency-header-content {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }

    .agency-tabs {
        flex-direction: column;
        gap: 0;
    }

    .agency-tabs button {
        text-align: left;
    }

    .tab-content {
        padding: 1rem;
    }

    .users-grid {
        grid-template-columns: 1fr;
    }

    .data-table {
        font-size: 0.85rem;
    }

    .data-table th,
    .data-table td {
        padding: 0.75rem 0.5rem;
    }
}/* MissionModal.css */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    /* Mobile bottom sheet style initially */
    justify-content: center;
}

@media (min-width: 768px) {
    .modal-overlay {
        align-items: center;
    }
}

.modal-container {
    background: rgba(18, 18, 18, 0.95);
    width: 100%;
    max-width: 1200px;
    height: 85vh;
    border-radius: 24px 24px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .modal-container {
        height: auto;
        max-height: 85vh;
        border-radius: 24px;
        width: 90%;
    }
}

/* --- HEADER --- */
.modal-header {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.02), transparent);
}

.header-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.order-ref {
    font-family: 'JetBrains Mono', monospace;
    color: #666;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.mission-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff;
    margin: 0;
    background: linear-gradient(45deg, #e4cca8, #fff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-badge.pending {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-badge.confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 10px currentColor;
    animation: pulse 2s infinite;
}

/* --- GRID --- */
.modal-grid {
    display: grid;
    grid-template-columns: 1fr;
    flex: 1;
    overflow-y: auto;
    gap: 1px;
    /* For borders */
    background: rgba(255, 255, 255, 0.05);
    /* Grid line color */
}

@media (min-width: 1024px) {
    .modal-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.col-panel {
    background: rgba(18, 18, 18, 0.98);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.panel-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel-icon {
    color: #d4b88c;
}

/* ACTOR CARDS */
.actor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem;
    transition: all 0.3s ease;
}

.actor-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 184, 140, 0.3);
}

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

.actor-role {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
}

.owner-badge {
    background: rgba(212, 184, 140, 0.1);
    color: #d4b88c;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(212, 184, 140, 0.3);
}

.actor-name {
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
}

.actor-agency {
    font-size: 0.85rem;
    color: #888;
    margin: 2px 0 0 0;
}

.actor-actions {
    display: flex;
    gap: 8px;
    margin-top: 1rem;
}

.action-btn {
    flex: 1;
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.action-btn.primary {
    background: rgba(212, 184, 140, 0.1);
    border-color: rgba(212, 184, 140, 0.3);
    color: #d4b88c;
}

.action-btn.primary:hover {
    background: rgba(212, 184, 140, 0.2);
}

/* MAP & PLACE */
.map-placeholder {
    width: 100%;
    height: 150px;
    background: #222;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.address-block {
    margin-bottom: 1.5rem;
}

.address-text {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.info-label {
    color: #666;
}

.info-value {
    color: #ccc;
    font-family: 'JetBrains Mono', monospace;
}

/* MISSION & PACK */
.pack-card {
    background: linear-gradient(145deg, rgba(212, 184, 140, 0.05), transparent);
    border: 1px solid rgba(212, 184, 140, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.pack-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: #d4b88c;
    margin: 0 0 0.5rem 0;
}

.pack-services {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.service-icon {
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.pricing-block {
    margin-top: auto;
    padding-top: 2rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.price-label {
    font-size: 0.9rem;
    color: #888;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 300;
    color: #fff;
}

.price-currency {
    font-size: 1rem;
    color: #666;
    margin-left: 4px;
}

.invoice-btn {
    width: 100%;
    padding: 1rem;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.invoice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* --- FOOTER --- */
.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 10, 0.5);
}

.footer-btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.footer-btn.secondary {
    background: transparent;
    color: #888;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-btn.secondary:hover {
    color: #fff;
    border-color: #fff;
}

.footer-btn.primary {
    background: #d4b88c;
    color: #000;
    font-weight: 700;
}

.footer-btn.primary:hover {
    background: #e4cca8;
    transform: translateY(-1px);
}

@keyframes pulse {
    0% {
        opacity: 0.5;
        box-shadow: 0 0 0px currentColor;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 10px currentColor;
    }

    100% {
        opacity: 0.5;
        box-shadow: 0 0 0px currentColor;
    }
}