@charset "UTF-8";
:root {
  --space-base: 0.25rem; /* 4px - base unit */
  --space-1: calc(var(--space-base) * 1); /* 4px */
  --space-2: calc(var(--space-base) * 2); /* 8px */
  --space-3: calc(var(--space-base) * 3); /* 12px */
  --space-4: calc(var(--space-base) * 4); /* 16px */
  --space-5: calc(var(--space-base) * 5); /* 20px */
  --space-6: calc(var(--space-base) * 6); /* 24px */
  --space-7: calc(var(--space-base) * 7); /* 28px */
  --space-8: calc(var(--space-base) * 8); /* 32px */
  --space-10: calc(var(--space-base) * 10); /* 40px */
  --space-12: calc(var(--space-base) * 12); /* 48px */
  --space-14: calc(var(--space-base) * 14); /* 56px */
  --space-16: calc(var(--space-base) * 16); /* 64px */
  --space-20: calc(var(--space-base) * 20); /* 80px */
  --space-24: calc(var(--space-base) * 24); /* 96px */
  --space-32: calc(var(--space-base) * 32); /* 128px */
  --font-size-xs: 0.75rem; /* 12px - 4pt aligned */
  --font-size-sm: 0.875rem; /* 14px - close to 4pt */
  --font-size-base: 1rem; /* 16px - 4pt aligned */
  --font-size-lg: 1.125rem; /* 18px - close to 4pt */
  --font-size-xl: 1.25rem; /* 20px - 4pt aligned */
  --font-size-2xl: 1.5rem; /* 24px - 4pt aligned */
  --font-size-3xl: 1.875rem; /* 30px - close to 8pt */
  --font-size-4xl: 2.25rem; /* 36px - close to 8pt */
  --font-size-5xl: 3rem; /* 48px - 8pt aligned */
  --line-height-tight: 1.25; /* Creates 4pt-aligned spacing */
  --line-height-normal: 1.5; /* WCAG recommended minimum */
  --line-height-relaxed: 1.75; /* Generous spacing, 4pt aligned */
  --color-primary-50: #EFF6FF; /* Very light blue */
  --color-primary-100: #DBEAFE; /* Light blue */
  --color-primary-500: #3B82F6; /* Main blue - 4.89:1 contrast */
  --color-primary-600: #2563EB; /* Darker blue - 5.74:1 contrast */
  --color-primary-700: #1D4ED8; /* Dark blue - 7.26:1 contrast */
  --color-primary-900: #1E3A8A; /* Very dark blue - 11.4:1 contrast */
  --color-secondary-50: #F5F3FF; /* Very light purple */
  --color-secondary-100: #EDE9FE; /* Light purple */
  --color-secondary-500: #8B5CF6; /* Main purple - 4.73:1 contrast */
  --color-secondary-600: #7C3AED; /* Darker purple - 6.09:1 contrast */
  --color-secondary-700: #6D28D9; /* Dark purple - 8.35:1 contrast */
  --color-accent-orange: #F97316; /* Orange - 4.52:1 contrast */
  --color-accent-green: #059669; /* Green - 4.52:1 contrast */
  --color-accent-red: #DC2626; /* Red - 5.74:1 contrast */
  --color-neutral-50: #F9FAFB; /* Almost white */
  --color-neutral-100: #F3F4F6; /* Light gray */
  --color-neutral-200: #E5E7EB; /* Border gray */
  --color-neutral-300: #D1D5DB; /* Divider gray */
  --color-neutral-400: #9CA3AF; /* Placeholder gray */
  --color-neutral-500: #6B7280; /* Text muted - 5.39:1 contrast */
  --color-neutral-600: #4B5563; /* Text secondary - 7.59:1 contrast */
  --color-neutral-700: #374151; /* Text primary - 11.17:1 contrast */
  --color-neutral-800: #1F2937; /* Text dark - 15.05:1 contrast */
  --color-neutral-900: #111827; /* Text darkest - 16.68:1 contrast */
  --color-background: #FFFFFF;
  --color-surface: var(--color-neutral-50);
  --color-surface-elevated: var(--color-background);
  --color-text-primary: var(--color-neutral-900);
  --color-text-secondary: var(--color-neutral-700);
  --color-text-muted: var(--color-neutral-500);
  --color-border: var(--color-neutral-200);
  --color-border-strong: var(--color-neutral-300);
  --color-focus: var(--color-primary-600);
  --color-error: var(--color-accent-red);
  --color-warning: #D97706; /* Warning orange - 4.54:1 contrast */
  --color-success: var(--color-accent-green);
  --color-preorder: #FFC46B; /* Pre-order amber, matches $preorder-color */
  --radius-none: 0;
  --radius-xs: var(--space-1); /* 4px */
  --radius-sm: var(--space-2); /* 8px */
  --radius-md: var(--space-3); /* 12px */
  --radius-lg: var(--space-4); /* 16px */
  --radius-xl: var(--space-6); /* 24px */
  --radius-full: 9999px;
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --min-touch-target: calc(var(--space-base) * 11); /* 44px - WCAG minimum */
  --focus-ring-width: var(--space-1); /* 4px focus ring */
  --focus-ring-offset: var(--space-1); /* 4px offset */
  --duration-instant: 0ms;
  --duration-fast: 150ms;
  --duration-normal: 300ms;
  --duration-slow: 500ms;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* Smooth deceleration */
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1); /* Balanced easing */
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55); /* Subtle bounce */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  line-height: var(--line-height-normal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

button:disabled {
  cursor: not-allowed;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}

@media (prefers-contrast: high) {
  :focus-visible {
    outline-width: 0.1875rem;
  }
}
.hidden {
  display: none !important;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --font-family-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-family-mono: "SF Mono", Monaco, "Cascadia Code", monospace;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-primary);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--space-8);
}

h2 {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-6);
}

h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-4);
}

h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

h5 {
  font-size: var(--font-size-base);
  margin-bottom: var(--space-3);
}

h6 {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-3);
}

p {
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
  max-width: 45rem;
}

.text-primary {
  color: var(--color-text-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-error {
  color: var(--color-error);
}

.text-success {
  color: var(--color-success);
}

.text-xs {
  font-size: var(--font-size-xs);
}

.text-sm {
  font-size: var(--font-size-sm);
}

.text-base {
  font-size: var(--font-size-base);
}

.text-lg {
  font-size: var(--font-size-lg);
}

.text-xl {
  font-size: var(--font-size-xl);
}

.text-2xl {
  font-size: var(--font-size-2xl);
}

.text-3xl {
  font-size: var(--font-size-3xl);
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
}
@media (max-width: 768px) {
  .btn {
    padding: var(--space-4) var(--space-6);
    min-height: 2.75rem;
  }
}
.btn:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .btn:focus-visible {
    outline-width: 0.1875rem;
  }
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-secondary-600) 100%);
  border: none;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left var(--duration-slow) ease-out;
}
.btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary-600) 90%, white) 0%, color-mix(in srgb, var(--color-secondary-600) 90%, white) 100%);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-lg);
}
.btn--primary:hover:not(:disabled)::before {
  left: 100%;
}
.btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}
.btn--cta {
  background: linear-gradient(135deg, var(--color-accent-orange) 0%, color-mix(in srgb, var(--color-accent-orange) 80%, var(--color-accent-red)) 100%);
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: var(--font-size-lg);
  padding: var(--space-4) var(--space-8);
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(249, 115, 22, 0.4);
  position: relative;
  overflow: hidden;
  text-transform: none;
  letter-spacing: 0.025em;
  animation: subtle-pulse 2s ease-in-out infinite;
}
.btn--cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
  transition: left var(--duration-slow) ease-out;
}
.btn--cta:hover:not(:disabled) {
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-accent-orange) 85%, white) 0%, color-mix(in srgb, var(--color-accent-red) 85%, white) 100%);
  transform: translateY(-0.1875rem);
  box-shadow: var(--shadow-xl), 0 0 0 0.25rem rgba(249, 115, 22, 0.2);
  animation: none;
}
.btn--cta:hover:not(:disabled)::before {
  left: 100%;
}
.btn--cta:active:not(:disabled) {
  transform: translateY(-0.0625rem);
}
.btn--cta:focus-visible {
  box-shadow: var(--shadow-lg), 0 0 0 0.25rem rgba(249, 115, 22, 0.4), 0 0 0 0.375rem var(--color-background), 0 0 0 0.5rem var(--color-focus);
}
.btn--secondary {
  background-color: var(--color-surface);
  border: 0.0625rem solid var(--color-border);
  color: var(--color-text-primary);
  backdrop-filter: blur(8px);
}
.btn--secondary:hover:not(:disabled) {
  background-color: var(--color-surface-hover, var(--color-surface));
  border-color: var(--color-accent, #f97316);
  color: white;
  transform: translateY(-0.0625rem);
  box-shadow: var(--shadow-md);
}
.btn--danger {
  background: transparent;
  border: 0.1875rem solid var(--color-border-strong);
  color: var(--color-border-strong);
  box-shadow: none;
}
.btn--danger:hover:not(:disabled) {
  background: var(--color-neutral-900);
  border-color: var(--color-border-strong);
  color: var(--color-border-strong);
  transform: translateY(-0.0625rem);
}
.btn--danger:active:not(:disabled) {
  transform: translateY(0);
  background: var(--color-neutral-800);
}
.btn--danger:focus-visible {
  outline: none;
  box-shadow: none;
}
.btn--ghost {
  background-color: transparent;
  border: 0.0625rem solid var(--color-border);
  color: var(--color-text-primary);
}
.btn--ghost:hover:not(:disabled) {
  background-color: var(--color-surface);
  border-color: var(--color-primary-600);
  color: var(--color-primary-600);
}
.btn--small, .btn--sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  min-height: calc(var(--space-base) * 9);
}
.btn--medium {
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
}
.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  min-height: calc(var(--space-base) * 12);
}
.btn--xl {
  padding: var(--space-5) var(--space-10);
  font-size: var(--font-size-xl);
  min-height: calc(var(--space-base) * 14);
}
.btn--icon-only {
  padding: var(--space-3);
  width: var(--min-touch-target);
  justify-content: center;
}
.btn--icon-only .btn__icon {
  margin: 0;
}
.btn--icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.btn--icon i {
  flex-shrink: 0;
  font-size: 1.125em;
}
.btn .btn__icon {
  flex-shrink: 0;
  width: 1.25em;
  height: 1.25em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn .btn__icon--leading {
  margin-right: var(--space-2);
  margin-left: calc(-1 * var(--space-1));
}
.btn .btn__icon--trailing {
  margin-left: var(--space-2);
  margin-right: calc(-1 * var(--space-1));
}
.btn .btn__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}
.btn--loading {
  position: relative;
  color: transparent;
}
.btn--loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.25rem;
  height: 1.25rem;
  margin: -0.625rem 0 0 -0.625rem;
  border: 0.125rem solid currentColor;
  border-radius: 50%;
  border-top-color: transparent;
  animation: button-loading 0.8s linear infinite;
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  transform: none !important;
  box-shadow: none !important;
}
.btn:disabled::before, .btn[aria-disabled=true]::before {
  display: none;
}
.btn--soft-disabled {
  opacity: 0.5;
  cursor: pointer;
  transform: none !important;
  box-shadow: none !important;
}
.btn--soft-disabled:hover {
  transform: none !important;
}
.btn--soft-disabled::before {
  display: none;
}
@media (prefers-contrast: high) {
  .btn--primary, .btn--cta {
    background: var(--color-text-primary);
    color: var(--color-background);
    border: 0.125rem solid var(--color-text-primary);
  }
  .btn--secondary {
    border-width: 0.125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn::before {
    display: none;
  }
  .btn--cta {
    animation: none;
  }
  .btn:hover:not(:disabled) {
    transform: none;
  }
  .btn:active:not(:disabled) {
    transform: none;
  }
}

@keyframes subtle-pulse {
  0%, 100% {
    box-shadow: var(--shadow-lg), 0 0 0 0 rgba(249, 115, 22, 0.4);
  }
  50% {
    box-shadow: var(--shadow-lg), 0 0 0 0.375rem rgba(249, 115, 22, 0.1);
  }
}
@keyframes button-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.btn-group {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  align-items: center;
}
@media (min-width: 23.4375rem) {
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-group .btn {
    width: 100%;
    justify-content: center;
  }
}

.cover-slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0f172a;
  isolation: isolate;
  box-shadow: inset 0 0 0 1px rgba(244, 150, 9, 0.18), 0 0 24px -8px rgba(244, 150, 9, 0.16);
  animation: tfSlideshowBreath 8s ease-in-out infinite;
}
.cover-slideshow__stage {
  position: absolute;
  inset: 0;
}
.cover-slideshow__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}
.cover-slideshow__slide--active {
  opacity: 1;
  z-index: 1;
}
.cover-slideshow__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-slideshow__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 1rem 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: #ffffff;
  text-align: left;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.45) 60%, transparent 100%);
  opacity: 0;
  animation: tfCaptionIn 600ms cubic-bezier(0.4, 0, 0.2, 1) 1200ms forwards;
  pointer-events: none;
}
.cover-slideshow .cover-slideshow__slide:not(.cover-slideshow__slide--active) .cover-slideshow__caption {
  animation: none;
  opacity: 0;
}
.cover-slideshow--cinematic .cover-slideshow__slide img.cover-slideshow__media {
  animation: tfKenBurns 6500ms cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
  animation-play-state: paused;
  transform-origin: center center;
}
.cover-slideshow--cinematic .cover-slideshow__slide--active img.cover-slideshow__media {
  animation-play-state: running;
}
.cover-slideshow__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.cover-slideshow:hover .cover-slideshow__controls, .cover-slideshow:focus-within .cover-slideshow__controls {
  opacity: 1;
}
@media (hover: none) {
  .cover-slideshow__controls {
    opacity: 1;
  }
}
.cover-slideshow__btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  pointer-events: auto;
  font-family: inherit;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
}
.cover-slideshow__btn i {
  font-size: 1rem;
}
.cover-slideshow__btn:hover {
  background: rgba(0, 0, 0, 0.75);
}
.cover-slideshow__btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.cover-slideshow__btn--prev {
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.cover-slideshow__btn--next {
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
}
.cover-slideshow__btn--toggle {
  left: 0.75rem;
  top: 0.75rem;
  width: 36px;
  height: 36px;
}
.cover-slideshow__btn--toggle i {
  font-size: 0.75rem;
}
.cover-slideshow__btn--view {
  right: 0.75rem;
  top: 0.75rem;
  width: 36px;
  height: 36px;
}
.cover-slideshow__btn--view i {
  font-size: 0.75rem;
}
.cover-slideshow__dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
}
.cover-slideshow__dot {
  width: 14px;
  height: 14px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
}
.cover-slideshow__dot:hover {
  background: rgba(255, 255, 255, 0.75);
}
.cover-slideshow__dot:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.cover-slideshow__dot--active {
  background: #F49609;
  transform: scale(1.15);
}
.cover-slideshow--grid {
  animation: none;
  box-shadow: inset 0 0 0 1px rgba(244, 150, 9, 0.18);
}
.cover-slideshow--grid .cover-slideshow__stage {
  display: none;
}
.cover-slideshow--grid .cover-slideshow__btn--prev,
.cover-slideshow--grid .cover-slideshow__btn--next,
.cover-slideshow--grid .cover-slideshow__btn--toggle,
.cover-slideshow--grid .cover-slideshow__dots {
  display: none;
}
.cover-slideshow__grid {
  display: none;
  gap: 4px;
  padding: 4px;
  width: 100%;
  height: 100%;
  background: #0f172a;
}
.cover-slideshow--grid .cover-slideshow__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
}
.cover-slideshow__grid-tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #1e293b;
}
.cover-slideshow__grid-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cover-slideshow__grid-tile--primary {
  grid-column: 1/-1;
}
.cover-slideshow__grid-animated {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 0.5rem;
}
.cover-slideshow__sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .cover-slideshow {
    animation: none;
    box-shadow: inset 0 0 0 1px rgba(244, 150, 9, 0.18);
  }
  .cover-slideshow__slide {
    transition: none;
  }
  .cover-slideshow__slide--active img.cover-slideshow__media {
    animation: none;
    transform: none;
  }
  .cover-slideshow__caption {
    animation: none;
    opacity: 1;
  }
  .cover-slideshow__dot {
    transition: none;
  }
}
@keyframes tfKenBurns {
  from {
    transform: scale3d(1.05, 1.05, 1) translate3d(0, 0, 0);
  }
  to {
    transform: scale3d(1.12, 1.12, 1) translate3d(0, -2%, 0);
  }
}
@keyframes tfCaptionIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes tfSlideshowBreath {
  0%, 100% {
    box-shadow: inset 0 0 0 1px rgba(244, 150, 9, 0.18), 0 0 24px -8px rgba(244, 150, 9, 0.16);
  }
  50% {
    box-shadow: inset 0 0 0 1px rgba(244, 150, 9, 0.32), 0 0 32px -6px rgba(244, 150, 9, 0.28);
  }
}
#calendarView {
  background-color: var(--color-background) !important;
}
#calendarView.reservation-view {
  background-color: var(--color-background) !important;
}

.calendar {
  width: 100%;
  max-width: 56rem;
  margin: 0 auto;
  background-color: var(--color-background);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--color-text-primary);
}

.calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--space-6);
  background-color: var(--color-surface);
  border-bottom: 0.0625rem solid var(--color-border);
}
.calendar__header .calendar__title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}
.calendar__header .calendar__nav {
  display: flex;
  gap: var(--space-2);
}
.calendar__header .calendar__nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
  padding: var(--space-2);
  background-color: transparent;
  color: var(--color-text-secondary);
  border: 0.0625rem solid var(--color-border);
}
@media (max-width: 768px) {
  .calendar__header .calendar__nav-button {
    padding: var(--space-4) var(--space-6);
    min-height: 2.75rem;
  }
}
.calendar__header .calendar__nav-button:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .calendar__header .calendar__nav-button:focus-visible {
    outline-width: 0.1875rem;
  }
}
.calendar__header .calendar__nav-button:disabled, .calendar__header .calendar__nav-button[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .calendar__header .calendar__nav-button {
    transition: none;
  }
}
.calendar__header .calendar__nav-button:hover:not(:disabled) {
  background-color: var(--color-neutral-50);
  color: var(--color-primary-600);
  border-color: var(--color-primary-200);
}
.calendar__header .calendar__nav-button:active:not(:disabled) {
  transform: translateY(0.0625rem);
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  width: 100%;
}
@media (min-width: 23.4375rem) {
  .calendar__grid {
    gap: 0.0625rem;
  }
}

.calendar__day-header {
  padding: var(--space-3) var(--space-2);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  background-color: var(--color-neutral-50);
  border-bottom: 0.0625rem solid var(--color-border);
  border-right: 0.0625rem solid var(--color-border);
}
.calendar__day-header:last-child {
  border-right: none;
}
.calendar__day-header[data-weekend=true] {
  color: var(--color-text-muted);
}
@media (min-width: 23.4375rem) {
  .calendar__day-header {
    padding: var(--space-2) var(--space-1);
    font-size: var(--font-size-xs);
  }
  .calendar__day-header .calendar__day-full {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
@media (min-width: 48rem) {
  .calendar__day-header .calendar__day-abbr {
    position: absolute;
    width: 0.0625rem;
    height: 0.0625rem;
    padding: 0;
    margin: -0.0625rem;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}

.calendar__date {
  position: relative;
  min-height: 5rem;
  padding: var(--space-2);
  background-color: var(--color-background);
  border-bottom: 0.0625rem solid var(--color-border);
  border-right: 0.0625rem solid var(--color-border);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.calendar__date:last-child {
  border-right: none;
}
.calendar__date:hover {
  background-color: var(--color-primary-50);
  border-color: var(--color-primary-200);
}
.calendar__date:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  z-index: 1;
}
@media (prefers-contrast: high) {
  .calendar__date:focus-visible {
    outline-width: 0.1875rem;
  }
}
.calendar__date.calendar__date--selected {
  background-color: var(--color-primary-100);
  border-color: var(--color-primary-300);
}
.calendar__date.calendar__date--selected .calendar__date-number {
  background-color: var(--color-primary-600);
  color: var(--color-background);
}
.calendar__date.calendar__date--today .calendar__date-number {
  background-color: var(--color-secondary-600);
  color: var(--color-background);
  font-weight: 600;
}
.calendar__date.calendar__date--other-month {
  background-color: var(--color-neutral-50);
  cursor: default;
}
.calendar__date.calendar__date--other-month .calendar__date-number {
  color: var(--color-text-muted);
}
.calendar__date.calendar__date--other-month:hover {
  background-color: var(--color-neutral-50);
  border-color: var(--color-border);
}
.calendar__date[data-weekend=true]:not(.calendar__date--other-month) {
  background-color: color-mix(in srgb, var(--color-neutral-100) 30%, transparent);
}
@media (min-width: 23.4375rem) {
  .calendar__date {
    min-height: 4rem;
    padding: var(--space-1);
  }
}

.calendar__date-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--space-8);
  height: var(--space-8);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
}
@media (min-width: 23.4375rem) {
  .calendar__date-number {
    width: var(--space-6);
    height: var(--space-6);
    font-size: var(--font-size-xs);
  }
}

.calendar__reservations {
  margin-top: var(--space-1);
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.calendar__reservation-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.125rem var(--space-2);
  font-size: var(--font-size-xs);
  font-weight: 500;
  background-color: var(--color-primary-600);
  color: var(--color-background);
  border-radius: var(--radius-sm);
  line-height: 1.2;
}
.calendar__reservation-count[data-count="0"] {
  display: none;
}
.calendar__reservation-count[data-level=low] {
  background-color: var(--color-success);
}
.calendar__reservation-count[data-level=medium] {
  background-color: var(--color-warning);
}
.calendar__reservation-count[data-level=high] {
  background-color: var(--color-accent-red);
}
@media (min-width: 23.4375rem) {
  .calendar__reservation-count {
    padding: 0.0625rem var(--space-1);
    font-size: 0.625rem;
  }
}

.calendar__reservation-dots {
  display: flex;
  gap: 0.125rem;
  margin-top: auto;
  flex-wrap: wrap;
  justify-content: center;
}

.calendar__reservation-dot {
  width: var(--space-2);
  height: var(--space-2);
  border-radius: var(--radius-full);
  background-color: var(--color-primary-500);
}
.calendar__reservation-dot:nth-child(1) {
  background-color: var(--color-primary-500);
}
.calendar__reservation-dot:nth-child(2) {
  background-color: var(--color-secondary-500);
}
.calendar__reservation-dot:nth-child(3) {
  background-color: var(--color-accent-green);
}
.calendar__reservation-dot:nth-child(4) {
  background-color: var(--color-accent-orange);
}
.calendar__reservation-dot:nth-child(n+5) {
  background-color: var(--color-neutral-400);
}
@media (min-width: 23.4375rem) {
  .calendar__reservation-dot {
    width: 0.375rem;
    height: 0.375rem;
  }
}

@media (min-width: 23.4375rem) {
  .calendar {
    margin: 0 var(--space-2);
    border-radius: var(--radius-md);
  }
  .calendar__header {
    padding: var(--space-3) var(--space-4);
  }
  .calendar__header .calendar__title {
    font-size: var(--font-size-lg);
  }
}
@media (min-width: 48rem) {
  .calendar__date {
    min-height: 6rem;
  }
}
@media (prefers-contrast: high) {
  .calendar__date {
    border-width: 0.125rem;
  }
  .calendar__date--selected .calendar__date-number,
  .calendar__date--today .calendar__date-number {
    border: 0.125rem solid var(--color-background);
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar__date,
  .calendar__date-number,
  .calendar__nav-button {
    transition: none;
  }
}
.calendar__sr-date-info {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media print {
  .calendar {
    box-shadow: none;
    border: 0.0625rem solid var(--color-border);
  }
  .calendar__nav-button {
    display: none;
  }
  .calendar__date {
    min-height: 4rem;
  }
  .calendar__date:hover {
    background-color: transparent;
  }
}
.calendar--loading .calendar__date {
  pointer-events: none;
  opacity: 0.6;
}
.calendar--loading .calendar__grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: color-mix(in srgb, var(--color-background) 80%, transparent);
  z-index: 1;
}

.calendar__date {
  animation: fade-in var(--duration-fast) ease-out;
}
@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .calendar__date {
    animation: none;
  }
}

.calendar__date:nth-child(1) {
  animation-delay: 10ms;
}

.calendar__date:nth-child(2) {
  animation-delay: 20ms;
}

.calendar__date:nth-child(3) {
  animation-delay: 30ms;
}

.calendar__date:nth-child(4) {
  animation-delay: 40ms;
}

.calendar__date:nth-child(5) {
  animation-delay: 50ms;
}

.calendar__date:nth-child(6) {
  animation-delay: 60ms;
}

.calendar__date:nth-child(7) {
  animation-delay: 70ms;
}

.calendar__date:nth-child(8) {
  animation-delay: 80ms;
}

.calendar__date:nth-child(9) {
  animation-delay: 90ms;
}

.calendar__date:nth-child(10) {
  animation-delay: 100ms;
}

.calendar__date:nth-child(11) {
  animation-delay: 110ms;
}

.calendar__date:nth-child(12) {
  animation-delay: 120ms;
}

.calendar__date:nth-child(13) {
  animation-delay: 130ms;
}

.calendar__date:nth-child(14) {
  animation-delay: 140ms;
}

.calendar__date:nth-child(15) {
  animation-delay: 150ms;
}

.calendar__date:nth-child(16) {
  animation-delay: 160ms;
}

.calendar__date:nth-child(17) {
  animation-delay: 170ms;
}

.calendar__date:nth-child(18) {
  animation-delay: 180ms;
}

.calendar__date:nth-child(19) {
  animation-delay: 190ms;
}

.calendar__date:nth-child(20) {
  animation-delay: 200ms;
}

.calendar__date:nth-child(21) {
  animation-delay: 210ms;
}

.calendar__date:nth-child(22) {
  animation-delay: 220ms;
}

.calendar__date:nth-child(23) {
  animation-delay: 230ms;
}

.calendar__date:nth-child(24) {
  animation-delay: 240ms;
}

.calendar__date:nth-child(25) {
  animation-delay: 250ms;
}

.calendar__date:nth-child(26) {
  animation-delay: 260ms;
}

.calendar__date:nth-child(27) {
  animation-delay: 270ms;
}

.calendar__date:nth-child(28) {
  animation-delay: 280ms;
}

.calendar__date:nth-child(29) {
  animation-delay: 290ms;
}

.calendar__date:nth-child(30) {
  animation-delay: 300ms;
}

.calendar__date:nth-child(31) {
  animation-delay: 310ms;
}

.calendar__date:nth-child(32) {
  animation-delay: 320ms;
}

.calendar__date:nth-child(33) {
  animation-delay: 330ms;
}

.calendar__date:nth-child(34) {
  animation-delay: 340ms;
}

.calendar__date:nth-child(35) {
  animation-delay: 350ms;
}

.calendar__date:nth-child(36) {
  animation-delay: 360ms;
}

.calendar__date:nth-child(37) {
  animation-delay: 370ms;
}

.calendar__date:nth-child(38) {
  animation-delay: 380ms;
}

.calendar__date:nth-child(39) {
  animation-delay: 390ms;
}

.calendar__date:nth-child(40) {
  animation-delay: 400ms;
}

.calendar__date:nth-child(41) {
  animation-delay: 410ms;
}

.calendar__date:nth-child(42) {
  animation-delay: 420ms;
}

#calendarView {
  background-color: var(--color-background) !important;
}
#calendarView.reservation-view {
  background-color: var(--color-background) !important;
}
#calendarView.reservation-view * {
  background-color: inherit;
}

.calendar {
  background-color: var(--color-background) !important;
  color: var(--color-text-primary) !important;
}
.calendar * {
  color: inherit;
}

.calendar__header {
  background-color: var(--color-surface) !important;
  color: var(--color-text-primary) !important;
}

.calendar__grid {
  background-color: var(--color-background) !important;
}

.calendar__day-header {
  background-color: var(--color-neutral-50) !important;
  color: var(--color-text-primary) !important;
}
.calendar__day-header span {
  color: var(--color-text-primary) !important;
}

.calendar__date {
  background-color: var(--color-background) !important;
  color: var(--color-text-primary) !important;
}
.calendar__date:hover {
  background-color: var(--color-primary-50) !important;
}
.calendar__date--other-month {
  background-color: var(--color-neutral-50) !important;
}
.calendar__date--other-month .calendar__date-number {
  color: var(--color-text-muted) !important;
}

.calendar__date-number {
  color: var(--color-text-primary) !important;
  background-color: transparent !important;
}
.calendar__date--selected .calendar__date-number {
  background-color: var(--color-primary-600) !important;
  color: var(--color-background) !important;
}
.calendar__date--today .calendar__date-number {
  background-color: var(--color-secondary-600) !important;
  color: var(--color-background) !important;
}

.calendar__title {
  color: var(--color-text-primary) !important;
}

.calendar__nav-button {
  color: var(--color-text-primary) !important;
}
.calendar__nav-button:hover {
  background-color: var(--color-neutral-50) !important;
  color: var(--color-primary-600) !important;
}

.content #calendarView,
.page-content #calendarView,
.main-content #calendarView {
  background-color: var(--color-background) !important;
}

.reservations-page {
  background-color: var(--color-background) !important;
}
.reservations-page .reservation-view {
  background-color: var(--color-background) !important;
}

.date-picker-input {
  cursor: pointer !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 2V4M14 2V4M3 8H17M5 4H15C16.1046 4 17 4.89543 17 6V16C17 17.1046 16.1046 18 15 18H5C3.89543 18 3 17.1046 3 16V6C3 4.89543 3.89543 4 5 4Z' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 0.75rem center !important;
  padding-right: 2.5rem !important;
}

.date-picker-calendar {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5), 0 0.5rem 1rem rgba(0, 0, 0, 0.3), inset 0 0.0625rem 0 rgba(255, 255, 255, 0.05);
  padding: 0;
  width: 22rem;
  min-width: 22rem;
  animation: calendarFadeIn 0.2s ease-out;
  overflow: visible;
  color: #ffffff;
}

.date-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 0.0625rem solid rgba(148, 163, 184, 0.15);
}

.date-picker-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  text-transform: capitalize;
}

.date-picker-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
  padding: 0.5rem;
  background-color: rgba(51, 65, 85, 0.5);
  color: #cbd5e1;
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.375rem;
  transition: all 0.2s ease-out;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .date-picker-nav {
    padding: var(--space-4) var(--space-6);
    min-height: 2.75rem;
  }
}
.date-picker-nav:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .date-picker-nav:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-nav:disabled, .date-picker-nav[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .date-picker-nav {
    transition: none;
  }
}
.date-picker-nav:hover:not(:disabled) {
  background-color: rgba(59, 130, 246, 0.2);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.4);
}
.date-picker-nav:active:not(:disabled) {
  transform: scale(0.95);
}
.date-picker-nav:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .date-picker-nav:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-nav svg {
  display: block;
  width: 1rem;
  height: 1rem;
}

.date-picker-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
}

.date-picker-day-header {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.9);
  padding: 0.375rem 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  min-height: 1.75rem;
}

.date-picker-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  padding: 0 0.75rem 0.75rem;
}

.date-picker-date {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
  position: relative;
  aspect-ratio: 1;
  padding: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.95);
  background-color: transparent;
  border: 0.125rem solid transparent;
  border-radius: 0.375rem;
  transition: all 0.15s ease-out;
  cursor: pointer;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  .date-picker-date {
    padding: var(--space-4) var(--space-6);
    min-height: 2.75rem;
  }
}
.date-picker-date:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .date-picker-date:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-date:disabled, .date-picker-date[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .date-picker-date {
    transition: none;
  }
}
.date-picker-date:hover:not(:disabled):not(.date-picker-date--other-month) {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}
.date-picker-date:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  z-index: 1;
}
@media (prefers-contrast: high) {
  .date-picker-date:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-date.date-picker-date--today:not(.date-picker-date--selected) {
  background-color: transparent;
  border: 0.125rem solid #3b82f6;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 700;
}
.date-picker-date.date-picker-date--selected {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: 0.125rem solid #3b82f6;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0.125rem 0.5rem rgba(59, 130, 246, 0.5);
}
.date-picker-date.date-picker-date--selected:hover:not(:disabled) {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #3b82f6;
}
.date-picker-date.date-picker-date--disabled {
  color: rgba(148, 163, 184, 0.3);
  cursor: not-allowed;
  opacity: 0.4;
}
.date-picker-date.date-picker-date--disabled:hover {
  background-color: transparent;
  border-color: transparent;
}
.date-picker-date.date-picker-date--other-month {
  visibility: hidden;
  pointer-events: none;
}
.date-picker-date.date-picker-date--weekend:not(.date-picker-date--selected):not(.date-picker-date--today) {
  color: rgba(203, 213, 225, 0.7);
}
.date-picker-date.date-picker-date--available::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #10b981;
  border-radius: 50%;
}
.date-picker-date.date-picker-date--limited::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #f59e0b;
  border-radius: 50%;
}
.date-picker-date.date-picker-date--fully-booked {
  color: rgba(148, 163, 184, 0.4);
  text-decoration: line-through;
}
.date-picker-date.date-picker-date--fully-booked::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  right: 0.125rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: #ef4444;
  border-radius: 50%;
}
.date-picker-date.date-picker-date--closed {
  color: rgba(148, 163, 184, 0.3);
  cursor: not-allowed;
}
@media (min-width: 23.4375rem) {
  .date-picker-date {
    font-size: 1rem;
    min-height: 2.5rem;
  }
}

.date-picker-footer {
  display: flex;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 0.0625rem solid rgba(148, 163, 184, 0.15);
}

.date-picker-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: inherit;
  font-size: var(--font-size-base);
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 0.0625rem solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  transition: all 0.2s ease-out;
}
@media (max-width: 768px) {
  .date-picker-button {
    padding: var(--space-4) var(--space-6);
    min-height: 2.75rem;
  }
}
.date-picker-button:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .date-picker-button:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-button:disabled, .date-picker-button[aria-disabled=true] {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .date-picker-button {
    transition: none;
  }
}
.date-picker-button:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .date-picker-button:focus-visible {
    outline-width: 0.1875rem;
  }
}
.date-picker-button--clear {
  background-color: rgba(51, 65, 85, 0.5);
  color: rgba(226, 232, 240, 0.9);
  border: 0.0625rem solid rgba(148, 163, 184, 0.3);
}
.date-picker-button--clear:hover {
  background-color: rgba(71, 85, 105, 0.6);
  border-color: rgba(148, 163, 184, 0.5);
  color: #ffffff;
}
.date-picker-button--today {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border: 0.0625rem solid rgba(59, 130, 246, 0.5);
  box-shadow: 0 0.125rem 0.5rem rgba(59, 130, 246, 0.3);
}
.date-picker-button--today:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 0.25rem 0.75rem rgba(59, 130, 246, 0.4);
}
.date-picker-button--today:active {
  transform: scale(0.98);
}

@keyframes calendarFadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes calendarScaleIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
@media (prefers-contrast: high) {
  .date-picker-date--selected,
  .date-picker-date--today {
    border-width: 0.1875rem;
  }
  .date-picker-calendar {
    border-width: 0.125rem;
    border-color: #cbd5e1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .date-picker-calendar {
    animation: none;
  }
  .date-picker-overlay {
    animation: none;
  }
  .date-picker-date,
  .date-picker-nav,
  .date-picker-button {
    transition: none;
  }
}
.flatpickr-wrapper {
  display: block;
  width: 100%;
}

.flatpickr-input {
  width: 100% !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 2V4M14 2V4M3 8H17M5 4H15C16.1046 4 17 4.89543 17 6V16C17 17.1046 16.1046 18 15 18H5C3.89543 18 3 17.1046 3 16V6C3 4.89543 3.89543 4 5 4Z' stroke='%23667085' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 14px 14px;
  padding-right: 2.2rem;
}

.flatpickr-calendar {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5), 0 0.5rem 1rem rgba(0, 0, 0, 0.3), inset 0 0.0625rem 0 rgba(255, 255, 255, 0.05);
  padding: 0;
  width: 20rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  animation: flatpickrFadeIn 0.2s ease-out;
  z-index: 99999 !important;
}
.flatpickr-calendar.static {
  position: relative !important;
  top: auto !important;
  margin-top: 0.5rem;
}
.flatpickr-calendar.tableflow-flatpickr {
  z-index: 99999 !important;
}
.flatpickr-calendar::before, .flatpickr-calendar::after {
  display: none;
}
.flatpickr-calendar.arrowTop::before, .flatpickr-calendar.arrowTop::after, .flatpickr-calendar.arrowBottom::before, .flatpickr-calendar.arrowBottom::after {
  display: none;
}

.flatpickr-months {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 0.0625rem solid rgba(148, 163, 184, 0.15);
  position: relative;
}
.flatpickr-months .flatpickr-month {
  background: transparent;
  height: 2.5rem;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 2.25rem !important;
  height: 2.25rem !important;
  min-width: 2.25rem;
  padding: 0 !important;
  background-color: rgba(51, 65, 85, 0.5);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.375rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}
.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  color: #ffffff;
}
.flatpickr-months .flatpickr-prev-month:focus-visible,
.flatpickr-months .flatpickr-next-month:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .flatpickr-months .flatpickr-prev-month:focus-visible,
  .flatpickr-months .flatpickr-next-month:focus-visible {
    outline-width: 0.1875rem;
  }
}
.flatpickr-months .flatpickr-prev-month svg,
.flatpickr-months .flatpickr-next-month svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.flatpickr-months .flatpickr-prev-month {
  order: -1;
}
.flatpickr-months .flatpickr-prev-month.flatpickr-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.flatpickr-months .flatpickr-next-month {
  order: 1;
}
.flatpickr-months .flatpickr-next-month.flatpickr-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

.flatpickr-current-month {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0;
  font-size: 1rem;
  height: 2.5rem;
  position: relative;
  left: 0;
  width: 100%;
}
.flatpickr-current-month .cur-month {
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.flatpickr-current-month select {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  appearance: none;
  padding-right: 0.25rem;
}
.flatpickr-current-month select:focus {
  outline: none;
}
.flatpickr-current-month .numInputWrapper {
  width: 4.5rem;
}
.flatpickr-current-month .numInputWrapper input.cur-year {
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: 100%;
}
.flatpickr-current-month .numInputWrapper input.cur-year:focus {
  outline: none;
}
.flatpickr-current-month .numInputWrapper span.arrowUp,
.flatpickr-current-month .numInputWrapper span.arrowDown {
  display: none;
}

.flatpickr-weekdays {
  padding: 0.5rem 0.75rem;
  background: transparent;
}
.flatpickr-weekdays .flatpickr-weekdaycontainer {
  display: flex;
}

span.flatpickr-weekday {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  flex: 1;
  text-align: center;
}

.flatpickr-innerContainer {
  padding: 0 0.75rem 0.75rem;
}

.flatpickr-rContainer {
  width: 100%;
}

.flatpickr-days {
  width: 100%;
}
.flatpickr-days .dayContainer {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  padding: 0.25rem 0;
}

.flatpickr-day {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  max-width: none;
  width: auto;
  height: auto;
  min-height: 2.25rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.95);
  background-color: transparent;
  border: 0.125rem solid transparent;
  border-radius: 0.375rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
.flatpickr-day:hover:not(.flatpickr-disabled):not(.prevMonthDay):not(.nextMonthDay) {
  background-color: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.3);
  color: #ffffff;
}
.flatpickr-day:focus {
  outline: none;
}
.flatpickr-day:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
  z-index: 1;
}
@media (prefers-contrast: high) {
  .flatpickr-day:focus-visible {
    outline-width: 0.1875rem;
  }
}
.flatpickr-day.today:not(.selected) {
  background-color: transparent;
  border-color: #3b82f6;
  color: #ffffff;
  font-weight: 700;
  border-radius: 50%;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-color: #3b82f6;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 0.125rem 0.5rem rgba(59, 130, 246, 0.5);
}
.flatpickr-day.selected:hover, .flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  border-color: #3b82f6;
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: rgba(148, 163, 184, 0.3);
  cursor: default;
  pointer-events: none;
}
.flatpickr-day.flatpickr-disabled {
  color: rgba(148, 163, 184, 0.3);
  cursor: not-allowed;
  opacity: 0.4;
}
.flatpickr-day.flatpickr-disabled:hover {
  background-color: transparent;
  border-color: transparent;
}
.flatpickr-day.inRange {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: transparent;
  box-shadow: none;
}

.flatpickr-time {
  border-top: 0.0625rem solid rgba(148, 163, 184, 0.15);
  padding: 0.75rem 1rem;
  max-height: none;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  background: transparent;
}
.flatpickr-time .numInputWrapper {
  width: 3.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  background-color: rgba(51, 65, 85, 0.5);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.375rem;
  overflow: hidden;
}
.flatpickr-time .numInputWrapper:hover {
  background-color: rgba(71, 85, 105, 0.6);
  border-color: rgba(148, 163, 184, 0.4);
}
.flatpickr-time .numInputWrapper input {
  background: transparent;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  padding: 0;
  height: 100%;
  width: 100%;
}
.flatpickr-time .numInputWrapper input:focus {
  outline: none;
  background-color: rgba(59, 130, 246, 0.2);
}
.flatpickr-time .numInputWrapper span.arrowUp,
.flatpickr-time .numInputWrapper span.arrowDown {
  display: none;
}
.flatpickr-time .flatpickr-time-separator {
  color: #94a3b8;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0 0.125rem;
}
.flatpickr-time .flatpickr-am-pm {
  width: 3.5rem;
  height: 2.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background-color: rgba(51, 65, 85, 0.5);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.2s ease-out;
}
.flatpickr-time .flatpickr-am-pm:hover {
  background-color: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}
.flatpickr-time .flatpickr-am-pm:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .flatpickr-time .flatpickr-am-pm:focus-visible {
    outline-width: 0.1875rem;
  }
}

@keyframes flatpickrFadeIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-contrast: high) {
  .flatpickr-day.selected, .flatpickr-day.today {
    border-width: 0.1875rem;
  }
  .flatpickr-calendar {
    border-width: 0.125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .flatpickr-calendar {
    animation: none;
  }
  .flatpickr-day,
  .flatpickr-prev-month,
  .flatpickr-next-month,
  .flatpickr-am-pm {
    transition: none;
  }
}
@media (min-width: 23.4375rem) {
  .flatpickr-calendar {
    width: calc(100vw - 2rem);
    max-width: 20rem;
  }
  .flatpickr-day {
    min-height: 2.5rem;
    font-size: 1rem;
  }
  .flatpickr-time .numInputWrapper {
    width: 4rem;
    height: 3rem;
  }
  .flatpickr-time .numInputWrapper input {
    font-size: 1.25rem;
  }
  .flatpickr-time .flatpickr-am-pm {
    width: 4rem;
    height: 3rem;
    font-size: 1rem;
  }
}
.timeline-container {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.timeline-header {
  background: var(--color-surface);
  border-bottom: 2px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.timeline-header__times {
  display: flex;
  padding-left: 120px;
  background: linear-gradient(135deg, var(--color-primary-50) 0%, var(--color-secondary-50) 100%);
  overflow-x: auto;
}
.timeline-header__times .timeline-slot {
  flex: 0 0 100px;
  padding: var(--space-3) var(--space-2);
  text-align: center;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--color-text-secondary);
  border-right: 1px solid var(--color-border);
}
.timeline-header__times .timeline-slot:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-600);
}

.timeline-body {
  padding: var(--space-4);
  min-height: 300px;
  background: var(--color-background);
}

.timeline-track {
  display: flex;
  align-items: center;
  min-height: 80px;
  margin-bottom: var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.timeline-track:hover {
  box-shadow: var(--shadow-md);
}

.timeline-track__label {
  flex: 0 0 120px;
  padding: var(--space-3);
  font-weight: 600;
  color: var(--color-text-primary);
  background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-secondary-100) 100%);
  border-right: 2px solid var(--color-border);
  text-align: center;
}

.timeline-track__events {
  flex: 1;
  position: relative;
  height: 60px;
  margin: var(--space-2);
  overflow-x: auto;
}

.timeline-event {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  color: white;
  font-size: var(--font-size-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  overflow: hidden;
  white-space: nowrap;
}
.timeline-event:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 5;
}

.timeline-event__name {
  display: block;
  font-weight: 600;
  text-overflow: ellipsis;
  overflow: hidden;
}

.timeline-event__time {
  display: block;
  font-size: var(--font-size-xs);
  opacity: 0.9;
}

.timeline-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  color: var(--color-text-muted);
}
.timeline-empty i {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  opacity: 0.5;
}
.timeline-empty p {
  font-size: var(--font-size-lg);
  margin: 0;
}

@media (max-width: 768px) {
  .timeline-header__times {
    padding-left: 80px;
  }
  .timeline-header__times .timeline-slot {
    flex: 0 0 80px;
    font-size: var(--font-size-xs);
  }
  .timeline-track__label {
    flex: 0 0 80px;
    font-size: var(--font-size-sm);
  }
  .timeline-event {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.form-group[hidden] {
  display: none;
}
.form-group--full-width {
  grid-column: 1/-1;
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-primary);
  line-height: var(--line-height-normal);
}
.form-label .required {
  color: var(--color-error);
  margin-left: var(--space-1);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-family: inherit;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  border: 0.0625rem solid var(--color-text-muted);
  border-radius: 0.5rem;
  transition: border-color 0.3s ease-in-out;
  min-height: var(--min-touch-target);
  min-width: var(--min-touch-target);
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--color-focus);
  outline-offset: -0.0625rem;
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .form-input:focus,
  .form-select:focus,
  .form-textarea:focus {
    outline-width: 0.1875rem;
  }
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}
.form-input:invalid:not(:placeholder-shown), .form-input[aria-invalid=true],
.form-select:invalid:not(:placeholder-shown),
.form-select[aria-invalid=true],
.form-textarea:invalid:not(:placeholder-shown),
.form-textarea[aria-invalid=true] {
  border-color: var(--color-error);
}

.form-textarea {
  min-height: calc(var(--min-touch-target) * 2);
  resize: vertical;
  line-height: var(--line-height-relaxed);
}

.form-help {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-normal);
  margin-top: var(--space-1);
}

.form-error {
  font-size: var(--font-size-sm);
  color: var(--color-error);
  line-height: var(--line-height-normal);
  margin-top: var(--space-1);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.form-error::before {
  content: "⚠";
  flex-shrink: 0;
}

.form-group--fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}

.form-fieldset {
  border: 0.0625rem solid var(--color-text-muted);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-8);
}

.fieldset-legend {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  padding: 0 var(--space-3);
  margin-bottom: var(--space-4);
}

.form-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: var(--space-8);
}
@media (min-width: 48rem) {
  .form-actions {
    justify-content: flex-end;
  }
}

.modal-backdrop,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: color-mix(in srgb, var(--color-neutral-900) 40%, transparent);
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  opacity: 0;
  transition: all var(--duration-normal) var(--ease-out);
  pointer-events: none;
}
.modal-backdrop.is-visible,
.modal-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
  .modal-backdrop,
  .modal-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: color-mix(in srgb, var(--color-neutral-900) 60%, transparent);
    transition: opacity var(--duration-fast) ease;
  }
}
@media (prefers-contrast: high) {
  .modal-backdrop,
  .modal-overlay {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  pointer-events: none;
  opacity: 0;
  transform: scale(0.95) translateY(var(--space-4));
  transition: all var(--duration-normal) var(--ease-out);
}
.modal.active, .modal.is-visible, .modal.show {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  display: flex;
}
@media (prefers-reduced-motion: reduce) {
  .modal {
    transform: none;
    transition: opacity var(--duration-fast) ease;
  }
  .modal.is-visible, .modal.show {
    transform: none;
  }
}
@media (min-width: 48rem) {
  .modal {
    padding: var(--space-6);
  }
}
@media (min-width: 64rem) {
  .modal {
    padding: var(--space-8);
  }
}

.modal-dialog,
.modal-content {
  position: relative;
  width: 100%;
  max-width: 32rem;
  max-height: 90vh;
  margin: auto;
  background: color-mix(in srgb, var(--color-background) 85%, transparent);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  border: 0.0625rem solid color-mix(in srgb, var(--color-border) 50%, transparent);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl), 0 0 0 1px color-mix(in srgb, var(--color-background) 20%, transparent) inset;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-dialog::before,
.modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--color-primary-500) 60%, transparent) 50%, transparent 100%);
  z-index: 1;
}
@supports not (backdrop-filter: blur(20px)) {
  .modal-dialog,
  .modal-content {
    background: var(--color-background);
    box-shadow: var(--shadow-xl);
  }
}
@media (prefers-contrast: high) {
  .modal-dialog,
  .modal-content {
    background: var(--color-background);
    border: 0.125rem solid var(--color-text-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
@media (min-width: 48rem) {
  .modal-dialog,
  .modal-content {
    max-width: 40rem;
  }
}
@media (min-width: 64rem) {
  .modal-dialog,
  .modal-content {
    max-width: 48rem;
  }
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--space-10);
  height: var(--space-10);
  background: color-mix(in srgb, var(--color-surface) 60%, transparent);
  border: 0.0625rem solid color-mix(in srgb, var(--color-border) 40%, transparent);
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  flex-shrink: 0;
}
.modal-close:hover {
  background: color-mix(in srgb, var(--color-surface) 80%, transparent);
  border-color: var(--color-border);
  color: var(--color-text-primary);
  transform: scale(1.05);
}
.modal-close:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}
@media (prefers-contrast: high) {
  .modal-close:focus-visible {
    outline-width: 0.1875rem;
  }
}
.modal-close .close-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  font-weight: 500;
}
@media (prefers-reduced-motion: reduce) {
  .modal-close:hover {
    transform: none;
  }
}

.modal-body {
  padding: var(--space-4) var(--space-6);
  flex: 1;
  overflow-y: auto;
}
.modal-body::-webkit-scrollbar {
  width: 0.375rem;
}
.modal-body::-webkit-scrollbar-track {
  background: color-mix(in srgb, var(--color-surface) 50%, transparent);
  border-radius: var(--radius-sm);
}
.modal-body::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--color-text-muted) 60%, transparent);
  border-radius: var(--radius-sm);
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-text-muted);
}

.modal-footer {
  padding: var(--space-4) var(--space-6) var(--space-6);
  border-top: 0.0625rem solid color-mix(in srgb, var(--color-border) 30%, transparent);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (min-width: 23.4375rem) {
  .modal-footer {
    flex-direction: column-reverse;
  }
  .modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.modal-dialog--small,
.modal-content--small {
  max-width: 24rem;
}

.modal-dialog--large,
.modal-content--large {
  max-width: 56rem;
}

.modal-dialog--fullscreen,
.modal-content--fullscreen {
  max-width: none;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  margin: 0;
  border-radius: 0;
}
@media (min-width: 64rem) {
  .modal-dialog--fullscreen,
  .modal-content--fullscreen {
    width: calc(100% - var(--space-16));
    height: calc(100% - var(--space-16));
    max-height: calc(100vh - var(--space-16));
    margin: var(--space-8);
    border-radius: var(--radius-xl);
  }
}

.modal--compact .modal-dialog,
.modal--compact .modal-content {
  max-height: none !important;
  height: auto;
}
.modal--compact .modal-body {
  flex: 0 0 auto !important;
  padding: var(--space-4) var(--space-6);
  max-height: none;
}
.modal--compact .modal-header {
  padding: var(--space-4) var(--space-6);
}
.modal--compact .modal-footer {
  padding: var(--space-4) var(--space-6);
}

.modal-focus-trap {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  outline: none;
}

@keyframes modal-slide-up {
  0% {
    opacity: 0;
    transform: translateY(2rem) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@keyframes modal-slide-down {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(2rem) scale(0.95);
  }
}
.modal--enhanced .modal-dialog {
  animation: modal-slide-up var(--duration-normal) var(--ease-out) forwards;
}
.modal--enhanced.is-closing .modal-dialog {
  animation: modal-slide-down var(--duration-normal) var(--ease-out) forwards;
}
@media (prefers-reduced-motion: reduce) {
  .modal--enhanced .modal-dialog {
    animation: none;
  }
}

.modal--no-overlay {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.modal--no-overlay .modal-overlay {
  display: none;
}
.modal--no-overlay .modal-content {
  box-shadow: var(--shadow-2xl);
  border: 0.0625rem solid var(--color-border);
}

.permissions-preview {
  background: rgba(30, 41, 59, 0.5);
  border: 0.0625rem solid rgba(51, 65, 85, 0.5);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  min-height: 120px;
}
.permissions-preview__empty {
  color: #9ca3af !important;
  font-size: var(--font-size-sm);
  text-align: center;
  padding: var(--space-6) 0;
  margin: 0;
}

.permission-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) 0;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}
.permission-item i {
  color: var(--color-success);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tf-modal,
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
}

.tf-modal.hidden,
.modal.hidden {
  display: none;
}

.tf-modal.fade-in .modal-backdrop,
.modal.fade-in .modal-backdrop {
  animation: fadeInBackdrop 300ms ease-out forwards;
}

.tf-modal.fade-in .modal-dialog,
.modal.fade-in .modal-dialog {
  animation: fadeInModal 300ms ease-out forwards;
}

.tf-modal.fade-out .modal-backdrop,
.modal.fade-out .modal-backdrop {
  animation: fadeOutBackdrop 300ms ease-in forwards;
}

.tf-modal.fade-out .modal-dialog,
.modal.fade-out .modal-dialog {
  animation: fadeOutModal 300ms ease-in forwards;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal-dialog,
.modal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc(100% - 2rem);
  max-width: 500px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .modal-dialog,
  .modal__dialog {
    width: auto;
    max-width: 540px;
  }
}
.modal-content,
.modal__content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  background-clip: padding-box;
  outline: none;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.modal-header,
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  border-top-left-radius: calc(0.75rem - 1px);
  border-top-right-radius: calc(0.75rem - 1px);
}

.modal-header .modal-title,
.modal-header .modal__title,
.modal__header .modal-title,
.modal__header .modal__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
}

.modal-body,
.modal__body {
  position: relative;
  flex: 1 1 auto;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal__minimize,
.modal__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.modal__minimize i,
.modal__close i {
  font-size: 0.875rem;
}
.modal__minimize:hover,
.modal__close:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: #F49609;
  color: #F49609;
  transform: translateY(-1px);
}
.modal__minimize:active,
.modal__close:active {
  transform: translateY(0);
}

.modal-footer,
.modal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  border-bottom-right-radius: calc(0.75rem - 1px);
  border-bottom-left-radius: calc(0.75rem - 1px);
  gap: 0.75rem;
}

.modal-footer > *,
.modal__footer > * {
  margin: 0;
}

@media (max-width: 639px) {
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-footer > * {
    margin: 0.25rem 0;
  }
  .modal-footer > *:first-child {
    margin-top: 0;
  }
  .modal-footer > *:last-child {
    margin-bottom: 0;
  }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  padding: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all all 150ms ease-in-out;
}

.modal-close:hover {
  color: #1e293b;
  background-color: #f1f5f9;
}

.modal-close:focus:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1), 0 0 0 5px rgba(59, 130, 246, 0.2);
}

.modal-close::before {
  content: "×";
}

@media (min-width: 640px) {
  .modal-sm .modal-dialog {
    max-width: 300px;
  }
}
@media (min-width: 1024px) {
  .modal-lg .modal-dialog {
    max-width: 800px;
  }
}
@media (min-width: 1280px) {
  .modal-xl .modal-dialog {
    max-width: 1140px;
  }
}
.modal-fullscreen .modal-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  margin: 0;
}

.modal-fullscreen .modal-dialog .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

@media (max-width: 639px) {
  .modal-fullscreen-sm-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-sm-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .modal-fullscreen-md-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-md-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1023px) {
  .modal-fullscreen-lg-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-lg-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1279px) {
  .modal-fullscreen-xl-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-xl-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1535px) {
  .modal-fullscreen-2xl-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-2xl-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
.modal-centered .modal-dialog {
  align-items: center;
  min-height: calc(100vh - 2rem);
}

.modal-scrollable .modal-dialog {
  height: calc(100vh - 2rem);
}

.modal-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.modal-scrollable .modal-body {
  overflow-y: auto;
}

@keyframes fadeInBackdrop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOutBackdrop {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeOutModal {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
}
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideOutToTop {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
  to {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
  }
}
.modal.slide.fade-in .modal-dialog {
  animation: slideInFromTop 300ms ease-out forwards;
}

.modal.slide.fade-out .modal-dialog {
  animation: slideOutToTop 300ms ease-in forwards;
}

.modal.scale.fade-in .modal-dialog {
  animation: scaleIn 300ms ease-out forwards;
}

.modal.scale.fade-out .modal-dialog {
  animation: scaleOut 300ms ease-in forwards;
}

.modal.modal-dark .modal-content,
.modal.modal-dark .modal__content {
  background-color: #1e293b;
  border-color: #334155;
  color: #ffffff;
}

.modal.modal-dark .modal-header,
.modal.modal-dark .modal__header {
  border-bottom-color: #334155;
}

.modal.modal-dark .modal-footer,
.modal.modal-dark .modal__footer {
  border-top-color: #334155;
}

.modal.modal-dark .modal-close,
.modal.modal-dark .modal__close,
.modal.modal-dark .modal__minimize {
  color: #94a3b8;
}

.modal.modal-dark .modal-close:hover,
.modal.modal-dark .modal__close:hover,
.modal.modal-dark .modal__minimize:hover {
  color: #ffffff;
  background-color: #334155;
}

#newReservationModal .modal__content {
  background-color: #1e293b;
  border-color: #334155;
  color: #ffffff;
}
#newReservationModal .modal__header {
  border-bottom-color: #334155;
  cursor: grab;
  user-select: none;
}
#newReservationModal .modal__header:active {
  cursor: grabbing;
}
#newReservationModal.dragging .modal__header {
  cursor: grabbing;
}
#newReservationModal .modal__title {
  color: #f1f5f9;
}
#newReservationModal .modal__footer {
  border-top-color: #334155;
}
#newReservationModal .reservation-cancel-btn {
  background: #334155;
  color: #f1f5f9;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
}
#newReservationModal .reservation-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
#newReservationModal .reservation-cancel-btn:active {
  background: rgba(255, 255, 255, 0.06);
}
#newReservationModal .reservation-cancel-btn:focus {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}
#newReservationModal.minimized .modal__body,
#newReservationModal.minimized .modal__footer {
  display: none;
}
#newReservationModal.minimized .modal__header {
  border-bottom: none;
  border-radius: 0.75rem;
}
#newReservationModal.minimized .modal__content {
  height: auto;
  min-height: auto;
}

.reservation-dropdown.custom-dropdown .dropdown-trigger {
  background: rgba(15, 20, 25, 0.5);
  border: 1.5px solid #334155;
  color: #f1f5f9;
  min-height: 48px;
  border-radius: 0.75rem;
}
.reservation-dropdown.custom-dropdown .dropdown-trigger:hover {
  background: rgba(15, 20, 25, 0.7);
  border-color: #475569;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.2);
}
.reservation-dropdown.custom-dropdown .dropdown-trigger:focus, .reservation-dropdown.custom-dropdown .dropdown-trigger[aria-expanded=true] {
  border-color: #F49609;
  box-shadow: 0 0 0 0.25rem rgba(244, 150, 9, 0.15);
}
.reservation-dropdown.custom-dropdown .dropdown-trigger .dropdown-icon {
  color: #F49609;
}
.reservation-dropdown.custom-dropdown .dropdown-trigger .chevron {
  color: #94a3b8;
}
.reservation-dropdown.custom-dropdown .dropdown-trigger .dropdown-value {
  color: #f1f5f9;
}
.reservation-dropdown.custom-dropdown .dropdown-trigger .dropdown-value.placeholder {
  color: #64748b;
}
.reservation-dropdown.custom-dropdown .dropdown-menu {
  background: #1e293b;
  border: 1.5px solid #475569;
  box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.4);
}
.reservation-dropdown.custom-dropdown .dropdown-search {
  background: #1e293b;
  border-bottom-color: #334155;
}
.reservation-dropdown.custom-dropdown .dropdown-search input {
  background: rgba(15, 20, 25, 0.5);
  border-color: #334155;
  color: #f1f5f9;
}
.reservation-dropdown.custom-dropdown .dropdown-search input::placeholder {
  color: #64748b;
}
.reservation-dropdown.custom-dropdown .dropdown-search input:focus {
  border-color: #F49609;
  box-shadow: 0 0 0 0.1875rem rgba(244, 150, 9, 0.15);
}
.reservation-dropdown.custom-dropdown .dropdown-custom-input {
  background: #1e293b;
  border-bottom-color: #334155;
}
.reservation-dropdown.custom-dropdown .dropdown-custom-input .custom-value-input {
  background: rgba(15, 20, 25, 0.5);
  border-color: #334155;
  color: #f1f5f9;
}
.reservation-dropdown.custom-dropdown .dropdown-custom-input .custom-value-input::placeholder {
  color: #64748b;
}
.reservation-dropdown.custom-dropdown .dropdown-custom-input .custom-value-input:focus {
  border-color: #F49609;
  box-shadow: 0 0 0 0.1875rem rgba(244, 150, 9, 0.15);
}
.reservation-dropdown.custom-dropdown .dropdown-option {
  color: #e2e8f0;
}
.reservation-dropdown.custom-dropdown .dropdown-option:hover, .reservation-dropdown.custom-dropdown .dropdown-option:focus {
  background: linear-gradient(135deg, #F49609 0%, rgb(247.6719367589, 171.1343873518, 56.3280632411) 100%);
  color: #ffffff;
}
.reservation-dropdown.custom-dropdown .dropdown-option:hover .option-icon, .reservation-dropdown.custom-dropdown .dropdown-option:focus .option-icon {
  color: #ffffff;
}
.reservation-dropdown.custom-dropdown .dropdown-option.selected {
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
}
.reservation-dropdown.custom-dropdown .dropdown-option .option-icon {
  color: #F49609;
}
.reservation-dropdown.custom-dropdown .dropdown-option .option-check {
  color: #F49609;
}
.reservation-dropdown.custom-dropdown .dropdown-options {
  background: #1e293b;
}
.reservation-dropdown.custom-dropdown .dropdown-empty {
  color: #64748b;
}
.reservation-dropdown.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: #475569;
}
.reservation-dropdown.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

@media (prefers-contrast: high) {
  .modal-content {
    border-width: 2px;
  }
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade-in .modal-backdrop,
  .modal.fade-in .modal-dialog,
  .modal.fade-out .modal-backdrop,
  .modal.fade-out .modal-dialog {
    animation: none;
  }
  .modal-close {
    transition: none;
  }
}
.date-navigation__input {
  position: absolute !important;
  opacity: 0;
  width: auto !important;
  height: 100% !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  cursor: pointer;
  max-width: 200px !important;
  pointer-events: auto;
}
.date-navigation__display {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 200px;
}
.date-navigation__text {
  position: relative;
  z-index: 0;
  pointer-events: none;
}

.nav-language-selector {
  position: relative;
  z-index: 1003;
  display: flex;
  align-items: center;
}

.nav-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.75rem;
  min-height: 36px;
  background: #2d3240;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--border-radius-md, 8px);
  color: #ffffff;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav-lang__trigger:hover {
  background: #3a4050;
  border-color: rgba(255, 255, 255, 0.35);
}
.nav-lang__trigger:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.nav-lang__globe {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

.nav-lang__current {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-lang__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 8px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nav-lang__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 240px;
  max-width: 300px;
  max-height: 320px;
  overflow-y: auto;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 0.25rem 0;
  margin: 0;
  list-style: none;
  z-index: 1004;
}
.nav-lang__dropdown--open {
  display: block;
  animation: navLangFadeIn 0.15s ease-out;
}
.nav-lang__dropdown::-webkit-scrollbar {
  width: 4px;
}
.nav-lang__dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.nav-lang__dropdown::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-lang__dropdown--open {
    animation: none;
  }
}
@keyframes navLangFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.nav-lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  min-height: 44px;
  color: rgba(255, 255, 255, 0.75);
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  list-style: none;
}
.nav-lang__option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.nav-lang__option:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
  border-radius: 0.375rem;
}
.nav-lang__option--active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(99, 102, 241, 0.2);
}

.nav-lang__option-name {
  flex: 1;
  min-width: 0;
}

.nav-lang__check {
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: #a5b4fc;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .nav-language-selector {
    order: 2;
  }
  .nav-lang__dropdown {
    right: 0;
    left: auto;
  }
}
@media (max-width: 768px) {
  .nav-lang__trigger {
    padding: 8px 12px;
    font-size: 0.8125rem;
    gap: 6px;
  }
  .nav-lang__chevron {
    display: none;
  }
  .nav-lang__dropdown {
    position: fixed;
    left: 8px;
    right: 8px;
    top: auto;
    bottom: 8px;
    min-width: auto;
    max-width: unset;
    max-height: 50vh;
    border-radius: 16px;
    padding: 8px 0;
    background: #1a2332;
  }
  .nav-lang__option {
    padding: 14px 16px;
    min-height: 48px;
    font-size: 1rem;
  }
}
[dir=rtl] .nav-lang__dropdown {
  right: auto;
  left: 0;
}
[dir=rtl] .nav-lang__check {
  margin-left: 0;
  margin-right: 8px;
}

.menu-langs-caption {
  margin: 1rem 0 0;
  padding: 0 0.75rem;
  font-family: var(--font-body, "Inter", sans-serif);
  font-size: 12px;
  line-height: 1.35;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.01em;
}

.reservation-card__date {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-top: var(--space-1);
}
.reservation-card__date i {
  font-size: var(--font-size-xs);
}

.empty-state__date {
  font-size: var(--font-size-xl);
  color: var(--color-text-secondary);
  margin-top: var(--space-2);
  margin-bottom: 0;
}
.empty-state__message {
  color: var(--color-text-muted);
}
.empty-state__actions {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-5);
}
.empty-state__tip {
  margin-top: var(--space-4);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.date-navigation__btn--disabled {
  opacity: 0.6;
  cursor: default;
}
.date-navigation__btn--disabled:hover {
  background-color: transparent;
  transform: none;
}
.date-navigation__btn--today i.fa-calendar-day {
  margin-right: var(--space-2);
}

.calendar-day {
  padding: var(--space-2);
}
.calendar-day__number {
  margin-bottom: var(--space-1);
}
.calendar-day__count {
  margin-top: var(--space-1);
}

.reservation-highlight {
  background: rgba(244, 150, 9, 0.08) !important;
  border: 2px solid rgba(244, 150, 9, 0.4) !important;
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.15) !important;
}

@keyframes highlightPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.15);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(244, 150, 9, 0.25);
  }
}
.pre-order-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-primary, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif);
  font-size: var(--font-size-xs);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.025em;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-md, 0.5rem);
  background: rgba(244, 150, 9, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(244, 150, 9, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  cursor: pointer;
  user-select: none;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pre-order-badge:hover {
  background: rgba(244, 150, 9, 0.18);
  border-color: rgba(244, 150, 9, 0.35);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.pre-order-badge:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.pre-order-badge:focus-visible {
  outline: 2px solid var(--color-focus, #3b82f6);
  outline-offset: 2px;
}
.pre-order-badge .fas {
  font-size: 11px;
  opacity: 0.9;
}
.pre-order-badge__count {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  min-width: 1.2em;
  text-align: center;
}

.pre-order-badge--default {
  background: rgba(244, 150, 9, 0.12);
  border-color: rgba(244, 150, 9, 0.2);
  color: #FFC46B;
}
.pre-order-badge--default:hover {
  background: rgba(244, 150, 9, 0.18);
  border-color: rgba(244, 150, 9, 0.35);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pre-order-badge--success {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.2);
  color: #6EE7B7;
}
.pre-order-badge--success:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.35);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pre-order-badge--warning {
  background: rgba(251, 191, 36, 0.12);
  border-color: rgba(251, 191, 36, 0.2);
  color: #FCD34D;
}
.pre-order-badge--warning:hover {
  background: rgba(251, 191, 36, 0.18);
  border-color: rgba(251, 191, 36, 0.35);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pre-order-badge--critical {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: #FCA5A5;
  animation: criticalPulse 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.pre-order-badge--critical:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.45);
}

.pre-order-badge--large-order {
  background: rgba(139, 92, 246, 0.12);
  border-color: rgba(139, 92, 246, 0.2);
  color: #C4B5FD;
}
.pre-order-badge--large-order:hover {
  background: rgba(139, 92, 246, 0.18);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pre-order-badge--tiny {
  font-size: 10px;
  padding: var(--space-1) var(--space-2);
  gap: var(--space-1);
}
.pre-order-badge--tiny .fas {
  font-size: 9px;
}
.pre-order-badge--tiny .pre-order-badge__count {
  min-width: 1em;
}

.pre-order-badge--small {
  font-size: var(--font-size-xs);
  padding: var(--space-2) var(--space-3);
  gap: var(--space-2);
}
.pre-order-badge--small .fas {
  font-size: 11px;
}

.pre-order-badge--medium {
  font-size: var(--font-size-sm);
  padding: var(--space-2-5) var(--space-4);
  gap: var(--space-2);
}
.pre-order-badge--medium .fas {
  font-size: 13px;
}

.pre-order-badge--large {
  font-size: var(--font-size-base);
  padding: var(--space-3) var(--space-5);
  gap: var(--space-3);
}
.pre-order-badge--large .fas {
  font-size: 15px;
}

@keyframes badgePopIn {
  0% {
    transform: scale(0.85);
    opacity: 0;
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.pre-order-badge--animated {
  animation: badgePopIn 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes criticalPulse {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 0 rgba(239, 68, 68, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
  50% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 0 0 6px rgba(239, 68, 68, 0), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}
.pre-order-tooltip {
  position: fixed;
  z-index: 9999;
  max-width: 320px;
  min-width: 280px;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--border-radius-lg, 0.75rem);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.05);
  font-size: var(--font-size-sm);
  color: #f1f5f9;
  animation: tooltipFadeIn 200ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.pre-order-tooltip__header {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4);
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #FFC46B;
  letter-spacing: 0.025em;
}
.pre-order-tooltip__header .fas {
  font-size: var(--font-size-base);
  opacity: 0.9;
}

.pre-order-tooltip__items {
  padding: var(--space-3) var(--space-4);
  max-height: 280px;
  overflow-y: auto;
}
.pre-order-tooltip__items::-webkit-scrollbar {
  width: 6px;
}
.pre-order-tooltip__items::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.05);
  border-radius: 3px;
}
.pre-order-tooltip__items::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.2);
  border-radius: 3px;
}
.pre-order-tooltip__items::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.3);
}

.pre-order-tooltip__item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}
.pre-order-tooltip__item:first-child {
  padding-top: 0;
}
.pre-order-tooltip__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pre-order-tooltip__item-name {
  flex: 1;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #e2e8f0;
  line-height: 1.4;
}

.pre-order-tooltip__quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: var(--space-2);
  padding: 2px var(--space-2);
  background: rgba(244, 150, 9, 0.15);
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: var(--border-radius-sm, 0.375rem);
  font-size: 10px;
  font-weight: 700;
  color: #FFC46B;
  letter-spacing: 0.05em;
  line-height: 1;
}

.pre-order-tooltip__item-price {
  flex-shrink: 0;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #FFC46B;
  font-variant-numeric: tabular-nums;
}

.pre-order-tooltip__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) 0;
  margin-top: var(--space-2);
  text-align: center;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: #94a3b8;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  background: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}
.pre-order-tooltip__more .fas {
  font-size: 10px;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pre-order-tooltip__more:hover {
  color: #FFC46B;
  background: rgba(244, 150, 9, 0.05);
}
.pre-order-tooltip__more:active {
  transform: scale(0.98);
}

.pre-order-tooltip__footer {
  padding: var(--space-4);
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(244, 150, 9, 0.05);
}

.pre-order-tooltip__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pre-order-tooltip__total strong {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pre-order-tooltip__total span {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #FFC46B;
  font-variant-numeric: tabular-nums;
}

.pre-order-tooltip__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) var(--space-4);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: rgba(15, 23, 42, 0.3);
  border-bottom-left-radius: var(--border-radius-lg, 0.75rem);
  border-bottom-right-radius: var(--border-radius-lg, 0.75rem);
}

.pre-order-tooltip__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--border-radius-md, 0.5rem);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  white-space: nowrap;
}
.pre-order-tooltip__action .fas {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}
.pre-order-tooltip__action:hover {
  transform: translateY(-1px);
}
.pre-order-tooltip__action:active {
  transform: translateY(0);
}
.pre-order-tooltip__action:focus-visible {
  outline: 2px solid var(--color-focus, #3b82f6);
  outline-offset: 2px;
}

.pre-order-tooltip__action--primary {
  background: rgba(244, 150, 9, 0.15);
  border-color: rgba(244, 150, 9, 0.3);
  color: #FFC46B;
}
.pre-order-tooltip__action--primary:hover {
  background: rgba(244, 150, 9, 0.25);
  border-color: rgba(244, 150, 9, 0.4);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.2);
}
.pre-order-tooltip__action--primary:active {
  background: rgba(244, 150, 9, 0.2);
}

.pre-order-tooltip__action--secondary {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
}
.pre-order-tooltip__action--secondary:hover {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 4px 12px rgba(148, 163, 184, 0.15);
}
.pre-order-tooltip__action--secondary:active {
  background: rgba(148, 163, 184, 0.12);
}

.pre-order-tooltip__status {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  font-size: var(--font-size-sm);
  font-weight: 500;
  line-height: 1.4;
  animation: statusSlideIn 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.pre-order-tooltip__status .fas {
  font-size: var(--font-size-base);
  flex-shrink: 0;
}
.pre-order-tooltip__status--loading {
  background: rgba(59, 130, 246, 0.08);
  color: #60A5FA;
}
.pre-order-tooltip__status--loading .fas {
  color: #60A5FA;
}
.pre-order-tooltip__status--success {
  background: rgba(16, 185, 129, 0.08);
  color: #6EE7B7;
}
.pre-order-tooltip__status--success .fas {
  color: #6EE7B7;
}
.pre-order-tooltip__status--warning {
  background: rgba(251, 191, 36, 0.08);
  color: #FCD34D;
}
.pre-order-tooltip__status--warning .fas {
  color: #FCD34D;
}
.pre-order-tooltip__status--error {
  background: rgba(239, 68, 68, 0.08);
  color: #FCA5A5;
}
.pre-order-tooltip__status--error .fas {
  color: #FCA5A5;
}

@keyframes statusSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
    max-height: 0;
  }
  to {
    opacity: 1;
    transform: translateY(0);
    max-height: 100px;
  }
}
@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  .pre-order-badge {
    font-size: 10px;
    padding: var(--space-1) var(--space-2);
    gap: var(--space-1);
  }
  .pre-order-badge .fas {
    font-size: 9px;
  }
  .pre-order-tooltip {
    max-width: calc(100vw - 32px);
    min-width: auto;
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pre-order-badge {
    animation: none !important;
    transition: none !important;
  }
  .pre-order-badge--animated {
    animation: none;
  }
  .pre-order-tooltip {
    animation: none;
  }
  @keyframes criticalPulse {
    0%, 100% {
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    }
  }
}
@media (prefers-contrast: high) {
  .pre-order-badge {
    border-width: 2px;
    background: rgba(244, 150, 9, 0.2);
  }
  .pre-order-tooltip {
    border-width: 2px;
    background: rgb(30, 41, 59);
  }
}
@media print {
  .pre-order-badge {
    box-shadow: none;
    backdrop-filter: none;
    border: 1px solid currentColor;
    background: transparent;
    color: #000;
  }
  .pre-order-tooltip {
    display: none;
  }
}
.res-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.res-card__status {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.res-card__pre-order-badge {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.floor-modal-card__pre-order-badge {
  display: block;
  margin-bottom: var(--spacing-xs);
}

.pre-order-badge--clickable {
  cursor: pointer;
}
.pre-order-badge--clickable:hover {
  cursor: pointer;
  background: rgba(244, 150, 9, 0.22);
}

.pre-order-badge--simplified {
  animation: simplifiedPulse 3s ease-in-out infinite;
}
.pre-order-badge--simplified:hover {
  transform: scale(1.05);
  animation: none;
}
.pre-order-badge--simplified:focus-visible {
  outline: 2px solid var(--color-focus, #3b82f6);
  outline-offset: 3px;
  animation: none;
}

@keyframes simplifiedPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pre-order-badge--simplified {
    animation: none;
  }
  .pre-order-badge--animated {
    animation: none;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.pre-order-tooltip--simplified {
  max-width: 280px;
  min-width: 240px;
  cursor: pointer;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.pre-order-tooltip--simplified:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 28px -5px rgba(0, 0, 0, 0.5), 0 12px 12px -5px rgba(0, 0, 0, 0.25);
}
.pre-order-tooltip--simplified:active {
  transform: translateY(0);
}

.pre-order-tooltip__simplified-content {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pre-order-tooltip__simplified-summary {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: #f1f5f9;
}
.pre-order-tooltip__simplified-summary .fas {
  color: #FFC46B;
  opacity: 0.9;
}
.pre-order-tooltip__simplified-summary strong {
  font-weight: 600;
  color: #FFC46B;
}

.pre-order-tooltip__simplified-cta {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--border-radius-sm, 0.375rem);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  font-size: var(--font-size-xs);
  color: #cbd5e1;
  transition: all 150ms ease;
}
.pre-order-tooltip__simplified-cta .fas {
  opacity: 0.7;
  font-size: 10px;
  transition: transform 150ms ease;
}

.pre-order-tooltip--simplified:hover .pre-order-tooltip__simplified-cta {
  background: rgba(148, 163, 184, 0.15);
  border-color: rgba(148, 163, 184, 0.25);
  color: #f1f5f9;
}
.pre-order-tooltip--simplified:hover .pre-order-tooltip__simplified-cta .fas {
  opacity: 1;
  transform: translateX(2px);
}

.admin-dashboard {
  background: #0f1419;
}

.admin-content {
  background: #0f1419;
}

.page-header {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.page-header__title {
  color: #cbd5e1;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Playfair Display", serif;
}
.page-header__subtitle {
  color: #cbd5e1;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}
.page-header__icon {
  color: var(--color-primary-600);
}
.page-header__actions {
  display: flex;
  gap: 1rem;
}

.admin-welcome {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}
.admin-welcome__greeting {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}
.admin-welcome__subtitle {
  color: #9ca3af;
  font-size: 1rem;
}

.stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.stat-card__icon--primary {
  background: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}
.stat-card__icon--success {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}
.stat-card__icon--warning {
  background: rgba(249, 115, 22, 0.1);
  color: #F97316;
}
.stat-card__icon--danger {
  background: rgba(220, 38, 38, 0.1);
  color: #DC2626;
}
.stat-card__icon--info {
  background: rgba(139, 92, 246, 0.1);
  color: #8B5CF6;
}
.stat-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stat-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-card__value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1;
  margin: 0.5rem 0;
}
.stat-card__change {
  font-size: 0.875rem;
  color: #cbd5e1;
}
.stat-card__change--positive {
  color: #059669;
}
.stat-card__change--negative {
  color: #DC2626;
}

.metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.metric-card__value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0.5rem 0;
  display: block;
}
.metric-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.reservation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
}
@media (max-width: 768px) {
  .reservation-controls {
    flex-direction: column;
    align-items: stretch;
  }
}

.date-navigation__text {
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}
.date-navigation__text:hover {
  background: rgba(255, 255, 255, 0.05);
}

.admin-quick-actions {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.admin-quick-actions__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.ai-insights {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.financial-dashboard {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.75rem;
  min-height: 420px;
}

.live-activity {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}

.upload-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.upload-area {
  border: 2px dashed #334155;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  background: rgba(17, 24, 39, 0.5);
  transition: all 0.3s ease;
}
.upload-area:hover, .upload-area.dragging {
  border-color: #3B82F6;
  background: rgba(59, 130, 246, 0.05);
}

.upload-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.upload-subtitle {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.menu-history {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}
.menu-history__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .admin-dashboard,
  .admin-sidebar,
  .admin-header,
  .metric-card,
  .admin-quick-actions,
  .ai-insights,
  .live-activity,
  .admin-welcome {
    background: #1e293b;
    border-color: #334155;
  }
  .admin-sidebar__logo-text,
  .admin-header__title,
  .metric-card__value,
  .admin-welcome__greeting {
    color: #f8fafc;
  }
  .admin-sidebar__nav-item,
  .admin-header__breadcrumb,
  .metric-card__label,
  .admin-welcome__subtitle {
    color: #cbd5e1;
  }
}
.pre-order-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
}
.pre-order-modal.is-open {
  display: flex;
  pointer-events: none;
}
.pre-order-modal.is-minimized {
  align-items: flex-start;
  padding-top: 80px;
}
.pre-order-modal.is-minimized .pre-order-modal__dialog {
  max-height: 60px;
}
.pre-order-modal.is-minimized .pre-order-modal__body,
.pre-order-modal.is-minimized .pre-order-modal__footer {
  display: none;
}
.pre-order-modal.is-minimized .pre-order-modal__minimize i::before {
  content: "\f2d0";
}
.pre-order-modal.is-dragging .pre-order-modal__dialog {
  cursor: move;
  user-select: none;
  transition: none;
}

.pre-order-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 450px;
  max-height: 70vh;
  margin: auto;
  background-color: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}
@media (max-width: 640px) {
  .pre-order-modal__dialog {
    max-width: 100%;
    max-height: 90vh;
  }
}

.pre-order-modal__container {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.pre-order-modal__container.is-updating .pre-order-modal__body {
  animation: fadeInContent 300ms ease;
}

.pre-order-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background-color: #1e293b;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
  cursor: move;
  user-select: none;
}
.pre-order-modal__header:active {
  cursor: grabbing;
}

.pre-order-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  flex: 1;
}
.pre-order-modal__title i {
  color: #2563eb;
  font-size: 1rem;
}

.pre-order-modal__controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pre-order-modal__view-toggle,
.pre-order-modal__minimize,
.pre-order-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 200ms ease;
  flex-shrink: 0;
}
.pre-order-modal__view-toggle:hover,
.pre-order-modal__minimize:hover,
.pre-order-modal__close:hover {
  background-color: #1e293b;
  border-color: #475569;
  color: #f8fafc;
  transform: scale(1.05);
}
.pre-order-modal__view-toggle:active,
.pre-order-modal__minimize:active,
.pre-order-modal__close:active {
  transform: scale(0.95);
}
.pre-order-modal__view-toggle:focus,
.pre-order-modal__minimize:focus,
.pre-order-modal__close:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.pre-order-modal__view-toggle i,
.pre-order-modal__minimize i,
.pre-order-modal__close i {
  font-size: 1rem;
}

.pre-order-modal__view-toggle--editing {
  background-color: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  color: #F49609;
}
.pre-order-modal__view-toggle--editing:hover {
  background-color: rgba(244, 150, 9, 0.25);
  border-color: #F49609;
  color: #F49609;
}

.pre-order-modal__minimize i {
  position: relative;
  top: -3px;
}

.pre-order-modal__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
  background-color: #0f1419;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 150, 9, 0.5) transparent;
}
.pre-order-modal__body::-webkit-scrollbar {
  width: 6px;
}
.pre-order-modal__body::-webkit-scrollbar-track {
  background: transparent;
}
.pre-order-modal__body::-webkit-scrollbar-thumb {
  background: rgba(244, 150, 9, 0.5);
  border-radius: 3px;
}
.pre-order-modal__body::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 150, 9, 0.7);
}

.pre-order-modal__customer-info {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #1e293b;
  border-radius: 0.75rem;
  border: 1px solid #334155;
}

.pre-order-modal__info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.pre-order-modal__info-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pre-order-modal__info-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.pre-order-modal__info-label i {
  font-size: 11px;
  opacity: 0.7;
}

.pre-order-modal__info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f8fafc;
}

.special-requests-alert {
  margin-top: 0.75rem;
  border-radius: 0.5rem;
  border: 2px solid;
}
.special-requests-alert--has-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  background-color: rgba(251, 146, 60, 0.1);
  border-color: #fb923c;
  padding: 0.5rem 0.75rem;
}
.special-requests-alert--has-content .special-requests-alert__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  color: #fb923c;
  margin-bottom: 0.25rem;
}
.special-requests-alert--has-content .special-requests-alert__title i {
  font-size: 0.875rem;
}
.special-requests-alert--has-content .special-requests-alert__text {
  color: #f8fafc;
  font-size: 0.875rem;
  line-height: 1.4;
  white-space: pre-line;
  word-wrap: break-word;
  text-align: left;
  cursor: pointer;
}
.special-requests-alert--has-content .special-requests-alert__text .order-card__edit-icon {
  font-size: 0.625rem;
  color: #94a3b8;
  margin-left: 0.25rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.special-requests-alert--has-content .special-requests-alert__text:hover .order-card__edit-icon {
  opacity: 1;
}
.special-requests-alert--has-content .order-card__special-requests-input {
  width: 100%;
  padding: 0.25rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.05);
  color: #f8fafc;
  font-size: 0.75rem;
  font-family: inherit;
  resize: vertical;
  min-height: 2.5rem;
  line-height: 1.5;
}
.special-requests-alert--has-content .order-card__special-requests-input:focus {
  outline: none;
  border-color: rgba(251, 146, 60, 0.5);
}
.special-requests-alert--empty {
  background-color: rgba(34, 197, 94, 0.1);
  border-color: #22c55e;
  color: #22c55e;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  font-weight: 500;
}
.special-requests-alert--empty i {
  font-size: 1rem;
}
.special-requests-alert--empty .special-requests-alert__text {
  cursor: pointer;
  color: inherit;
  font-size: 0.875rem;
}
.special-requests-alert--empty .special-requests-alert__text .order-card__edit-icon {
  opacity: 0;
  transition: opacity 0.15s;
}
.special-requests-alert--empty .special-requests-alert__text:hover .order-card__edit-icon {
  opacity: 1;
}

.special-requests-alert .order-card__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s;
  min-height: 28px;
  justify-content: center;
  line-height: 1;
}
.special-requests-alert .order-card__type-badge--kitchen {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.special-requests-alert .order-card__type-badge--kitchen:hover {
  background: rgba(239, 68, 68, 0.25);
}
.special-requests-alert .order-card__type-badge--service {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border-color: rgba(59, 130, 246, 0.3);
}
.special-requests-alert .order-card__type-badge--service:hover {
  background: rgba(59, 130, 246, 0.25);
}
.special-requests-alert .order-card__type-badge i {
  font-size: 0.625rem;
}

.pre-order-modal__items {
  margin-bottom: 1rem;
}

.pre-order-modal__section-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.pre-order-modal__section-title i {
  color: #2563eb;
  font-size: 0.875rem;
}

.pre-order-modal__items-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pre-order-modal__empty {
  padding: 1.25rem;
  text-align: center;
  color: #9ca3af;
  font-style: italic;
  font-size: 0.875rem;
}

.pre-order-modal__category {
  margin-bottom: 1rem;
}
.pre-order-modal__category:last-child {
  margin-bottom: 0;
}

.pre-order-modal__category-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #334155;
}

.pre-order-modal__category-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 40px;
}
.pre-order-modal__category-items:empty {
  border: 2px dashed #334155;
  border-radius: 0.5rem;
  background: rgba(244, 150, 9, 0.03);
}

.pre-order-modal__item {
  position: relative;
  padding: 0.75rem;
  background-color: #1e293b;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  transition: all 200ms ease;
}
.pre-order-modal__item:hover {
  border-color: #2563eb;
  background-color: #1e293b;
}

.pre-order-modal__item-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.pre-order-modal__item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f8fafc;
  flex: 1;
  line-height: 1.4;
}

.pre-order-modal__item-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: #10b981;
  white-space: nowrap;
}

.pre-order-modal__item-quantity {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}
.pre-order-modal__item-quantity--editable {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pre-order-modal__qty-btn {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  padding: 0;
}
.pre-order-modal__qty-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}
.pre-order-modal__qty-btn:active {
  background: rgba(255, 255, 255, 0.2);
}
.pre-order-modal__qty-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.pre-order-modal__qty-value {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 0.875rem;
  color: #f8fafc;
}

.pre-order-modal__item-notes {
  font-size: 0.75rem;
  color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  display: flex;
  align-items: start;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.pre-order-modal__item-notes i {
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 11px;
}

.pre-order-modal__item-staff-note {
  margin-top: 0.5rem;
}

.pre-order-modal__staff-note-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.375rem;
  color: #f8fafc;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pre-order-modal__staff-note-input::placeholder {
  color: #9ca3af;
  font-style: italic;
}
.pre-order-modal__staff-note-input:focus {
  outline: none;
  border-color: #fbbf24;
  background: rgba(255, 255, 255, 0.1);
}

.pre-order-modal__item-notes--staff {
  background-color: rgba(251, 191, 36, 0.1);
  color: #fbbf24;
}
.pre-order-modal__item-notes--staff i {
  color: #fbbf24;
}

.pre-order-modal__staff-note-input--saved {
  border-color: #10b981 !important;
  background: rgba(16, 185, 129, 0.1) !important;
}

.pre-order-modal__item--editable {
  padding: 0.5rem 0.75rem 0.75rem;
  transition: transform 250ms cubic-bezier(0.25, 1, 0.5, 1), box-shadow 250ms ease, opacity 250ms ease, border-color 200ms ease;
  will-change: transform;
}

.pre-order-modal__item-toolbar {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.pre-order-modal__item-toolbar:active {
  cursor: grabbing;
}

.pre-order-modal__item-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  color: #94a3b8;
  cursor: grab;
  touch-action: none;
  flex-shrink: 0;
  transition: color 150ms ease;
}
.pre-order-modal__item-drag-handle:hover {
  color: #F49609;
}
.pre-order-modal__item-drag-handle:active {
  cursor: grabbing;
}
.pre-order-modal__item-drag-handle i {
  font-size: 0.875rem;
}

.pre-order-modal__item-remove,
.pre-order-modal__item-swap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  font-size: 12px;
  cursor: pointer;
  transition: all 150ms ease;
  padding: 0;
  flex-shrink: 0;
}
.pre-order-modal__item-remove:focus,
.pre-order-modal__item-swap:focus {
  outline-offset: 2px;
}

.pre-order-modal__item-remove {
  color: #f87171;
}
.pre-order-modal__item-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
}
.pre-order-modal__item-remove:focus {
  outline: 2px solid #ef4444;
}

.pre-order-modal__item-swap {
  color: #F49609;
}
.pre-order-modal__item-swap:hover {
  background: rgba(244, 150, 9, 0.15);
  color: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}
.pre-order-modal__item-swap:focus {
  outline: 2px solid #F49609;
}

.pre-order-modal__item--ghost {
  opacity: 0;
  height: 3px !important;
  min-height: 3px !important;
  padding: 0 !important;
  margin: 0.25rem 0;
  overflow: hidden;
  border: none;
  border-radius: 2px;
  background: #F49609;
}

.pre-order-modal__item--chosen {
  border-color: rgba(244, 150, 9, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.pre-order-modal__item--drag {
  opacity: 0;
}

.pre-order-modal__item--fallback {
  background: #1e293b !important;
  border: 1px solid #F49609 !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(244, 150, 9, 0.2) !important;
  opacity: 0.92 !important;
  z-index: 9999 !important;
  pointer-events: none;
  transition: none !important;
  box-sizing: border-box !important;
}

.pre-order-modal__category-items.sortable-ghost-parent,
.pre-order-modal__category-items:has(.pre-order-modal__item--ghost) {
  background: rgba(244, 150, 9, 0.04);
  border-radius: 0.5rem;
  outline: 1px dashed rgba(244, 150, 9, 0.25);
  outline-offset: 2px;
}

body.pre-order-dragging {
  user-select: none;
  -webkit-user-select: none;
  cursor: grabbing !important;
}

.pre-order-modal__edit-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 200ms ease;
  padding: 0;
  margin-left: auto;
  font-size: 1rem;
}
.pre-order-modal__edit-toggle:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
  color: #2563eb;
}
.pre-order-modal__edit-toggle--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #2563eb;
}
.pre-order-modal__edit-toggle:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.pre-order-modal__item-swap-search {
  width: 100%;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #334155;
  grid-column: 1/-1;
}

.pre-order-modal__swap-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pre-order-modal__swap-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #F49609;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pre-order-modal__swap-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  transition: all 150ms ease;
}
.pre-order-modal__swap-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #f87171;
}
.pre-order-modal__swap-close i {
  font-size: 11px;
}

.pre-order-modal__swap-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  transition: border-color 200ms ease;
}
.pre-order-modal__swap-input-wrap:focus-within {
  border-color: #F49609;
}
.pre-order-modal__swap-input-wrap i {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.pre-order-modal__swap-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #f8fafc;
  font-family: inherit;
  min-width: 0;
  min-height: 32px;
}
.pre-order-modal__swap-input::placeholder {
  color: #9ca3af;
}

.pre-order-modal__swap-results {
  max-height: 180px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 150, 9, 0.4) transparent;
}
.pre-order-modal__swap-results::-webkit-scrollbar {
  width: 5px;
}
.pre-order-modal__swap-results::-webkit-scrollbar-track {
  background: transparent;
}
.pre-order-modal__swap-results::-webkit-scrollbar-thumb {
  background: rgba(244, 150, 9, 0.4);
  border-radius: 3px;
}

.pre-order-modal__swap-result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background 150ms ease;
}
.pre-order-modal__swap-result-item:hover {
  background: rgba(244, 150, 9, 0.1);
}

.pre-order-modal__move-dropdown {
  position: relative;
  z-index: 50;
  margin-top: 0.5rem;
  background: #1e293b;
  border: 1px solid #F49609;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.pre-order-modal__move-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #334155;
}

.pre-order-modal__move-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #F49609;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pre-order-modal__move-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0;
  border-radius: 0.375rem;
  transition: all 150ms ease;
}
.pre-order-modal__move-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
.pre-order-modal__move-close i {
  font-size: 11px;
}

.pre-order-modal__move-options {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.25rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 150, 9, 0.4) transparent;
}
.pre-order-modal__move-options::-webkit-scrollbar {
  width: 5px;
}
.pre-order-modal__move-options::-webkit-scrollbar-track {
  background: transparent;
}
.pre-order-modal__move-options::-webkit-scrollbar-thumb {
  background: rgba(244, 150, 9, 0.4);
  border-radius: 3px;
}

.pre-order-modal__move-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: background 150ms ease;
}
.pre-order-modal__move-option i {
  font-size: 10px;
  color: #9ca3af;
  flex-shrink: 0;
  width: 14px;
  text-align: center;
}
.pre-order-modal__move-option:hover:not(:disabled) {
  background: rgba(244, 150, 9, 0.1);
}
.pre-order-modal__move-option:hover:not(:disabled) i {
  color: #F49609;
}
.pre-order-modal__move-option--current {
  color: #9ca3af;
  cursor: default;
}
.pre-order-modal__move-option--current i {
  color: #10b981;
}
.pre-order-modal__move-option:disabled {
  opacity: 0.6;
}

.pre-order-modal__move-divider {
  height: 1px;
  background: #334155;
  margin: 0.25rem 0.75rem;
}

.pre-order-modal__move-swap-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-bottom: 0.75rem;
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 0.75rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 150ms ease;
}
.pre-order-modal__move-swap-btn i {
  font-size: 11px;
  flex-shrink: 0;
}
.pre-order-modal__move-swap-btn:hover {
  color: #F49609;
  background: rgba(244, 150, 9, 0.05);
}

.pre-order-modal__add-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px dashed #334155;
}

.pre-order-modal__add-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pre-order-modal__add-title i {
  color: #2563eb;
  font-size: 0.875rem;
}

.pre-order-modal__filter-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: border-color 200ms ease;
}
.pre-order-modal__filter-bar:focus-within {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
}
.pre-order-modal__filter-bar > i {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.pre-order-modal__filter-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #f8fafc;
  font-family: inherit;
  min-width: 0;
}
.pre-order-modal__filter-input::placeholder {
  color: #9ca3af;
}

.pre-order-modal__filter-clear {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 32px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}
.pre-order-modal__filter-clear:hover, .pre-order-modal__filter-clear:active {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.08);
}

.pre-order-modal__add-search-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: border-color 200ms ease;
}
.pre-order-modal__add-search-wrap:focus-within {
  border-color: #2563eb;
}
.pre-order-modal__add-search-wrap i {
  font-size: 0.75rem;
  color: #9ca3af;
  flex-shrink: 0;
}

.pre-order-modal__add-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.875rem;
  color: #f8fafc;
  font-family: inherit;
  min-width: 0;
  min-height: 36px;
}
.pre-order-modal__add-search-input::placeholder {
  color: #9ca3af;
}

.pre-order-modal__add-results {
  max-height: 240px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 150, 9, 0.4) transparent;
}
.pre-order-modal__add-results::-webkit-scrollbar {
  width: 6px;
}
.pre-order-modal__add-results::-webkit-scrollbar-track {
  background: transparent;
}
.pre-order-modal__add-results::-webkit-scrollbar-thumb {
  background: rgba(244, 150, 9, 0.5);
  border-radius: 3px;
}

.pre-order-modal__add-results-placeholder {
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #9ca3af;
  font-style: italic;
}
.pre-order-modal__add-results-placeholder i {
  margin-right: 0.25rem;
}

.pre-order-modal__add-result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  transition: background 150ms ease;
  border-radius: 0.375rem;
}
.pre-order-modal__add-result-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.pre-order-modal__add-result-name {
  flex: 1;
  min-width: 0;
  font-size: 0.875rem;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pre-order-modal__add-result-price {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  flex-shrink: 0;
}

.pre-order-modal__add-result-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  background: transparent;
  border: 1px solid rgba(244, 150, 9, 0.3);
  border-radius: 0.5rem;
  color: #F49609;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease;
  padding: 0;
  flex-shrink: 0;
}
.pre-order-modal__add-result-btn:hover {
  background: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  color: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}
.pre-order-modal__add-result-btn:focus {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

.pre-order-modal__summary {
  padding: 1rem;
  background-color: #1e293b;
  border-radius: 0.75rem;
  border: 2px solid #1e40af;
}

.pre-order-modal__summary-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pre-order-modal__summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}
.pre-order-modal__summary-row--total {
  padding-top: 0.75rem;
  border-top: 2px solid #334155;
  font-size: 1.125rem;
  font-weight: 700;
}

.pre-order-modal__summary-label {
  color: #9ca3af;
  font-weight: 500;
}

.pre-order-modal__summary-value {
  color: #f8fafc;
  font-weight: 600;
}
.pre-order-modal__summary-row--total .pre-order-modal__summary-value {
  color: #10b981;
}

.pre-order-modal__summary-note {
  font-size: 0.75rem;
  color: #f59e0b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid #334155;
}
.pre-order-modal__summary-note i {
  font-size: 11px;
}

.pre-order-modal__footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid #334155;
  background-color: #1e293b;
  flex-shrink: 0;
}

.pre-order-modal__actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}
@media (max-width: 640px) {
  .pre-order-modal__actions {
    flex-wrap: wrap;
  }
}

.pre-order-modal__utility-btns {
  display: flex;
  gap: 0.5rem;
  margin-right: auto;
}

.pre-order-modal__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 200ms ease;
}
.pre-order-modal__icon-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
  color: #e5e7eb;
}
.pre-order-modal__icon-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.pre-order-modal__icon-btn:active {
  transform: scale(0.95);
}
.pre-order-modal__icon-btn i {
  font-size: 1rem;
  color: inherit !important;
}

.pre-order-modal__action {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 200ms ease;
  border: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.pre-order-modal__action:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.pre-order-modal__action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pre-order-modal__action i {
  font-size: 13px;
}
@media (max-width: 640px) {
  .pre-order-modal__action {
    justify-content: center;
    padding: 0.75rem;
  }
}

.pre-order-modal__action--primary {
  background-color: #2563eb;
  color: #ffffff;
}
.pre-order-modal__action--primary:hover:not(:disabled) {
  background-color: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.pre-order-modal__action--primary:active:not(:disabled) {
  transform: translateY(0);
}

.pre-order-modal__action--secondary {
  background-color: transparent;
  color: #9ca3af;
  border: 1px solid #334155;
}
.pre-order-modal__action--secondary:hover:not(:disabled) {
  background-color: #1e293b;
  color: #f8fafc;
  border-color: #475569;
}

@keyframes fadeInContent {
  from {
    opacity: 0.5;
  }
  to {
    opacity: 1;
  }
}
.loyalty-reward-popover {
  position: fixed;
  z-index: 9000;
  min-width: 240px;
  max-width: 320px;
  opacity: 0;
  transform: translateY(4px) scale(0.98);
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
}
.loyalty-reward-popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.loyalty-reward-popover__arrow {
  position: absolute;
  width: 12px;
  height: 12px;
  background: #1e293b;
  border: 1px solid #334155;
  transform: rotate(45deg);
  left: 50%;
  margin-left: -6px;
}
.loyalty-reward-popover[data-placement=top] .loyalty-reward-popover__arrow {
  bottom: -7px;
  border-top: none;
  border-left: none;
}
.loyalty-reward-popover[data-placement=bottom] .loyalty-reward-popover__arrow {
  top: -7px;
  border-bottom: none;
  border-right: none;
}
.loyalty-reward-popover__inner {
  position: relative;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.6), 0 8px 16px -8px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.loyalty-reward-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #334155;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.08), transparent);
}
.loyalty-reward-popover__title {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #F49609;
}
.loyalty-reward-popover__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #94a3b8;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.loyalty-reward-popover__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #f1f5f9;
}
.loyalty-reward-popover__close:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 1px;
}
.loyalty-reward-popover__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  max-height: 320px;
  overflow-y: auto;
}
.loyalty-reward-popover__chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #334155;
  border-radius: 0.375rem;
  color: #f1f5f9;
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
}
.loyalty-reward-popover__chip:hover {
  background: rgba(244, 150, 9, 0.1);
  border-color: #F49609;
  transform: translateX(2px);
}
.loyalty-reward-popover__chip:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.loyalty-reward-popover__chip-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
}
.loyalty-reward-popover__chip-points {
  flex-shrink: 0;
  padding: 2px 8px;
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.loyalty-reward-popover__confirm {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1rem 0.75rem;
  text-align: center;
}
.loyalty-reward-popover__confirm-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.loyalty-reward-popover__confirm-name {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
}
.loyalty-reward-popover__confirm-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.loyalty-reward-popover__value {
  color: #F49609;
  font-weight: 600;
}
.loyalty-reward-popover__confirm-actions {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}
.loyalty-reward-popover__confirm-actions .btn {
  flex: 1;
  min-height: 40px;
}
.loyalty-reward-popover__loading, .loyalty-reward-popover__empty, .loyalty-reward-popover__error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem;
  color: #94a3b8;
  text-align: center;
  font-size: 0.875rem;
}
.loyalty-reward-popover__loading > i, .loyalty-reward-popover__empty > i, .loyalty-reward-popover__error > i {
  font-size: 1.25rem;
  color: #64748b;
}
.loyalty-reward-popover__loading p, .loyalty-reward-popover__empty p, .loyalty-reward-popover__error p {
  margin: 0;
}
.loyalty-reward-popover__empty > i {
  color: #475569;
}
.loyalty-reward-popover__error > i {
  color: #D93151;
}
@media (prefers-reduced-motion: reduce) {
  .loyalty-reward-popover {
    transition: none !important;
  }
  .loyalty-reward-popover__chip {
    transition: none !important;
  }
}

/**
 * Cuisine Selector Component
 * Professional searchable multi-select with custom input
 * Following TableFlow design system
 */
.cuisine-selector {
  position: relative;
  width: 100%;
}
.cuisine-selector__input-wrapper {
  position: relative;
  width: 100%;
}
.cuisine-selector__search {
  width: 100%;
  padding: var(--space-3) var(--space-10) var(--space-3) var(--space-4);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
  transition: all 0.15s ease-out;
}
.cuisine-selector__search::placeholder {
  color: var(--color-text-muted);
}
.cuisine-selector__search:hover {
  border-color: var(--color-border-strong);
}
.cuisine-selector__search:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: var(--color-background);
}
.cuisine-selector__search-icon {
  position: absolute;
  right: var(--space-3);
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  font-size: 0.875rem;
  pointer-events: none;
  transition: color 0.15s ease-out;
}
.cuisine-selector__search:focus ~ .cuisine-selector__search-icon {
  color: var(--color-primary-600);
}
.cuisine-selector__dropdown {
  position: absolute;
  top: calc(100% + var(--space-2));
  left: 0;
  right: 0;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 1000;
  max-height: 320px;
  overflow: hidden;
  animation: slideDown 0.15s ease-out;
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cuisine-selector__options {
  max-height: 260px;
  overflow-y: auto;
  padding: var(--space-2) 0;
}
.cuisine-selector__options::-webkit-scrollbar {
  width: 6px;
}
.cuisine-selector__options::-webkit-scrollbar-track {
  background: var(--color-neutral-100);
}
.cuisine-selector__options::-webkit-scrollbar-thumb {
  background: var(--color-neutral-400);
  border-radius: 0.25rem;
}
.cuisine-selector__options::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral-500);
}
.cuisine-selector__option {
  display: flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  cursor: pointer;
  transition: all 0.15s ease-out;
  font-size: 0.9375rem;
  color: var(--color-text-primary);
}
.cuisine-selector__option:hover {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
}
.cuisine-selector__option--selected {
  background: var(--color-primary-100);
  color: var(--color-primary-700);
  font-weight: 500;
}
.cuisine-selector__option--selected::after {
  content: "✓";
  margin-left: auto;
  color: var(--color-primary-600);
  font-weight: 600;
}
.cuisine-selector__option--highlighted {
  background: var(--color-neutral-100);
}
.cuisine-selector__add-custom {
  border-top: 1px solid var(--color-border);
  padding: var(--space-2);
  background: var(--color-neutral-50);
}
.cuisine-selector__add-btn {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  background: transparent;
  border: 1px dashed var(--color-primary-400);
  border-radius: 0.25rem;
  color: var(--color-primary-600);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.cuisine-selector__add-btn i {
  font-size: 0.75rem;
}
.cuisine-selector__add-btn:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-600);
  border-style: solid;
}
.cuisine-selector__add-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.cuisine-selector__selected {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-3);
  min-height: 32px;
}
.cuisine-selector__tag {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-50));
  border: 1px solid var(--color-primary-200);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-primary-700);
  animation: tagFadeIn 0.15s ease-out;
}
@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cuisine-selector__tag__text {
  line-height: 1.4;
}
.cuisine-selector__tag__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: var(--color-primary-600);
  color: white;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease-out;
  padding: 0;
  font-size: 10px;
}
.cuisine-selector__tag__remove:hover {
  background: var(--color-primary-700);
  transform: scale(1.1);
}
.cuisine-selector__tag__remove:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.cuisine-selector__tag__remove i {
  font-size: 10px;
}
.cuisine-selector__empty {
  padding: var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.cuisine-selector__loading {
  padding: var(--space-4);
  text-align: center;
  color: var(--color-text-muted);
}
.cuisine-selector__loading::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: var(--space-2);
  border: 2px solid var(--color-primary-200);
  border-top-color: var(--color-primary-600);
  border-radius: 50%;
  animation: spin 0.5s linear infinite;
}

.form-hint {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.813rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
[data-theme=dark] .cuisine-selector__search {
  background: var(--dark-surface);
  border-color: var(--dark-border);
  color: var(--dark-text);
}
[data-theme=dark] .cuisine-selector__search:focus {
  background: var(--dark-surface-elevated);
  border-color: var(--color-primary-500);
}
[data-theme=dark] .cuisine-selector__dropdown {
  background: var(--dark-surface-elevated);
  border-color: var(--dark-border);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}
[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-track {
  background: var(--dark-surface);
}
[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-thumb {
  background: var(--dark-border);
}
[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral-500);
}
[data-theme=dark] .cuisine-selector__option {
  color: var(--dark-text);
}
[data-theme=dark] .cuisine-selector__option:hover {
  background: var(--dark-surface);
  color: var(--color-primary-400);
}
[data-theme=dark] .cuisine-selector__option--selected {
  background: rgba(59, 130, 246, 0.2);
  color: var(--color-primary-300);
}
[data-theme=dark] .cuisine-selector__option--highlighted {
  background: var(--dark-surface);
}
[data-theme=dark] .cuisine-selector__add-custom {
  background: var(--dark-surface);
  border-top-color: var(--dark-border);
}
[data-theme=dark] .cuisine-selector__tag {
  background: linear-gradient(135deg, var(--color-primary-900), var(--color-primary-800));
  border-color: var(--color-primary-700);
  color: var(--color-primary-200);
}
[data-theme=dark] .cuisine-selector__tag__remove {
  background: var(--color-primary-500);
}
[data-theme=dark] .cuisine-selector__tag__remove:hover {
  background: var(--color-primary-600);
}

@media (max-width: 640px) {
  .cuisine-selector__search {
    font-size: 1rem;
    padding: var(--space-3) var(--space-10) var(--space-3) var(--space-3);
  }
  .cuisine-selector__dropdown {
    max-height: 60vh;
  }
  .cuisine-selector__options {
    max-height: calc(60vh - 60px);
  }
  .cuisine-selector__tag {
    font-size: 0.813rem;
  }
}
@media (prefers-contrast: high) {
  .cuisine-selector__search {
    border-width: 2px;
  }
  .cuisine-selector__search:focus {
    border-width: 3px;
    box-shadow: none;
  }
  .cuisine-selector__dropdown {
    border-width: 2px;
  }
  .cuisine-selector__tag {
    border-width: 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cuisine-selector__dropdown, .cuisine-selector__tag, .cuisine-selector__search, .cuisine-selector__tag__remove {
    animation: none;
    transition: none;
  }
}
.legal-page {
  background: #0f172a;
  color: #f1f5f9;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.legal-page__header {
  background: rgba(30, 41, 59, 0.95);
  border-bottom: 1px solid #334155;
  padding: 1rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.legal-page__header-content {
  max-width: 64rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.legal-page__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1;
}
.legal-page__logo:hover, .legal-page__logo:focus-visible {
  color: #3b82f6;
}
.legal-page__logo:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 0.25rem;
}

.legal-page__logo-mark {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: #f8fafc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.legal-page__header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.legal-page__back {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  min-height: 2.75rem;
}
.legal-page__back:hover, .legal-page__back:focus-visible {
  color: #f8fafc;
  background: #1e293b;
}
.legal-page__back:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.legal-page__hero {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid #334155;
  padding: 3rem 1.5rem;
}

.legal-page__hero-content {
  max-width: 64rem;
  margin: 0 auto;
}

.legal-page__eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3b82f6;
  margin: 0 0 0.75rem 0;
}

.legal-page__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.2;
  color: #f8fafc;
  margin: 0 0 1rem 0;
}
@media (min-width: 768px) {
  .legal-page__title {
    font-size: 3rem;
  }
}

.legal-page__subtitle {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin: 0;
  max-width: 48rem;
  line-height: 1.6;
}

.legal-page__updated {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
  font-variant-numeric: tabular-nums;
}

.legal-page__body {
  max-width: 64rem;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.legal-page__section {
  margin-bottom: 2.5rem;
}
.legal-page__section:last-child {
  margin-bottom: 0;
}

.legal-page__section-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 1rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #334155;
  line-height: 1.3;
}

.legal-page__lede {
  font-size: 1.125rem;
  color: #f1f5f9;
  line-height: 1.7;
  margin: 0 0 1rem 0;
}

.legal-page__text {
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.75;
  margin: 0 0 1rem 0;
}
.legal-page__text a {
  color: #60a5fa;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
.legal-page__text a:hover, .legal-page__text a:focus-visible {
  color: #3b82f6;
  text-decoration-thickness: 2px;
}
.legal-page__text a:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 0.125rem;
}
.legal-page__text strong {
  color: #f8fafc;
  font-weight: 600;
}
.legal-page__text code {
  background: #1e293b;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
  color: #3b82f6;
  font-family: "SF Mono", Menlo, Consolas, monospace;
}

.legal-page__list {
  font-size: 1rem;
  color: #e2e8f0;
  line-height: 1.75;
  padding-left: 1.5rem;
  margin: 0 0 1rem 0;
}
.legal-page__list li {
  margin-bottom: 0.5rem;
}
.legal-page__list strong {
  color: #f8fafc;
  font-weight: 600;
}

.legal-page__list--unstyled {
  list-style: none;
  padding-left: 0;
}
.legal-page__list--unstyled li {
  padding: 0.75rem 0;
  border-bottom: 1px solid #1e293b;
}
.legal-page__list--unstyled li:last-child {
  border-bottom: 0;
}

.legal-page__cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .legal-page__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.legal-page__card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-page__card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.legal-page__card-title i {
  color: #3b82f6;
}

.legal-page__card-meta {
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legal-page__card-text {
  font-size: 0.875rem;
  color: #e2e8f0;
  line-height: 1.6;
  margin: 0;
}

.legal-page__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.legal-page__badge--ok {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
}
.legal-page__badge--planned {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}
.legal-page__badge--known-issue {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.legal-page__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.75rem 0;
}

.legal-page__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  color: #e2e8f0;
  text-align: left;
  min-width: 36rem;
}
.legal-page__table th, .legal-page__table td {
  padding: 0.75rem;
  border-bottom: 1px solid #334155;
  vertical-align: top;
}
.legal-page__table th {
  font-weight: 600;
  color: #f8fafc;
  background: #1e293b;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.legal-page__table tr:last-child td {
  border-bottom: 0;
}

.legal-page__contact {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 0.75rem;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.legal-page__contact-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.legal-page__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.5rem 0;
  min-height: 2.75rem;
}
.legal-page__contact-link:hover, .legal-page__contact-link:focus-visible {
  color: #2563eb;
  text-decoration: underline;
}
.legal-page__contact-link:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

.legal-page__contact-meta {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
}

.legal-page__footer {
  background: #1e293b;
  border-top: 1px solid #334155;
  padding: 2rem 1.5rem;
  margin-top: 3rem;
}

.legal-page__footer-content {
  max-width: 64rem;
  margin: 0 auto;
  text-align: center;
  color: #94a3b8;
  font-size: 0.875rem;
}

.legal-page__footer a {
  color: #e2e8f0;
  text-decoration: none;
  margin: 0 0.5rem;
}
.legal-page__footer a:hover, .legal-page__footer a:focus-visible {
  color: #3b82f6;
  text-decoration: underline;
}
.legal-page__footer a:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .legal-page__hero {
    transition: none;
  }
  .legal-page__back,
  .legal-page__contact-link,
  .legal-page__logo {
    transition: none;
  }
}
@media (prefers-contrast: high) {
  .legal-page__card,
  .legal-page__contact,
  .legal-page__header {
    border-width: 2px;
  }
}
.toast-container {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 400px;
  width: 100%;
  padding-right: 1.5rem;
}
@media (max-width: 640px) {
  .toast-container {
    top: 4rem;
    right: 1rem;
    left: 1rem;
    padding-right: 0;
    max-width: none;
  }
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  opacity: 0;
  transform: translateX(100%);
  transition: all 250ms ease-in-out;
  pointer-events: auto;
  position: relative;
  min-width: 200px;
}
.toast--show {
  opacity: 1;
  transform: translateX(0);
}
.toast--success {
  border-color: #10b981;
  border-left: 4px solid #10b981;
  background: color-mix(in srgb, #10b981 12%, #ffffff);
}
.toast--success .toast__icon {
  color: #10b981;
}
.toast--error {
  border-color: #ef4444;
  border-left: 4px solid #ef4444;
  background: color-mix(in srgb, #ef4444 12%, #ffffff);
}
.toast--error .toast__icon {
  color: #ef4444;
}
.toast--warning {
  border-color: #f59e0b;
  border-left: 4px solid #f59e0b;
  background: color-mix(in srgb, #f59e0b 12%, #ffffff);
}
.toast--warning .toast__icon {
  color: #f59e0b;
}
.toast--info {
  border-color: #2563eb;
  border-left: 4px solid #2563eb;
  background: color-mix(in srgb, #2563eb 12%, #ffffff);
}
.toast--info .toast__icon {
  color: #2563eb;
}

.toast__icon {
  flex-shrink: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast__message {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #1e293b;
  font-weight: 500;
}

.toast__close {
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0.5rem;
  margin: -0.5rem;
  cursor: pointer;
  color: #94a3b8;
  transition: color 150ms ease-in-out;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.toast__close:hover {
  color: #1e293b;
  background: #f1f5f9;
}
.toast__close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.toast__close i {
  font-size: 0.875rem;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: opacity 150ms ease-in-out;
    transform: none !important;
  }
  .toast--show {
    transform: none !important;
  }
  @keyframes toastSlideIn {
    from {
      opacity: 0;
      transform: none;
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
}
.notif-toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 1080;
  max-width: 400px;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  color: #ffffff;
  background: #3b82f6;
  animation: notif-toast-in 0.3s ease-out;
}
.notif-toast--success {
  background: #10b981;
}
.notif-toast--error {
  background: #ef4444;
}
.notif-toast--info {
  background: #3b82f6;
}
.notif-toast.is-leaving {
  animation: notif-toast-out 0.3s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .notif-toast {
    animation: none;
  }
}

@keyframes notif-toast-in {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes notif-toast-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(1rem);
  }
}
body.widget-demo,
html:has(.widget-demo) {
  background: transparent !important;
  background-color: transparent !important;
}

.widget-demo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: transparent;
  min-height: 100vh;
  padding: clamp(1rem, 5vw, 3rem);
  position: relative;
  overflow-x: hidden;
}
.widget-demo::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.widget-demo__container {
  position: relative;
  z-index: 1;
  max-width: 650px;
  max-height: 85vh;
  margin: 0 auto;
  background: #FFFFFF;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 1.5rem;
  box-shadow: none;
  overflow: hidden;
}
@media (max-width: 639px) {
  .widget-demo__container {
    border-radius: 1rem;
  }
}
.widget-demo__scroll-wrapper {
  max-height: calc(85vh - 2px);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  overflow-y: scroll;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #2D2E88 var(--color-border);
}
.widget-demo__container:has(#booking-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper, .widget-demo__container:has(#takeout-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper, .widget-demo__container:has(#delivery-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper {
  padding-bottom: 280px;
}
@media (max-width: 600px) {
  .widget-demo__container:has(#booking-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper, .widget-demo__container:has(#takeout-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper, .widget-demo__container:has(#delivery-tab-content.active):not(:has(.reservation-form__confirmation--success)) .widget-demo__scroll-wrapper {
    padding-bottom: 220px;
  }
}
.widget-demo__scroll-wrapper::-webkit-scrollbar {
  width: 8px;
  -webkit-appearance: none;
  display: block;
}
.widget-demo__scroll-wrapper::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}
.widget-demo__scroll-wrapper::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: var(--radius-sm);
}
.widget-demo__scroll-wrapper::-webkit-scrollbar-thumb:hover {
  background: #D93151;
}
@media (max-width: 639px) {
  .widget-demo__scroll-wrapper {
    padding: 1rem;
  }
}
.widget-demo__close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 100;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #D93151 !important;
  color: #ffffff !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.widget-demo__close-btn i {
  font-size: 1.125rem;
}
.widget-demo__close-btn:hover {
  background: rgb(181.5163934426, 33.4836065574, 61.6803278689) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(217, 49, 81, 0.5);
}
.widget-demo__close-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.widget-demo__close-btn .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 639px) {
  .widget-demo__close-btn {
    width: 36px;
    height: 36px;
    top: 0.75rem;
    right: 0.75rem;
  }
  .widget-demo__close-btn i {
    font-size: 1rem;
  }
}
.widget-demo__header {
  text-align: center;
  margin: calc(-1 * clamp(1.5rem, 4vw, 2.5rem));
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 5vw, 3rem) clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
  border-radius: 1.5rem 1.5rem 0 0;
}
.widget-demo__header-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.widget-demo__header-icon i {
  font-size: 2rem;
  color: #ffffff;
}
.widget-demo__header-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.widget-demo__title {
  position: relative;
  font-size: clamp(1.25rem, 5vw, 1.875rem);
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
  width: 100%;
}
.widget-demo__subtitle {
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-align: center;
  width: 100%;
  margin: 0;
}
.widget-demo__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}
.widget-demo__menu {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
@media (max-width: 639px) {
  .widget-demo__menu {
    padding: 0.75rem;
  }
}
.widget-demo__menu .booking-menu-viewer,
.widget-demo__menu #takeout-menu-selection,
.widget-demo__menu #delivery-menu-selection {
  padding-right: 0.5rem;
}
.widget-demo__cart {
  position: static;
}
.widget-demo__info {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-left: 4px solid #2563EB;
  border-radius: 1rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.widget-demo__info-title {
  color: #2563EB;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  font-weight: 700;
}
.widget-demo__info-title i {
  font-size: 1.2em;
  filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.3));
}
.widget-demo__info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.widget-demo__info-item {
  color: rgba(255, 255, 255, 0.95);
  padding: 0.5rem 0 0.5rem 2rem;
  position: relative;
  font-size: 0.875rem;
  line-height: 1.6;
  transition: all 150ms ease-in-out;
}
.widget-demo__info-item::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  color: #ffffff;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.widget-demo__info-item:hover {
  padding-left: calc(2rem + 4px);
  color: #ffffff;
}

@keyframes pulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translateX(-50%) scale(1.1);
    opacity: 0.5;
  }
}
.widget-demo #branch-selector {
  margin: 0;
  margin-top: -0.75rem;
  padding: 0 1rem;
  background: rgba(37, 99, 235, 0.02);
}
.widget-demo #branch-selector.branch-selector--hidden {
  padding: 0;
  margin-top: 0;
}

.widget-tabs {
  display: flex;
  flex-wrap: wrap;
  background: rgba(37, 99, 235, 0.05);
  padding: 0.5rem;
  gap: 0.5rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}

button.widget-tab {
  flex: 1 1 auto;
  min-width: 120px;
  background: #ffffff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 150ms ease-in-out ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  min-height: 3rem;
  color: #475569;
}
button.widget-tab i {
  font-size: 1.125rem;
  color: #475569;
  transition: all 150ms ease-in-out ease;
}
button.widget-tab span {
  font-size: 1.125rem;
  font-weight: 600;
}
button.widget-tab.active {
  background: linear-gradient(135deg, #2D2E88, #D93151);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.3);
}
button.widget-tab.active i {
  color: #ffffff;
}
button.widget-tab.active span {
  color: #ffffff;
}
button.widget-tab:hover:not(.active) {
  background: rgba(37, 99, 235, 0.05);
  color: #2563EB;
}
button.widget-tab:hover:not(.active) i {
  color: #2563EB;
  transform: scale(1.1);
}
button.widget-tab:focus {
  outline: 2px solid #2563EB;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  button.widget-tab {
    padding: 0.5rem 0.25rem;
    gap: 0.25rem;
  }
  button.widget-tab i {
    font-size: 1rem;
  }
  button.widget-tab span {
    font-size: 0.875rem;
    text-align: center;
    line-height: 1.2;
  }
}

.widget-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}
.widget-tab-content.active {
  display: block;
}

.widget-legacy-container.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.widget-promo {
  position: relative;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  opacity: 1;
  transition: all 0.3s ease;
}
.widget-promo__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.widget-promo__icon {
  font-size: 2rem;
  line-height: 1;
}
.widget-promo__text {
  flex: 1;
}
.widget-promo__title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}
.widget-promo__message {
  font-size: clamp(0.875rem, 2vw, 1rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.4;
}
.widget-promo__close {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.2s ease;
}
.widget-promo__close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
.widget-promo__close svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 639px) {
  .widget-promo {
    padding: 1rem;
    gap: 0.75rem;
  }
  .widget-promo__icon {
    font-size: 1.5rem;
  }
}

.widget-promo-section {
  display: none;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
}
.widget-promo-section[style*="display: block"] {
  display: flex !important;
  animation: fadeInPromo 0.3s ease-out;
}
.widget-promo-section .widget-promo-banner {
  width: auto;
}
@media (max-width: 639px) {
  .widget-promo-section {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }
}

@keyframes fadeInPromo {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.booking-widget__type-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
}
@media (max-width: 639px) {
  .booking-widget__type-selector {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.booking-widget__type-option {
  position: relative;
}
.booking-widget__type-option input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}
.booking-widget__type-option input[type=radio]:checked + label {
  background: linear-gradient(145deg, rgba(244, 150, 9, 0.15), rgba(217, 49, 81, 0.1));
  border-color: #F49609;
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.booking-widget__type-option input[type=radio]:checked + label::before {
  opacity: 0.6;
  background: radial-gradient(circle at 50% 0%, rgba(244, 150, 9, 0.15), transparent 70%);
}
.booking-widget__type-option input[type=radio]:checked + label .booking-widget__type-option-icon {
  transform: scale(1.05);
  filter: drop-shadow(0 2px 8px rgba(244, 150, 9, 0.3));
}
.booking-widget__type-option input[type=radio]:checked + label .booking-widget__type-option-icon svg {
  stroke: #F49609;
}
.booking-widget__type-option input[type=radio]:checked + label .booking-widget__type-option-title,
.booking-widget__type-option input[type=radio]:checked + label .booking-widget__type-option-description {
  color: #ffffff;
}
.booking-widget__type-option input[type=radio]:checked + label .booking-widget__type-option-badge {
  opacity: 1;
  transform: scale(1);
}
.booking-widget__type-option input[type=radio]:focus-visible + label {
  outline: 3px solid #2563EB;
  outline-offset: 3px;
  border-color: #2563EB;
}
.booking-widget__type-option label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: clamp(1rem, 2.5vw, 1.25rem);
  background: #ffffff;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  min-height: 100px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.booking-widget__type-option label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.booking-widget__type-option label:hover {
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.02);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}
.booking-widget__type-option label:hover::before {
  opacity: 1;
}
.booking-widget__type-option label:hover .booking-widget__type-option-icon {
  transform: scale(1.05);
}
.booking-widget__type-option-icon {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 0.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
  opacity: 0.9;
}
.booking-widget__type-option-icon svg {
  width: clamp(40px, 8vw, 56px);
  height: clamp(40px, 8vw, 56px);
  stroke: rgba(255, 255, 255, 0.8);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.booking-widget__type-option-title {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.25rem;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
}
.booking-widget__type-option-description {
  font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  max-width: 90%;
  transition: all 0.3s ease;
  font-weight: 400;
}
.booking-widget__type-option-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
  opacity: 0;
  transform: scale(0.8);
  transition: all 250ms ease-in-out;
}

.widget-availability {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.widget-availability__status {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
}
.widget-availability__status--good {
  display: flex;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
  color: rgb(11.9402985075, 138.0597014925, 96.2686567164);
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.widget-availability__status--good::before {
  content: "✓";
  font-weight: 700;
}
.widget-availability__status--limited {
  display: flex;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
  color: rgb(172.4330708661, 110.9507874016, 7.0669291339);
  border: 1px solid rgba(245, 158, 11, 0.2);
}
.widget-availability__status--limited::before {
  content: "⚠";
}
.widget-availability__status--last {
  display: flex;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  border: 1px solid rgba(239, 68, 68, 0.2);
}
.widget-availability__status--last::before {
  content: "🔥";
}
.widget-availability__status--full {
  display: flex;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.1), rgba(100, 116, 139, 0.05));
  color: #475569;
  border: 1px solid rgba(100, 116, 139, 0.2);
}
.widget-availability__status--full::before {
  content: "✕";
}
.widget-availability__label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.widget-availability__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 4px 8px 0;
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.widget-availability__grid::-webkit-scrollbar {
  width: 8px;
}
.widget-availability__grid::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}
.widget-availability__grid::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: var(--radius-sm);
}
.widget-availability__grid::-webkit-scrollbar-thumb:hover {
  background: #D93151;
}
.widget-availability__loading {
  grid-column: 1/-1;
  text-align: center;
  padding: 1.5rem;
  color: #64748B;
  font-size: 0.875rem;
}
.widget-availability__slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 12px 8px;
  min-height: 44px;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.875rem;
  font-weight: 600;
  color: #1E293B;
  white-space: nowrap;
  text-align: center;
}
.widget-availability__slot::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.widget-availability__slot:hover:not(.widget-availability__slot--selected) {
  background: rgba(37, 99, 235, 0.05);
  color: #2563EB;
}
.widget-availability__slot:hover:not(.widget-availability__slot--selected)::after {
  background: #2563EB;
}
.widget-availability__slot--selected {
  background: #2563EB;
  color: #ffffff;
  border-radius: 0.5rem;
}
.widget-availability__slot--selected::after {
  background: #ffffff;
}
.widget-availability__slot--selected:hover {
  background: rgb(20.7142857143, 84.9285714286, 225.7857142857);
  color: #ffffff;
}
.widget-availability__slot--limited::after {
  background: #f59e0b;
}
.widget-availability__slot--last::after {
  background: #ef4444;
  animation: pulse 1.5s infinite;
}
.widget-availability__slot--unavailable {
  opacity: 0.4;
  cursor: not-allowed;
  color: #94a3b8;
}
.widget-availability__slot--unavailable::after {
  background: #cbd5e1;
}
.widget-availability__slot--unavailable:hover {
  background: transparent;
}
.widget-availability__empty {
  grid-column: 1/-1;
  text-align: center;
  padding: 1.5rem;
  color: #64748B;
  font-size: 0.875rem;
}
.widget-availability__empty i {
  display: block;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.reservation-form {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  animation: fadeInUp 0.5s ease-out;
}
.reservation-form--hidden {
  display: none;
}
.reservation-form__sticky-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 1rem clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  background: #ffffff;
  border-top: 1px solid rgba(37, 99, 235, 0.15);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
  border-bottom-left-radius: 1.5rem;
  border-bottom-right-radius: 1.5rem;
  display: none;
}
.widget-demo__container:has(#booking-tab-content.active) .reservation-form__sticky-footer#booking-sticky-footer {
  display: block;
}
.widget-demo__container:has(#takeout-tab-content.active) .reservation-form__sticky-footer#takeout-sticky-footer {
  display: block;
}
.widget-demo__container:has(#delivery-tab-content.active) .reservation-form__sticky-footer#delivery-sticky-footer {
  display: block;
}
@media (max-width: 639px) {
  .reservation-form__sticky-footer#delivery-sticky-footer {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
  }
}
@media (max-width: 600px) {
  .reservation-form__sticky-footer#delivery-sticky-footer {
    padding: 0.75rem 1rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }
  .reservation-form__sticky-footer#delivery-sticky-footer .birthday-section {
    padding: 0.75rem;
    margin: 0.5rem 0;
  }
  .reservation-form__sticky-footer#delivery-sticky-footer .birthday-section__subtitle {
    display: none;
  }
  .reservation-form__sticky-footer#delivery-sticky-footer .marketing-consent {
    margin: 0.5rem 0;
  }
}
.reservation-form__container {
  background: rgba(37, 99, 235, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 250ms ease-in-out;
  overflow: visible;
}
.reservation-form__container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.reservation-form__title {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  color: #1E293B;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
}
.reservation-form__title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-radius: 50%;
}
.reservation-form__section-title {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  color: #1E293B;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reservation-form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
@media (max-width: 639px) {
  .reservation-form__grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}
.reservation-form__grid--2col {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 639px) {
  .reservation-form__grid--2col {
    grid-template-columns: 1fr;
  }
}
.reservation-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
}
.reservation-form__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #1E293B;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  letter-spacing: 0.01em;
}
.reservation-form__label i {
  color: #64748B;
  font-size: 0.875rem;
}
.reservation-form__required {
  color: #6366F1;
  font-size: 0.875rem;
}
.reservation-form__optional {
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 400;
}
.reservation-form__input, .reservation-form__select {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.75rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  background: #ffffff;
  color: #1E293B;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.reservation-form__input:focus, .reservation-form__select:focus {
  outline: none;
  border-color: #2563EB;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.reservation-form__input::placeholder, .reservation-form__select::placeholder {
  color: #64748B;
  font-weight: 400;
}
.reservation-form__input::-webkit-calendar-picker-indicator, .reservation-form__select::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
.reservation-form__input--error, .reservation-form__select--error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
  animation: shake 0.3s ease-in-out;
}
.reservation-form__input--error:focus, .reservation-form__select--error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.reservation-form__select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%232563EB' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2rem;
}
.reservation-form__textarea {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.75rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  resize: vertical;
  background: #ffffff;
  color: #1E293B;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  min-height: 80px;
  max-height: 120px;
  line-height: 1.6;
  transition: all 250ms ease-in-out;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.reservation-form__textarea:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: #ffffff;
}
.reservation-form__textarea:focus {
  outline: none;
  border-color: #2563EB;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.05);
}
.reservation-form__textarea::placeholder {
  color: #64748B;
  font-weight: 400;
}
.reservation-form__field-error {
  display: block;
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border-left: 3px solid #ef4444;
  border-radius: 0.375rem;
  font-weight: 500;
  line-height: 1.4;
  animation: slideDown 0.2s ease-out;
}
@container (min-width: 640px) {
  .reservation-form__field-error {
    font-size: 0.875rem;
  }
}
.reservation-form__info-box {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(99, 102, 241, 0.05) 100%);
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-left: 4px solid #2563EB;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1);
}
.reservation-form__info-box p {
  margin: 0;
  color: #1E293B;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reservation-form__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}
.reservation-form__button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.875rem !important;
  font-weight: 600;
  border-radius: 0.5rem !important;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto !important;
  flex: none !important;
  margin: 0 !important;
}
.reservation-form__button--primary {
  background: #2563EB !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
.reservation-form__button--primary:hover {
  background: rgb(20.7142857143, 84.9285714286, 225.7857142857) !important;
}
.reservation-form__button--primary i {
  color: #ffffff !important;
}
.reservation-form__button--secondary {
  background: transparent !important;
  color: #475569 !important;
  border: none !important;
  box-shadow: none !important;
}
.reservation-form__button--secondary:hover {
  color: #1E293B !important;
}
.reservation-form__button--soft-disabled {
  opacity: 0.55 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
.reservation-form__button--soft-disabled:hover {
  transform: none !important;
}
.reservation-form__info-box--info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-left: 4px solid #3b82f6;
  padding: 1rem;
  border-radius: 0.75rem;
  margin-top: 1rem;
}
.reservation-form__info-box--info i {
  color: #3b82f6;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.reservation-form__info-box--info p {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.5;
}

.birthday-section {
  margin: 1rem 0;
  padding: 1rem;
  background: rgba(37, 99, 235, 0.05);
  border-radius: 8px;
}
.birthday-section__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.birthday-section__header i {
  color: #2563EB;
  font-size: 1rem;
}
.birthday-section__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1E293B;
}
.birthday-section__subtitle {
  font-size: 0.8rem;
  color: #475569;
  margin: 0.25rem 0 0.75rem;
}
.birthday-section__fields {
  display: flex;
  gap: 0.75rem;
}

.birthday-select {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 6px;
  font-size: 0.875rem;
  background: #FFFFFF;
  color: #1E293B;
  appearance: auto;
  min-height: 44px;
}

.marketing-consent {
  margin: 1rem 0;
}

.marketing-consent__label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.marketing-consent__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.marketing-consent__checkmark {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #64748B;
  border-radius: 0.375rem;
  background: #ffffff;
  transition: all 0.15s ease;
  margin-top: 1px;
}
.marketing-consent__checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.marketing-consent__checkbox:checked + .marketing-consent__checkmark {
  background: #2563EB;
  border-color: #2563EB;
}
.marketing-consent__checkbox:checked + .marketing-consent__checkmark::after {
  display: block;
}

.marketing-consent__checkbox:focus + .marketing-consent__checkmark {
  outline: 2px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

.marketing-consent__label:hover .marketing-consent__checkmark {
  border-color: #2563EB;
}

.marketing-consent__text {
  flex: 1;
  user-select: none;
}

.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 2px solid #D1D5DB !important;
  border-style: solid !important;
  border-width: 2px !important;
  border-radius: 0.75rem !important;
  color: #1E293B !important;
  min-height: 48px !important;
  padding: 0.75rem 1rem !important;
  outline: none !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger:hover,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger:hover {
  border-color: #2563EB !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger:focus, .reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger[aria-expanded=true],
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger:focus,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger[aria-expanded=true] {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-value,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-value {
  color: #1E293B !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-value.placeholder,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-value.placeholder {
  color: #64748B !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-icon,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .dropdown-icon {
  color: #2563EB !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .chevron,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) button.dropdown-trigger .chevron {
  color: #475569 !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-menu,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-menu {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 2px solid #2563EB !important;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input {
  background: #ffffff !important;
  border-bottom: 1px solid #E5E7EB !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input {
  background: #F9FAFB !important;
  border: 1px solid #E5E7EB !important;
  color: #1E293B !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input::placeholder,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input::placeholder {
  color: #64748B !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input:focus,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-custom-input .custom-value-input:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-options,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-options {
  background: #ffffff !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option {
  color: #1E293B !important;
  background: transparent !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option .option-icon,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option .option-icon {
  color: #2563EB !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option:hover,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option:hover {
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%) !important;
  color: #ffffff !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option:hover .option-icon,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option:hover .option-icon {
  color: #ffffff !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option.selected,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option.selected {
  background: rgba(37, 99, 235, 0.1) !important;
  color: #2563EB !important;
  font-weight: 600;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-option.selected .option-check,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-option.selected .option-check {
  color: #2563EB !important;
}
.reservation-form .custom-dropdown:not(.reservation-dropdown) .dropdown-divider,
.reservation-form .custom-dropdown.custom-dropdown:not(.reservation-dropdown) .dropdown-divider {
  background: #E5E7EB !important;
}
.reservation-form select.reservation-form__select,
.reservation-form .reservation-form__select {
  background-color: #ffffff !important;
  color: #1E293B !important;
  border: 2px solid #E5E7EB !important;
}
.reservation-form select.reservation-form__select:hover,
.reservation-form .reservation-form__select:hover {
  border-color: #2563EB !important;
}
.reservation-form select.reservation-form__select:focus,
.reservation-form .reservation-form__select:focus {
  border-color: #2563EB !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.reservation-form select.reservation-form__select option,
.reservation-form .reservation-form__select option {
  background-color: #ffffff !important;
  color: #1E293B !important;
}
.reservation-form__confirmation {
  padding: 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: 0.75rem;
}
@container (min-width: 640px) {
  .reservation-form__confirmation {
    padding: 3rem;
  }
}
.reservation-form__confirmation-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  display: inline-block;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
  }
}
.reservation-form__confirmation-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.25;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-title {
    font-size: 1.875rem;
    margin-bottom: 1.5rem;
  }
}
.reservation-form__confirmation-code {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.reservation-form__confirmation-code strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #F49609;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}
@media (prefers-contrast: high) {
  .reservation-form__confirmation-code strong {
    color: #F49609;
    text-decoration: underline;
  }
}
@container (min-width: 640px) {
  .reservation-form__confirmation-code {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
  .reservation-form__confirmation-code strong {
    font-size: 1.5rem;
    margin-top: 0.75rem;
  }
}
.reservation-form__confirmation-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
}
.reservation-form__confirmation-details {
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-details {
    font-size: 1.125rem;
    margin-bottom: 2rem;
  }
}
.reservation-form__confirmation-items {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
}
.reservation-form__confirmation-items p {
  font-size: 0.875rem;
  color: #1e293b;
  margin-bottom: 0.75rem;
}
.reservation-form__confirmation-items p:first-child strong {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.reservation-form__confirmation-items p:last-child {
  margin-bottom: 0;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-items {
    margin: 2rem 0;
    padding: 2rem;
  }
  .reservation-form__confirmation-items p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .reservation-form__confirmation-items p:first-child strong {
    font-size: 1.125rem;
  }
}
.reservation-form__confirmation-footer {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}
@container (min-width: 640px) {
  .reservation-form__confirmation-footer {
    font-size: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }
}

.menu-selection {
  color: #1E293B;
}
.menu-selection__title {
  color: #1E293B;
  font-weight: 700;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: -0.01em;
}
.menu-selection__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: clamp(1.5rem, 4vw, 2rem);
  padding: 1rem;
  background: rgba(37, 99, 235, 0.03);
  border-radius: 1rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
}
.menu-selection__filter-label {
  color: #475569;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  white-space: nowrap;
}
.menu-selection__filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #ffffff;
  border: 2px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.75rem;
  color: #475569;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.menu-selection__filter-tag:hover {
  background: rgba(37, 99, 235, 0.05);
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-2px);
}
.menu-selection__filter-tag--active {
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-color: #2563EB;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.menu-selection__filter-tag:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}
.menu-selection__categories {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2rem);
}
.menu-selection__category-title {
  color: #1E293B;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: -0.01em;
}
.menu-selection__category-title::before {
  content: "";
  width: 4px;
  height: 1.2em;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-radius: 50%;
}
.menu-selection__items-count {
  color: #64748B;
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 400;
  margin-left: auto;
}

.menu-category {
  color: #1E293B;
}
.menu-category__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.menu-category__icon {
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  color: #2563EB;
}
.menu-category__title {
  color: #1E293B;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.menu-category__items {
  display: grid;
  gap: 1rem;
}

.widget-booking-modal .menu-search,
#booking-menu-selection .menu-search,
#takeout-menu-selection .menu-search,
#delivery-menu-selection .menu-search {
  display: block;
  margin-bottom: 1rem;
  width: 100%;
}
.widget-booking-modal .menu-search .menu-search__container,
#booking-menu-selection .menu-search .menu-search__container,
#takeout-menu-selection .menu-search .menu-search__container,
#delivery-menu-selection .menu-search .menu-search__container {
  position: relative;
  display: block;
  width: 100%;
  box-sizing: border-box;
}
.widget-booking-modal .menu-search .menu-search__icon,
#booking-menu-selection .menu-search .menu-search__icon,
#takeout-menu-selection .menu-search .menu-search__icon,
#delivery-menu-selection .menu-search .menu-search__icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #64748B;
  pointer-events: none;
  transition: color 0.3s ease;
  z-index: 1;
}
.widget-booking-modal .menu-search .menu-search__input,
#booking-menu-selection .menu-search .menu-search__input,
#takeout-menu-selection .menu-search .menu-search__input,
#delivery-menu-selection .menu-search .menu-search__input {
  display: block;
  box-sizing: border-box;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0.75rem 2.5rem 0.75rem 2.5rem;
  background: #ffffff;
  border: 2px solid rgba(37, 99, 235, 0.3);
  border-radius: 0.5rem;
  color: #1E293B;
  font-size: 1rem;
  font-weight: 500;
  transition: border-color 0.3s ease;
  outline: none;
}
.widget-booking-modal .menu-search .menu-search__input::placeholder,
#booking-menu-selection .menu-search .menu-search__input::placeholder,
#takeout-menu-selection .menu-search .menu-search__input::placeholder,
#delivery-menu-selection .menu-search .menu-search__input::placeholder {
  color: #64748B;
}
.widget-booking-modal .menu-search .menu-search__input:focus,
#booking-menu-selection .menu-search .menu-search__input:focus,
#takeout-menu-selection .menu-search .menu-search__input:focus,
#delivery-menu-selection .menu-search .menu-search__input:focus {
  border-color: #2563EB;
  background: #ffffff;
}
.widget-booking-modal .menu-search .menu-search__input:focus ~ .menu-search__icon,
#booking-menu-selection .menu-search .menu-search__input:focus ~ .menu-search__icon,
#takeout-menu-selection .menu-search .menu-search__input:focus ~ .menu-search__icon,
#delivery-menu-selection .menu-search .menu-search__input:focus ~ .menu-search__icon {
  color: #2563EB;
}
.widget-booking-modal .menu-search .menu-search__input:not(:placeholder-shown),
#booking-menu-selection .menu-search .menu-search__input:not(:placeholder-shown),
#takeout-menu-selection .menu-search .menu-search__input:not(:placeholder-shown),
#delivery-menu-selection .menu-search .menu-search__input:not(:placeholder-shown) {
  border-color: rgba(37, 99, 235, 0.5);
}
.widget-booking-modal .menu-search .menu-search__clear,
#booking-menu-selection .menu-search .menu-search__clear,
#takeout-menu-selection .menu-search .menu-search__clear,
#delivery-menu-selection .menu-search .menu-search__clear {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}
.widget-booking-modal .menu-search .menu-search__clear:hover,
#booking-menu-selection .menu-search .menu-search__clear:hover,
#takeout-menu-selection .menu-search .menu-search__clear:hover,
#delivery-menu-selection .menu-search .menu-search__clear:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563EB;
  color: #2563EB;
  transform: translateY(-50%) scale(1.1);
}
.widget-booking-modal .menu-search .menu-search__clear:active,
#booking-menu-selection .menu-search .menu-search__clear:active,
#takeout-menu-selection .menu-search .menu-search__clear:active,
#delivery-menu-selection .menu-search .menu-search__clear:active {
  transform: translateY(-50%) scale(0.95);
}
.widget-booking-modal .menu-search .menu-search__clear svg,
#booking-menu-selection .menu-search .menu-search__clear svg,
#takeout-menu-selection .menu-search .menu-search__clear svg,
#delivery-menu-selection .menu-search .menu-search__clear svg {
  width: 16px;
  height: 16px;
}
.widget-booking-modal .menu-search .menu-search__results,
#booking-menu-selection .menu-search .menu-search__results,
#takeout-menu-selection .menu-search .menu-search__results,
#delivery-menu-selection .menu-search .menu-search__results {
  margin-top: 0.5rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}
@media (max-width: 768px) {
  .widget-booking-modal .menu-search,
  #booking-menu-selection .menu-search,
  #takeout-menu-selection .menu-search,
  #delivery-menu-selection .menu-search {
    top: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .widget-booking-modal .menu-search,
  #booking-menu-selection .menu-search,
  #takeout-menu-selection .menu-search,
  #delivery-menu-selection .menu-search {
    transition: none;
  }
}

.search-highlight {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.3), rgba(217, 49, 81, 0.2));
  color: #F49609;
  padding: 0 0.25rem;
  border-radius: 0.25rem;
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
  animation: highlight-pulse 0.5s ease;
}

@keyframes highlight-pulse {
  0% {
    background: rgba(244, 150, 9, 0.5);
  }
  100% {
    background: linear-gradient(135deg, rgba(244, 150, 9, 0.3), rgba(217, 49, 81, 0.2));
  }
}
.menu-item {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 250ms ease-in-out;
  position: relative;
  overflow: hidden;
  color: #1E293B;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.menu-item:hover {
  background: #ffffff;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.menu-item--selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(99, 102, 241, 0.05));
  border-color: #2563EB;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15), 0 4px 20px rgba(0, 0, 0, 0.08);
}
.menu-item--selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.1), transparent 70%);
  pointer-events: none;
}
.menu-item--selected::after {
  content: "✓";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1rem;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
  animation: checkmark-bounce 0.3s ease;
}
.menu-item--selected:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(99, 102, 241, 0.08));
  border-color: #2563EB;
  transform: translateY(-2px);
}
.menu-item--voice-selected {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.4), rgba(217, 49, 81, 0.3)) !important;
  border-color: #F49609 !important;
  border-width: 3px;
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.4), 0 0 30px rgba(244, 150, 9, 0.6), 0 4px 20px rgba(0, 0, 0, 0.08) !important;
  transform: scale(1.05) !important;
  animation: voice-pulse 1.5s ease-in-out infinite !important;
  z-index: 10 !important;
}
.menu-item--voice-selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(244, 150, 9, 0.3), transparent 70%);
  pointer-events: none;
  animation: voice-ripple 2s ease-out infinite;
}
.menu-item--voice-selected::after {
  content: "🎤";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #F49609, #D93151);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.6);
  animation: voice-icon-bounce 0.6s ease infinite;
}
.menu-item--voice-selected:hover {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.5), rgba(217, 49, 81, 0.4)) !important;
  transform: scale(1.06) !important;
}
.menu-item__name {
  color: #1E293B;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.menu-item__description {
  color: #475569;
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.menu-item__price {
  color: #2563EB;
  font-weight: 800;
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  display: inline-block;
  margin-bottom: 0.5rem;
}
.menu-item__dietary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.menu-item__dietary-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 50%;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
}
.menu-item__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.menu-item__badge--popular {
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  color: #ffffff;
}
.menu-item__badge--new {
  background: linear-gradient(135deg, #0EA5E9 0%, #2563EB 100%);
  color: #ffffff;
}
.menu-item__add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border: none;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  position: relative;
  overflow: hidden;
}
.menu-item__add-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
}
.menu-item__add-btn:hover::before {
  width: 120px;
  height: 120px;
}
.menu-item__add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}
.menu-item__add-btn:active {
  transform: translateY(0) scale(0.98);
}
.menu-item__add-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}
.menu-item__add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.menu-item__add-icon {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.menu-item__add-text {
  position: relative;
  z-index: 1;
}
.menu-item__quantity-controls {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem;
  background: #ffffff;
  border: 2px solid #2563EB;
  border-radius: 0.75rem;
}
.menu-item__quantity-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  background: #2563EB !important;
  border: none !important;
  border-radius: 0.5rem;
  color: #ffffff !important;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.menu-item__quantity-btn:hover {
  background: rgb(18.5714285714, 76.1428571429, 202.4285714286) !important;
  transform: scale(1.05);
}
.menu-item__quantity-btn:active {
  transform: scale(0.95);
}
.menu-item__quantity-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.6);
  outline-offset: 2px;
}
.menu-item__quantity-btn--decrease {
  background: #6366F1 !important;
}
.menu-item__quantity-btn--decrease:hover {
  background: rgb(52.2, 56.1, 236.8) !important;
}
.menu-item__quantity-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}
.menu-item__quantity-display {
  font-size: 1.25rem;
  font-weight: 800;
  color: #1E293B;
  min-width: 50px;
  text-align: center;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes checkmark-bounce {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes voice-item-pulse {
  0%, 100% {
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.6), inset 0 0 30px rgba(37, 99, 235, 0.1);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 0 0 50px rgba(37, 99, 235, 0.9), inset 0 0 50px rgba(37, 99, 235, 0.2);
    transform: scale(1.05);
  }
}
@keyframes voice-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.4), 0 0 30px rgba(244, 150, 9, 0.6), 0 4px 20px rgba(0, 0, 0, 0.08);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(244, 150, 9, 0.2), 0 0 50px rgba(244, 150, 9, 0.8), 0 4px 20px rgba(0, 0, 0, 0.08);
  }
}
@keyframes voice-ripple {
  0% {
    opacity: 0.8;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.4;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}
@keyframes voice-icon-bounce {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-4px) scale(1.1);
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-4px);
  }
  20%, 40%, 60%, 80% {
    transform: translateX(4px);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-selection {
  margin-top: 1.5rem;
}
.menu-selection__category {
  background: #ffffff;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.menu-selection__category:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
}
.menu-selection__category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.06) 0%, rgba(99, 102, 241, 0.04) 100%);
  border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.menu-selection__category-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.menu-selection__category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
  flex: 1;
}
.menu-selection__category-count {
  font-size: 0.875rem;
  color: #475569;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
}
.menu-selection__items {
  padding: 0.75rem;
  background: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .widget-demo__container {
    border: 2px solid #ffffff;
  }
  .booking-widget__type-option label {
    border-width: 3px;
  }
  .booking-widget__type-option input[type=radio]:checked + label {
    border-color: #ffffff;
  }
  .reservation-form__input, .reservation-form__select, .reservation-form__textarea {
    border-width: 3px;
  }
}
.dine-in-preorder {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.dine-in-preorder__header {
  margin-bottom: 1rem;
}
.dine-in-preorder__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0 0 0.5rem 0;
}
.dine-in-preorder__subtitle {
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
}
.dine-in-preorder__empty {
  padding: 1.5rem 1rem;
  text-align: center;
}
.dine-in-preorder__empty-text {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.dine-in-preorder__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.dine-in-preorder__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(37, 99, 235, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}
.dine-in-preorder__item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}
.dine-in-preorder__item-name {
  font-size: 1rem;
  color: #1E293B;
  font-weight: 500;
}
.dine-in-preorder__item-quantity {
  font-size: 0.875rem;
  color: #2563EB;
  font-weight: 600;
}
.dine-in-preorder__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(99, 102, 241, 0.2);
  border: none;
  border-radius: 0.375rem;
  color: #6366F1;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__item-remove:hover {
  background: #6366F1;
  color: #ffffff;
  transform: scale(1.1);
}
.dine-in-preorder__item-remove:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}
.dine-in-preorder__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.dine-in-preorder__note {
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
}
.dine-in-preorder__clear {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.5rem;
  color: #ef4444;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__clear:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}
.dine-in-preorder__clear:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.takeout-cart {
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.15);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.takeout-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.takeout-cart__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1E293B;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.takeout-cart__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 0.5rem;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}
.takeout-cart__clear {
  padding: 0.5rem 0.75rem;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.5rem;
  color: #6366F1;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.takeout-cart__clear:hover {
  background: #6366F1;
  color: #ffffff;
  border-color: #6366F1;
}
.takeout-cart__clear:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}
.takeout-cart__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
  min-height: 200px;
  background: rgba(37, 99, 235, 0.02);
  border-radius: 0.5rem;
}
.takeout-cart__empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.takeout-cart__empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: #475569;
  margin: 0 0 0.5rem 0;
}
.takeout-cart__empty-subtitle {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0;
  line-height: 1.6;
}
.takeout-cart__items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.takeout-cart__item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(37, 99, 235, 0.03);
  border: 1px solid rgba(37, 99, 235, 0.1);
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
}
.takeout-cart__item:hover {
  background: rgba(37, 99, 235, 0.06);
  border-color: rgba(37, 99, 235, 0.2);
}
.takeout-cart__item-name {
  font-size: 0.875rem;
  color: #1E293B;
  font-weight: 500;
}
.takeout-cart__item-quantity {
  font-size: 0.875rem;
  color: #475569;
  min-width: 30px;
  text-align: center;
}
.takeout-cart__item-price {
  font-size: 0.875rem;
  color: #2563EB;
  font-weight: 600;
  min-width: 60px;
  text-align: right;
}
.takeout-cart__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(99, 102, 241, 0.2);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 0.375rem;
  color: #6366F1;
  font-size: 1rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.takeout-cart__item-remove:hover {
  background: #6366F1;
  color: #ffffff;
  border-color: #6366F1;
  transform: scale(1.1);
}
.takeout-cart__item-remove:focus-visible {
  outline: 2px solid #6366F1;
  outline-offset: 2px;
}
.takeout-cart__footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.takeout-cart__subtotal, .takeout-cart__tax, .takeout-cart__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #475569;
}
.takeout-cart__total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
}
.takeout-cart__checkout {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #2563EB 0%, #6366F1 100%);
  border: none;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
}
.takeout-cart__checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
}
.takeout-cart__checkout:active {
  transform: translateY(0);
}
.takeout-cart__checkout:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

.reservation-form__deposit {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  padding: 1rem;
  padding-bottom: 1.5rem;
  margin-bottom: 1rem;
}

.reservation-form__deposit-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.75rem;
}
.reservation-form__deposit-header i {
  font-size: 1.1rem;
}

.reservation-form__deposit-breakdown {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 1rem;
  color: #475569;
  margin-bottom: 0.5rem;
}
.reservation-form__deposit-breakdown strong {
  font-size: 1.15rem;
  color: #1e293b;
}

.reservation-form__deposit-policy {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.reservation-form__deposit-card {
  min-height: 60px;
  margin-bottom: 0.75rem;
}

.reservation-form__deposit-error {
  color: #b91c1c;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
}
.reservation-form--dark .reservation-form__deposit-error {
  color: #fca5a5;
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.3);
}

.delivery-option-cards {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.delivery-option-card {
  flex: 1;
  min-width: 100px;
  cursor: pointer;
  position: relative;
}
.delivery-option-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.delivery-option-card input[type=radio]:checked + .delivery-option-card__content {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.1);
  color: #2D2E88;
}
.delivery-option-card input[type=radio]:focus-visible + .delivery-option-card__content {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}

.delivery-option-card__content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
}
.delivery-option-card__content i {
  font-size: 1rem;
}
.delivery-option-card__content:hover {
  border-color: rgba(45, 46, 136, 0.5);
}

.delivery-fee-info {
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}
.delivery-fee-info__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.delivery-fee-info__eta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}
.delivery-fee-info__eta i {
  font-size: 0.85rem;
}

.delivery-cart-summary__eta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}
.delivery-cart-summary__eta i {
  font-size: 0.85rem;
}

.delivery-tracking-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #2D2E88;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(45, 46, 136, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}
.delivery-tracking-link:hover {
  background: rgba(45, 46, 136, 0.15);
  color: rgb(32.320441989, 33.0386740331, 97.679558011);
}
.delivery-tracking-link i {
  font-size: 1rem;
}

.reservation-form__confirmation {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.5rem;
  overflow: hidden;
}
.reservation-form__confirmation--success .reservation-form__confirmation-icon--animated {
  animation: iconPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.reservation-form__confirmation .confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.reservation-form__confirmation-icon {
  font-size: 2.5rem;
  color: #10b981;
  margin-bottom: 0.375rem;
  position: relative;
  z-index: 2;
}

@keyframes iconPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.reservation-form__confirmation-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 0.25rem;
  position: relative;
  z-index: 2;
}

.reservation-form__confirmation-subtitle {
  font-size: 1rem;
  color: #475569;
  margin: 0 0 1rem;
  position: relative;
  z-index: 2;
}
.reservation-form__confirmation-subtitle strong {
  color: #1E293B;
}

.reservation-form__confirmation-text {
  font-size: 0.8125rem;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}
.reservation-form__confirmation-text strong {
  color: #1E293B;
  font-weight: 600;
}

.reservation-form__confirmation-check-email {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0 0 1.25rem;
  position: relative;
  z-index: 2;
}

.reservation-form__confirmation-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #2563EB;
  border: none;
  border-radius: 0.75rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  position: relative;
  z-index: 2;
}
.reservation-form__confirmation-btn:hover {
  background: #1D4ED8;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.reservation-form__confirmation-btn:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}
.reservation-form__confirmation-btn:active {
  transform: translateY(0);
}

.reservation-form__confirmation-code {
  font-size: 0.875rem;
  color: #64748B;
  margin: 0 0 0.5rem;
  position: relative;
  z-index: 2;
}
.reservation-form__confirmation-code strong {
  color: #2563EB;
  font-weight: 700;
}

.reservation-form__confirmation-details {
  font-size: 0.875rem;
  color: #475569;
  margin: 0 0 0.75rem;
  position: relative;
  z-index: 2;
}

.reservation-form__confirmation-items {
  background: rgba(37, 99, 235, 0.05);
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin: 0.75rem 0;
  text-align: left;
  position: relative;
  z-index: 2;
}
.reservation-form__confirmation-items p {
  margin: 0.25rem 0;
  font-size: 0.875rem;
  color: #475569;
}
.reservation-form__confirmation-items p:first-child {
  color: #1E293B;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.reservation-form__confirmation-footer {
  font-size: 0.75rem;
  color: #64748B;
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(37, 99, 235, 0.1);
  position: relative;
  z-index: 2;
}

.takeout-success {
  padding: 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.takeout-success__order-number {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  margin: 0.5rem auto;
  padding: 0.5rem 1.25rem;
  background: rgba(37, 99, 235, 0.04);
  border-radius: 0.5rem;
  border: 1px dashed rgba(37, 99, 235, 0.3);
}
.takeout-success__label {
  font-size: 0.75rem;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}
.takeout-success__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2563EB;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  letter-spacing: 0.03em;
}
.takeout-success__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.5rem auto;
  padding: 0.75rem;
  background: rgba(37, 99, 235, 0.02);
  border-radius: 0.5rem;
  text-align: left;
  width: auto;
  min-width: 280px;
  max-width: 380px;
}
.takeout-success__detail {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.4;
}
.takeout-success__detail strong {
  color: #1E293B;
  font-weight: 600;
}
.takeout-success__detail a {
  color: #2563EB;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.takeout-success__detail a:hover, .takeout-success__detail a:focus {
  text-decoration-thickness: 2px;
}
.takeout-success__detail-icon {
  flex-shrink: 0;
  width: 1rem;
  font-size: 0.875rem;
  color: #2563EB;
  opacity: 0.85;
  margin-top: 2px;
}
.takeout-success__note {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem auto 0;
  padding: 0.5rem 0.75rem;
  background: rgba(59, 130, 246, 0.06);
  border-radius: 0.5rem;
  border-left: 3px solid #3b82f6;
  text-align: left;
}
.takeout-success__note > i {
  color: #3b82f6;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.takeout-success__note p {
  margin: 0;
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.3;
}
.takeout-success__actions {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0.75rem;
  margin-top: 1rem;
  justify-content: center;
  align-items: center;
}
.takeout-success__confirm {
  min-width: 120px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  background-color: #6253D8;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.takeout-success__confirm:hover, .takeout-success__confirm:focus {
  background-color: rgb(67.6417061611, 49.7412322275, 208.4587677725);
}
.takeout-success__confirm:active {
  transform: scale(0.98);
}
.takeout-success__confirm:focus-visible {
  outline: 2px solid #6253D8;
  outline-offset: 2px;
}
.takeout-success__new-order {
  min-width: 120px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  background-color: transparent;
  color: #6253D8;
  border: 2px solid #6253D8;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.takeout-success__new-order:hover, .takeout-success__new-order:focus {
  background-color: rgba(98, 83, 216, 0.08);
  color: rgb(67.6417061611, 49.7412322275, 208.4587677725);
  border-color: rgb(67.6417061611, 49.7412322275, 208.4587677725);
}
.takeout-success__new-order:focus-visible {
  outline: 2px solid #6253D8;
  outline-offset: 2px;
}

.input-error {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  animation: shake 0.4s ease-in-out;
}
.input-error:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  outline: none;
}
.input-error.custom-dropdown button.dropdown-trigger,
.input-error .dropdown-trigger {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-4px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-4px);
  }
  80% {
    transform: translateX(4px);
  }
}
.reservation-form__input--error {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  animation: shake 0.4s ease-in-out;
}
.reservation-form__input--error:focus {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  outline: none;
}

.error input,
.error select,
.error .time-dropdown,
.error .date-input {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  animation: shake 0.4s ease-in-out;
}
.error.custom-dropdown button.dropdown-trigger,
.error .dropdown-trigger {
  border-color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  animation: shake 0.4s ease-in-out;
}

.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  top: -10px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  animation: confetti-fall 3s ease-out forwards;
  opacity: 0;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(500px) rotate(720deg);
    opacity: 0;
  }
}
.reservation-form__button--needs-payment,
.btn--needs-payment {
  animation: tf-pulse-attention 2.4s ease-in-out infinite;
}

@keyframes tf-pulse-attention {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(244, 150, 9, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(244, 150, 9, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reservation-form__button--needs-payment,
  .btn--needs-payment {
    animation: none;
  }
}
.btn-loading {
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}
.btn-loading .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  flex-shrink: 0;
}

.widget-language-selector {
  margin-top: 0.75rem;
  position: relative;
  z-index: 100;
}

.widget-language-selector .language-selector {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.widget-language-selector .language-selector__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  min-height: 40px;
}
.widget-language-selector .language-selector__button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}
.widget-language-selector .language-selector__button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.widget-language-selector .language-selector__button:disabled {
  opacity: 0.7;
  cursor: wait;
}
.widget-language-selector .language-selector__icon {
  font-size: 1rem;
  line-height: 1;
}
.widget-language-selector .language-selector__current {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.widget-language-selector .language-selector__arrow {
  width: 12px;
  height: 8px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.widget-language-selector .language-selector__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: 300px;
  max-height: 320px;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 200;
}
.widget-language-selector .language-selector__dropdown--open {
  display: flex;
  flex-direction: column;
  animation: widget-lang-dropdown-in 0.15s ease-out;
}
.widget-language-selector .language-selector__search {
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.widget-language-selector .language-selector__search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.widget-language-selector .language-selector__search-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.widget-language-selector .language-selector__search-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.widget-language-selector .language-selector__list {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.widget-language-selector .language-selector__list::-webkit-scrollbar {
  width: 4px;
}
.widget-language-selector .language-selector__list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 0.375rem;
}
.widget-language-selector .language-selector__list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 0.375rem;
}
.widget-language-selector .language-selector__list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.widget-language-selector .language-selector__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.widget-language-selector .language-selector__option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.widget-language-selector .language-selector__option:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
  border-radius: 0.375rem;
}
.widget-language-selector .language-selector__option--selected {
  color: #ffffff;
  font-weight: 600;
  background: rgba(37, 99, 235, 0.2);
}
.widget-language-selector .language-selector__option-name {
  flex: 1;
  min-width: 0;
}
.widget-language-selector .language-selector__checkmark {
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: #38BDF8;
  font-weight: 700;
}
.widget-language-selector .language-selector__loading {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

@keyframes widget-lang-dropdown-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@media (max-width: 639px) {
  .widget-language-selector .language-selector__dropdown {
    left: 0;
    right: 0;
    transform: none;
    min-width: unset;
    max-width: unset;
    width: calc(100vw - 2rem);
    margin: 0 auto;
  }
  .widget-language-selector .language-selector__dropdown--open {
    animation: none;
  }
}
.msw-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.msw-confirm-dialog {
  background: #1E293B;
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 400px;
  width: calc(100% - 2rem);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.msw-confirm-message {
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  margin: 0 0 1.25rem;
}

.msw-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.msw-confirm-cancel,
.msw-confirm-ok {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 150ms ease-in-out, border-color 150ms ease-in-out;
}

.msw-confirm-cancel {
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
}
.msw-confirm-cancel:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.msw-confirm-ok {
  background: #F49609;
  color: #fff;
  border-color: #F49609;
}
.msw-confirm-ok:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.msw-confirm-ok:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

.tableflow-widget-button {
  position: fixed;
  z-index: 999999;
  padding: 12px 32px;
  background-color: var(--tableflow-widget-primary, #2563eb);
  color: var(--tableflow-widget-text, #ffffff);
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 250ms ease-in-out;
}
.tableflow-widget-button:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}
.tableflow-widget-button:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 3px;
}
.tableflow-widget-button--top-left {
  top: 1.25rem;
  left: 1.25rem;
}
.tableflow-widget-button--top-center {
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}
.tableflow-widget-button--top-center:hover {
  transform: translateX(-50%) translateY(-2px);
}
.tableflow-widget-button--top-right {
  top: 1.25rem;
  right: 1.25rem;
}
.tableflow-widget-button--bottom-left {
  bottom: 1.25rem;
  left: 1.25rem;
}
.tableflow-widget-button--bottom-center {
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}
.tableflow-widget-button--bottom-center:hover {
  transform: translateX(-50%) translateY(-2px);
}
.tableflow-widget-button--bottom-right {
  bottom: 1.25rem;
  right: 1.25rem;
}

.tableflow-widget-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999998;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-in-out, visibility 250ms ease-in-out;
}
.tableflow-widget-backdrop--visible {
  display: block;
  opacity: 1;
  visibility: visible;
}

.tableflow-widget-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1200px;
  height: 85vh;
  max-height: 900px;
  background: transparent;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  z-index: 9999999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms ease-in-out, visibility 250ms ease-in-out, transform 250ms ease-in-out;
}
.tableflow-widget-modal--visible {
  display: block;
  opacity: 1;
  visibility: visible;
}
@media (max-width: 767px) {
  .tableflow-widget-modal {
    width: 95%;
    height: 90vh;
    max-height: none;
  }
}
@media (max-width: 639px) {
  .tableflow-widget-modal {
    width: 100%;
    height: 100vh;
    border-radius: 0;
  }
}

.tableflow-widget-close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(239, 68, 68, 0.95);
  color: #ffffff;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 10;
  transition: all 250ms ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.tableflow-widget-close:hover {
  background: #ef4444;
  transform: scale(1.15) rotate(90deg);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.5);
}
.tableflow-widget-close:active {
  transform: scale(1.05) rotate(90deg);
}
.tableflow-widget-close:focus-visible {
  outline: 3px solid rgba(239, 68, 68, 0.5);
  outline-offset: 3px;
}
@media (max-width: 639px) {
  .tableflow-widget-close {
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.125rem;
  }
}

.tableflow-widget-iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 1.5rem;
  background: transparent;
}
@media (max-width: 639px) {
  .tableflow-widget-iframe {
    border-radius: 0;
  }
}

.tableflow-sr-only {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.branch-selector {
  margin-bottom: 1rem;
}
.branch-selector--hidden {
  display: none !important;
}

.branch-dropdown {
  position: relative;
  width: 100%;
}
.branch-dropdown__trigger {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 52px;
  gap: 0.75rem;
}
.branch-dropdown__trigger:hover {
  border-color: #cbd5e1;
}
.branch-dropdown__trigger:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.15);
}
.branch-dropdown__trigger[aria-expanded=true] {
  border-color: #2D2E88;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.15);
}
.branch-dropdown__trigger[aria-expanded=true] .branch-dropdown__arrow {
  transform: rotate(180deg);
}
.branch-dropdown__icon {
  color: #2D2E88;
  font-size: 1rem;
  flex-shrink: 0;
}
.branch-dropdown__placeholder {
  flex: 1;
  font-size: 1rem;
  color: #475569;
  text-align: left;
}
.branch-dropdown__arrow {
  color: #94a3b8;
  font-size: 0.75rem;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.branch-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #2D2E88;
  border-top: none;
  border-radius: 0 0 0.75rem 0.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  overflow: hidden;
}
.branch-dropdown__panel--hidden {
  display: none;
}
.branch-dropdown__search {
  position: relative;
  padding: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
}
.branch-dropdown__search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
  pointer-events: none;
}
.branch-dropdown__input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem calc(0.75rem + 24px);
  font-size: 0.875rem;
  color: #0f172a;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.branch-dropdown__input::placeholder {
  color: #94a3b8;
}
.branch-dropdown__input:focus {
  border-color: #2D2E88;
}
.branch-dropdown__list {
  max-height: 280px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
}
.branch-dropdown__list::-webkit-scrollbar {
  width: 6px;
}
.branch-dropdown__list::-webkit-scrollbar-track {
  background: transparent;
}
.branch-dropdown__list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}
.branch-dropdown__list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.branch-dropdown__option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 0.1s ease;
  gap: 0.75rem;
}
.branch-dropdown__option:hover {
  background: rgba(45, 46, 136, 0.04);
}
.branch-dropdown__option--highlighted {
  background: rgba(45, 46, 136, 0.08);
}
.branch-dropdown__option-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.branch-dropdown__option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.branch-dropdown__option-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.branch-dropdown__option-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.branch-dropdown__option-status--open {
  color: #047857;
}
.branch-dropdown__option-status--open .branch-dropdown__status-dot {
  background: #10b981;
}
.branch-dropdown__option-status--closed {
  color: #64748b;
}
.branch-dropdown__option-status--closed .branch-dropdown__status-dot {
  background: #94a3b8;
}
.branch-dropdown__status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.branch-dropdown__option-address {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.branch-dropdown__option-prep {
  font-size: 0.75rem;
  color: #2D2E88;
  font-weight: 500;
  margin-top: 2px;
}
.branch-dropdown__option-arrow {
  color: #cbd5e1;
  font-size: 10px;
  flex-shrink: 0;
  transition: transform 0.15s ease, color 0.15s ease;
}
.branch-dropdown__option:hover .branch-dropdown__option-arrow {
  color: #2D2E88;
  transform: translateX(2px);
}
.branch-dropdown__empty {
  padding: 1.5rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
}
.branch-dropdown__empty i {
  display: block;
  font-size: 1.25rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.branch-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.03), rgba(217, 49, 81, 0.02));
  border: 1px solid rgba(45, 46, 136, 0.12);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.branch-badge--hidden {
  display: none !important;
}
.branch-badge__content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.branch-badge__icon {
  color: #2D2E88;
  font-size: 1rem;
  flex-shrink: 0;
}
.branch-badge__text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.branch-badge__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.branch-badge__address {
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.branch-badge__change {
  flex-shrink: 0;
  padding: 0.5rem 0.75rem;
  background: transparent;
  color: #2D2E88;
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 36px;
}
.branch-badge__change:hover {
  background: rgba(45, 46, 136, 0.05);
  border-color: #2D2E88;
}
.branch-badge__change:focus {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
@media (max-width: 639px) {
  .branch-badge {
    padding: 0.5rem 0.75rem;
  }
  .branch-badge__address {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .branch-dropdown__trigger,
  .branch-dropdown__arrow,
  .branch-dropdown__input,
  .branch-dropdown__option,
  .branch-dropdown__option-arrow,
  .branch-badge__change {
    transition: none;
  }
}
@media (prefers-contrast: high) {
  .branch-dropdown__trigger {
    border-width: 2px;
  }
  .branch-dropdown__trigger:focus {
    outline: 3px solid #0f172a;
    outline-offset: 2px;
  }
  .branch-dropdown__panel {
    border-width: 2px;
  }
  .branch-dropdown__option--highlighted {
    outline: 2px solid #2D2E88;
    outline-offset: -2px;
  }
  .branch-badge {
    border-width: 2px;
  }
}
/**
 * Floating Cart Button Component
 * Always-visible cart access with voice integration
 * WCAG 2.2 AAA Compliant
 */
.floating-cart {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
  opacity: 0;
  transform: translateY(-0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.floating-cart--top-right, .floating-cart--bottom-right, .floating-cart--bottom-left {
  position: absolute;
  z-index: 1000;
}
.floating-cart--top-right {
  top: 1.5rem;
  right: 1.5rem;
}
.floating-cart--bottom-right {
  bottom: 1.5rem;
  right: 1.5rem;
}
.floating-cart--bottom-left {
  bottom: 1.5rem;
  left: 1.5rem;
}
.floating-cart--inline {
  position: relative;
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.floating-cart--visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .floating-cart {
    transition: opacity 0.1s ease;
    transform: none;
  }
}
@media (max-width: 768px) {
  .floating-cart--bottom-right, .floating-cart--bottom-left {
    bottom: 1rem;
    right: 1rem;
  }
}

.floating-cart__button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  padding: 0;
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  color: #ffffff;
  transition: all 0.3s ease;
}
.floating-cart__button:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(244, 150, 9, 0.2), 0 4px 12px rgba(244, 150, 9, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
}
.floating-cart__button:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
.floating-cart__button:active:not(:disabled), .floating-cart__button--active {
  transform: scale(0.98);
  box-shadow: 0 2px 6px rgba(244, 150, 9, 0.3);
}
.floating-cart__button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .floating-cart__button {
    transition: opacity 0.1s ease, box-shadow 0.1s ease;
  }
  .floating-cart__button:hover:not(:disabled) {
    transform: none;
  }
  .floating-cart__button:active:not(:disabled), .floating-cart__button--active {
    transform: none;
  }
}
@media (prefers-contrast: high) {
  .floating-cart__button {
    border: 2px solid #ffffff;
    background: #000000;
  }
}

.floating-cart__icon {
  width: 28px;
  height: 28px;
  stroke-width: 2.5;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.floating-cart__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D93151;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 12px;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  line-height: 1;
}
.floating-cart__badge--appear {
  animation: badge-appear 0.3s ease;
}
.floating-cart__badge--pulse {
  animation: badge-pulse 0.3s ease;
}
.floating-cart__badge--disappear {
  animation: badge-disappear 0.3s ease forwards;
}
@media (prefers-contrast: high) {
  .floating-cart__badge {
    border: 2px solid #000000;
    background: #ffffff;
    color: #000000;
  }
}

.floating-cart__voice-btn {
  background: linear-gradient(135deg, #2D2E88 0%, #1a1b52 100%);
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}
.floating-cart__voice-btn:focus-visible {
  outline: 3px solid #2D2E88;
  box-shadow: 0 0 0 6px rgba(45, 46, 136, 0.2), 0 4px 12px rgba(45, 46, 136, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
}
.floating-cart__voice-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(45, 46, 136, 0.4), 0 4px 8px rgba(0, 0, 0, 0.25);
}
.floating-cart__voice-btn.floating-cart__voice-btn--listening {
  background: linear-gradient(135deg, #D93151 0%, #F49609 100%) !important;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.6) !important, 0 2px 6px rgba(0, 0, 0, 0.2) !important, 0 0 0 0 rgba(217, 49, 81, 0.7) !important;
  animation: voice-pulse 1.5s ease-in-out infinite !important;
}
@media (max-width: 768px) {
  .floating-cart__voice-btn {
    width: 56px;
    height: 56px;
  }
}

.floating-cart__voice-label {
  display: none;
}

@keyframes badge-appear {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
@keyframes badge-disappear {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.5);
  }
}
@keyframes voice-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 0 rgba(217, 49, 81, 0.7);
  }
  50% {
    box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 0 12px rgba(217, 49, 81, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .floating-cart__badge {
    animation: none !important;
  }
  .floating-cart__voice-btn--listening {
    animation: none !important;
  }
}
.tableflow-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.voice-feedback-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  width: 90%;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  border: 2px solid #F49609;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: clamp(1.25rem, 4vw, 1.5rem);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: all 0.3s ease;
}
.voice-feedback-panel--active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.voice-feedback-panel__content {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.voice-feedback-panel__icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}
.voice-feedback-panel__microphone {
  width: 40px;
  height: 40px;
  color: #F49609;
  stroke-width: 2.5;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.voice-feedback-panel__pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #F49609 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: mic-pulse 2s ease-in-out infinite;
  opacity: 0.3;
}
.voice-feedback-panel__text {
  flex: 1;
  min-width: 0;
}
.voice-feedback-panel__status {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.voice-feedback-panel__transcript {
  font-size: clamp(1.125rem, 3vw, 1.25rem);
  font-weight: 600;
  color: #ffffff;
  min-height: 1.5em;
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  opacity: 0.6;
}
.voice-feedback-panel__transcript--final {
  opacity: 1;
  color: #F49609;
}
.voice-feedback-panel__transcript:empty::before {
  content: "Speak now...";
  opacity: 0.4;
  font-style: italic;
}
.voice-feedback-panel__confidence {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}
.voice-feedback-panel__confidence--high {
  color: #10b981;
}
.voice-feedback-panel__confidence--medium {
  color: #F49609;
}
.voice-feedback-panel__confidence--low {
  color: #ef4444;
}
.voice-feedback-panel__stop {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(217, 49, 81, 0.2);
  border: 2px solid #D93151;
  border-radius: 50%;
  color: #D93151;
  cursor: pointer;
  transition: all 0.2s ease;
}
.voice-feedback-panel__stop svg {
  width: 20px;
  height: 20px;
}
.voice-feedback-panel__stop:hover {
  background: #D93151;
  color: #ffffff;
  transform: scale(1.05);
}
.voice-feedback-panel__stop:active {
  transform: scale(0.95);
}
.voice-feedback-panel__stop:focus-visible {
  outline: 3px solid #D93151;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .voice-feedback-panel {
    width: 95%;
    padding: 1rem;
  }
  .voice-feedback-panel__microphone {
    width: 32px;
    height: 32px;
  }
  .voice-feedback-panel__icon {
    width: 48px;
    height: 48px;
  }
  .voice-feedback-panel__transcript {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-feedback-panel {
    transition: opacity 0.1s ease;
    transform: translate(-50%, -50%) !important;
  }
  .voice-feedback-panel__pulse {
    animation: none;
  }
}

@keyframes mic-pulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}
.voice-access-dialog {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.voice-access-dialog__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  animation: fade-in 0.2s ease;
}
.voice-access-dialog__content {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slide-up 0.3s ease;
}
@media (max-width: 640px) {
  .voice-access-dialog__content {
    padding: 1.5rem;
  }
}
.voice-access-dialog__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.3;
}
@media (max-width: 640px) {
  .voice-access-dialog__title {
    font-size: 1.25rem;
  }
}
.voice-access-dialog__description {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
@media (max-width: 640px) {
  .voice-access-dialog__description {
    font-size: 0.9375rem;
  }
}
.voice-access-dialog__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.voice-access-dialog__button {
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  min-height: 48px;
}
.voice-access-dialog__button:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}
.voice-access-dialog__button--primary {
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.voice-access-dialog__button--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4);
}
.voice-access-dialog__button--primary:active {
  transform: translateY(0);
}
.voice-access-dialog__button--secondary {
  background: rgba(45, 46, 136, 0.1);
  color: #2D2E88;
  border: 2px solid #2D2E88;
}
.voice-access-dialog__button--secondary:hover {
  background: rgba(45, 46, 136, 0.2);
}
.voice-access-dialog__button--secondary:active {
  background: rgba(45, 46, 136, 0.3);
}
.voice-access-dialog__button--text {
  background: transparent;
  color: #64748b;
  padding: 0.75rem 1rem;
  min-height: auto;
}
.voice-access-dialog__button--text:hover {
  background: rgba(0, 0, 0, 0.05);
  color: #1e293b;
}
.voice-access-dialog__button--text:active {
  background: rgba(0, 0, 0, 0.1);
}
@media (prefers-reduced-motion: reduce) {
  .voice-access-dialog__button {
    transition: none;
  }
  .voice-access-dialog__button--primary:hover {
    transform: none;
  }
}
@media (prefers-contrast: high) {
  .voice-access-dialog__content {
    border: 3px solid #000000;
  }
  .voice-access-dialog__button--primary {
    background: #000000;
    border: 2px solid #ffffff;
  }
  .voice-access-dialog__button--secondary {
    border-width: 3px;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .voice-access-dialog__backdrop {
    animation: none;
  }
  .voice-access-dialog__content {
    animation: none;
  }
}
/**
 * Cart Panel Component
 * Bottom sheet (mobile) and side drawer (desktop)
 * WCAG 2.2 AAA Compliant
 */
.cart-panel-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.1s ease;
}
.cart-panel-overlay--visible {
  opacity: 1;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .cart-panel-overlay {
    transition: opacity 0.05s ease;
  }
}
@media (prefers-contrast: high) {
  .cart-panel-overlay {
    background: transparent;
  }
}

.cart-panel {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 380px;
  max-height: 600px;
  background: rgba(30, 35, 45, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
  z-index: 1002;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  pointer-events: none;
  will-change: transform;
}
.cart-panel--open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}
.cart-panel--minimized {
  max-height: 400px;
  overflow: visible;
}
.cart-panel--minimized .cart-panel__content {
  max-height: 300px;
  overflow-y: auto;
}
.cart-panel--minimized .cart-panel__items {
  display: none;
}
.cart-panel--minimized .cart-panel__footer {
  display: none;
}
.cart-panel--minimized .cart-panel__subtitle {
  display: block;
}
.cart-panel--minimized .cart-panel__recommendations {
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
}
@media (max-width: 768px) {
  .cart-panel {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 85vh;
    border-radius: 1.5rem 1.5rem 0 0;
    transform: translateY(100%);
  }
  .cart-panel--open {
    transform: translateY(0);
  }
  .cart-panel--minimized {
    transform: translateY(calc(100% - 80px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .cart-panel {
    transition: opacity 0.1s ease;
  }
  .cart-panel:not(.cart-panel--open) {
    opacity: 0;
  }
  .cart-panel--open {
    opacity: 1;
  }
}
@media (prefers-contrast: high) {
  .cart-panel {
    background: #000;
    border: 2px solid #fff;
  }
}

.cart-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  cursor: move;
  user-select: none;
}
.cart-panel__header:active {
  cursor: grabbing;
}

.cart-panel__header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cart-panel__title-group {
  flex: 1;
}

.cart-panel__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0 0 0.25rem 0;
  line-height: 1.2;
}

.cart-panel__subtitle {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.4;
}

.cart-panel__minimize,
.cart-panel__close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1.25rem;
  line-height: 1;
}
.cart-panel__minimize svg,
.cart-panel__close svg {
  width: 16px;
  height: 16px;
}
.cart-panel__minimize:hover:not(:disabled),
.cart-panel__close:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
  color: #f3f4f6;
}
.cart-panel__minimize:focus-visible,
.cart-panel__close:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}
@media (prefers-contrast: high) {
  .cart-panel__minimize,
  .cart-panel__close {
    border: 2px solid #fff;
  }
}

.cart-panel__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem;
}
.cart-panel__content::-webkit-scrollbar {
  width: 8px;
}
.cart-panel__content::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 4px;
}
.cart-panel__content::-webkit-scrollbar-thumb {
  background: #F49609;
  border-radius: 4px;
}
.cart-panel__content::-webkit-scrollbar-thumb:hover {
  background: #D93151;
}

.cart-panel__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  min-height: 300px;
}

.cart-panel__empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-panel__empty-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0 0 0.5rem 0;
}

.cart-panel__empty-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 2rem 0;
  max-width: 320px;
}

.cart-panel__browse-btn {
  padding: 0.75rem 2rem;
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border: none;
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
}
.cart-panel__browse-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4);
}
.cart-panel__browse-btn:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}

.cart-panel__items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  padding: 1rem;
  background: rgba(71, 85, 105, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transition: all 0.2s ease;
}
.cart-item:hover {
  background: rgba(71, 85, 105, 0.4);
  border-color: rgba(255, 255, 255, 0.15);
}

.cart-item__image {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.cart-item__name {
  font-size: 1rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0;
  line-height: 1.3;
}

.cart-item__description {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item__dietary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.25rem;
}

.cart-item__dietary-tag {
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  background: rgba(244, 150, 9, 0.2);
  color: #F49609;
  border-radius: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.cart-item__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cart-item__quantity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 0.5rem;
  padding: 0.25rem;
}

.cart-item__quantity-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: #f3f4f6;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-item__quantity-btn:hover:not(:disabled) {
  background: rgba(244, 150, 9, 0.2);
  border-color: #F49609;
  color: #F49609;
}
.cart-item__quantity-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 1px;
}
.cart-item__quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cart-item__quantity-value {
  min-width: 24px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f3f4f6;
}

.cart-item__price {
  font-size: 1rem;
  font-weight: 700;
  color: #F49609;
}

.cart-item__remove {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  border-radius: 0.375rem;
  color: #ef4444;
  cursor: pointer;
  transition: all 0.2s ease;
}
.cart-item__remove svg {
  width: 16px;
  height: 16px;
}
.cart-item__remove:hover:not(:disabled) {
  background: rgba(220, 38, 38, 0.2);
  border-color: #ef4444;
}
.cart-item__remove:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 1px;
}

.cart-panel__footer {
  flex-shrink: 0;
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.8);
}

.cart-panel__totals {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.cart-panel__subtotal,
.cart-panel__tax,
.cart-panel__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-panel__total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.125rem;
  font-weight: 700;
  color: #f3f4f6;
}

.cart-panel__info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(244, 150, 9, 0.1);
  border: 1px solid rgba(244, 150, 9, 0.3);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}

.cart-panel__info-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.cart-panel__info-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}

.cart-panel__checkout-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border: none;
  border-radius: 0.75rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 56px;
}
.cart-panel__checkout-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4);
}
.cart-panel__checkout-btn:active:not(:disabled) {
  transform: translateY(0);
}
.cart-panel__checkout-btn:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}
.cart-panel__checkout-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .cart-panel__checkout-btn {
    transition: opacity 0.1s ease;
  }
  .cart-panel__checkout-btn:hover:not(:disabled) {
    transform: none;
  }
  .cart-panel__checkout-btn:active:not(:disabled) {
    transform: none;
  }
}

@media (max-width: 768px) {
  .cart-panel {
    max-height: 90vh;
  }
  .cart-item {
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 0.75rem;
  }
  .cart-item__controls {
    grid-column: 1/-1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.cart-panel__recommendations {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-panel__recommendations-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-panel__recommendations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.recommendations-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  gap: 1rem;
}

.recommendations-loading__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(244, 150, 9, 0.2);
  border-top-color: var(--color-primary, #f49609);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .recommendations-loading__spinner {
    animation: none;
    opacity: 0.5;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.recommendations-loading__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  text-align: center;
}

.recommendations-empty,
.recommendations-error {
  padding: 1.5rem 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.recommendations-error {
  color: rgba(217, 49, 81, 0.8);
}

.recommendation-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.08) 0%, rgba(217, 49, 81, 0.08) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(244, 150, 9, 0.3);
  border-radius: 1rem;
  transition: all 0.2s ease;
}
.recommendation-card:hover {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.12) 0%, rgba(217, 49, 81, 0.12) 100%);
  border-color: rgba(244, 150, 9, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  .recommendation-card {
    transition: opacity 0.1s ease;
  }
}

.recommendation-card__image {
  width: 60px;
  height: 60px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
}
.recommendation-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommendation-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.recommendation-card__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0;
  line-height: 1.3;
}

.recommendation-card__description {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recommendation-card__reason {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #F49609;
  margin: 0;
  line-height: 1.4;
}

.recommendation-card__reason-icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.recommendation-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.recommendation-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #F49609;
}

.recommendation-card__add-btn {
  padding: 0.5rem 1rem;
  background: rgba(244, 150, 9, 0.2);
  border: 1px solid rgba(244, 150, 9, 0.4);
  border-radius: 0.5rem;
  color: #F49609;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.recommendation-card__add-btn:hover:not(:disabled) {
  background: rgba(244, 150, 9, 0.3);
  border-color: #F49609;
  transform: translateY(-1px);
}
.recommendation-card__add-btn:active:not(:disabled) {
  transform: translateY(0);
}
.recommendation-card__add-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.recommendation-card__add-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .recommendation-card__add-btn {
    transition: opacity 0.1s ease;
  }
  .recommendation-card__add-btn:hover:not(:disabled) {
    transform: none;
  }
  .recommendation-card__add-btn:active:not(:disabled) {
    transform: none;
  }
}

@media (prefers-contrast: high) {
  .cart-panel__close,
  .cart-item__quantity-btn,
  .cart-item__remove {
    border: 2px solid currentColor;
  }
  .cart-panel__checkout-btn,
  .recommendation-card__add-btn {
    border: 2px solid #fff;
  }
  .recommendation-card {
    border: 2px solid #F49609;
  }
}
/**
 * Toast Notification Component
 * Accessible notifications with aria-live support
 * WCAG 2.2 AAA Compliant
 */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column-reverse;
  gap: 0.75rem;
  pointer-events: none;
  max-width: 420px;
  width: calc(100% - 2rem);
}
@media (max-width: 768px) {
  .toast-container {
    top: auto;
    bottom: 5rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.toast {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 2.25rem 0.75rem 1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-left: 4px solid #475569;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  color: #ffffff;
  opacity: 0;
  transform: translateX(calc(100% + 1rem));
  transition: all 0.3s ease;
}
.toast--visible {
  opacity: 1;
  transform: translateX(0);
}
.toast--dismissing {
  opacity: 0;
  transform: translateX(calc(100% + 1rem));
}
@media (max-width: 768px) {
  .toast {
    transform: translateY(calc(100% + 1rem));
  }
  .toast--visible {
    transform: translateY(0);
  }
  .toast--dismissing {
    transform: translateY(calc(100% + 1rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  .toast {
    transition: opacity 0.1s ease;
    transform: none;
  }
  .toast--visible {
    transform: none;
  }
  .toast--dismissing {
    transform: none;
  }
}
.toast--success {
  border-left: 4px solid #10b981;
}
.toast--error {
  border-left: 4px solid #ef4444;
}
.toast--warning {
  border-left: 4px solid #f59e0b;
}
.toast--info {
  border-left: 4px solid #3b82f6;
}
@media (prefers-contrast: high) {
  .toast {
    background: #000000;
    border: 2px solid #ffffff;
    border-left-width: 4px;
  }
}

.toast__icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  margin-top: 1px;
}
.toast--success .toast__icon {
  color: #10b981;
}
.toast--error .toast__icon {
  color: #ef4444;
}
.toast--warning .toast__icon {
  color: #f59e0b;
}
.toast--info .toast__icon {
  color: #3b82f6;
}

.toast__content {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toast__title {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
}

.toast__message {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #e2e8f0;
  font-weight: 400;
  word-wrap: break-word;
}

.toast__action {
  align-self: flex-start;
  padding: 0.375rem 0.75rem;
  background: rgba(244, 150, 9, 0.2);
  border: 1px solid rgba(244, 150, 9, 0.5);
  border-radius: 0.375rem;
  color: #F49609;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toast__action:hover {
  background: rgba(244, 150, 9, 0.3);
  border-color: #F49609;
}
.toast__action:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .toast__action {
    transition: opacity 0.1s ease;
  }
}

.toast__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toast__close svg,
.toast__close i {
  width: 14px;
  height: 14px;
  font-size: 0.875rem;
}
.toast__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.toast__close:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .toast__close {
    transition: opacity 0.1s ease;
  }
}
@media (prefers-contrast: high) {
  .toast__close {
    border: 1px solid currentColor;
  }
}

@keyframes toast-slide-in {
  from {
    opacity: 0;
    transform: translateX(calc(100% + 1rem));
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes toast-slide-out {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(calc(100% + 1rem));
  }
}
@media (prefers-reduced-motion: reduce) {
  @keyframes toast-slide-in {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @keyframes toast-slide-out {
    from {
      opacity: 1;
    }
    to {
      opacity: 0;
    }
  }
}
.notification-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  width: calc(100% - 2rem);
  pointer-events: none;
}
@media (max-width: 640px) {
  .notification-container {
    top: auto;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

.notification {
  display: flex;
  flex-direction: column;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  overflow: hidden;
}
.notification.notification-enter {
  opacity: 0;
  transform: translateX(100%);
}
.notification.notification-active {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease-out;
}
.notification.notification-exit {
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease-in;
}
.notification.notification-success {
  border-left: 4px solid #10b981;
}
.notification.notification-success .notification-icon {
  color: #10b981;
  background: rgba(16, 185, 129, 0.15);
}
.notification.notification-error {
  border-left: 4px solid #ef4444;
}
.notification.notification-error .notification-icon {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
}
.notification.notification-warning {
  border-left: 4px solid #f59e0b;
}
.notification.notification-warning .notification-icon {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.15);
}
.notification.notification-info {
  border-left: 4px solid #3b82f6;
}
.notification.notification-info .notification-icon {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.15);
}

.notification-content {
  padding: 1rem;
}

.notification-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.notification-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 700;
}

.notification-message {
  flex: 1;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  padding-top: 0.25rem;
}

.notification-detail {
  margin-top: 0.5rem;
  margin-left: calc(28px + 0.75rem);
  color: #94a3b8;
  font-size: 0.75rem;
  line-height: 1.75;
}

.notification-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.notification-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.notification-close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.notification-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  margin-left: calc(28px + 0.75rem);
}

.notification-action {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.notification-action:hover {
  background: rgba(255, 255, 255, 0.15);
}
.notification-action.btn-primary {
  background: #2563eb;
  border-color: #2563eb;
}
.notification-action.btn-primary:hover {
  background: rgb(60.3571428571, 115.7142857143, 237.1428571429);
}
.notification-action.btn-secondary {
  background: transparent;
  border-color: #475569;
}
.notification-action.btn-secondary:hover {
  background: #334155;
}

.notification-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.notification-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  animation: notification-progress linear forwards;
}

@keyframes notification-progress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
.widget-promo {
  --promo-bg: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  --promo-accent: #F49609;
  background: var(--promo-bg);
  border-left: 4px solid var(--promo-accent);
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.widget-promo__content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex: 1;
}
.widget-promo__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
}
.widget-promo__text {
  flex: 1;
}
.widget-promo__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  margin-bottom: 0.25rem;
}
.widget-promo__message {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  margin: 0;
  line-height: 1.75;
}
.widget-promo__close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.widget-promo__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}
.widget-promo__close:active {
  transform: scale(0.95);
}
.widget-promo__close:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.widget-promo__close svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 768px) {
  .widget-promo {
    padding: 1rem;
    gap: 1rem;
  }
  .widget-promo__content {
    gap: 1rem;
  }
  .widget-promo__icon {
    font-size: 1.25rem;
  }
  .widget-promo__title {
    font-size: 1rem;
    margin-bottom: 0.125rem;
  }
  .widget-promo__message {
    font-size: 0.875rem;
  }
  .widget-promo__close {
    width: 28px;
    height: 28px;
  }
  .widget-promo__close svg {
    width: 14px;
    height: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .widget-promo {
    transition: none;
  }
  .widget-promo__close {
    transition: none;
  }
  .widget-promo__close:hover {
    transform: none;
  }
  .widget-promo__close:active {
    transform: none;
  }
}

.demo-notice {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #1e293b;
  border: 1px solid #3b82f6;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  max-width: 280px;
  z-index: 100;
  animation: slideIn 0.3s ease-out;
}
@media (max-width: 639px) {
  .demo-notice {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}
.demo-notice .demo-content h3 {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.demo-notice .demo-content p {
  color: #94a3b8;
  font-size: 0.75rem;
  margin: 0.25rem 0;
  font-family: "Courier New", monospace;
}
.demo-notice .demo-content .demo-btn {
  margin-top: 0.75rem;
  width: 100%;
  background: #3b82f6;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
}
.demo-notice .demo-content .demo-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
}
.demo-notice .demo-content .demo-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
@media (prefers-contrast: high) {
  .demo-notice {
    border-width: 2px;
    box-shadow: 0 0 0 2px #3b82f6;
  }
}
@media (prefers-reduced-motion: reduce) {
  .demo-notice {
    animation: none;
  }
}

/* Marketplace Booking Modal Styles */
.booking-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
}

.booking-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
}

.booking-modal-content {
  position: relative;
  background: #fff;
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: scroll;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #2D2E88 var(--color-border);
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease-out;
}

.booking-modal-content::-webkit-scrollbar {
  width: 8px;
  -webkit-appearance: none;
}

.booking-modal-content::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}

.booking-modal-content::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: var(--radius-sm);
}
.booking-modal-content::-webkit-scrollbar-thumb:hover {
  background: #D93151;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.booking-modal-top-bar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  z-index: 100;
  padding: var(--space-3) var(--space-4) 0;
  margin-bottom: calc(-40px - var(--space-3));
  pointer-events: none;
}
.booking-modal-top-bar > * {
  pointer-events: auto;
}

.booking-modal-close {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #D93151;
  color: #FFFFFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 150ms ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}
.booking-modal-close:hover {
  background: #B5263F;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(217, 49, 81, 0.5);
}
.booking-modal-close:focus {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.booking-modal-lang {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-3);
  z-index: 100;
}
.booking-modal-lang__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  min-height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 28px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.booking-modal-lang__trigger:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
}
.booking-modal-lang__trigger:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.booking-modal-lang__icon {
  font-size: 1rem;
  line-height: 1;
}
.booking-modal-lang__current {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.booking-modal-lang__arrow {
  width: 12px;
  height: 8px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}
.booking-modal-lang__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  max-width: 300px;
  max-height: 320px;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  z-index: 200;
}
.booking-modal-lang__dropdown--open {
  display: flex;
  flex-direction: column;
  animation: bookingLangDropdownIn 0.15s ease-out;
}
.booking-modal-lang__list {
  list-style: none;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.booking-modal-lang__list::-webkit-scrollbar {
  width: 6px;
}
.booking-modal-lang__list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}
.booking-modal-lang__list::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 3px;
}
.booking-modal-lang__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  list-style: none;
}
.booking-modal-lang__option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.booking-modal-lang__option:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: -2px;
  border-radius: 4px;
}
.booking-modal-lang__option--selected {
  color: #fff;
  font-weight: 600;
  background: rgba(98, 83, 216, 0.2);
}
.booking-modal-lang__option-name {
  flex: 1;
  min-width: 0;
}
.booking-modal-lang__checkmark {
  flex-shrink: 0;
  margin-left: 8px;
  color: #a78bfa;
  font-weight: 700;
}

@keyframes bookingLangDropdownIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.booking-modal-header {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600));
  color: #fff;
  padding: var(--space-10) var(--space-8) var(--space-8);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  text-align: center;
}

.booking-modal-icon {
  font-size: 48px;
  margin-bottom: var(--space-4);
  opacity: 0.9;
}

.booking-modal-header h2 {
  margin: 0 0 var(--space-2) 0;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: #fff;
}

.booking-modal-header p {
  margin: 0;
  font-size: var(--font-size-lg);
  opacity: 0.9;
  color: #fff;
}

.booking-modal-header .menu-langs-caption {
  margin: var(--space-4) 0 0;
  font-size: 12px;
  opacity: 1;
}

/* Branch Selector in Booking Modal - matches widget exactly */
.booking-modal-branch-wrapper {
  padding: var(--space-4);
  padding-bottom: 0;
  background: #F5F5F7;
}
.booking-modal-branch-wrapper:has(.branch-selector--hidden):has(.branch-badge--hidden) {
  display: none;
}
.booking-modal-branch-wrapper .branch-selector {
  margin-bottom: 0;
  width: 100%;
}
.booking-modal-branch-wrapper .branch-badge {
  margin-bottom: 0;
  width: 100%;
}
.booking-modal-branch-wrapper #booking-modal-branch-badge {
  width: 100%;
}
.booking-modal-branch-wrapper .branch-dropdown__trigger {
  width: 100%;
  padding: 0.75rem 1rem !important;
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem !important;
}

/* Tab Navigation */
.booking-tabs {
  display: flex;
  background: #F5F5F7;
  padding: var(--space-4);
  gap: var(--space-3);
  border-bottom: 1px solid var(--color-border);
  color: #1e293b;
}

button.booking-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(224, 224, 229, 0.8);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  font-size: var(--font-size-base);
  font-weight: 600;
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  position: relative;
  box-shadow: none;
  height: 3rem;
}

button.booking-tab:not(.active) {
  color: #1e293b !important;
}
button.booking-tab:not(.active) i {
  font-size: var(--font-size-xl);
  color: #1e293b !important;
  transition: all var(--duration-fast) ease;
}
button.booking-tab:not(.active) span:not(.takeout-tooltip) {
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: #1e293b !important;
}

button.booking-tab:hover:not(.active) {
  background: rgb(255, 255, 255);
  border-color: #2D2E88;
  transform: translateY(0);
  box-shadow: 0 0 0 2px rgba(45, 46, 136, 0.1);
  color: #1e293b !important;
}
button.booking-tab:hover:not(.active) i {
  transform: scale(1.1);
  color: #2D2E88 !important;
}
button.booking-tab:hover:not(.active) span:not(.takeout-tooltip) {
  color: #1e293b !important;
}

button.booking-tab.active {
  background: linear-gradient(135deg, #2D2E88, #D93151) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
button.booking-tab.active i {
  color: #ffffff !important;
  transform: scale(1.05);
}
button.booking-tab.active span {
  color: #ffffff !important;
}

button.booking-tab:focus {
  outline: 3px solid var(--color-primary-600);
  outline-offset: 2px;
}

button.booking-tab:focus:not(.active) {
  background: rgb(255, 255, 255);
  border-color: var(--color-primary-600);
}

button.booking-tab:active {
  transform: translateY(0);
}

/* Takeout tooltip - shows on hover for non-partner restaurants */
button.booking-tab.has-takeout-tooltip {
  position: relative;
}
button.booking-tab.has-takeout-tooltip .takeout-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1F2937 !important;
  color: #FFFFFF !important;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 1000;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
button.booking-tab.has-takeout-tooltip .takeout-tooltip::after {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #1F2937;
}
button.booking-tab.has-takeout-tooltip:hover .takeout-tooltip, button.booking-tab.has-takeout-tooltip:focus .takeout-tooltip {
  opacity: 1;
  visibility: visible;
}
button.booking-tab.has-takeout-tooltip.tooltip-visible .takeout-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Not Available Tab State - grays out AFTER user clicks (non-partner restaurants) */
button.booking-tab.not-available {
  cursor: not-allowed;
  opacity: 0.6;
  background: #E5E7EB !important;
  border-color: #D1D5DB !important;
  color: #9CA3AF !important;
}
button.booking-tab.not-available i {
  color: #9CA3AF !important;
}
button.booking-tab.not-available span:not(.takeout-tooltip) {
  color: #9CA3AF !important;
}
button.booking-tab.not-available:hover {
  transform: none;
  box-shadow: none;
  border-color: #D1D5DB !important;
  background: #E5E7EB !important;
}

/* Tab Panels */
.booking-tab-panels {
  background: #fff;
}

.booking-tab-panel {
  display: none;
}
.booking-tab-panel.active {
  display: block;
}

.booking-form {
  padding: var(--space-8);
}
.booking-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}
.booking-form .form-row:has(.form-group:only-child) {
  grid-template-columns: 1fr;
}
.booking-form .form-group {
  display: flex;
  flex-direction: column;
}
.booking-form .form-group label {
  font-weight: 600;
  color: #111827;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.booking-form .form-group label i {
  color: var(--color-primary-600);
  width: 16px;
}
.booking-form .form-group input,
.booking-form .form-group select,
.booking-form .form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 2px solid #E5E7EB;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-family: inherit;
  transition: all var(--duration-fast) ease;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #111827 !important;
}
.booking-form .form-group input::placeholder,
.booking-form .form-group select::placeholder,
.booking-form .form-group textarea::placeholder {
  color: #9CA3AF;
}
.booking-form .form-group input:focus,
.booking-form .form-group select:focus,
.booking-form .form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 4px rgba(98, 83, 216, 0.1);
}
.booking-form .form-group input:-webkit-autofill, .booking-form .form-group input:-webkit-autofill:hover, .booking-form .form-group input:-webkit-autofill:focus, .booking-form .form-group input:-webkit-autofill:active,
.booking-form .form-group select:-webkit-autofill,
.booking-form .form-group select:-webkit-autofill:hover,
.booking-form .form-group select:-webkit-autofill:focus,
.booking-form .form-group select:-webkit-autofill:active,
.booking-form .form-group textarea:-webkit-autofill,
.booking-form .form-group textarea:-webkit-autofill:hover,
.booking-form .form-group textarea:-webkit-autofill:focus,
.booking-form .form-group textarea:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #FFFFFF inset !important;
  -webkit-text-fill-color: #111827 !important;
  background-color: #FFFFFF !important;
  background: #FFFFFF !important;
}
.booking-form .form-group .custom-dropdown .dropdown-trigger {
  padding: var(--space-3) var(--space-4) !important;
  border: 2px solid #E5E7EB !important;
  border-radius: var(--radius-md) !important;
  font-size: var(--font-size-base) !important;
  background: #FFFFFF !important;
  background-color: #FFFFFF !important;
  color: #111827 !important;
  min-height: 48px;
  height: auto;
}
.booking-form .form-group .custom-dropdown .dropdown-trigger:hover {
  border-color: var(--color-primary-600) !important;
  box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.1);
}
.booking-form .form-group .custom-dropdown .dropdown-trigger:focus {
  outline: none;
  border-color: var(--color-primary-600) !important;
  box-shadow: 0 0 0 4px rgba(98, 83, 216, 0.1) !important;
}
.booking-form .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232563EB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 20px 20px;
  padding-right: 3rem;
}
.booking-form .form-group select:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232D2E88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.booking-form .form-group select:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%232D2E88' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.booking-form .form-group input[type=date] {
  position: relative;
  cursor: pointer;
}
.booking-form .form-group input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
}
.booking-form .form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.booking-notice {
  background: var(--color-primary-50);
  border-left: 4px solid var(--color-primary-600);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin: var(--space-5) 0;
  display: flex;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
}
.booking-notice i {
  color: var(--color-primary-600);
  margin-top: 2px;
  flex-shrink: 0;
}
.booking-notice p {
  margin: 0;
  color: var(--color-text-secondary);
}

/* Marketing Consent Checkbox */
.booking-form__footer {
  margin-top: var(--space-6);
}

.booking-form__footer--sticky {
  position: sticky;
  bottom: 0;
  z-index: 200;
  margin-top: var(--space-6);
  margin-left: calc(-1 * var(--space-6));
  margin-right: calc(-1 * var(--space-6));
  margin-bottom: calc(-1 * var(--space-6));
  padding: var(--space-4) var(--space-6);
  padding-bottom: calc(var(--space-4) + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--color-border, #e5e7eb);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}
@media (max-width: 600px) {
  .booking-form__footer--sticky {
    padding: var(--space-3) var(--space-4);
    padding-bottom: calc(var(--space-3) + env(safe-area-inset-bottom, 0px));
  }
  .booking-form__footer--sticky .birthday-section {
    padding: 0.75rem;
    margin-bottom: 0.5rem;
  }
  .booking-form__footer--sticky .birthday-section__subtitle {
    display: none;
  }
  .booking-form__footer--sticky .marketing-consent {
    margin-bottom: 0.5rem;
  }
}

.birthday-section {
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(var(--color-primary-rgb, 98, 83, 216), 0.05);
  border-radius: 8px;
}
.birthday-section__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}
.birthday-section__header i {
  color: var(--color-primary, #6253d8);
  font-size: 1rem;
}
.birthday-section__title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text-primary);
}
.birthday-section__subtitle {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin: 0.25rem 0 0.75rem;
}
.birthday-section__fields {
  display: flex;
  gap: 0.75rem;
}

.birthday-select {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.875rem;
  background: #fff;
  color: var(--color-text-primary);
  appearance: auto;
  min-height: 44px;
}

.marketing-consent {
  margin-bottom: var(--space-4);
}

.marketing-consent__label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-secondary);
}

.marketing-consent__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.marketing-consent__checkmark {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-text-tertiary, #6b7280);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: all var(--duration-fast) ease;
  margin-top: 1px;
}
.marketing-consent__checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--color-background);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.marketing-consent__checkbox:checked + .marketing-consent__checkmark {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
}
.marketing-consent__checkbox:checked + .marketing-consent__checkmark::after {
  display: block;
}

.marketing-consent__checkbox:focus + .marketing-consent__checkmark {
  outline: 2px solid var(--color-primary-400);
  outline-offset: 2px;
}

.marketing-consent__label:hover .marketing-consent__checkmark {
  border-color: var(--color-primary-400);
}

.marketing-consent__text {
  flex: 1;
  user-select: none;
}

.booking-form .form-actions {
  display: flex !important;
  gap: var(--space-3);
  justify-content: flex-end;
  align-items: center;
}

.booking-form__footer .form-actions {
  margin-top: 0;
}

.booking-form .btn.btn-primary,
.booking-form .btn-secondary,
.booking-form__footer .btn.btn-primary,
.booking-form__footer .btn.btn-secondary {
  padding: var(--space-3) var(--space-5) !important;
  border-radius: var(--radius-md) !important;
  font-size: var(--font-size-base) !important;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  border: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 40px;
}

.booking-form .btn.btn-primary,
.booking-form__footer .btn.btn-primary {
  background: #2563eb !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3) !important;
  font-weight: 600 !important;
}
.booking-form .btn.btn-primary i,
.booking-form__footer .btn.btn-primary i {
  color: #fff !important;
}
.booking-form .btn.btn-primary:hover:not(:disabled),
.booking-form__footer .btn.btn-primary:hover:not(:disabled) {
  background: #1d4ed8 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.4) !important;
}
.booking-form .btn.btn-primary:hover:not(:disabled) i,
.booking-form__footer .btn.btn-primary:hover:not(:disabled) i {
  color: #fff !important;
}
.booking-form .btn.btn-primary:active:not(:disabled),
.booking-form__footer .btn.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(37, 99, 235, 0.3) !important;
}

.booking-form .btn-secondary,
.booking-form__footer .btn.btn-secondary {
  background: transparent !important;
  color: var(--color-text-primary) !important;
  border: none !important;
}
.booking-form .btn-secondary:hover:not(:disabled),
.booking-form__footer .btn.btn-secondary:hover:not(:disabled) {
  color: var(--color-primary-600) !important;
}

/* Success message */
.booking-success {
  padding: var(--space-16) var(--space-10);
  text-align: center;
}

.success-icon {
  font-size: 80px;
  color: var(--color-success);
  margin-bottom: var(--space-5);
  animation: successPop 0.5s ease-out;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.booking-success h3 {
  font-size: var(--font-size-3xl);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-4) 0;
}

.booking-success p {
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0 0 var(--space-8) 0;
}

/* Loading spinner */
.booking-loading {
  padding: var(--space-16) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}

.spinner {
  width: 60px;
  height: 60px;
  border: 4px solid var(--color-border);
  border-top-color: var(--color-primary-600);
  border-radius: var(--radius-full);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.booking-loading p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}

/* Menu Tab Styles */
.menu-loading {
  padding: var(--space-16) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-5);
}
.menu-loading .spinner {
  width: 60px;
  height: 60px;
}
.menu-loading p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}

.menu-content {
  padding: var(--space-8);
  max-height: 60vh;
  overflow-y: auto;
}

.menu-error {
  padding: var(--space-16) var(--space-10);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}
.menu-error i {
  font-size: 64px;
  color: var(--color-warning);
}
.menu-error p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin: 0;
}

.menu-category {
  margin-bottom: var(--space-8);
}
.menu-category:last-child {
  margin-bottom: 0;
}

.menu-category-header {
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--color-border);
}

.menu-category-name {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
}

.menu-category-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
  line-height: var(--line-height-relaxed);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.booking-menu-item {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) ease;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-3);
  overflow: visible !important;
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
}
.booking-menu-item .btn-modal-add-to-cart {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.booking-menu-item .cart-quantity-btn {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.booking-menu-item:hover {
  background: var(--color-surface-hover);
  border-color: #2D2E88;
  box-shadow: 0 2px 8px rgba(45, 46, 136, 0.1);
}
.booking-menu-item:last-child {
  margin-bottom: 0;
}

.booking-menu-item-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.booking-menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
}

.booking-menu-item-name {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
}

.booking-menu-item-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary-600);
  white-space: nowrap;
}

.booking-menu-item-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin: 0;
}

.booking-menu-item-flags {
  display: flex;
  gap: var(--space-2);
  margin-top: var(--space-2);
}

.dietary-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.dietary-flag.vegetarian {
  background: var(--color-success-50, #ecfdf5);
  color: var(--color-success-700, #047857);
}
.dietary-flag.vegetarian i {
  margin-right: 2px;
}
.dietary-flag.vegan {
  background: var(--color-success-100, #d1fae5);
  color: var(--color-success-800, #065f46);
}
.dietary-flag.vegan i {
  margin-right: 2px;
}
.dietary-flag.gluten-free {
  background: var(--color-warning-50, #fffbeb);
  color: var(--color-warning-700, #b45309);
}
.dietary-flag.halal {
  background: var(--color-info-50, #eff6ff);
  color: var(--color-info-700, #1d4ed8);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .booking-modal {
    padding: var(--space-2);
    align-items: flex-end;
  }
  .booking-modal-content {
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 95vh;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  /* Force availability slots and alternatives to stack on mobile */
  .booking-availability-slots,
  #slot-alternatives-panel {
    display: block;
    width: 100%;
    max-width: 100%;
    float: none;
    clear: both;
  }
  #slot-alternatives-panel {
    margin-top: 1rem;
  }
  .booking-modal-header {
    padding: var(--space-8) var(--space-5) var(--space-5);
  }
  .booking-modal-header h2 {
    font-size: var(--font-size-2xl);
  }
  .booking-form {
    padding: var(--space-5);
  }
  .form-actions {
    flex-direction: column-reverse;
  }
  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
  .marketing-consent {
    margin-bottom: var(--space-5);
  }
  .marketing-consent__label {
    font-size: var(--font-size-xs);
  }
  .booking-tabs {
    padding: var(--space-3);
    gap: var(--space-2);
  }
  button.booking-tab {
    padding: var(--space-3) var(--space-2);
    font-size: var(--font-size-sm);
    flex-direction: column;
    gap: var(--space-1);
    border-radius: var(--radius-md);
  }
  button.booking-tab i {
    font-size: var(--font-size-lg);
  }
  button.booking-tab span {
    font-size: 0.625rem;
    line-height: 1.2;
  }
  button.booking-tab.active {
    box-shadow: 0 3px 8px rgba(98, 83, 216, 0.25);
  }
  button.booking-tab:hover:not(.active) {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  }
  .menu-content {
    padding: var(--space-5);
    max-height: 50vh;
  }
  .menu-category-name {
    font-size: var(--font-size-xl);
  }
  .booking-menu-item-price {
    font-size: var(--font-size-base);
  }
}
/* Menu Section within Booking/Takeout/Delivery tabs */
.booking-menu-section,
.takeout-menu-section,
.delivery-menu-section {
  margin-top: var(--space-8);
  padding: var(--space-6);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.booking-menu-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.booking-menu-title i {
  color: #2D2E88;
  font-size: var(--font-size-2xl);
}

.booking-menu-subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-5);
  line-height: 1.6;
}

.booking-menu-viewer {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  min-height: 200px;
  max-height: clamp(280px, 50vh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  /* Loading state */
  /* Scrollbar styling */
}
.booking-menu-viewer .menu-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-10);
  gap: var(--space-4);
}
.booking-menu-viewer .menu-loading .spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border);
  border-top-color: #2D2E88;
  border-radius: var(--radius-full);
  animation: spin 0.8s linear infinite;
}
.booking-menu-viewer .menu-loading p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  margin: 0;
}
.booking-menu-viewer::-webkit-scrollbar {
  width: 8px;
}
.booking-menu-viewer::-webkit-scrollbar-track {
  background: var(--color-border);
  border-radius: var(--radius-sm);
}
.booking-menu-viewer::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: var(--radius-sm);
}
.booking-menu-viewer::-webkit-scrollbar-thumb:hover {
  background: #D93151;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Cart Styling */
.takeout-cart {
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.05) 0%, rgba(217, 49, 81, 0.05) 100%);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-top: var(--space-6);
}

.cart-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.cart-title i {
  color: #2D2E88;
  font-size: var(--font-size-2xl);
}

.cart-items {
  margin-bottom: var(--space-5);
  min-height: 80px;
}

.cart-empty {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: var(--font-size-base);
  padding: var(--space-8) var(--space-5);
  font-style: italic;
  line-height: 1.6;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3);
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
}
.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-1);
}

.cart-item-quantity {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.cart-item-price {
  font-weight: 600;
  color: #2D2E88;
  font-size: var(--font-size-lg);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-error);
  cursor: pointer;
  padding: var(--space-2);
  margin-left: var(--space-3);
  transition: all var(--duration-fast) ease;
}
.cart-item-remove:hover {
  color: var(--color-error);
  transform: scale(1.1);
}
.cart-item-remove i {
  font-size: var(--font-size-base);
}

.cart-total {
  border-top: 2px solid var(--color-border);
  padding-top: var(--space-4);
  margin-top: var(--space-4);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-text-primary);
}
.cart-total-row span:last-child {
  color: #2D2E88;
  font-size: var(--font-size-2xl);
}

/* Add to Cart Button - Compact right-aligned (modern food app style) */
.btn-modal-add-to-cart {
  background: #2D2E88 !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-md);
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  width: auto !important;
  margin-top: var(--space-3) !important;
  margin-left: auto !important;
  min-height: 36px !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 100 !important;
  pointer-events: auto !important;
  transition: all 0.15s ease;
}
.btn-modal-add-to-cart i {
  font-size: 12px;
  color: white !important;
  margin-right: 0;
}
.btn-modal-add-to-cart:hover {
  background: rgb(34.8563535912, 35.6309392265, 105.3436464088) !important;
  transform: scale(1.05);
}
.btn-modal-add-to-cart:active {
  transform: scale(0.98);
}
.btn-modal-add-to-cart.added {
  background: #10b981 !important;
}

/* Quantity Controls - Compact right-aligned */
.cart-quantity-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  width: auto;
  margin-top: var(--space-3);
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
}

.cart-quantity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: #2D2E88;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.15s ease;
}
.cart-quantity-btn:hover {
  background: rgb(34.8563535912, 35.6309392265, 105.3436464088);
  transform: scale(1.1);
}
.cart-quantity-btn:active {
  transform: scale(0.95);
}
.cart-quantity-btn i {
  color: white;
  font-size: 11px;
}

.cart-quantity-display {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-primary);
  min-width: 24px;
  text-align: center;
}

.booking-menu-item-actions {
  margin-top: 0.75rem;
}

.booking-menu-item .btn-modal-add-to-cart {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #2D2E88;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto !important;
}
.booking-menu-item .btn-modal-add-to-cart i {
  font-size: 12px;
}
.booking-menu-item .btn-modal-add-to-cart:hover {
  background: rgb(34.8563535912, 35.6309392265, 105.3436464088);
  transform: scale(1.02);
}
.booking-menu-item .btn-modal-add-to-cart:active {
  transform: scale(0.98);
}

.booking-menu-item .quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border: none;
  padding: 0;
}
.booking-menu-item .quantity-controls .btn-quantity,
.booking-menu-item .quantity-controls .btn-quantity-minus,
.booking-menu-item .quantity-controls .btn-quantity-plus {
  width: 28px !important;
  height: 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #2D2E88 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
}
.booking-menu-item .quantity-controls .btn-quantity i,
.booking-menu-item .quantity-controls .btn-quantity-minus i,
.booking-menu-item .quantity-controls .btn-quantity-plus i {
  font-size: 12px !important;
  color: #ffffff !important;
}
.booking-menu-item .quantity-controls .btn-quantity:hover,
.booking-menu-item .quantity-controls .btn-quantity-minus:hover,
.booking-menu-item .quantity-controls .btn-quantity-plus:hover {
  background: rgb(34.8563535912, 35.6309392265, 105.3436464088) !important;
  transform: scale(1.1) !important;
}
.booking-menu-item .quantity-controls .btn-quantity:active,
.booking-menu-item .quantity-controls .btn-quantity-minus:active,
.booking-menu-item .quantity-controls .btn-quantity-plus:active {
  transform: scale(0.95) !important;
}
.booking-menu-item .quantity-controls .quantity-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  min-width: 24px;
  text-align: center;
}

/* Cart Item with Actions */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4);
  background: #fff;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-border);
  position: relative;
}
.cart-item:last-child {
  margin-bottom: 0;
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-1) 0;
}

.cart-item-category {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin: 0;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-2);
}

/* Quantity Controls */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-1);
}

.btn-quantity-minus,
.btn-quantity-plus {
  background: transparent;
  border: none;
  color: #2D2E88;
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.btn-quantity-minus i,
.btn-quantity-plus i {
  font-size: var(--font-size-sm);
}
.btn-quantity-minus:hover,
.btn-quantity-plus:hover {
  background: rgba(45, 46, 136, 0.1);
  color: rgb(32.320441989, 33.0386740331, 97.679558011);
}
.btn-quantity-minus:active,
.btn-quantity-plus:active {
  transform: scale(0.95);
}

.quantity {
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--color-text-primary);
  min-width: 2rem;
  text-align: center;
}

.cart-item-price-wrapper {
  display: flex;
  align-items: center;
}

.cart-item-price {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #2D2E88;
}

.btn-remove-item {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: var(--space-1);
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  opacity: 0.7;
}
.btn-remove-item i {
  font-size: var(--font-size-sm);
}
.btn-remove-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  opacity: 1;
  transform: scale(1.1);
}
.btn-remove-item:active {
  transform: scale(0.95);
}

/* Cart Notification */
.cart-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #2D2E88 0%, rgb(57.679558011, 58.9613259669, 174.320441989) 100%);
  color: white;
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 24px rgba(45, 46, 136, 0.4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-normal) ease;
}
.cart-notification i {
  font-size: var(--font-size-xl);
  color: #34d399;
}
.cart-notification.show {
  opacity: 1;
  transform: translateY(0);
}
.cart-notification.takeout-unavailable-notification {
  top: 2rem;
  bottom: auto;
  right: 2rem;
  background: linear-gradient(135deg, #3B82F6 0%, #60A5FA 100%);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
  max-width: 380px;
  transform: translateY(-20px);
}
.cart-notification.takeout-unavailable-notification.show {
  transform: translateY(0);
}
.cart-notification.takeout-unavailable-notification i {
  color: #FFFFFF;
}
.cart-notification.takeout-unavailable-notification span {
  font-size: var(--font-size-sm);
  line-height: 1.4;
}
.cart-notification.error-notification {
  background: linear-gradient(135deg, #DC2626 0%, #EF4444 100%);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}
.cart-notification.error-notification i {
  color: #FFFFFF;
}

/* Mobile responsive for menu and cart */
@media (max-width: 768px) {
  .booking-menu-section,
  .takeout-menu-section,
  .delivery-menu-section {
    margin-top: var(--space-5);
    padding-top: var(--space-5);
  }
  .booking-menu-title {
    font-size: var(--font-size-lg);
  }
  .booking-menu-viewer {
    padding: var(--space-4);
    max-height: 300px;
  }
  .takeout-cart {
    padding: var(--space-4);
  }
  .cart-item {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-3);
  }
  .cart-item-actions {
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .cart-item-price-wrapper {
    flex-direction: row-reverse;
  }
  .cart-notification {
    bottom: 1rem;
    right: 1rem;
    left: 1rem;
    font-size: var(--font-size-sm);
    padding: var(--space-3) var(--space-4);
  }
}
#booking-modal .booking-menu-viewer .menu-category .menu-items .booking-menu-item button.btn-modal-add-to-cart,
#booking-modal .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart,
#tab-reserve .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart,
#tab-takeout .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart,
.booking-modal .booking-menu-viewer button.btn-modal-add-to-cart,
button.btn-modal-add-to-cart[data-item-id] {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: auto !important;
  min-height: 36px !important;
  height: auto !important;
  background: #2D2E88 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  padding: var(--space-2) var(--space-4) !important;
  margin-top: var(--space-3) !important;
  font-size: var(--font-size-sm) !important;
  font-weight: 600 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-1) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100 !important;
  transition: all 0.15s ease !important;
  box-shadow: none !important;
}
#booking-modal .booking-menu-viewer .menu-category .menu-items .booking-menu-item button.btn-modal-add-to-cart:hover,
#booking-modal .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart:hover,
#tab-reserve .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart:hover,
#tab-takeout .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart:hover,
.booking-modal .booking-menu-viewer button.btn-modal-add-to-cart:hover,
button.btn-modal-add-to-cart[data-item-id]:hover {
  background: rgb(34.8563535912, 35.6309392265, 105.3436464088) !important;
  transform: scale(1.05) !important;
}
#booking-modal .booking-menu-viewer .menu-category .menu-items .booking-menu-item button.btn-modal-add-to-cart i,
#booking-modal .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart i,
#tab-reserve .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart i,
#tab-takeout .booking-menu-viewer .booking-menu-item button.btn-modal-add-to-cart i,
.booking-modal .booking-menu-viewer button.btn-modal-add-to-cart i,
button.btn-modal-add-to-cart[data-item-id] i {
  color: #ffffff !important;
  font-size: 12px !important;
}

.flatpickr-calendar {
  z-index: 100001 !important;
}

.booking-modal-content input[type=date],
.booking-modal-content input.flatpickr-input {
  cursor: pointer;
}
.booking-modal-content input[type=date]:focus,
.booking-modal-content input.flatpickr-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.menu-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.menu-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  flex-shrink: 0;
}
.menu-search-toggle:hover {
  background-color: #e2e8f0;
  color: #1e293b;
}
.menu-search-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
  border-color: #2563eb;
}
.menu-search-toggle[aria-expanded=true] {
  background-color: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.menu-search-toggle[aria-expanded=true]:hover {
  background-color: #1d4ed8;
}
.menu-search-toggle i {
  font-size: 1rem;
}
.menu-search-input-wrapper {
  position: relative;
  display: none;
  flex: 1;
  min-width: 0;
}
.menu-search-input-wrapper.expanded {
  display: flex;
  animation: menuSearchExpand 0.2s ease-out;
}
.menu-search-input {
  width: 100%;
  height: 44px;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  font-size: 1rem;
  color: #1e293b;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: border-color 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
.menu-search-input::placeholder {
  color: #94a3b8;
}
.menu-search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.menu-search-clear {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background-color: #e2e8f0;
  border: none;
  border-radius: 50%;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.menu-search-clear:hover {
  background-color: #cbd5e1;
  color: #1e293b;
}
.menu-search-clear:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}
.menu-search-clear i {
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .menu-search-toggle {
    display: none;
  }
  .menu-search-input-wrapper {
    display: flex;
  }
}

@keyframes menuSearchExpand {
  from {
    opacity: 0;
    transform: scaleX(0.8);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
.menu-item.search-hidden,
.booking-menu-item.search-hidden {
  display: none !important;
}
.menu-item.search-highlight .menu-item-name mark,
.menu-item.search-highlight .menu-item-description mark,
.menu-item.search-highlight .booking-menu-item-name mark,
.menu-item.search-highlight .booking-menu-item-description mark,
.booking-menu-item.search-highlight .menu-item-name mark,
.booking-menu-item.search-highlight .menu-item-description mark,
.booking-menu-item.search-highlight .booking-menu-item-name mark,
.booking-menu-item.search-highlight .booking-menu-item-description mark {
  background-color: rgba(245, 158, 11, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.menu-section.search-hidden,
.menu-category.search-hidden {
  display: none !important;
}

.menu-search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: #64748b;
}
.menu-search-no-results i {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #94a3b8;
}
.menu-search-no-results p {
  margin: 0;
  font-size: 0.875rem;
}

/* ===================================
   REAL-TIME AVAILABILITY TIME SLOTS
   Unique prefixed classes to avoid conflicts
   =================================== */
.booking-availability-slots {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.03), rgba(100, 116, 139, 0.03));
  border-radius: 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.1);
  width: 100%;
  box-sizing: border-box;
  grid-column: 1/-1;
  flex-basis: 100%;
}

.booking-slots-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #64748b;
  font-size: 0.875rem;
}
.booking-slots-loading i {
  color: #2563eb;
  font-size: 1rem;
}

.booking-slots-empty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.booking-slots-empty i {
  font-size: 1.125rem;
  color: #94a3b8;
}

.booking-slots-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.booking-slots-summary i {
  font-size: 1rem;
  flex-shrink: 0;
}
.booking-slots-summary .summary-text {
  line-height: 1.3;
}
.booking-slots-summary.summary--good {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #047857;
}
.booking-slots-summary.summary--good i {
  color: #10b981;
}
.booking-slots-summary.summary--limited {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: #b45309;
}
.booking-slots-summary.summary--limited i {
  color: #f59e0b;
}
.booking-slots-summary.summary--last {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #b91c1c;
}
.booking-slots-summary.summary--last i {
  color: #ef4444;
}
@media (prefers-reduced-motion: no-preference) {
  .booking-slots-summary.summary--last {
    animation: summaryPulse 2s ease-in-out infinite;
  }
}
.booking-slots-summary.summary--full {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.2);
  color: #64748b;
}
.booking-slots-summary.summary--full i {
  color: #94a3b8;
}

@keyframes summaryPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  }
}
.booking-slots-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.booking-slots-container {
  position: relative;
  max-height: 220px;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 0.5rem;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}
.booking-slots-container::-webkit-scrollbar {
  width: 8px;
}
.booking-slots-container::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.booking-slots-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
  border: 2px solid #f1f5f9;
}
.booking-slots-container::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.booking-slots-waitlist-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.4;
}
.booking-slots-waitlist-tip i {
  color: #2563eb;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.booking-slots-waitlist-tip strong {
  color: #1e293b;
  font-weight: 600;
}

.booking-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 8px 4px 8px 0;
}
.booking-slots-grid:focus-within {
  outline: 2px solid rgba(37, 99, 235, 0.2);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.booking-slots-grid .booking-slot-btn,
.booking-slot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 4px;
  padding: 12px 8px;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  cursor: pointer;
  transition: background 0.15s ease;
  min-height: 44px;
  white-space: nowrap;
  text-align: center;
}
.booking-slots-grid .booking-slot-btn .booking-slot-time,
.booking-slot-btn .booking-slot-time {
  font-weight: 600;
  font-size: 0.875rem;
  color: #1e293b;
  transition: none;
}
.booking-slots-grid .booking-slot-btn .booking-slot-status,
.booking-slot-btn .booking-slot-status {
  display: none;
}
.booking-slots-grid .booking-slot-btn::after,
.booking-slot-btn::after {
  content: "";
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
}
.booking-slots-grid .booking-slot-btn:hover:not(:disabled):not(.selected),
.booking-slot-btn:hover:not(:disabled):not(.selected) {
  background: rgba(37, 99, 235, 0.05);
}
.booking-slots-grid .booking-slot-btn:hover:not(:disabled):not(.selected) .booking-slot-time,
.booking-slot-btn:hover:not(:disabled):not(.selected) .booking-slot-time {
  color: #2563eb;
}
.booking-slots-grid .booking-slot-btn:hover:not(:disabled):not(.selected)::after,
.booking-slot-btn:hover:not(:disabled):not(.selected)::after {
  background: #2563eb;
}
.booking-slots-grid .booking-slot-btn:focus:not(:disabled),
.booking-slot-btn:focus:not(:disabled) {
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}
.booking-slots-grid .booking-slot-btn.selected,
.booking-slot-btn.selected {
  background: #2563eb;
  border-radius: 0.5rem;
}
.booking-slots-grid .booking-slot-btn.selected .booking-slot-time,
.booking-slot-btn.selected .booking-slot-time {
  color: #fff;
}
.booking-slots-grid .booking-slot-btn.selected::after,
.booking-slot-btn.selected::after {
  background: #fff;
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited::after,
.booking-slot-btn.booking-slot--limited::after {
  background: #f59e0b;
}
.booking-slots-grid .booking-slot-btn.booking-slot--last::after,
.booking-slot-btn.booking-slot--last::after {
  background: #ef4444;
  animation: pulse 1.5s infinite;
}
.booking-slots-grid .booking-slot-btn.booking-slot--none, .booking-slots-grid .booking-slot-btn:disabled,
.booking-slot-btn.booking-slot--none,
.booking-slot-btn:disabled {
  background: #f8fafc;
  border-color: #e2e8f0;
  cursor: not-allowed;
  opacity: 0.5;
}
.booking-slots-grid .booking-slot-btn.booking-slot--none .booking-slot-time, .booking-slots-grid .booking-slot-btn:disabled .booking-slot-time,
.booking-slot-btn.booking-slot--none .booking-slot-time,
.booking-slot-btn:disabled .booking-slot-time {
  color: #94a3b8;
  text-decoration: line-through;
}
.booking-slots-grid .booking-slot-btn.booking-slot--none .booking-slot-status, .booking-slots-grid .booking-slot-btn:disabled .booking-slot-status,
.booking-slot-btn.booking-slot--none .booking-slot-status,
.booking-slot-btn:disabled .booking-slot-status {
  color: #94a3b8;
  background: transparent;
}
.booking-slots-grid .booking-slot-btn .booking-slot-turnover,
.booking-slot-btn .booking-slot-turnover {
  display: block;
  font-size: 8px;
  font-weight: 500;
  color: #3b82f6;
  margin-top: 2px;
  white-space: nowrap;
}
.booking-slots-grid .booking-slot-btn.booking-slot--turnover,
.booking-slot-btn.booking-slot--turnover {
  opacity: 0.7;
  border-style: dashed;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.03);
}
.booking-slots-grid .booking-slot-btn.booking-slot--turnover .booking-slot-time,
.booking-slot-btn.booking-slot--turnover .booking-slot-time {
  color: #64748b;
  text-decoration: line-through;
}
.booking-slots-grid .booking-slot-btn.booking-slot--turnover .booking-slot-turnover,
.booking-slot-btn.booking-slot--turnover .booking-slot-turnover {
  color: #3b82f6;
}

@keyframes subtlePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.2);
  }
  50% {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  }
}
/* Waitlist Notice */
.waitlist-notice {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  color: #92400e;
}
.waitlist-notice i {
  color: #f59e0b;
  font-size: 1.125rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.waitlist-notice span {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ===================================
   LIVE SLOT UPDATE NOTIFICATIONS
   Phase 3.1: Real-time slot updates
   =================================== */
.slot-unavailable-notification {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-left: 4px solid #ef4444;
  border-radius: 0.5rem;
  color: #b91c1c;
  font-size: 0.875rem;
  animation: slideInNotification 0.3s ease-out;
}
.slot-unavailable-notification i {
  color: #ef4444;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.slot-unavailable-notification span {
  line-height: 1.5;
}

/* Info Notification - for auto-select messages */
.booking-info-notification {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  animation: slideInNotification 0.3s ease-out;
}
.booking-info-notification.notification--info {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-left: 4px solid #2563eb;
  color: rgb(16.4285714286, 67.3571428571, 179.0714285714);
}
.booking-info-notification.notification--info i {
  color: #2563eb;
}
.booking-info-notification.notification--warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-left: 4px solid #f59e0b;
  color: rgb(123.4409448819, 79.4271653543, 5.0590551181);
}
.booking-info-notification.notification--warning i {
  color: #f59e0b;
}
.booking-info-notification i {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.booking-info-notification span {
  flex: 1;
  line-height: 1.5;
}
.booking-info-notification .notification-close {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0.25rem;
  opacity: 0.6;
  transition: opacity 0.15s ease;
}
.booking-info-notification .notification-close:hover {
  opacity: 1;
}
.booking-info-notification .notification-close i {
  font-size: 0.875rem;
}

@keyframes slideInNotification {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Live update flash animation for availability grid */
.booking-availability-slots.live-updating {
  animation: availabilityFlash 0.5s ease-out;
}

@keyframes availabilityFlash {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}
/* Just booked indicator for slots */
.booking-slot-btn.just-booked {
  animation: slotJustBooked 0.5s ease-out;
  position: relative;
}
.booking-slot-btn.just-booked::after {
  content: "Just booked!";
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 2px 6px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  border-radius: 0.25rem;
  text-transform: uppercase;
  animation: justBookedBadge 3s ease-out forwards;
}

@keyframes slotJustBooked {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(0.95);
  }
  50% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes justBookedBadge {
  0%, 80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/* ===================================
   VIEWER COUNT INDICATOR
   Phase 3.2: "Someone is viewing"
   =================================== */
.booking-viewer-count {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  border-bottom: 1px solid rgba(245, 158, 11, 0.2);
  color: #b45309;
  font-size: 0.875rem;
  font-weight: 500;
}
.booking-viewer-count i {
  color: #f59e0b;
  font-size: 1rem;
  animation: eyePulse 2s ease-in-out infinite;
}
.booking-viewer-count span {
  line-height: 1;
}
.booking-viewer-count.count-pulse {
  animation: viewerCountPulse 0.5s ease-out;
}

@keyframes eyePulse {
  0%, 100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}
@keyframes viewerCountPulse {
  0% {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  }
  50% {
    transform: scale(1.02);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(217, 119, 6, 0.25));
  }
  100% {
    transform: scale(1);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  }
}
/* ===================================
   CONFETTI CELEBRATION
   Phase 3.3: Instant Confirmation
   =================================== */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.confetti-piece {
  position: absolute;
  top: -20px;
  animation: confettiFall ease-out forwards;
  opacity: 0;
}

.confetti-square {
  border-radius: 2px;
}

.confetti-circle {
  border-radius: 50%;
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(0) rotate(0deg) scale(1);
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(400px) rotate(720deg) scale(0.5);
  }
}
.booking-success {
  position: relative;
}
.booking-success h3, .booking-success p, .booking-success .btn-primary {
  position: relative;
  z-index: 2;
}
.booking-success .success-icon {
  position: relative;
  z-index: 2;
}
.booking-success .btn-primary {
  display: inline-block;
  padding: var(--space-3) var(--space-8);
  background: var(--color-primary, #2563eb);
  border: none;
  border-radius: var(--radius-lg);
  color: var(--color-white, #ffffff);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.booking-success .btn-primary:hover {
  background: var(--color-primary-700, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}
.booking-success .btn-primary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.5);
  outline-offset: 2px;
}

/* ===================================
   BOOKING PROMO WIDGET
   Displays active promos after booking confirmation
   =================================== */
.booking-promo-widget {
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 2;
}
.booking-promo-widget[style*="display: block"] {
  display: flex !important;
  justify-content: center;
}
.booking-promo-widget .widget-promo-banner {
  width: auto;
}

.booking-promo-banner {
  margin: var(--space-6) var(--space-6);
  padding: 0;
}
.booking-promo-banner .widget-promo-banner {
  margin: 0 auto;
}

.booking-promo {
  background: var(--promo-gradient, linear-gradient(135deg, #667eea, #764ba2));
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  text-align: center;
  overflow: hidden;
  position: relative;
}
.booking-promo__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.booking-promo__image {
  width: 100%;
  max-width: 200px;
  margin: 0 auto var(--space-3);
}
.booking-promo__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}
.booking-promo__text {
  flex: 1;
}
.booking-promo__title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  margin: 0 0 var(--space-2);
  color: var(--color-background);
}
.booking-promo__message {
  font-size: var(--font-size-sm);
  margin: 0;
  color: var(--color-background);
  opacity: 0.9;
}
.booking-promo__cta {
  display: inline-block;
  margin-top: var(--space-4);
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-background);
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-medium);
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-default);
}
.booking-promo__cta:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===================================
   WAITLIST POSITION BADGE
   Phase 3.4: Waitlist Position Tracking
   =================================== */
.waitlist-details {
  color: #64748b;
  font-size: 0.875rem;
}

.waitlist-position-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  margin: 1rem auto;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
  animation: waitlistBadgePop 0.5s ease-out;
}
.waitlist-position-badge .position-number {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.waitlist-position-badge .position-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
  opacity: 0.9;
}

@keyframes waitlistBadgePop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.booking-success .success-icon .fa-clock {
  animation: clockPulse 2s ease-in-out infinite;
}

@keyframes clockPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
/* ===================================
   PHASE 4: SMART SLOT SUGGESTIONS
   Accessible alternative time slots
   =================================== */
/* Slot Alternatives Panel Container */
#slot-alternatives-panel {
  display: block;
  width: 100%;
  max-width: 100%;
  margin-top: 1rem;
  clear: both;
  flex-basis: 100%;
  grid-column: 1/-1;
}

/* Ensure availability slots wrapper allows stacking */
.booking-availability-slots + #slot-alternatives-panel {
  margin-top: 1rem;
}

/* Slot Unavailable Notification */
.slot-unavailable {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0;
  animation: slideInUp 0.3s ease-out;
  width: 100%;
  box-sizing: border-box;
}
.slot-unavailable__header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.slot-unavailable__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}
.slot-unavailable__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
  line-height: 1.4;
}
.slot-unavailable__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 0.75rem;
  line-height: 1.5;
}
.slot-unavailable__alternatives {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.75rem 0;
}
.slot-unavailable__footer {
  margin-top: 0.75rem;
  padding: 1rem;
  border-top: 1px solid #e2e8f0;
  background-color: #f8fafc !important;
  border-radius: 0 0 1rem 1rem;
}
.slot-unavailable__waitlist {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  color: #1e293b;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 0.75rem;
  border-radius: 0.5rem;
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-align: center;
  line-height: 1.4;
}
.slot-unavailable__waitlist:hover {
  transform: translateX(4px);
  color: #94a3b8;
  border-color: #cbd5e1;
}
.slot-unavailable__waitlist:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.slot-unavailable__waitlist i, .slot-unavailable__waitlist svg {
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.slot-unavailable__waitlist:hover i, .slot-unavailable__waitlist:hover svg {
  transform: translateX(3px);
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Alternative Time Button - Simplified for clarity */
.alt-time-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
}
.alt-time-btn:hover {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}
.alt-time-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.alt-time-btn__time {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.2;
  white-space: nowrap;
}
.alt-time-btn__status {
  display: none;
}
.alt-time-btn__icon {
  display: none;
}
.alt-time-btn__count {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  margin-top: 2px;
  line-height: 1;
}
.alt-time-btn--good {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}
.alt-time-btn--good .alt-time-btn__count {
  color: #047857;
}
.alt-time-btn--good:hover {
  border-color: #059669;
  background: rgba(16, 185, 129, 0.1);
}
.alt-time-btn--limited {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}
.alt-time-btn--limited .alt-time-btn__count {
  color: #b45309;
  font-weight: 500;
}
.alt-time-btn--limited:hover {
  border-color: #d97706;
  background: rgba(245, 158, 11, 0.1);
}
.alt-time-btn--last {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.08);
}
.alt-time-btn--last .alt-time-btn__count {
  color: #b91c1c;
  font-weight: 700;
}
.alt-time-btn--last:hover {
  border-color: #dc2626;
  background: rgba(239, 68, 68, 0.15);
}
@media (prefers-reduced-motion: no-preference) {
  .alt-time-btn--last {
    animation: altBtnPulse 2s ease-in-out infinite;
  }
}
.alt-time-btn:focus-visible {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.15);
}
.alt-time-btn:active {
  transform: scale(0.98);
}
.alt-time-btn[aria-pressed=true], .alt-time-btn.selected {
  background: #2563eb;
  border-color: #2563eb;
}
.alt-time-btn[aria-pressed=true] .alt-time-btn__time,
.alt-time-btn[aria-pressed=true] .alt-time-btn__count, .alt-time-btn.selected .alt-time-btn__time,
.alt-time-btn.selected .alt-time-btn__count {
  color: #ffffff;
}

@keyframes altBtnPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
  }
}
/* Time Picker Slot Status Indicators - now using ::after in main .booking-slot-btn styles */
.booking-slot-btn:disabled, .booking-slot-btn[disabled], .booking-slot-btn[aria-disabled=true], .booking-slot-btn.booking-slot--disabled {
  opacity: 0.5;
  cursor: pointer;
}
.booking-slot-btn:disabled .booking-slot-time, .booking-slot-btn[disabled] .booking-slot-time, .booking-slot-btn[aria-disabled=true] .booking-slot-time, .booking-slot-btn.booking-slot--disabled .booking-slot-time {
  text-decoration: line-through;
}
.booking-slot-btn:disabled:hover, .booking-slot-btn[disabled]:hover, .booking-slot-btn[aria-disabled=true]:hover, .booking-slot-btn.booking-slot--disabled:hover {
  cursor: pointer;
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}

@keyframes pulseDot {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
/* Screen Reader Only - for live announcements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Next Available Date Suggestion */
.next-date-suggestion {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 0.5rem;
  margin-top: 0.75rem;
}
.next-date-suggestion__header {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.next-date-suggestion__icon {
  width: 1rem;
  height: 1rem;
  color: #2563eb;
  flex-shrink: 0;
  margin-top: 2px;
}
.next-date-suggestion__text {
  font-size: 0.875rem;
  color: var(--color-text-primary);
  line-height: 1.5;
}
.next-date-suggestion__text strong {
  color: #2563eb;
  font-weight: 600;
}
.next-date-suggestion__btn {
  align-self: flex-end;
  padding: 0.5rem 0.75rem;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease;
}
.next-date-suggestion__btn:hover {
  background: rgb(18.5714285714, 76.1428571429, 202.4285714286);
}
.next-date-suggestion__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .slot-unavailable,
  .alt-time-btn,
  .booking-slot-btn::after {
    animation: none;
    transition: none;
  }
  .alt-time-btn--last {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  }
  .booking-slot--last::after {
    transform: scale(1.2);
  }
}
/* Mobile Responsiveness */
@media (max-width: 480px) {
  .slot-unavailable {
    padding: 0.75rem;
    margin: 0.75rem 0;
  }
  .slot-unavailable__header {
    gap: 0.5rem;
  }
  .slot-unavailable__title {
    font-size: 0.875rem;
  }
  .slot-unavailable__alternatives {
    gap: 0.5rem;
  }
  .slot-unavailable__footer {
    padding: 0.75rem;
    margin-top: 0.5rem;
  }
  .slot-unavailable__waitlist {
    font-size: 0.75rem;
    padding: 0.5rem;
  }
  .alt-time-btn {
    min-width: 2.75rem;
    padding: 0.5rem;
  }
  .alt-time-btn__time {
    font-size: 0.75rem;
  }
  .alt-time-btn__count {
    font-size: 0.5625rem;
  }
  .next-date-suggestion {
    padding: 0.5rem;
  }
  .next-date-suggestion__text {
    font-size: 0.75rem;
  }
  .next-date-suggestion__btn {
    width: 100%;
    text-align: center;
  }
}
.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.contact-modal[hidden] {
  display: none;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.contact-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 28px 24px 24px;
  animation: contact-modal-pop 180ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.contact-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 120ms ease, color 120ms ease;
}
.contact-modal__close:hover, .contact-modal__close:focus-visible {
  background: #e2e8f0;
  color: #0f172a;
  outline: none;
}
.contact-modal__header {
  margin-bottom: 16px;
}
.contact-modal__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}
.contact-modal__badge i {
  font-size: 11px;
}
.contact-modal__title {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.25;
  color: #0f172a;
  font-weight: 700;
}
.contact-modal__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}
.contact-modal__meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.contact-modal__meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #cbd5e1;
}
.contact-modal__disclosure {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border-left: 3px solid #2563eb;
  border-radius: 8px;
  color: #334155;
  font-size: 14px;
  line-height: 1.55;
}
.contact-modal__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 24px;
}
.contact-modal__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 120ms ease, transform 80ms ease, border-color 120ms ease;
}
.contact-modal__action i {
  font-size: 15px;
  color: #2563eb;
}
.contact-modal__action:hover, .contact-modal__action:focus-visible {
  background: #e2e8f0;
  outline: none;
  transform: translateY(-1px);
}
.contact-modal__action--primary {
  background: #2563eb;
  color: #fff;
}
.contact-modal__action--primary i {
  color: #fff;
}
.contact-modal__action--primary:hover, .contact-modal__action--primary:focus-visible {
  background: #1d4ed8;
  border-color: transparent;
}
.contact-modal__action[hidden] {
  display: none;
}
.contact-modal__notify {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}
.contact-modal__notify-title {
  margin: 0 0 4px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}
.contact-modal__notify-sub {
  margin: 0 0 14px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}
.contact-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-modal__field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
}
.contact-modal__field input {
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  color: #0f172a;
  font-weight: 400;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.contact-modal__field input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.contact-modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #475569;
  line-height: 1.5;
  cursor: pointer;
}
.contact-modal__consent input[type=checkbox] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
  flex-shrink: 0;
}
.contact-modal__submit {
  margin-top: 4px;
  padding: 12px 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 120ms ease, transform 80ms ease;
}
.contact-modal__submit:hover:not(:disabled), .contact-modal__submit:focus-visible:not(:disabled) {
  background: #1d4ed8;
  outline: none;
  transform: translateY(-1px);
}
.contact-modal__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.contact-modal__form-msg {
  margin: 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
}
.contact-modal__form-msg.is-success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.contact-modal__form-msg.is-info {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.contact-modal__form-msg.is-error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

@keyframes contact-modal-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
body.contact-modal-open {
  overflow: hidden;
}

@media (min-width: 480px) {
  .contact-modal__actions {
    grid-template-columns: 1fr 1fr;
  }
  .contact-modal__action--primary {
    grid-column: 1/-1;
  }
}
.phone-prompt {
  position: fixed;
  inset: 0;
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.phone-prompt[hidden] {
  display: none;
}
.phone-prompt__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}
.phone-prompt__dialog {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  padding: 28px 24px 24px;
  text-align: center;
  animation: contact-modal-pop 180ms cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.phone-prompt__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 120ms ease, color 120ms ease;
}
.phone-prompt__close:hover, .phone-prompt__close:focus-visible {
  background: #e2e8f0;
  color: #0f172a;
  outline: none;
}
.phone-prompt__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: #eff6ff;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.phone-prompt__title {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 700;
}
.phone-prompt__number {
  display: block;
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #0f172a;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  user-select: all;
  word-break: break-all;
}
.phone-prompt__number:hover, .phone-prompt__number:focus-visible {
  border-color: #2563eb;
  outline: none;
}
.phone-prompt__copy {
  width: 100%;
  padding: 12px 16px;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 120ms ease, transform 80ms ease;
}
.phone-prompt__copy i {
  font-size: 14px;
}
.phone-prompt__copy:hover, .phone-prompt__copy:focus-visible {
  background: #1d4ed8;
  outline: none;
  transform: translateY(-1px);
}
.phone-prompt__copy.is-copied {
  background: #059669;
}
.phone-prompt__copy.is-copied:hover, .phone-prompt__copy.is-copied:focus-visible {
  background: #047857;
}

.three-ways-section {
  padding: 5rem 1rem;
  background: #fafafa;
}
.three-ways-section .section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.three-ways-section .section-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  color: #6253D8;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.three-ways-section .section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #000;
  margin: 0 0 1rem;
  text-align: center;
  text-wrap: balance;
}
.three-ways-section .section-subtitle {
  font-size: 1.125rem;
  color: #555;
  line-height: 1.6;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  max-width: 640px;
}

.three-ways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.three-ways-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
}
.three-ways-card__media {
  display: block;
  width: 100%;
  height: 220px;
}
.three-ways-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.three-ways-card__body {
  padding: 1.75rem;
}
.three-ways-card__title {
  font-size: 1.375rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.three-ways-card__description {
  color: #555;
  line-height: 1.6;
  margin: 0;
}
.three-ways-card--book .three-ways-card__icon {
  color: #6253D8;
}
.three-ways-card--takeout .three-ways-card__icon {
  color: #F49609;
}
.three-ways-card--delivery .three-ways-card__icon {
  color: #28a745;
}

/* Restaurant Card Components */
/* Compact, elegant cards optimized for scanning and quick decisions */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
  align-items: stretch;
}

.restaurant-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
  transition: all var(--duration-normal) ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.restaurant-card:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.15);
}

/* ===================================
   TABLEFLOW PARTNER CARDS (Clients)
   =================================== */
.restaurant-card.tableflow-partner {
  border: 2px solid var(--color-primary-600);
  /* Real-Time Availability Badge */
  /* Live update animation - flash when availability changes */
  /* Table count change animations */
  /* Availability Timeline Ribbon */
  /* ===================================
     TIME SLOTS COMPONENT (OpenTable-style improved)
     - Real-time availability
     - Accessible: Color + Icon + Text
     - Touch-friendly: 44px min targets
     =================================== */
  /* Reduced motion support */
  /* Write Review button - text link style, no border */
}
.restaurant-card.tableflow-partner:hover {
  border-color: var(--color-primary-700);
  box-shadow: 0 0.5rem 1.5rem rgba(98, 83, 216, 0.2);
}
.restaurant-card.tableflow-partner .partner-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600));
  color: var(--color-background);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
}
.restaurant-card.tableflow-partner .partner-badge i {
  font-size: 0.625rem;
}
.restaurant-card.tableflow-partner .availability-overlay {
  position: absolute;
  bottom: var(--space-2);
  right: var(--space-2);
  background: rgba(76, 175, 80, 0.95);
  backdrop-filter: blur(0.25rem);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-background);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.restaurant-card.tableflow-partner .availability-overlay .pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  background: var(--color-background);
  border-radius: var(--radius-full);
  animation: pulse 2s ease-in-out infinite;
}
.restaurant-card.tableflow-partner .availability-badge {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-lg);
  font-size: 0.8125rem;
  font-weight: 600;
  width: 100%;
  margin: 0.25rem 0 0.5rem;
  transition: all 0.3s ease;
  /* Loading state */
  /* Plenty of tables available */
  /* Limited availability */
  /* Last table - urgent */
  /* No availability */
  /* Restaurant is closed */
  /* Restaurant closing soon */
  /* Setup in progress - no tables configured yet */
  /* Opening soon - new restaurant coming soon */
  /* Live indicator - shows real-time data */
}
.restaurant-card.tableflow-partner .availability-badge i {
  font-size: 0.875rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}
.restaurant-card.tableflow-partner .availability-badge__content {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  line-height: 1.3;
}
.restaurant-card.tableflow-partner .availability-badge__main {
  font-weight: 600;
  white-space: nowrap;
}
.restaurant-card.tableflow-partner .availability-badge__sub {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.9;
  white-space: nowrap;
}
.restaurant-card.tableflow-partner .availability-badge__next {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.85;
}
.restaurant-card.tableflow-partner .availability-badge--loading {
  background: var(--color-neutral-100);
  color: var(--color-text-muted);
  border: 1px dashed var(--color-neutral-300);
  align-items: center;
}
.restaurant-card.tableflow-partner .availability-badge--loading i {
  color: var(--color-primary-600);
  margin-top: 0;
}
.restaurant-card.tableflow-partner .availability-badge--plenty {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.15));
  color: #15803d;
  border: 1px solid rgba(34, 197, 94, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--plenty i {
  color: #22c55e;
}
.restaurant-card.tableflow-partner .availability-badge--limited {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--limited i {
  color: #f59e0b;
}
.restaurant-card.tableflow-partner .availability-badge--last {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(220, 38, 38, 0.15));
  color: #b91c1c;
  border: 1px solid rgba(239, 68, 68, 0.3);
  animation: urgencyPulse 2s ease-in-out infinite;
}
.restaurant-card.tableflow-partner .availability-badge--last i {
  color: #ef4444;
}
.restaurant-card.tableflow-partner .availability-badge--none {
  background: var(--color-neutral-100);
  color: var(--color-text-muted);
  border: 1px solid var(--color-neutral-200);
}
.restaurant-card.tableflow-partner .availability-badge--none i {
  color: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .availability-badge--closed {
  background: linear-gradient(135deg, rgba(107, 114, 128, 0.1), rgba(75, 85, 99, 0.15));
  color: #4b5563;
  border: 1px solid rgba(107, 114, 128, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--closed i {
  color: #6b7280;
}
.restaurant-card.tableflow-partner .availability-badge--closing {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(217, 119, 6, 0.15));
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--closing i {
  color: #f59e0b;
}
.restaurant-card.tableflow-partner .availability-badge--setup {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(79, 70, 229, 0.15));
  color: #4338ca;
  border: 1px solid rgba(99, 102, 241, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--setup i {
  color: #6366f1;
}
.restaurant-card.tableflow-partner .availability-badge--opening-soon {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(139, 92, 246, 0.15));
  color: #7c3aed;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.restaurant-card.tableflow-partner .availability-badge--opening-soon i {
  color: #a855f7;
}
.restaurant-card.tableflow-partner .availability-badge__live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
  margin-left: auto;
  padding-left: 0.5rem;
}
.restaurant-card.tableflow-partner .availability-badge__live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #10b981;
  animation: livePulse 2s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0);
  }
}
.restaurant-card.tableflow-partner.availability-updating .availability-badge {
  animation: availabilityFlash 0.5s ease-out;
}
@keyframes availabilityFlash {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
  }
  50% {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.3);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.restaurant-card.tableflow-partner .availability-badge.count-increased {
  animation: countIncrease 0.5s ease-out;
}
.restaurant-card.tableflow-partner .availability-badge.count-decreased {
  animation: countDecrease 0.5s ease-out;
}
@keyframes countIncrease {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
@keyframes countDecrease {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.5);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.2);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}
.restaurant-card.tableflow-partner .availability-timeline {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Status colors */
}
.restaurant-card.tableflow-partner .availability-timeline::-webkit-scrollbar {
  display: none;
}
.restaurant-card.tableflow-partner .availability-timeline__slot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  padding: 0.25rem 0.375rem;
  border-radius: 0.25rem;
  min-width: 3rem;
  transition: transform 0.15s ease;
}
.restaurant-card.tableflow-partner .availability-timeline__slot:hover {
  transform: scale(1.05);
}
.restaurant-card.tableflow-partner .availability-timeline__time {
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.restaurant-card.tableflow-partner .availability-timeline__bar {
  width: 100%;
  height: 0.375rem;
  border-radius: 0.125rem;
  background: var(--color-neutral-200);
}
.restaurant-card.tableflow-partner .availability-timeline__fill {
  height: 100%;
  border-radius: 0.125rem;
  transition: width 0.3s ease;
}
.restaurant-card.tableflow-partner .availability-timeline__count {
  font-size: 0.5rem;
  color: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .availability-timeline__slot--full .availability-timeline__fill {
  width: 0%;
  background: #ef4444;
}
.restaurant-card.tableflow-partner .availability-timeline__slot--full .availability-timeline__bar {
  background: rgba(239, 68, 68, 0.2);
}
.restaurant-card.tableflow-partner .availability-timeline__slot--limited .availability-timeline__fill {
  width: 25%;
  background: #f59e0b;
}
.restaurant-card.tableflow-partner .availability-timeline__slot--good .availability-timeline__fill {
  width: 60%;
  background: #22c55e;
}
.restaurant-card.tableflow-partner .availability-timeline__slot--best .availability-timeline__fill {
  width: 100%;
  background: linear-gradient(90deg, #22c55e, #10b981);
}
@keyframes urgencyPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
  }
}
.restaurant-card.tableflow-partner .card-time-slots {
  width: 100%;
  margin: 0.5rem 0;
  /* Availability States */
  /* More button */
  /* Loading state */
  /* Social proof - viewers count */
  /* Closed state */
  /* Message component (for closed, setup, fully booked states) */
  /* Check availability button variant */
}
.restaurant-card.tableflow-partner .card-time-slots__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}
.restaurant-card.tableflow-partner .card-time-slots__label {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.restaurant-card.tableflow-partner .card-time-slots__label i {
  color: var(--color-primary-600);
}
.restaurant-card.tableflow-partner .card-time-slots__live {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #10b981;
}
.restaurant-card.tableflow-partner .card-time-slots__live-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background: #10b981;
  animation: livePulse 2s ease-in-out infinite;
}
.restaurant-card.tableflow-partner .card-time-slots__grid {
  display: flex;
  gap: 0.375rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.25rem;
}
.restaurant-card.tableflow-partner .card-time-slots__grid::-webkit-scrollbar {
  display: none;
}
.restaurant-card.tableflow-partner .card-time-slots__slot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2.75rem;
  padding: 0.375rem 0.625rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-background);
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  position: relative;
}
.restaurant-card.tableflow-partner .card-time-slots__slot:hover:not(:disabled):not(.card-time-slots__slot--full) {
  border-color: var(--color-primary-600);
  background: rgba(102, 126, 234, 0.05);
  transform: translateY(-1px);
}
.restaurant-card.tableflow-partner .card-time-slots__slot:focus-visible {
  outline: 3px solid var(--color-primary-600);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(102, 126, 234, 0.15);
}
.restaurant-card.tableflow-partner .card-time-slots__slot:active:not(:disabled):not(.card-time-slots__slot--full) {
  transform: scale(0.98);
}
.restaurant-card.tableflow-partner .card-time-slots__time {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  line-height: 1.2;
}
.restaurant-card.tableflow-partner .card-time-slots__status {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.625rem;
  font-weight: 500;
  margin-top: 0.125rem;
}
.restaurant-card.tableflow-partner .card-time-slots__dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.restaurant-card.tableflow-partner .card-time-slots__count {
  white-space: nowrap;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--plenty {
  border-color: rgba(34, 197, 94, 0.4);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--plenty .card-time-slots__dot {
  background: #22c55e;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--plenty .card-time-slots__count {
  color: #15803d;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--plenty:hover:not(:disabled) {
  border-color: #22c55e;
  background: rgba(34, 197, 94, 0.08);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--limited {
  border-color: rgba(245, 158, 11, 0.5);
  background: rgba(245, 158, 11, 0.05);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--limited .card-time-slots__dot {
  background: #f59e0b;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--limited .card-time-slots__count {
  color: #b45309;
  font-weight: 600;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--limited:hover:not(:disabled) {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--last {
  border-color: rgba(239, 68, 68, 0.5);
  background: rgba(239, 68, 68, 0.05);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--last .card-time-slots__dot {
  background: #ef4444;
  animation: slotPulse 1.5s ease-in-out infinite;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--last .card-time-slots__count {
  color: #b91c1c;
  font-weight: 700;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--last:hover:not(:disabled) {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--full {
  opacity: 0.5;
  cursor: not-allowed;
  background: var(--color-neutral-50);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--full .card-time-slots__time {
  text-decoration: line-through;
  color: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--full .card-time-slots__dot {
  background: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--full .card-time-slots__count {
  color: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .card-time-slots__more {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.5rem;
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}
.restaurant-card.tableflow-partner .card-time-slots__more i {
  font-size: 0.875rem;
}
.restaurant-card.tableflow-partner .card-time-slots__more:hover {
  border-color: var(--color-primary-600);
  color: var(--color-primary-600);
  background: rgba(102, 126, 234, 0.05);
}
.restaurant-card.tableflow-partner .card-time-slots__more:focus-visible {
  outline: 3px solid var(--color-primary-600);
  outline-offset: 2px;
}
.restaurant-card.tableflow-partner .card-time-slots--loading .card-time-slots__grid {
  gap: 0.5rem;
}
.restaurant-card.tableflow-partner .card-time-slots--loading .card-time-slots__slot {
  background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 50%, var(--color-neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-color: transparent;
  min-width: 4rem;
}
.restaurant-card.tableflow-partner .card-time-slots__viewers {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.6875rem;
  color: var(--color-text-secondary);
}
.restaurant-card.tableflow-partner .card-time-slots__viewers i {
  color: var(--color-primary-600);
}
.restaurant-card.tableflow-partner .card-time-slots__viewers--active {
  color: #b45309;
}
.restaurant-card.tableflow-partner .card-time-slots__viewers--active i {
  color: #f59e0b;
}
.restaurant-card.tableflow-partner .card-time-slots--closed .card-time-slots__label {
  color: var(--color-text-muted);
}
.restaurant-card.tableflow-partner .card-time-slots--closed .card-time-slots__grid {
  opacity: 0.6;
}
.restaurant-card.tableflow-partner .card-time-slots--closed .card-time-slots__slot {
  cursor: default;
}
.restaurant-card.tableflow-partner .card-time-slots--closed .card-time-slots__slot:hover {
  transform: none;
  border-color: var(--color-border);
  background: var(--color-background);
}
.restaurant-card.tableflow-partner .card-time-slots__message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-neutral-50);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  width: 100%;
}
.restaurant-card.tableflow-partner .card-time-slots__message i {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  flex-shrink: 0;
}
.restaurant-card.tableflow-partner .card-time-slots__message--full {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
}
.restaurant-card.tableflow-partner .card-time-slots__message--full i {
  color: #ef4444;
}
.restaurant-card.tableflow-partner .card-time-slots__message--closed {
  background: rgba(107, 114, 128, 0.12);
  color: #4b5563;
}
.restaurant-card.tableflow-partner .card-time-slots__message--closed i {
  color: #6b7280;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--check {
  border-style: dashed;
  background: transparent;
  min-width: 100%;
}
.restaurant-card.tableflow-partner .card-time-slots__slot--check .card-time-slots__time {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-primary-600);
}
.restaurant-card.tableflow-partner .card-time-slots__slot--check:hover {
  background: rgba(102, 126, 234, 0.05);
  border-color: var(--color-primary-600);
}
@keyframes slotPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }
}
@media (prefers-reduced-motion: reduce) {
  .restaurant-card.tableflow-partner .card-time-slots__slot,
  .restaurant-card.tableflow-partner .card-time-slots__dot,
  .restaurant-card.tableflow-partner .card-time-slots__live-dot {
    animation: none !important;
    transition: none !important;
  }
}
.restaurant-card.tableflow-partner .btn-book-now {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600)) !important;
  color: var(--color-background) !important;
  border: none !important;
  padding: 0.75rem var(--space-4) !important;
  border-radius: var(--radius-md) !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all var(--duration-fast) ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin-top: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* Waitlist variant - amber/orange color */
  /* Opening Soon variant - violet/purple, disabled state */
  /* General disabled state */
}
.restaurant-card.tableflow-partner .btn-book-now i {
  font-size: 0.9375rem;
}
.restaurant-card.tableflow-partner .btn-book-now:hover:not(:disabled) {
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.3);
}
.restaurant-card.tableflow-partner .btn-book-now:active:not(:disabled) {
  transform: translateY(0);
}
.restaurant-card.tableflow-partner .btn-book-now--waitlist {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
}
.restaurant-card.tableflow-partner .btn-book-now--waitlist:hover:not(:disabled) {
  box-shadow: 0 0.25rem 0.75rem rgba(245, 158, 11, 0.3);
}
.restaurant-card.tableflow-partner .btn-book-now--opening-soon {
  background: linear-gradient(135deg, #a855f7, #8b5cf6) !important;
  cursor: not-allowed !important;
  opacity: 0.85 !important;
}
.restaurant-card.tableflow-partner .btn-book-now--opening-soon:hover {
  transform: none !important;
  box-shadow: none !important;
}
.restaurant-card.tableflow-partner .btn-book-now:disabled {
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}
.restaurant-card.tableflow-partner .btn-book-now:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}
.restaurant-card.tableflow-partner .btn-write-review {
  width: auto;
  padding: 0;
  background: transparent !important;
  border: none !important;
  color: var(--color-accent-orange, #f59e0b) !important;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  line-height: 1;
}
.restaurant-card.tableflow-partner .btn-write-review i {
  font-size: 0.75rem;
  transition: color var(--duration-fast) ease;
}
.restaurant-card.tableflow-partner .btn-write-review:hover {
  background: transparent !important;
  color: #d97706 !important; /* Darker orange on hover */
}
.restaurant-card.tableflow-partner .btn-write-review:hover i {
  color: #d97706 !important;
}

/* ===================================
   STANDARD LISTING CARDS
   =================================== */
.restaurant-card.standard-listing {
  border: 1px solid var(--color-border);
  /* Write Review button - text link style, no border */
}
.restaurant-card.standard-listing .listing-badge {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(0.25rem);
  color: var(--color-background);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-md);
  font-size: 0.625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 10;
}
.restaurant-card.standard-listing .listing-badge i {
  font-size: 0.625rem;
}
.restaurant-card.standard-listing .availability-note {
  display: none;
}
.restaurant-card.standard-listing .btn-send-request,
.restaurant-card.standard-listing .btn-contact-restaurant {
  background: transparent;
  color: var(--color-primary-600) !important;
  border: 2px solid var(--color-primary-600);
  padding: 0.5rem 1.25rem;
  border-radius: 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  min-height: 40px;
}
.restaurant-card.standard-listing .btn-send-request i,
.restaurant-card.standard-listing .btn-contact-restaurant i {
  font-size: 0.875rem;
  color: var(--color-primary-600) !important;
  transition: transform 0.2s ease;
}
.restaurant-card.standard-listing .btn-send-request:hover:not(:disabled),
.restaurant-card.standard-listing .btn-contact-restaurant:hover:not(:disabled) {
  border-color: var(--color-primary-700);
  color: var(--color-primary-700) !important;
}
.restaurant-card.standard-listing .btn-send-request:hover:not(:disabled) i,
.restaurant-card.standard-listing .btn-contact-restaurant:hover:not(:disabled) i {
  color: var(--color-primary-700) !important;
  transform: translateX(0.125rem);
}
.restaurant-card.standard-listing .btn-send-request:active:not(:disabled),
.restaurant-card.standard-listing .btn-contact-restaurant:active:not(:disabled) {
  transform: scale(0.98);
}
.restaurant-card.standard-listing .request-note {
  display: none;
}
.restaurant-card.standard-listing .btn-write-review {
  background: transparent !important;
  border: none !important;
  color: var(--color-accent-orange, #f59e0b) !important;
}
.restaurant-card.standard-listing .btn-write-review i {
  color: var(--color-accent-orange, #f59e0b) !important;
}
.restaurant-card.standard-listing .btn-write-review:hover {
  background: transparent !important;
  color: #d97706 !important; /* Darker orange on hover */
}
.restaurant-card.standard-listing .btn-write-review:hover i {
  color: #d97706 !important;
}

/* ===================================
   SHARED CARD ELEMENTS
   =================================== */
.card-image-wrapper {
  position: relative;
  width: 100%;
  height: 12rem;
  overflow: hidden;
  background: var(--color-neutral-100);
}
.card-image-wrapper .restaurant-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-normal) ease;
}
.card-image-wrapper:hover .restaurant-image {
  transform: scale(1.05);
}

.restaurant-content {
  padding: 0.75rem 0.875rem 0.625rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
}

/* Card bottom section — always at bottom edge, consistent across all cards */
.card-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  margin-top: auto;
  padding-top: 0.5rem;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  text-align: center;
}
.card-header .restaurant-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-header .restaurant-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-size: 0.875rem;
}
.card-header .restaurant-rating .stars {
  display: flex;
  gap: 0.0625rem;
  color: #F4C430;
}
.card-header .restaurant-rating .stars i {
  font-size: 0.875rem;
}
.card-header .restaurant-rating .rating-number {
  font-weight: 600;
  color: var(--color-text-primary);
}
.card-header .restaurant-rating .review-count {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.card-header .review-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}
.card-header .review-sources .review-source {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-md);
  background: var(--color-neutral-50);
  color: var(--color-text-secondary);
  font-weight: 500;
}
.card-header .review-sources .review-source i {
  font-size: 0.7rem;
}
.card-header .review-sources .review-source.google i {
  color: #4285F4;
}
.card-header .review-sources .review-source.tableflow {
  background: var(--color-primary-50);
  color: var(--color-primary-700);
}
.card-header .review-sources .review-source.tableflow i {
  color: var(--color-primary-600);
}

.restaurant-meta {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.restaurant-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.restaurant-meta span i {
  color: var(--color-primary-600);
  width: 0.875rem;
  font-size: 0.75rem;
}

.restaurant-location {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text-primary);
  margin: var(--space-2) 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}
.restaurant-location i {
  color: var(--color-primary-600);
  font-size: 1rem;
}

.restaurant-description {
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  text-align: center;
  max-height: 2.3em; /* Strict 2-line cap: 2 * 1.4 line-height * 0.8125rem */
  flex-shrink: 0;
}

/* Write Review — consistent across ALL card types */
.restaurant-card .card-bottom .btn-write-review {
  font-size: 0.8125rem !important;
  padding: 0.25rem 0 !important;
  margin-top: 0.375rem !important;
  width: auto !important;
  border: none !important;
  background: transparent !important;
}

.restaurant-card .card-bottom .btn-write-review i {
  font-size: 0.8125rem !important;
}

/* SEO Keywords Tags */
.restaurant-keywords {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.375rem;
  width: 100%;
  margin: 0.25rem 0;
}
.restaurant-keywords .keyword-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background: var(--color-primary-50);
  color: var(--color-primary-700);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  transition: all var(--duration-fast) ease;
}
.restaurant-keywords .keyword-tag:hover {
  background: var(--color-primary-100);
  color: var(--color-primary-800);
}

@media (prefers-color-scheme: dark) {
  .restaurant-keywords .keyword-tag {
    background: rgba(102, 126, 234, 0.15);
    color: #a5b4fc;
  }
  .restaurant-keywords .keyword-tag:hover {
    background: rgba(102, 126, 234, 0.25);
    color: #c7d2fe;
  }
}
.contact-info {
  display: none;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}
/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1024px) {
  .restaurants-grid {
    grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr));
    gap: var(--space-6);
  }
}
@media (max-width: 768px) {
  .restaurants-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
  .card-image-wrapper {
    height: 12rem;
  }
  .restaurant-content {
    padding: var(--space-5);
  }
  .card-header .restaurant-name {
    font-size: var(--font-size-lg);
  }
  .contact-info {
    flex-direction: column;
    gap: var(--space-2);
  }
}
/* ===================================
   LOADING STATES
   =================================== */
.restaurant-card-skeleton {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.restaurant-card-skeleton .skeleton-image {
  width: 100%;
  height: 15rem;
  background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 50%, var(--color-neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}
.restaurant-card-skeleton .skeleton-content {
  padding: var(--space-6);
}
.restaurant-card-skeleton .skeleton-content .skeleton-line {
  height: 1rem;
  background: linear-gradient(90deg, var(--color-neutral-100) 25%, var(--color-neutral-200) 50%, var(--color-neutral-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-3);
}
.restaurant-card-skeleton .skeleton-content .skeleton-line.w-75 {
  width: 75%;
}
.restaurant-card-skeleton .skeleton-content .skeleton-line.w-50 {
  width: 50%;
}
.restaurant-card-skeleton .skeleton-content .skeleton-line.w-100 {
  width: 100%;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* ===================================
   EMPTY STATES
   =================================== */
.no-results,
.error-message {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16) var(--space-8);
  text-align: center;
}
.no-results i,
.error-message i {
  font-size: 4rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
}
.no-results h3,
.error-message h3 {
  font-size: var(--font-size-2xl);
  color: var(--color-text-primary);
  margin: 0 0 var(--space-3) 0;
}
.no-results p,
.error-message p {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  max-width: 30rem;
  margin: 0 0 var(--space-6) 0;
}
.no-results .btn-retry,
.error-message .btn-retry {
  background: var(--color-primary-600);
  color: var(--color-background);
  border: none;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.no-results .btn-retry:hover,
.error-message .btn-retry:hover {
  background: var(--color-primary-700);
  transform: translateY(-0.125rem);
}

/* ===================================
   LOAD MORE SECTION - Best Practices
   =================================== */
.load-more-container {
  text-align: center;
  padding: var(--space-8) 0;
  max-width: 32rem;
  margin: 0 auto;
}

.results-progress {
  font-size: var(--font-size-base);
  color: #6B7280;
  margin-bottom: var(--space-4);
}
.results-progress strong {
  color: #111827;
  font-weight: var(--font-weight-semibold);
}

@media (prefers-color-scheme: dark) {
  .results-progress {
    color: #D1D5DB;
  }
  .results-progress strong {
    color: #F9FAFB;
  }
}
.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: var(--color-background);
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  transition: all var(--duration-normal) ease;
  box-shadow: 0 0.25rem 0.75rem rgba(102, 126, 234, 0.25);
  min-height: 2.75rem;
}
.btn-load-more:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(102, 126, 234, 0.3);
}
.btn-load-more:active {
  transform: translateY(0);
}
.btn-load-more:focus {
  outline: none;
  box-shadow: 0 0 0 0.1875rem rgba(102, 126, 234, 0.2), 0 0.25rem 0.75rem rgba(102, 126, 234, 0.25);
}
.btn-load-more i {
  font-size: var(--font-size-sm);
  transition: transform var(--duration-fast) ease;
}
.btn-load-more:hover i {
  transform: translateY(0.125rem);
}

.loading-more,
.all-loaded {
  text-align: center;
  padding: var(--space-6);
  font-size: var(--font-size-base);
  color: #6B7280;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
}
.loading-more i,
.all-loaded i {
  font-size: var(--font-size-lg);
  color: #667eea;
}
.loading-more span,
.all-loaded span {
  color: #6B7280;
}

@media (prefers-color-scheme: dark) {
  .loading-more,
  .all-loaded {
    color: #D1D5DB;
  }
  .loading-more span,
  .all-loaded span {
    color: #D1D5DB;
  }
}
.loading-more i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ===================================
   RESTAURANT ACTIONS (Landing Page)
   =================================== */
.restaurant-actions {
  margin-top: var(--space-4);
  width: 100%;
}

.btn-view-restaurant {
  width: 100%;
  padding: var(--space-3) var(--space-6);
  background: var(--color-accent, #ffd700);
  color: var(--color-text-primary);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-normal) ease;
}
.btn-view-restaurant:hover {
  background: var(--color-accent-hover, #e6c200);
  transform: translateY(-0.125rem);
}
.btn-view-restaurant:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: 2px;
}

/* Restaurant Reviews Component */
/* Clean, accessible reviews display for marketplace restaurants */
.reviews-container {
  max-width: 50rem;
  margin: var(--space-8) auto;
  padding: 0 var(--space-4);
}

/* ===================================
   REVIEW SUMMARY
   =================================== */
.review-summary {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}
.review-summary .overall-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
}
.review-summary .overall-rating .rating-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-text-primary);
  line-height: 1;
}
.review-summary .overall-rating .stars {
  display: flex;
  gap: 0.125rem;
  color: #F4C430;
  font-size: 1.25rem;
}
.review-summary .overall-rating .review-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}
.review-summary .category-ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(6rem, 1fr));
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.review-summary .category-ratings .category-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}
.review-summary .category-ratings .category-rating .label {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.review-summary .category-ratings .category-rating .rating {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary-600);
}
.review-summary .btn-write-review {
  width: 100%;
  background: var(--color-primary-600);
  color: var(--color-background);
  border: none;
  padding: 0.75rem var(--space-4);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.review-summary .btn-write-review i {
  font-size: 0.875rem;
}
.review-summary .btn-write-review:hover {
  background: var(--color-primary-700);
  transform: translateY(-0.0625rem);
  box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.3);
}
.review-summary .btn-write-review:active {
  transform: translateY(0);
}

/* ===================================
   REVIEW CARDS
   =================================== */
.review-card {
  background: var(--color-background);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
  gap: var(--space-4);
}
.review-header .reviewer-info {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}
.review-header .reviewer-info .avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  background: var(--color-primary-600);
  color: var(--color-background);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  flex-shrink: 0;
}
.review-header .reviewer-info .reviewer-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 0.25rem 0;
}
.review-header .reviewer-info .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #4CAF50;
  font-weight: 500;
}
.review-header .reviewer-info .verified-badge i {
  font-size: 0.75rem;
}
.review-header .review-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.review-header .review-meta .stars {
  display: flex;
  gap: 0.0625rem;
  color: #F4C430;
  font-size: 1rem;
}
.review-header .review-meta .review-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.review-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-3) 0;
}

.review-content {
  font-size: 0.9375rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-4);
}
.review-content p {
  margin: 0;
}

.dining-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-4);
}
.dining-details span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.dining-details span i {
  color: var(--color-primary-600);
  font-size: 0.75rem;
}

.detailed-ratings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-4);
}
.detailed-ratings .rating-badge {
  background: var(--color-neutral-100);
  color: var(--color-text-secondary);
  padding: 0.375rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
}

.review-footer {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-4);
}
.review-footer .helpful-votes {
  display: flex;
  gap: var(--space-3);
}
.review-footer .helpful-votes .btn-vote {
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
  padding: 0.5rem 0.875rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.review-footer .helpful-votes .btn-vote i {
  font-size: 0.75rem;
}
.review-footer .helpful-votes .btn-vote:hover {
  background: var(--color-neutral-100);
  border-color: var(--color-primary-600);
  color: var(--color-primary-600);
}
.review-footer .helpful-votes .btn-vote:active {
  transform: scale(0.98);
}

.restaurant-response {
  background: var(--color-neutral-50);
  border-left: 3px solid var(--color-primary-600);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}
.restaurant-response h5 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.restaurant-response h5 i {
  color: var(--color-primary-600);
  font-size: 0.875rem;
}
.restaurant-response p {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0 0 var(--space-2) 0;
}
.restaurant-response time {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* ===================================
   EMPTY & ERROR STATES
   =================================== */
.no-reviews,
.error-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-12) var(--space-8);
  text-align: center;
  background: var(--color-background);
  border-radius: var(--radius-lg);
}
.no-reviews i,
.error-message i {
  font-size: 3rem;
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.no-reviews h3,
.error-message h3 {
  font-size: 1.5rem;
  color: var(--color-text-primary);
  margin: 0 0 var(--space-2) 0;
}
.no-reviews p,
.error-message p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 25rem;
  margin: 0 0 var(--space-5) 0;
}
.no-reviews .btn-retry,
.error-message .btn-retry {
  background: var(--color-primary-600);
  color: var(--color-background);
  border: none;
  padding: 0.75rem var(--space-5);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.no-reviews .btn-retry:hover,
.error-message .btn-retry:hover {
  background: var(--color-primary-700);
  transform: translateY(-0.0625rem);
}

/* ===================================
   LOAD MORE BUTTON
   =================================== */
.btn-load-more {
  background: transparent;
  border: 2px solid var(--color-primary-600);
  color: var(--color-primary-600);
  padding: 0.75rem var(--space-6);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: block;
  width: 100%;
  margin-top: var(--space-4);
}
.btn-load-more:hover {
  background: var(--color-primary-600);
  color: var(--color-background);
  transform: translateY(-0.0625rem);
}
.btn-load-more:active {
  transform: translateY(0);
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
  .reviews-container {
    padding: 0 var(--space-3);
  }
  .review-card {
    padding: var(--space-4);
  }
  .review-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .review-header .review-meta {
    align-items: flex-start;
    width: 100%;
  }
  .review-summary {
    padding: var(--space-5);
  }
  .review-summary .category-ratings {
    grid-template-columns: repeat(2, 1fr);
  }
  .helpful-votes {
    flex-direction: column;
  }
  .helpful-votes .btn-vote {
    width: 100%;
    justify-content: center;
  }
}
/**
 * Review Modal Styles
 * Matches reservation modal design system
 */
.review-modal {
  --color-border: #cbd5e1;
  --color-background: #ffffff;
  --color-text-primary: #1e293b;
  --color-primary-600: #2563eb;
  --radius-lg: 0.5rem;
  --radius-md: 0.5rem;
  --duration-fast: 0.2s;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.review-modal.active {
  opacity: 1;
  visibility: visible;
}
.review-modal.active .review-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.review-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.review-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
@media (max-width: 768px) {
  .review-modal-content {
    border-radius: 1rem 1rem 0 0;
    max-height: 95vh;
  }
}

.review-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  transition: all 0.2s ease;
  z-index: 1;
}
.review-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.review-modal-header {
  background: linear-gradient(135deg, #2563eb, #64748b);
  color: #ffffff;
  padding: 2.5rem 2rem 2rem;
  border-radius: 1rem 1rem 0 0;
  text-align: center;
}
.review-modal-header i {
  font-size: 48px;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.review-modal-header h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.875rem;
  font-weight: 700;
  color: #ffffff;
}
.review-modal-header .restaurant-name {
  margin: 0;
  font-size: 1.125rem;
  color: #ffffff !important;
  font-weight: 400;
}
.review-modal-header p {
  color: #ffffff;
}
@media (max-width: 768px) {
  .review-modal-header {
    padding: 2rem 1.25rem 1.25rem;
  }
  .review-modal-header h2 {
    font-size: 1.5rem;
  }
}

.review-form {
  padding: 2rem;
}
.review-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.review-form .form-row:has(.form-field:only-child) {
  grid-template-columns: 1fr;
}
@media (max-width: 768px) {
  .review-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.review-form .form-field {
  display: flex;
  flex-direction: column;
}
.review-form .form-field label {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.review-form .form-field label i {
  color: #2563eb;
  width: 16px;
}
.review-form .form-field label .required {
  color: #f59e0b;
}
.review-form .form-field input,
.review-form .form-field textarea,
.review-form .form-field select {
  padding: 0.75rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #ffffff;
  color: #1e293b;
}
.review-form .form-field input::placeholder,
.review-form .form-field textarea::placeholder,
.review-form .form-field select::placeholder {
  color: #94a3b8;
}
.review-form .form-field input:focus,
.review-form .form-field textarea:focus,
.review-form .form-field select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}
.review-form .form-field textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}
.review-form .form-field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.review-form .custom-dropdown .dropdown-trigger {
  padding: 0.75rem 1rem !important;
  border: 2px solid #cbd5e1 !important;
  border-radius: 0.5rem !important;
  font-size: 1rem !important;
  background: #ffffff !important;
}
.review-form .custom-dropdown .dropdown-trigger:hover {
  border-color: #94a3b8 !important;
}
.review-form .custom-dropdown .dropdown-trigger:focus, .review-form .custom-dropdown .dropdown-trigger[aria-expanded=true] {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
.review-form .char-count {
  display: block;
  text-align: right;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
}
@media (max-width: 768px) {
  .review-form {
    padding: 1.25rem;
  }
}

.star-rating-input {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1rem 0;
}
.star-rating-input .star-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s ease;
}
.star-rating-input .star-btn i {
  font-size: 2.5rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.star-rating-input .star-btn:hover i, .star-rating-input .star-btn.active i {
  color: #f59e0b;
  transform: scale(1.1);
}
.star-rating-input .star-btn.active i {
  color: #f59e0b;
}
@media (max-width: 768px) {
  .star-rating-input {
    gap: 0.25rem;
  }
  .star-rating-input .star-btn i {
    font-size: 2rem;
  }
}

.form-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  justify-content: flex-end;
  align-items: center;
}
.form-actions button {
  padding: 1.25rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
}
.form-actions button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.form-actions .btn-cancel {
  background: transparent;
  color: #1e293b;
  border: none;
}
.form-actions .btn-cancel:hover:not(:disabled) {
  color: #2563eb;
}
.form-actions .btn-submit {
  background: transparent;
  color: #1e40af;
  box-shadow: none;
  font-weight: 700;
}
.form-actions .btn-submit i {
  color: #1e40af;
}
.form-actions .btn-submit:hover:not(:disabled) {
  color: #1d4ed8;
  transform: none;
  box-shadow: none;
}
.form-actions .btn-submit:hover:not(:disabled) i {
  color: #1d4ed8;
}
.form-actions .btn-submit:active:not(:disabled) {
  transform: none;
}
@media (max-width: 768px) {
  .form-actions {
    flex-direction: column-reverse;
  }
  .form-actions button {
    width: 100%;
  }
}

.form-note {
  background: rgba(37, 99, 235, 0.05);
  border-left: 4px solid #2563eb;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
}
.form-note i {
  color: #2563eb;
  margin-top: 2px;
  flex-shrink: 0;
}
.form-note p {
  margin: 0;
  color: #64748b;
}

.review-success {
  padding: 4rem 2.5rem;
  text-align: center;
}
.review-success .success-icon {
  font-size: 80px;
  color: #10b981;
  margin-bottom: 1.25rem;
}
.review-success .success-icon i {
  animation: successPop 0.5s ease-out;
}
.review-success h3 {
  font-size: 1.875rem;
  color: #1e293b;
  margin: 0 0 1rem 0;
}
.review-success p {
  color: #64748b;
  line-height: 1.6;
  margin: 0 0 2rem 0;
}
.review-success .btn-primary {
  padding: 1.25rem 2rem;
  background: transparent;
  color: #1e40af;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.review-success .btn-primary:hover {
  color: #1d4ed8;
}

@keyframes successPop {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.review-summary .btn-write-review {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: #ffffff !important;
  border: 2px solid #f59e0b !important;
  color: #f59e0b !important;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.review-summary .btn-write-review i {
  font-size: 1rem;
  transition: color 0.2s ease;
}
.review-summary .btn-write-review:hover {
  background: #f59e0b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.review-summary .btn-write-review:hover i {
  color: #ffffff !important;
}

/* Custom Dropdown Components */
/* Accessible, branded dropdowns with smooth animations */
.custom-dropdown {
  --dropdown-bg: rgba(255, 255, 255, 0.98);
  --dropdown-border: var(--color-primary-600);
  --dropdown-shadow: 0 0.625rem 2.5rem rgba(98, 83, 216, 0.2);
  --option-hover: linear-gradient(135deg, #6253D8 0%, #8B7FE8 100%);
  --option-selected: var(--color-primary-50);
  --option-text-hover: var(--color-background);
  position: relative;
  width: 100%;
  /* Custom input container for typing custom values */
  /* Multi-select variant */
  /* Size variants */
  /* Full-width menu variant */
  /* Dropup variant (opens upward) */
}
.custom-dropdown .dropdown-trigger {
  background: var(--color-background);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
  cursor: pointer;
  transition: border-color var(--duration-fast) ease, box-shadow var(--duration-fast) ease, background-color var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  text-align: left;
  user-select: none;
}
.custom-dropdown .dropdown-trigger:hover {
  border-color: var(--color-primary-600);
  box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.1);
}
.custom-dropdown .dropdown-trigger:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 0.25rem rgba(98, 83, 216, 0.1);
}
.custom-dropdown .dropdown-trigger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-dropdown .dropdown-trigger .dropdown-value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
  /* CSS tooltip for truncated trigger text */
}
.custom-dropdown .dropdown-trigger .dropdown-value.placeholder {
  color: var(--color-text-muted);
}
.custom-dropdown .dropdown-trigger .dropdown-value[title]::after {
  content: attr(title);
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.5rem);
  background: var(--color-neutral-900);
  color: var(--color-background);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease, visibility var(--duration-fast) ease;
  z-index: 1001;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  max-width: 15rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-dropdown .dropdown-trigger .dropdown-value[title]:hover::after {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.5s;
}
.custom-dropdown .dropdown-trigger .dropdown-icon {
  color: var(--color-primary-600);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.custom-dropdown .dropdown-trigger .chevron {
  color: var(--color-text-secondary);
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-left: 0.75rem;
}
.custom-dropdown .dropdown-trigger[aria-expanded=true] {
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 0.25rem rgba(98, 83, 216, 0.1);
}
.custom-dropdown .dropdown-trigger[aria-expanded=true] .chevron {
  transform: rotate(180deg);
}
.custom-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: var(--dropdown-bg);
  border: 2px solid var(--dropdown-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--dropdown-shadow);
  backdrop-filter: blur(0.625rem);
  max-height: 25rem;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity var(--duration-fast) ease, transform var(--duration-fast) ease, visibility var(--duration-fast) ease;
  /* Custom scrollbar */
}
.custom-dropdown .dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 0.5rem;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-track {
  background: transparent;
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--color-neutral-300);
  border-radius: var(--radius-full);
}
.custom-dropdown .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--color-neutral-400);
}
.custom-dropdown .dropdown-search {
  padding: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--dropdown-bg);
  backdrop-filter: blur(0.625rem);
  z-index: 10;
}
.custom-dropdown .dropdown-search input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--color-background);
  transition: all var(--duration-fast) ease;
}
.custom-dropdown .dropdown-search input:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 0.1875rem rgba(98, 83, 216, 0.1);
}
.custom-dropdown .dropdown-search input::placeholder {
  color: var(--color-text-muted);
}
.custom-dropdown .dropdown-options {
  padding: 0.5rem;
}
.custom-dropdown .dropdown-option {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-primary);
  font-size: 0.9375rem;
  position: relative;
  /* CSS tooltip for truncated text */
  /* Arrow for tooltip */
  /* Show tooltip on hover with delay */
}
.custom-dropdown .dropdown-option::after {
  content: attr(title);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.5rem);
  transform: translateX(-50%);
  background: var(--color-neutral-900);
  color: var(--color-background);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8125rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease, visibility var(--duration-fast) ease;
  z-index: 1001;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
  max-width: 20rem;
  overflow: hidden;
  text-overflow: ellipsis;
}
.custom-dropdown .dropdown-option::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.25rem);
  transform: translateX(-50%);
  border: 0.375rem solid transparent;
  border-top-color: var(--color-neutral-900);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--duration-fast) ease, visibility var(--duration-fast) ease;
  z-index: 1001;
}
.custom-dropdown .dropdown-option:hover::after, .custom-dropdown .dropdown-option:hover::before {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.4s;
}
.custom-dropdown .dropdown-option:hover {
  background: var(--option-hover);
  color: var(--option-text-hover);
}
.custom-dropdown .dropdown-option:hover .option-icon {
  color: var(--option-text-hover);
}
.custom-dropdown .dropdown-option:focus {
  outline: none;
  background: var(--option-hover);
  color: var(--option-text-hover);
}
.custom-dropdown .dropdown-option.selected {
  background: var(--option-selected);
  color: var(--color-primary-700);
  font-weight: 600;
}
.custom-dropdown .dropdown-option.selected .option-check {
  opacity: 1;
}
.custom-dropdown .dropdown-option[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.custom-dropdown .dropdown-option .option-icon {
  color: var(--color-primary-600);
  font-size: 1rem;
  width: 1.25rem;
  text-align: center;
  flex-shrink: 0;
}
.custom-dropdown .dropdown-option .option-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.custom-dropdown .dropdown-option .option-description {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}
.custom-dropdown .dropdown-option .option-check {
  color: var(--color-primary-600);
  font-size: 0.875rem;
  opacity: 0;
  transition: opacity var(--duration-fast) ease;
  flex-shrink: 0;
}
.custom-dropdown .dropdown-divider {
  height: 1px;
  background: var(--color-border);
  margin: 0.5rem 0.75rem;
  /* Divider with label text */
}
.custom-dropdown .dropdown-divider:has(span) {
  height: auto;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.custom-dropdown .dropdown-divider:has(span)::before, .custom-dropdown .dropdown-divider:has(span)::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--color-border);
}
.custom-dropdown .dropdown-divider:has(span) span {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.custom-dropdown .dropdown-custom-input {
  padding: 0.75rem;
  /* When at top of dropdown */
}
.custom-dropdown .dropdown-custom-input .custom-value-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  background: var(--color-background);
  color: var(--color-text-primary);
  transition: all var(--duration-fast) ease;
}
.custom-dropdown .dropdown-custom-input .custom-value-input:hover {
  border-color: var(--color-primary-400);
}
.custom-dropdown .dropdown-custom-input .custom-value-input:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 0.1875rem rgba(98, 83, 216, 0.15);
}
.custom-dropdown .dropdown-custom-input .custom-value-input::placeholder {
  color: var(--color-text-muted);
}
.custom-dropdown .dropdown-custom-input.dropdown-custom-input-top {
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  background: var(--dropdown-bg);
  z-index: 5;
}
.custom-dropdown .dropdown-empty {
  padding: 2rem 1rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.custom-dropdown .dropdown-empty i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}
.custom-dropdown.multi-select .dropdown-option .option-checkbox {
  width: 1.125rem;
  height: 1.125rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration-fast) ease;
  flex-shrink: 0;
}
.custom-dropdown.multi-select .dropdown-option .option-checkbox i {
  font-size: 0.75rem;
  color: transparent;
  transition: color var(--duration-fast) ease;
}
.custom-dropdown.multi-select .dropdown-option.selected .option-checkbox {
  background: var(--color-primary-600);
  border-color: var(--color-primary-600);
}
.custom-dropdown.multi-select .dropdown-option.selected .option-checkbox i {
  color: var(--color-background);
}
.custom-dropdown.dropdown-sm .dropdown-trigger {
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
}
.custom-dropdown.dropdown-sm .dropdown-option {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.custom-dropdown.dropdown-lg .dropdown-trigger {
  padding: 1.125rem 1.5rem;
  font-size: 1.125rem;
}
.custom-dropdown.dropdown-lg .dropdown-option {
  padding: 1rem 1.25rem;
  font-size: 1rem;
}
.custom-dropdown.dropdown-fullwidth .dropdown-menu {
  left: 0;
  right: 0;
  width: 100%;
}
.custom-dropdown.dropup .dropdown-menu {
  top: auto;
  bottom: calc(100% + 0.5rem);
  transform: translateY(0.5rem);
}
.custom-dropdown.dropup .dropdown-menu.open {
  transform: translateY(0);
}

/* Grouped dropdowns */
.dropdown-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.dropdown-group .custom-dropdown {
  flex: 1;
}
.dropdown-group.dropdown-group-compact {
  gap: 0.5rem;
}

/* Dropdown in search bar - only for inline dropdowns with specific class */
.search-field .custom-dropdown.inline-dropdown .dropdown-trigger {
  background: transparent;
  border: none;
  padding: 0;
}
.search-field .custom-dropdown.inline-dropdown .dropdown-trigger:hover, .search-field .custom-dropdown.inline-dropdown .dropdown-trigger:focus {
  background: transparent;
  border: none;
  box-shadow: none;
}
.search-field .custom-dropdown.inline-dropdown .dropdown-menu {
  min-width: 15rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .custom-dropdown .dropdown-menu {
    max-height: 18.75rem;
  }
  .custom-dropdown .dropdown-option {
    padding: 0.875rem 1rem;
  }
  .dropdown-group {
    flex-direction: column;
  }
  .dropdown-group .custom-dropdown {
    width: 100%;
  }
}
/* Animations */
@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes dropdownSlideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
}
/* Loading state */
.dropdown-loading {
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}
.dropdown-loading .spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary-600);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Accessibility improvements */
.custom-dropdown .dropdown-trigger:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: 2px;
}
.custom-dropdown .dropdown-option:focus-visible {
  outline: 2px solid var(--color-primary-600);
  outline-offset: -2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .custom-dropdown .dropdown-trigger {
    border-width: 3px;
  }
  .custom-dropdown .dropdown-menu {
    border-width: 3px;
  }
  .custom-dropdown .dropdown-option:hover,
  .custom-dropdown .dropdown-option:focus {
    outline: 3px solid currentColor;
  }
}
/* Custom input overlay for party size */
.custom-dropdown-input-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-background);
  border-radius: var(--radius-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--color-primary-600);
}
.custom-dropdown-input-overlay .custom-input-wrapper {
  padding: 1rem;
  width: 100%;
  text-align: center;
}
.custom-dropdown-input-overlay .custom-input-wrapper label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: 0.5rem;
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-party-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  margin-bottom: 0.75rem;
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-party-input:focus {
  outline: none;
  border-color: var(--color-primary-600);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons button {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons .custom-input-cancel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-secondary);
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons .custom-input-cancel:hover {
  background: var(--color-surface-hover);
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons .custom-input-confirm {
  background: var(--color-primary-600);
  border: 1px solid var(--color-primary-600);
  color: var(--color-background);
}
.custom-dropdown-input-overlay .custom-input-wrapper .custom-input-buttons .custom-input-confirm:hover {
  background: var(--color-primary-700);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .custom-dropdown .dropdown-trigger,
  .custom-dropdown .dropdown-menu,
  .custom-dropdown .dropdown-option,
  .custom-dropdown .chevron {
    transition: none;
  }
}
/* Loading Skeletons for Restaurant Cards */
/* Provides visual feedback while content is loading */
/* Section Header Styles */
.section-label {
  color: var(--accent);
}

.results-count {
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.view-all-btn-container {
  text-align: center;
  margin-top: 3rem;
}

/* Loading State */
.loading-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem;
}
.loading-state p {
  color: var(--text-secondary);
}
.loading-state .spinner {
  border: 0.1875rem solid var(--background-secondary);
  border-top: 0.1875rem solid var(--accent);
  border-radius: var(--radius-full);
  width: 3.125rem;
  height: 3.125rem;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}

.restaurant-card-skeleton {
  background: var(--color-background);
  border: 0.0625rem solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  animation: skeletonFadeIn 0.3s ease;
}
.restaurant-card-skeleton .skeleton-image {
  width: 100%;
  height: 15rem;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.restaurant-card-skeleton .skeleton-content {
  padding: 1.25rem;
}
.restaurant-card-skeleton .skeleton-title {
  height: 1.5rem;
  width: 70%;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  animation: shimmer 1.5s infinite;
}
.restaurant-card-skeleton .skeleton-rating {
  height: 1.25rem;
  width: 40%;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  animation: shimmer 1.5s infinite 0.1s;
}
.restaurant-card-skeleton .skeleton-meta {
  height: 1rem;
  width: 60%;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  animation: shimmer 1.5s infinite 0.2s;
}
.restaurant-card-skeleton .skeleton-description {
  height: 1rem;
  width: 100%;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  animation: shimmer 1.5s infinite 0.3s;
}
.restaurant-card-skeleton .skeleton-description.short {
  width: 80%;
  margin-bottom: 1rem;
}
.restaurant-card-skeleton .skeleton-button {
  height: 2.75rem;
  width: 100%;
  background: linear-gradient(90deg, #f0f0f0 0%, #f8f8f8 50%, #f0f0f0 100%);
  background-size: 200% 100%;
  border-radius: var(--radius-lg);
  animation: shimmer 1.5s infinite 0.4s;
}

/* Shimmer animation */
@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* Fade in animation */
@keyframes skeletonFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* Infinite scroll sentinel - container for Load More button */
.infinite-scroll-sentinel {
  width: 100%;
  margin: 2rem 0;
  /* Removed visibility: hidden so Load More button is visible */
}

/* Loading indicator for infinite scroll */
.infinite-scroll-loading {
  grid-column: 1/-1; /* Span all columns */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}
.infinite-scroll-loading .spinner {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  border: 0.125rem solid var(--color-border);
  border-top-color: var(--color-primary-600);
  border-radius: var(--radius-full);
  animation: spin 0.6s linear infinite;
  margin-right: 0.75rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* Smooth image loading */
img.restaurant-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img.restaurant-image.loaded, img.restaurant-image[loading=lazy] {
  opacity: 1;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .restaurant-card-skeleton,
  img.restaurant-image {
    animation: none;
    transition: none;
  }
  .skeleton-image,
  .skeleton-title,
  .skeleton-rating,
  .skeleton-meta,
  .skeleton-description,
  .skeleton-button {
    animation: none;
    background: #f0f0f0;
  }
}
/* Mobile responsive */
@media (max-width: 768px) {
  .restaurant-card-skeleton .skeleton-image {
    height: 12rem;
  }
}
/* ==========================================================================
   Generic Skeleton Classes - Dashboard & Admin
   ========================================================================== */
/**
 * Base skeleton class with shimmer animation
 * Usage: Add .skeleton class along with size modifier
 */
.skeleton {
  background: linear-gradient(90deg, var(--gray-200, #e5e7eb) 0%, var(--gray-100, #f3f4f6) 50%, var(--gray-200, #e5e7eb) 100%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md, 0.375rem);
}
@media (prefers-color-scheme: dark) {
  .skeleton {
    background: linear-gradient(90deg, var(--gray-700, #374151) 0%, var(--gray-600, #4b5563) 50%, var(--gray-700, #374151) 100%);
    background-size: 200% 100%;
  }
}

.skeleton--text {
  height: 1.25rem;
  width: 100%;
  min-width: 3rem;
}

.skeleton--text-sm {
  height: 0.875rem;
  width: 60%;
  min-width: 2rem;
}

.skeleton--text-lg {
  height: 1.75rem;
  width: 50%;
  min-width: 4rem;
}

.skeleton--circle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full, 9999px);
  flex-shrink: 0;
}

.skeleton--circle-sm {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full, 9999px);
  flex-shrink: 0;
}

.skeleton--circle-lg {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full, 9999px);
  flex-shrink: 0;
}

.skeleton--box {
  height: 6rem;
  width: 100%;
}

.skeleton--metric {
  height: 2rem;
  width: 4rem;
  min-width: 3rem;
}

/* Activity feed skeleton item modifier */
.activity-feed__item--skeleton .activity-feed__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.activity-feed__item--skeleton .activity-feed__text.skeleton {
  height: 1rem;
  width: 85%;
}
.activity-feed__item--skeleton .activity-feed__time.skeleton {
  height: 0.75rem;
  width: 30%;
}

/* Reduced motion support for generic skeletons */
@media (prefers-reduced-motion: reduce) {
  .skeleton {
    animation: none;
    background: var(--gray-200, #e5e7eb);
  }
}
@media (prefers-reduced-motion: reduce) and (prefers-color-scheme: dark) {
  .skeleton {
    background: var(--gray-700, #374151);
  }
}
/* Voice Search Components */
/* Voice-activated search with visual feedback */
/* TEMPORARILY DISABLED - Hide all voice search buttons until mobile issues are resolved */
.voice-search-button,
#voiceSearchButton,
#stickyVoiceSearchButton,
.sticky-voice-button {
  display: none !important;
}

/* Voice Modal */
.voice-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(0.5rem);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--duration-normal) ease, visibility var(--duration-normal) ease;
}
.voice-modal.active {
  opacity: 1;
  visibility: visible;
}
.voice-modal.active .voice-modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.voice-modal-content {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  padding: 3rem;
  max-width: 32rem;
  width: 90%;
  text-align: center;
  position: relative;
  transform: translateY(2rem) scale(0.9);
  opacity: 0;
  transition: all var(--duration-normal) cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1.25rem 3.75rem rgba(0, 0, 0, 0.3);
}

.voice-animation {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.pulse-ring {
  position: absolute;
  inset: -1.5rem;
  border: 0.1875rem solid rgba(98, 83, 216, 0.3);
  border-radius: var(--radius-full);
  animation: pulsateRing 2s ease-out infinite;
}

.voice-icon {
  width: 6rem;
  height: 6rem;
  background: linear-gradient(135deg, #6253D8 0%, #8B7FE8 100%);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.5rem 1.5rem rgba(98, 83, 216, 0.4);
  position: relative;
  z-index: 2;
}
.voice-icon i {
  font-size: 2.5rem;
  color: var(--color-background);
  animation: iconFloat 3s ease-in-out infinite;
}

.voice-text {
  font-size: 1.125rem;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.voice-text.success {
  color: var(--color-success);
  animation: successPop 0.5s ease;
}
.voice-text.error {
  color: var(--color-error);
  animation: shake 0.5s ease;
}

.voice-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--duration-fast) ease;
  color: var(--color-text-secondary);
}
.voice-close i {
  font-size: 1.25rem;
}
.voice-close:hover {
  background: var(--color-neutral-100);
  color: var(--color-text-primary);
}
.voice-close:focus {
  outline: none;
  box-shadow: 0 0 0 0.1875rem rgba(98, 83, 216, 0.2);
}

/* Animations */
@keyframes voicePulse {
  0%, 100% {
    box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.3);
  }
  50% {
    box-shadow: 0 0.25rem 0.75rem rgba(98, 83, 216, 0.6), 0 0 1.25rem rgba(98, 83, 216, 0.4);
  }
}
@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
@keyframes microphonePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}
@keyframes pulsateRing {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}
@keyframes successPop {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-0.5rem);
  }
  75% {
    transform: translateX(0.5rem);
  }
}
/* Mobile responsive */
@media (max-width: 768px) {
  .voice-modal-content {
    padding: 2rem;
    width: 95%;
  }
  .voice-icon {
    width: 5rem;
    height: 5rem;
  }
  .voice-icon i {
    font-size: 2rem;
  }
  .voice-text {
    font-size: 1rem;
    min-height: 2.5rem;
  }
}
/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .voice-search-button,
  .voice-modal,
  .voice-modal-content,
  .voice-icon i,
  .voice-text {
    animation: none !important;
    transition: none;
  }
  .voice-search-button.listening::before {
    animation: none;
    opacity: 0.5;
  }
  .pulse-ring {
    animation: none;
    opacity: 0.3;
  }
}
/* High contrast mode */
@media (prefers-contrast: high) {
  .voice-modal-content {
    border: 0.1875rem solid var(--color-border);
  }
  .voice-icon {
    border: 0.1875rem solid var(--color-primary-600);
  }
}
/* Browser not supported fallback */
.voice-search-not-supported {
  display: none;
  padding: 0.75rem 1.25rem;
  background: var(--color-warning-light);
  border: 0.0625rem solid var(--color-warning);
  border-radius: var(--radius-md);
  color: var(--color-warning-dark);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
.voice-search-not-supported i {
  margin-right: 0.5rem;
}
.voice-search-not-supported.show {
  display: block;
}

.sticky-search-bar {
  position: fixed;
  top: 4rem;
  left: 0;
  right: 0;
  z-index: 998;
  transform: translateY(-150%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  pointer-events: none;
}
.sticky-search-bar.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
@media (max-width: 968px) {
  .sticky-search-bar {
    top: 104px;
  }
}

.sticky-search-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .sticky-search-container {
    padding: 0 2rem;
  }
}

.sticky-search-card {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 1rem;
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (max-width: 767px) {
  .sticky-search-card {
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}
@media (min-width: 768px) {
  .sticky-search-card {
    padding: 1rem 1.25rem;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.sticky-search-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #1e293b;
  font-size: 1rem;
  font-weight: 500;
  min-height: 2.75rem;
}
@media (min-width: 768px) {
  .sticky-search-toggle {
    display: none;
  }
}
.sticky-search-toggle .toggle-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}
.sticky-search-toggle .toggle-label i {
  color: #2563eb;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.sticky-search-toggle__input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  min-height: 2.75rem;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.sticky-search-toggle__input:focus, .sticky-search-toggle__input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}
.sticky-search-toggle__input::-webkit-search-cancel-button, .sticky-search-toggle__input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.sticky-search-toggle__input::placeholder {
  color: #1e293b;
  font-weight: 500;
  opacity: 0.8;
}
.sticky-search-toggle__input:focus::placeholder {
  color: #94a3b8;
  opacity: 0.5;
}
.sticky-search-toggle .toggle-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 50%;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  flex-shrink: 0;
}
.sticky-search-toggle .toggle-icon i {
  transition: transform 0.3s ease;
}
.sticky-search-toggle .toggle-icon.expanded i {
  transform: rotate(45deg);
}
.sticky-search-toggle .toggle-icon:hover {
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.45);
}
.sticky-search-toggle .toggle-icon:focus-visible {
  outline: 2px solid #f59e0b;
  outline-offset: 2px;
}
.sticky-search-toggle .sticky-quick-search-btn {
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.sticky-search-toggle .sticky-quick-search-btn i {
  font-size: 0.9rem;
}
.sticky-search-toggle .sticky-quick-search-btn:hover {
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}
.sticky-search-toggle .sticky-quick-search-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.sticky-search-fields {
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}
.sticky-search-fields.expanded {
  display: flex;
  animation: expandFields 0.3s ease;
}
@media (min-width: 768px) {
  .sticky-search-fields {
    display: grid;
    grid-template-columns: minmax(120px, 1.2fr) 1fr 1fr auto;
    gap: 0.75rem;
    margin-top: 0;
    align-items: center;
  }
}
@media (min-width: 969px) {
  .sticky-search-fields {
    grid-template-columns: minmax(160px, 1.5fr) 1fr 1fr auto;
  }
}

@keyframes expandFields {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}
.sticky-search-field {
  position: relative;
  display: flex;
  flex-direction: column;
}
.sticky-search-field label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.sticky-search-field label i {
  color: #2563eb;
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .sticky-search-field label {
    display: none;
  }
}
.sticky-search-field input.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  font-size: 1rem;
  color: #1e293b;
  background: #ffffff;
  transition: all 0.2s ease;
  min-height: 2.75rem;
}
.sticky-search-field input.search-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.sticky-search-field input.search-input::placeholder {
  color: #94a3b8;
}
.sticky-search-field .custom-dropdown {
  width: 100%;
}
.sticky-search-field .custom-dropdown .dropdown-trigger {
  width: 100%;
  min-height: 2.75rem !important;
  padding: 0.75rem 1rem !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  background: #ffffff !important;
  font-size: 1rem !important;
  color: #1e293b !important;
  transition: all 0.2s ease !important;
}
.sticky-search-field .custom-dropdown .dropdown-trigger:hover {
  border-color: #2563eb !important;
}
.sticky-search-field .custom-dropdown .dropdown-trigger:focus, .sticky-search-field .custom-dropdown .dropdown-trigger.active, .sticky-search-field .custom-dropdown .dropdown-trigger[aria-expanded=true] {
  outline: none !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1) !important;
}

.sticky-search-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
@media (min-width: 768px) {
  .sticky-search-button {
    width: auto;
    padding: 0.75rem 1.25rem;
  }
}
.sticky-search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
.sticky-search-button:active {
  transform: translateY(0);
}
.sticky-search-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2), 0 4px 12px rgba(102, 126, 234, 0.25);
}
.sticky-search-button i {
  font-size: 0.875rem;
}
@media (min-width: 768px) {
  .sticky-search-button {
    width: auto;
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
  }
}

.sticky-voice-button {
  width: auto;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0.75rem !important;
  background: #ffffff !important;
  color: #2563eb !important;
  border: 2px solid #2563eb !important;
  border-radius: 0.75rem !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex: 0 0 auto;
  flex-shrink: 0;
}
.sticky-voice-button i {
  font-size: 1.125rem !important;
}
.sticky-voice-button:hover {
  background: #2563eb !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(98, 83, 216, 0.3);
}
.sticky-voice-button:active, .sticky-voice-button.listening {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: #ffffff !important;
  animation: voicePulse 1.5s infinite;
  transform: none !important;
}
.sticky-voice-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
@media (min-width: 768px) {
  .sticky-voice-button {
    margin-left: 0.75rem;
  }
}

@keyframes voicePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
.sticky-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  z-index: 997;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sticky-search-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
@media (min-width: 768px) {
  .sticky-search-overlay {
    display: none;
  }
}

.sticky-search-card--branded {
  background: rgba(37, 99, 235, 0.02);
  border-color: rgba(37, 99, 235, 0.1);
}

button.sticky-expand-btn.sticky-expand-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f59e0b !important;
  background: #f59e0b !important;
  border: none;
  color: #ffffff !important;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
@media (min-width: 768px) {
  button.sticky-expand-btn.sticky-expand-btn {
    position: absolute !important;
    bottom: -13px;
    right: -13px;
    width: 14px !important;
    height: 14px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) !important;
    z-index: 10;
  }
  button.sticky-expand-btn.sticky-expand-btn i {
    font-size: 0.95rem !important;
  }
}
button.sticky-expand-btn.sticky-expand-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}
button.sticky-expand-btn.sticky-expand-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}
button.sticky-expand-btn.sticky-expand-btn.active i {
  transform: rotate(45deg);
}
@media (max-width: 768px) {
  button.sticky-expand-btn.sticky-expand-btn {
    display: none;
  }
}

.sticky-advanced-filters {
  display: none;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 1rem;
  animation: slideDown 0.3s ease;
}
.sticky-advanced-filters.expanded {
  display: block;
}
@media (max-width: 768px) {
  .sticky-advanced-filters {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}

.sticky-filters-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.sticky-filters-row .sticky-search-field {
  flex: 1 1 auto;
  min-width: 150px;
  max-width: 280px;
}
.sticky-filters-row .sticky-search-field .custom-dropdown {
  width: 100%;
}
@media (max-width: 767px) {
  .sticky-filters-row {
    gap: 0.5rem;
  }
  .sticky-filters-row .sticky-search-field {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: none;
  }
}

.sticky-quick-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 0.75rem;
}

button.quick-filter-icon.quick-filter-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #666 !important;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
button.quick-filter-icon.quick-filter-icon i {
  font-size: 1.1rem;
  color: #666 !important;
}
button.quick-filter-icon.quick-filter-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.25rem 0.5rem;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.75rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  margin-bottom: 0.25rem;
  pointer-events: none;
}
button.quick-filter-icon.quick-filter-icon:hover::after, button.quick-filter-icon.quick-filter-icon:focus::after {
  opacity: 1;
  visibility: visible;
}
button.quick-filter-icon.quick-filter-icon:hover {
  background: rgba(102, 126, 234, 0.1);
  border-color: rgba(102, 126, 234, 0.3);
  color: #667eea;
}
button.quick-filter-icon.quick-filter-icon.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
}
button.quick-filter-icon.quick-filter-icon.active i {
  color: #ffffff !important;
}
@media (max-width: 768px) {
  button.quick-filter-icon.quick-filter-icon {
    width: 34px;
    height: 34px;
  }
  button.quick-filter-icon.quick-filter-icon i {
    font-size: 0.85rem;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Sticky autocomplete suggestions */
.sticky-search-field--autocomplete {
  position: relative;
}

.sticky-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-top: none;
}
.sticky-suggestions[hidden] {
  display: none;
}
@media (max-width: 968px) {
  .sticky-suggestions {
    position: relative;
    top: auto;
    z-index: auto;
    max-height: 200px;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    margin-top: 0.25rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
}

.sticky-suggestion-group {
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #667eea;
  border-top: 1px solid #f1f5f9;
}
.sticky-suggestion-group:first-child {
  border-top: none;
}

.sticky-suggestion-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.5rem;
  align-items: center;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: background 0.15s ease;
  color: #1e293b;
  font-size: 0.8125rem;
  border-bottom: 1px solid #f1f5f9;
}
.sticky-suggestion-item:last-child {
  border-bottom: none;
}
.sticky-suggestion-item:hover, .sticky-suggestion-item.active {
  background: #f1f5f9;
}
.sticky-suggestion-item i {
  color: #667eea;
  text-align: center;
  font-size: 0.75rem;
  grid-row: 1/-1;
  align-self: center;
}

.sticky-suggestion-item__name {
  font-weight: 600;
  grid-column: 2;
}

.sticky-suggestion-item__meta {
  font-size: 0.6875rem;
  color: #64748b;
  grid-column: 2;
}

.sticky-suggestion-group--partner {
  color: #2563eb;
}

.sticky-suggestion-item--partner i {
  color: #2563eb;
}

.sticky-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 50%;
  vertical-align: middle;
}
.sticky-partner-badge i {
  font-size: 0.5rem;
  color: #2563eb;
  grid-row: auto;
}

/**
 * Gradient Placeholder System
 * Professional, senior designer approach
 * Migrated from standalone CSS to SCSS system
 */
/* Restaurant card with gradient placeholder */
.restaurant-card .card-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-lg, 12px);
}

/* Gradient placeholder (when no real photo) */
.restaurant-card .card-image-wrapper.gradient-placeholder {
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Gradient background */
.restaurant-card .card-image-wrapper.gradient-placeholder .gradient-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0.95;
}

/* Cuisine icon */
.restaurant-card .card-image-wrapper.gradient-placeholder .cuisine-icon {
  position: relative;
  z-index: 2;
  font-size: 4rem;
  line-height: 1;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
  animation: floatIcon 3s ease-in-out infinite;
}

/* Cuisine label */
.restaurant-card .card-image-wrapper.gradient-placeholder .cuisine-label {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--border-radius-full, 100px);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: 0.025em;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Address overlay - shown on card hover */
.restaurant-card .card-image-wrapper.gradient-placeholder .address-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(109, 40, 217, 0.82); /* purple-700 with transparency */
  backdrop-filter: blur(4px);
  border-radius: var(--border-radius-lg, 12px);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  padding: 1.5rem;
}
.restaurant-card .card-image-wrapper.gradient-placeholder .address-overlay .address-overlay__name {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 0.25rem;
}
.restaurant-card .card-image-wrapper.gradient-placeholder .address-overlay i {
  font-size: 1.5rem;
  color: #fff;
}
.restaurant-card .card-image-wrapper.gradient-placeholder .address-overlay span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* Show address overlay on card hover - Desktop only */
@media (pointer: fine) {
  .restaurant-card:hover .card-image-wrapper.gradient-placeholder .address-overlay {
    opacity: 1;
  }
}
/* On touch devices, show on tap via :active */
@media (pointer: coarse) {
  .restaurant-card:active .card-image-wrapper.gradient-placeholder .address-overlay {
    opacity: 1;
  }
}
/* Hover hint (cursor follower) - Desktop only */
.restaurant-card .card-image-wrapper.gradient-placeholder .hover-hint {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  font-size: 1.25rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.1s ease;
  transform: translate(-50%, -50%) scale(0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  will-change: left, top, opacity, transform;
  /* Hide on touch devices - prevents sticky hover state issues */
}
.restaurant-card .card-image-wrapper.gradient-placeholder .hover-hint i {
  font-size: 1.5rem;
  color: var(--color-primary);
}
@media (pointer: coarse) {
  .restaurant-card .card-image-wrapper.gradient-placeholder .hover-hint {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

/* Show hover hint when hovering over entire card - Desktop only */
@media (pointer: fine) {
  .restaurant-card:hover .card-image-wrapper.gradient-placeholder .hover-hint {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    pointer-events: all;
    cursor: pointer;
  }
}
/* Icon float animation */
@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .restaurant-card .card-image-wrapper.gradient-placeholder {
    min-height: 200px;
  }
  .restaurant-card .card-image-wrapper.gradient-placeholder .cuisine-icon {
    font-size: 3rem;
  }
}
/**
 * Multi-Location Settings Styles
 * Venue/location management for Enterprise subscriptions
 */
.locations-upgrade-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
}
.locations-upgrade-section[hidden] {
  display: none;
}
.locations-upgrade-section .btn--primary {
  background: linear-gradient(135deg, #F49609 0%, #d97706 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 150, 9, 0.35);
  font-weight: 600;
}
.locations-upgrade-section .btn--primary:hover {
  background: linear-gradient(135deg, #d97706 0%, #F49609 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 150, 9, 0.45);
}
.locations-upgrade-section .btn--primary:active {
  transform: translateY(0);
}
.locations-upgrade-section .btn--primary:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

.locations-upgrade-card {
  max-width: 680px;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(160deg, rgba(244, 150, 9, 0.06) 0%, rgba(45, 46, 136, 0.08) 100%);
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: 1rem;
}
.locations-upgrade-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #F49609 0%, #d97706 100%);
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.locations-upgrade-card__icon i {
  font-size: 1.75rem;
  color: #ffffff;
}
.locations-upgrade-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.locations-upgrade-card__description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.75;
  margin: 0 0 1.5rem 0;
}
.locations-upgrade-card__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  text-align: left;
  margin-bottom: 1.5rem;
}
.locations-upgrade-card__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: rgba(30, 41, 59, 0.6);
  border-radius: 0.5rem;
}
.locations-upgrade-card__feature strong {
  display: block;
  font-size: 0.8rem;
  color: #f1f5f9;
  margin-bottom: 2px;
}
.locations-upgrade-card__feature span {
  font-size: 0.72rem;
  color: #64748b;
  line-height: 1.4;
}
.locations-upgrade-card__feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  background: rgba(244, 150, 9, 0.12);
  border-radius: 0.5rem;
  color: #F49609;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.locations-upgrade-card__pricing {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.locations-upgrade-card__from {
  font-size: 0.8rem;
  color: #64748b;
}
.locations-upgrade-card__regular {
  font-size: 1rem;
  color: #64748b;
}
.locations-upgrade-card__price {
  font-size: 2.25rem;
  font-weight: 800;
  color: #f8fafc;
}
.locations-upgrade-card__price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: #64748b;
}
.locations-upgrade-card__per {
  font-size: 0.8rem;
  color: #F49609;
  font-weight: 600;
}
.locations-upgrade-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  text-align: left;
}
.locations-upgrade-card__features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #e2e8f0;
}
.locations-upgrade-card__features li i {
  color: #10b981;
  font-size: 0.875rem;
}

@media (max-width: 640px) {
  .locations-upgrade-card {
    padding: 1.25rem;
  }
  .locations-upgrade-card__grid {
    grid-template-columns: 1fr;
  }
  .locations-upgrade-card__price {
    font-size: 1.75rem;
  }
}
.locations-subscription-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.25rem;
  background: #0f172a;
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 639px) {
  .locations-subscription-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
}
.locations-subscription-bar__info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (max-width: 639px) {
  .locations-subscription-bar__info {
    flex-wrap: wrap;
    justify-content: space-between;
  }
}
.locations-subscription-bar__plan {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #F49609;
}
.locations-subscription-bar__plan i {
  font-size: 1rem;
}
.locations-subscription-bar__usage {
  font-size: 0.875rem;
  color: #94a3b8;
}
.locations-subscription-bar__progress {
  flex: 0 0 200px;
}
@media (max-width: 639px) {
  .locations-subscription-bar__progress {
    flex: 1 1 100%;
  }
}

.locations-progress-bar {
  height: 8px;
  background: #334155;
  border-radius: 50%;
  overflow: hidden;
}
.locations-progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #F49609 0%, #d97706 100%);
  border-radius: 50%;
  transition: width 250ms ease-in-out;
}

.locations-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #1e293b;
  border: 1px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.75rem;
  transition: all 150ms ease-in-out;
}
.location-card:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
@media (max-width: 639px) {
  .location-card {
    flex-direction: column;
    align-items: stretch;
  }
}
.location-card--primary {
  border-color: rgba(244, 150, 9, 0.3);
  background: linear-gradient(135deg, #1e293b 0%, rgba(244, 150, 9, 0.05) 100%);
}
.location-card--primary:hover {
  border-color: rgba(244, 150, 9, 0.5);
}
.location-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.location-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0.375rem;
}
.location-card__content {
  flex: 1;
  min-width: 0;
}
.location-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.location-card__address {
  font-style: normal;
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.5;
}
.location-card__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .location-card__actions {
    margin-top: 0.75rem;
    justify-content: flex-end;
  }
}

.locations-add-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(16, 185, 129, 0.05);
  border: 2px dashed rgba(16, 185, 129, 0.3);
  border-radius: 0.75rem;
}
@media (max-width: 639px) {
  .locations-add-section {
    flex-direction: column;
    text-align: center;
  }
}
.locations-add-section__note {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.locations-limit-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.75rem;
}
.locations-limit-message[hidden] {
  display: none;
}
.locations-limit-message__heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.locations-limit-message__heading i {
  color: #3b82f6;
  font-size: 1.125rem;
}
.locations-limit-message__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #f1f5f9;
}
.locations-limit-message__text {
  margin: 0;
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.locations-limit-message__actions {
  margin-top: 0.25rem;
}

.locations-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 1rem;
  background: #1e293b;
  color: #f1f5f9;
  max-width: 560px;
  width: calc(100% - 2rem);
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  z-index: 10000;
}
.locations-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.locations-dialog:not([open]) {
  display: none;
}
.locations-dialog__content {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
}
.locations-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #334155;
  margin: -1.5rem;
  margin-bottom: 1.25rem;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.locations-dialog__header-actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.locations-dialog__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}
.locations-dialog__title i {
  color: #F49609;
}
.locations-dialog__close, .locations-dialog__minify {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.locations-dialog__close:hover, .locations-dialog__minify:hover {
  background: #334155;
  color: #f1f5f9;
}
.locations-dialog__close:active, .locations-dialog__minify:active {
  cursor: pointer;
}
.locations-dialog--dragging .locations-dialog__header {
  cursor: grabbing;
}
.locations-dialog--minified {
  top: auto;
  left: auto;
  right: 1rem;
  bottom: 1rem;
  transform: none;
  width: 360px;
  max-width: 360px;
  height: auto;
  max-height: none;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}
.locations-dialog--minified .locations-dialog__content {
  padding: 0;
  max-height: none;
  overflow: hidden;
}
.locations-dialog--minified .locations-dialog__header {
  margin: 0;
  border-bottom: none;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
}
.locations-dialog--minified .locations-dialog__title {
  font-size: 1rem;
}
.locations-dialog--minified .locations-dialog__content > *:not(.locations-dialog__header) {
  display: none;
}
.locations-dialog__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #334155;
  background: #0f172a;
  margin: 1.25rem -1.5rem -1.5rem;
}
.locations-dialog__pricing {
  padding: 1.25rem;
  background: #0f172a;
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}
.locations-dialog__pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
}
.locations-dialog__pricing-row:last-of-type {
  border-bottom: none;
}
.locations-dialog__pricing-row strong {
  color: #f1f5f9;
  font-weight: 600;
}
.locations-dialog__pricing-row--highlight {
  padding: 0.75rem 0;
  margin-top: 0.5rem;
  border-top: 1px solid #334155;
  border-bottom: none;
}
.locations-dialog__pricing-row--highlight strong {
  color: #f59e0b;
  font-size: 1rem;
}
.locations-dialog__pricing-sub {
  display: flex;
  justify-content: flex-end;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0;
  padding: 0 0 0.5rem 0;
  font-size: 0.75rem;
  color: #94a3b8;
}
.locations-dialog__pricing-sub[hidden] {
  display: none;
}
.locations-dialog__pricing-sub .locations-dialog__pricing-sub__list {
  text-decoration: line-through;
  color: #64748b;
}
.locations-dialog__pricing-sub .locations-dialog__pricing-sub__promo {
  color: #10b981;
  font-weight: 500;
}
.locations-dialog__pricing-sub .locations-dialog__pricing-sub__volume {
  color: #F49609;
  font-weight: 500;
}
.locations-dialog__promo-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #f1f5f9;
}
.locations-dialog__promo-banner i {
  color: #10b981;
}
.locations-dialog__promo-banner strong {
  color: #10b981;
}
.locations-dialog__promo-banner[hidden] {
  display: none;
}
.locations-dialog__pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid #3b82f6;
  border-radius: 0.375rem;
  line-height: 1.5;
}
.locations-dialog__pricing-note__icon {
  color: #3b82f6;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.locations-dialog__form {
  display: grid;
  gap: 1rem;
}
.locations-dialog__form .form-row--2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 639px) {
  .locations-dialog__form .form-row--2-col {
    grid-template-columns: 1fr;
  }
}
.locations-dialog__upgrade-content {
  padding: 1rem 0;
}
.locations-dialog__upgrade-intro {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 1.25rem 0;
}
.locations-dialog__venue-selector {
  display: grid;
  gap: 0.75rem;
}

.locations-dialog__footer--split {
  justify-content: space-between;
}

.locations-dialog__footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.venue-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-decoration: none;
}
.venue-option:hover {
  border-color: #64748b;
  background: #1e293b;
}
.venue-option--selected {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.08);
}
.venue-option--selected .venue-option__radio {
  border-color: #F49609;
}
.venue-option--selected .venue-option__radio::after {
  transform: scale(1);
}
.venue-option--popular .venue-option__badge {
  display: inline-flex;
}
.venue-option--contact {
  border-style: dashed;
  border-color: #475569;
}
.venue-option--contact:hover {
  border-color: #64748b;
}
.venue-option__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.venue-option__radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #64748b;
  border-radius: 50%;
  position: relative;
  transition: all 150ms ease-in-out;
}
.venue-option__radio::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: #F49609;
  border-radius: 50%;
  transform: scale(0);
  translate: -50% -50%;
  transition: transform 150ms ease-in-out;
}
.venue-option__label {
  font-size: 1rem;
  font-weight: 500;
  color: #f1f5f9;
}
.venue-option__badge {
  display: none;
  padding: 0.25rem 0.5rem;
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 0.375rem;
}
.venue-option__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}
.venue-option__price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F49609;
}
.venue-option__period {
  font-size: 0.875rem;
  font-weight: 400;
  color: #94a3b8;
}
.venue-option__savings {
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
}
.venue-option__regular {
  font-size: 0.875rem;
  color: #64748b;
}
.venue-option__contact-text {
  font-size: 1rem;
  font-weight: 500;
  color: #3b82f6;
}

.toast--multi-location {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  max-width: 400px;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10000;
  animation: toastSlideIn 300ms ease-out;
}
.toast--multi-location.toast--success {
  background: #10b981;
  color: #ffffff;
}
.toast--multi-location.toast--error {
  background: #ef4444;
  color: #ffffff;
}
.toast--multi-location.toast--info {
  background: #3b82f6;
  color: #ffffff;
}
.toast--multi-location.toast--hiding {
  animation: toastSlideOut 300ms ease-out forwards;
}

@keyframes toastSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes toastSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}
.modal__footer-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.locations-modal__form .form-row--2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 639px) {
  .locations-modal__form .form-row--2-col {
    grid-template-columns: 1fr;
  }
}

.proration-preview {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.75rem;
}
.proration-preview[hidden], .proration-preview__loading[hidden], .proration-preview__content[hidden], .proration-preview__error[hidden] {
  display: none !important;
}
.proration-preview__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.proration-preview__loading i {
  color: #F49609;
}
.proration-preview__content {
  animation: fadeIn 200ms ease-out;
}
.proration-preview__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.proration-preview__title i {
  color: #F49609;
}
.proration-preview__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.875rem;
  color: #94a3b8;
}
.proration-preview__row--credit {
  color: #10b981;
}
.proration-preview__row--total {
  padding-top: 0.75rem;
  font-weight: 700;
  color: #f1f5f9;
}
.proration-preview__row--total span:last-child {
  font-size: 1.25rem;
  color: #F49609;
}
.proration-preview__divider {
  height: 1px;
  background: #334155;
  margin: 0.5rem 0;
}
.proration-preview__note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0 0;
  padding: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  line-height: 1.5;
}
.proration-preview__note i {
  flex-shrink: 0;
  margin-top: 2px;
  color: #3b82f6;
}
.proration-preview__note span {
  font-weight: 600;
  color: #e2e8f0;
}
.proration-preview__error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  color: #ef4444;
  font-size: 0.875rem;
}
.proration-preview__error i {
  flex-shrink: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.venue-switcher-sr-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.venue-switcher {
  position: relative;
  display: inline-flex;
  margin-left: 1rem;
}
.venue-switcher__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: var(--color-surface-elevated, #f8fafc);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-family: inherit;
  font-size: 0.875rem;
  color: var(--color-text-primary, #0f172a);
}
.venue-switcher__trigger:hover {
  background: var(--color-surface, #f1f5f9);
  border-color: var(--color-border-strong, #cbd5e1);
}
.venue-switcher__trigger:focus-visible {
  outline: 2px solid var(--color-primary-500, #2563eb);
  outline-offset: 2px;
}
.venue-switcher__icon {
  color: var(--color-primary-500, #2563eb);
  font-size: 0.875rem;
}
.venue-switcher__current {
  font-weight: 500;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .venue-switcher__current {
    max-width: 180px;
  }
}
.venue-switcher__arrow {
  font-size: 0.625rem;
  color: var(--color-text-secondary, #64748b);
  transition: transform 150ms ease-in-out;
}
.venue-switcher--open .venue-switcher__arrow {
  transform: rotate(180deg);
}
.venue-switcher--open .venue-switcher__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.venue-switcher__dropdown {
  position: absolute;
  top: calc(100% + 0.25rem);
  left: 0;
  z-index: 1000;
  min-width: 220px;
  max-width: 300px;
  max-height: 320px;
  overflow-y: auto;
  background: var(--color-background, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 0.25rem;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 150ms ease-in-out;
}
.venue-switcher__dropdown::-webkit-scrollbar {
  width: 6px;
}
.venue-switcher__dropdown::-webkit-scrollbar-track {
  background: transparent;
}
.venue-switcher__dropdown::-webkit-scrollbar-thumb {
  background: var(--color-border, #cbd5e1);
  border-radius: 3px;
}
.venue-switcher__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
}
.venue-switcher__option:hover {
  background: var(--color-surface, #f1f5f9);
}
.venue-switcher__option:focus-visible {
  outline: 2px solid var(--color-primary-500, #2563eb);
  outline-offset: -2px;
  background: var(--color-surface, #f1f5f9);
}
.venue-switcher__option--selected {
  background: var(--color-primary-50, rgba(37, 99, 235, 0.1));
  color: var(--color-primary-600, #2563eb);
}
.venue-switcher__option--selected:hover {
  background: var(--color-primary-100, rgba(37, 99, 235, 0.15));
}
.venue-switcher__color-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.venue-switcher__color-indicator--0 {
  background-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
}
.venue-switcher__color-indicator--1 {
  background-color: #3B82F6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}
.venue-switcher__color-indicator--2 {
  background-color: #8B5CF6;
  box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}
.venue-switcher__color-indicator--3 {
  background-color: #14B8A6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.2);
}
.venue-switcher__color-indicator--4 {
  background-color: #EC4899;
  box-shadow: 0 0 0 2px rgba(236, 72, 153, 0.2);
}
.venue-switcher__option-content {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex: 1;
  min-width: 0;
}
.venue-switcher__option-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.venue-switcher__option-name {
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
}
.venue-switcher__option-stats {
  display: flex;
  gap: 0.75rem;
  font-size: 0.6875rem;
  color: var(--color-text-secondary, #64748b);
  line-height: 1.2;
}
.venue-switcher__option-stat {
  display: flex;
  align-items: center;
  gap: 4px;
}
.venue-switcher__option-stat i {
  font-size: 0.5625rem;
  opacity: 0.7;
}
.venue-switcher__option-badges {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
}
.venue-switcher__option-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 0.375rem;
  border-radius: 0.25rem;
  line-height: 1.2;
}
.venue-switcher__option-badge--primary {
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
}
.venue-switcher__option-badge--notification {
  background: #ef4444;
  color: #ffffff;
  min-width: 18px;
  text-align: center;
  padding: 2px 5px;
  animation: venue-badge-pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .venue-switcher__option-badge--notification {
    animation: none;
  }
}
.venue-switcher__option-check {
  color: var(--color-primary-500, #2563eb);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.venue-switcher__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.venue-switcher__loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-border, #cbd5e1);
  border-top-color: #F49609;
  border-radius: 50%;
  animation: venue-spinner 0.8s linear infinite;
}
.venue-switcher__manage-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
  color: var(--color-text-secondary, #64748b);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 150ms ease-in-out;
}
.venue-switcher__manage-link:hover {
  color: #F49609;
}
.venue-switcher__manage-link i {
  font-size: 0.625rem;
}
.venue-switcher__empty {
  padding: 0.75rem;
  text-align: center;
  color: var(--color-text-secondary, #64748b);
  font-size: 0.875rem;
}

@media (prefers-color-scheme: dark) {
  .venue-switcher__trigger {
    background: var(--color-surface-elevated, #1e293b);
    border-color: var(--color-border, #334155);
    color: var(--color-text-primary, #f1f5f9);
  }
  .venue-switcher__trigger:hover {
    background: var(--color-surface, #334155);
    border-color: var(--color-border-strong, #475569);
  }
  .venue-switcher__dropdown {
    background: var(--color-background, #0f172a);
    border-color: var(--color-border, #334155);
  }
  .venue-switcher__option:hover {
    background: var(--color-surface, #1e293b);
  }
  .venue-switcher__option--selected {
    background: rgba(37, 99, 235, 0.15);
  }
  .venue-switcher__option-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
  }
}
.admin-header .venue-switcher {
  margin-right: 1rem;
}
.admin-header .venue-switcher__trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #f8fafc;
}
.admin-header .venue-switcher__trigger:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}
.admin-header .venue-switcher__trigger:focus-visible {
  outline-color: #F49609;
}
.admin-header .venue-switcher__icon {
  color: #F49609;
}
.admin-header .venue-switcher__arrow {
  color: #94a3b8;
}
.admin-header .venue-switcher__current {
  color: #f8fafc;
}
.admin-header .venue-switcher__dropdown {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.admin-header .venue-switcher__option {
  color: #f1f5f9;
}
.admin-header .venue-switcher__option:hover {
  background: #334155;
}
.admin-header .venue-switcher__option:focus-visible {
  background: #334155;
  outline-color: #F49609;
}
.admin-header .venue-switcher__option--selected {
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
}
.admin-header .venue-switcher__option--selected:hover {
  background: rgba(244, 150, 9, 0.2);
}
.admin-header .venue-switcher__option-name {
  color: #f8fafc;
}
.admin-header .venue-switcher__option-stats {
  color: #94a3b8;
}
.admin-header .venue-switcher__option-badge--primary {
  background: rgba(244, 150, 9, 0.2);
  color: #F49609;
}
.admin-header .venue-switcher__option-check {
  color: #F49609;
}
.admin-header .venue-switcher__divider {
  background: #334155;
}
.admin-header .venue-switcher__manage-link {
  border-top-color: #334155;
  color: #94a3b8;
}
.admin-header .venue-switcher__manage-link:hover {
  color: #F49609;
}
.admin-header .venue-switcher__empty {
  color: #94a3b8;
}
.admin-header .venue-switcher__color-indicator {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .venue-switcher {
    margin-left: 0.5rem;
  }
  .venue-switcher__trigger {
    padding: 0.5rem 0.75rem;
  }
  .venue-switcher__current {
    max-width: none;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .venue-switcher__dropdown {
    position: fixed;
    left: 0.75rem;
    right: 0.75rem;
    top: auto;
    min-width: auto;
    max-width: calc(100vw - 1.5rem);
    width: calc(100vw - 1.5rem);
  }
  .venue-switcher__option-name {
    white-space: normal;
    word-break: break-word;
  }
  .venue-switcher__option-stats {
    display: none;
  }
}
@keyframes venue-badge-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}
@keyframes venue-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.venue-switcher__option:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: -2px;
  background: rgba(244, 150, 9, 0.1);
}

@media (pointer: coarse) {
  .venue-switcher__option {
    min-height: 48px;
    padding: 0.75rem;
  }
  .venue-switcher__trigger {
    min-height: 44px;
  }
}
.venue-switcher__trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 9px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  animation: venue-badge-pulse 2s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .venue-switcher__trigger-badge {
    animation: none;
  }
}

.venue-switcher__preview {
  position: absolute;
  left: calc(100% + 0.5rem);
  top: 0;
  z-index: 1001;
  min-width: 220px;
  background: var(--color-background, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  padding: 0.75rem;
  pointer-events: none;
  animation: venue-preview-fade-in 0.15s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .venue-switcher__preview {
    animation: none;
  }
}
@media (max-width: 768px) {
  .venue-switcher__preview {
    left: 0;
    top: calc(100% + 0.25rem);
    min-width: 100%;
  }
}

.venue-switcher__preview-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border, #e2e8f0);
}
.venue-switcher__preview-header strong {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-primary, #0f172a);
}

.venue-switcher__preview-primary {
  font-size: 0.5625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 0.25rem;
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
  border-radius: 0.25rem;
}

.venue-switcher__preview-stats {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.venue-switcher__preview-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary, #475569);
}
.venue-switcher__preview-stat i {
  width: 14px;
  text-align: center;
  color: var(--color-text-tertiary, #94a3b8);
  font-size: 0.6875rem;
}
.venue-switcher__preview-stat strong {
  color: var(--color-text-primary, #0f172a);
  font-weight: 600;
}
.venue-switcher__preview-stat--warning {
  color: #f59e0b;
}
.venue-switcher__preview-stat--warning i {
  color: #f59e0b;
}
.venue-switcher__preview-stat--warning strong {
  color: #f59e0b;
}

.venue-switcher__preview-context {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--color-border, #e2e8f0);
  font-size: 0.75rem;
  color: var(--color-text-tertiary, #64748b);
}
.venue-switcher__preview-context i {
  font-size: 0.625rem;
  opacity: 0.7;
}

@keyframes venue-preview-fade-in {
  from {
    opacity: 0;
    transform: translateX(-4px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-color-scheme: dark) {
  .venue-switcher__preview {
    background: var(--color-background, #0f172a);
    border-color: var(--color-border, #334155);
  }
  .venue-switcher__preview-header {
    border-bottom-color: var(--color-border, #334155);
  }
  .venue-switcher__preview-header strong {
    color: var(--color-text-primary, #f1f5f9);
  }
  .venue-switcher__preview-stat {
    color: var(--color-text-secondary, #94a3b8);
  }
  .venue-switcher__preview-stat strong {
    color: var(--color-text-primary, #f1f5f9);
  }
  .venue-switcher__preview-context {
    border-top-color: var(--color-border, #334155);
  }
}
.venue-switcher__option--all-locations {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(244, 150, 9, 0.2);
  margin-bottom: 0.25rem;
}
.venue-switcher__option--all-locations:hover {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(244, 150, 9, 0.3);
}
.venue-switcher__option--all-locations.venue-switcher__option--selected {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: #F49609;
}

.venue-switcher__all-locations-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #F49609 0%, #3B82F6 100%);
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.venue-switcher__all-locations-icon i {
  color: #ffffff;
  font-size: 0.75rem;
}

.venue-switcher__divider {
  height: 1px;
  background: var(--color-border, #e2e8f0);
  margin: 0.25rem 0.5rem;
}

.venue-switcher__trigger--all-locations {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
  border-color: rgba(244, 150, 9, 0.3);
}
.venue-switcher__trigger--all-locations .venue-switcher__icon {
  background: linear-gradient(135deg, #F49609 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.venue-switcher__trigger--all-locations:hover {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
  border-color: #F49609;
}

.venue-switcher__preview--all-locations {
  min-width: 280px;
}
.venue-switcher__preview--all-locations .venue-switcher__preview-header i {
  background: linear-gradient(135deg, #F49609 0%, #3B82F6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.venue-switcher__preview-totals {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.venue-switcher__preview-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 0.5rem;
  background: var(--color-surface, #f8fafc);
  border-radius: 0.5rem;
  text-align: center;
}
.venue-switcher__preview-total--alert {
  background: rgba(239, 68, 68, 0.1);
}
.venue-switcher__preview-total--alert .venue-switcher__preview-total-value {
  color: #ef4444;
}

.venue-switcher__preview-total-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary, #0f172a);
  line-height: 1.2;
}

.venue-switcher__preview-total-label {
  font-size: 0.625rem;
  color: var(--color-text-secondary, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-top: 2px;
}

.venue-switcher__preview-breakdown {
  border-top: 1px solid var(--color-border, #e2e8f0);
  padding-top: 0.5rem;
}

.venue-switcher__preview-breakdown-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-text-tertiary, #94a3b8);
  margin-bottom: 0.25rem;
  padding: 0 0.25rem;
}

.venue-switcher__preview-venue {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
}
.venue-switcher__preview-venue:hover {
  background: var(--color-surface, #f8fafc);
}

.venue-switcher__preview-venue-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--color-text-primary, #334155);
}

.venue-switcher__preview-venue-stat {
  font-weight: 600;
  color: var(--color-text-primary, #0f172a);
  min-width: 24px;
  text-align: right;
}

.venue-switcher__preview-venue-alert {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.5625rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 0.25rem;
  min-width: 16px;
  text-align: center;
}

@media (prefers-color-scheme: dark) {
  .venue-switcher__option--all-locations {
    background: linear-gradient(135deg, rgba(244, 150, 9, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(244, 150, 9, 0.3);
  }
  .venue-switcher__option--all-locations:hover {
    background: linear-gradient(135deg, rgba(244, 150, 9, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  }
  .venue-switcher__divider {
    background: var(--color-border, #334155);
  }
  .venue-switcher__trigger--all-locations {
    background: linear-gradient(135deg, rgba(244, 150, 9, 0.2) 0%, rgba(59, 130, 246, 0.2) 100%);
  }
  .venue-switcher__preview-total {
    background: var(--color-surface, #1e293b);
  }
  .venue-switcher__preview-total-value {
    color: var(--color-text-primary, #f1f5f9);
  }
  .venue-switcher__preview-breakdown {
    border-top-color: var(--color-border, #334155);
  }
  .venue-switcher__preview-venue-name {
    color: var(--color-text-primary, #cbd5e1);
  }
  .venue-switcher__preview-venue-stat {
    color: var(--color-text-primary, #f1f5f9);
  }
}
.tf-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: tfConfirmFadeIn 0.2s ease-out;
}

.tf-confirm-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.6);
}

.tf-confirm-dialog {
  position: relative;
  z-index: 100000;
  max-width: 420px;
  width: calc(100% - 2rem);
  margin: 1rem;
  animation: tfConfirmSlideIn 0.25s ease-out;
}

.tf-confirm-content {
  background: #1e293b;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
  overflow: hidden;
}

.tf-confirm-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #334155;
}

.tf-confirm-title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}

.tf-confirm-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-confirm-close:hover {
  background: #334155;
  color: #ffffff;
}
.tf-confirm-close i {
  font-size: 1rem;
}

.tf-confirm-body {
  padding: 1.25rem;
}

.tf-confirm-message {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: pre-line;
}

.tf-confirm-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #334155;
}

.tf-confirm-btn {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.tf-confirm-btn:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.tf-confirm-btn--cancel {
  background: transparent;
  border: 1px solid #475569;
  color: #94a3b8;
}
.tf-confirm-btn--cancel:hover {
  background: #334155;
  color: #ffffff;
  border-color: #64748b;
}
.tf-confirm-btn--confirm {
  background: #2563eb;
  color: #ffffff;
}
.tf-confirm-btn--confirm:hover {
  background: #1d4ed8;
}
.tf-confirm-btn--danger {
  background: #ef4444;
  color: #ffffff;
}
.tf-confirm-btn--danger:hover {
  background: rgb(241.0098522167, 91.4901477833, 91.4901477833);
}

.tf-confirm-overlay.fade-out {
  animation: tfConfirmFadeOut 0.2s ease-out forwards;
}
.tf-confirm-overlay.fade-out .tf-confirm-dialog {
  animation: tfConfirmSlideOut 0.2s ease-out forwards;
}

@keyframes tfConfirmFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tfConfirmFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes tfConfirmSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes tfConfirmSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
}
.confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: confirmFadeIn 0.2s ease-out;
}

.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.confirm-modal--visible {
  opacity: 1;
}
.confirm-modal__dialog {
  background: #1e293b;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.3s ease-out;
}
.confirm-modal--visible .confirm-modal__dialog {
  transform: scale(1) translateY(0);
}
.confirm-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.confirm-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.confirm-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.confirm-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.confirm-modal__body {
  padding: 1.5rem;
}
.confirm-modal__message {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}
.confirm-modal__footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
  justify-content: center;
}
.confirm-modal .btn {
  flex: 0 1 auto;
  min-width: 100px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.confirm-modal .btn:hover {
  transform: translateY(-2px);
}
.confirm-modal .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.confirm-modal .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.confirm-modal .btn--primary {
  background: #F49609;
  color: #ffffff;
  border: none;
}
.confirm-modal .btn--primary:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656);
}
.confirm-modal__icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.confirm-modal__icon {
  font-size: 2rem;
  color: #ef4444;
}
.confirm-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.75rem 0;
}
.confirm-modal__message {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}
.confirm-modal__actions {
  display: flex;
  gap: 0.75rem;
}
.confirm-modal__btn {
  flex: 1;
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.confirm-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.confirm-modal__btn--cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.confirm-modal__btn--cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.confirm-modal__btn--confirm {
  background: #ef4444;
  color: #ffffff;
}
.confirm-modal__btn--confirm:hover {
  background: rgb(241.0098522167, 91.4901477833, 91.4901477833);
}
.confirm-modal__btn--primary {
  background: #F49609;
  color: #ffffff;
}
.confirm-modal__btn--primary:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656);
}

@keyframes confirmFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes confirmSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes confirmFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.prompt-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.prompt-modal--visible {
  opacity: 1;
}
.prompt-modal__dialog {
  background: #1e293b;
  border-radius: 12px;
  max-width: 480px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.3s ease-out;
}
.prompt-modal--visible .prompt-modal__dialog {
  transform: scale(1) translateY(0);
}
.prompt-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.prompt-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.prompt-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.prompt-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.prompt-modal__body {
  padding: 1.5rem;
}
.prompt-modal__label {
  display: block;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.prompt-modal__input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  color: #ffffff;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  outline: none;
  transition: all 0.2s ease;
}
.prompt-modal__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.prompt-modal__input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.prompt-modal__footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
}
.prompt-modal .btn {
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.prompt-modal .btn:hover {
  transform: translateY(-2px);
}
.prompt-modal .btn--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.prompt-modal .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.prompt-modal .btn--primary {
  background: #F49609;
  color: #ffffff;
  border: none;
}
.prompt-modal .btn--primary:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656);
}

.alert-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.2s ease-out;
}
.alert-modal--visible {
  opacity: 1;
}
.alert-modal--info .alert-modal__icon-wrapper {
  background: rgba(37, 99, 235, 0.15);
}
.alert-modal--info .alert-modal__icon {
  color: #2563eb;
}
.alert-modal--warning .alert-modal__icon-wrapper {
  background: rgba(245, 158, 11, 0.15);
}
.alert-modal--warning .alert-modal__icon {
  color: #f59e0b;
}
.alert-modal--error .alert-modal__icon-wrapper {
  background: rgba(239, 68, 68, 0.15);
}
.alert-modal--error .alert-modal__icon {
  color: #ef4444;
}
.alert-modal--success .alert-modal__icon-wrapper {
  background: rgba(16, 185, 129, 0.15);
}
.alert-modal--success .alert-modal__icon {
  color: #10b981;
}
.alert-modal__dialog {
  background: #1e293b;
  border-radius: 12px;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: scale(0.95) translateY(-10px);
  transition: transform 0.3s ease-out;
}
.alert-modal--visible .alert-modal__dialog {
  transform: scale(1) translateY(0);
}
.alert-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.alert-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert-modal__icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.alert-modal__icon {
  font-size: 1rem;
}
.alert-modal__close {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s ease;
}
.alert-modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.alert-modal__body {
  padding: 1.5rem;
}
.alert-modal__message {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}
.alert-modal__footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem 1.5rem;
  justify-content: center;
}
.alert-modal .btn {
  flex: 0 1 auto;
  min-width: 100px;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.alert-modal .btn:hover {
  transform: translateY(-2px);
}
.alert-modal .btn--primary {
  background: #F49609;
  color: #ffffff;
  border: none;
}
.alert-modal .btn--primary:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656);
}

.confirm-modal__warning-inline {
  color: #f59e0b;
}

.confirm-modal__message-block {
  margin-bottom: 1rem;
}

.confirm-modal__secret-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
}

.confirm-modal__secret-block {
  position: relative;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.confirm-modal__secret-code {
  display: block;
  padding-right: 3rem;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.875rem;
  color: #f1f5f9;
  word-break: break-all;
}

.confirm-modal__secret-copy-btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: rgba(244, 150, 9, 0.15);
  border: none;
  color: #F49609;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  min-height: 36px;
}
.confirm-modal__secret-copy-btn:hover {
  background: rgba(244, 150, 9, 0.25);
}
.confirm-modal__secret-copy-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.confirm-modal__secret-copy-btn--copied {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}

.confirm-modal__info-box {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #60a5fa;
  margin: 0;
}
.confirm-modal__info-box i {
  margin-right: 0.5rem;
}

.message-modal-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}
.message-modal-container.show {
  opacity: 1;
  visibility: visible;
}
.message-modal-container.is-dragging, .message-modal-container.is-dragging * {
  transition: none !important;
  cursor: grabbing;
}

.message-modal-dialog {
  background: #1e293b;
  border-radius: 12px;
  width: 420px;
  max-width: 90vw;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
}

.message-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: grab;
  user-select: none;
}
.message-modal-header:active {
  cursor: grabbing;
}

.message-modal-title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.message-modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.125rem;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
  border-radius: 4px;
}
.message-modal-close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}
.message-modal-close:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}

.message-modal-body {
  padding: 1.25rem;
}

.message-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.message-modal-form-group {
  margin-bottom: 1rem;
}
.message-modal-form-group:last-child {
  margin-bottom: 0;
}

.message-modal-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.message-modal-radio-group {
  display: flex;
  gap: 0.5rem;
}

.message-modal-radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  padding: 0.625rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.message-modal-radio-label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.message-modal-radio-label:has(input:checked) {
  background: rgba(45, 46, 136, 0.15);
  border-color: rgba(45, 46, 136, 0.4);
}
.message-modal-radio-label input[type=radio] {
  width: 16px;
  height: 16px;
  accent-color: #2D2E88;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
}
.message-modal-radio-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.message-modal-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.message-modal-textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.message-modal-textarea:focus {
  outline: none;
  border-color: #2D2E88;
  background: rgba(255, 255, 255, 0.08);
}

.message-modal-btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  border: none;
}
.message-modal-btn:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.message-modal-btn--cancel {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.message-modal-btn--cancel:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.message-modal-btn--send {
  background: #2D2E88;
  color: #ffffff;
}
.message-modal-btn--send:hover {
  background: rgb(51.3397790055, 52.4806629834, 155.1602209945);
}

.booking-party-phones__details {
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  padding: 0;
}
.booking-party-phones__details[open] {
  padding: 0.75rem;
}
.booking-party-phones__summary {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e293b;
  user-select: none;
}
.booking-party-phones__summary::-webkit-details-marker {
  display: none;
}
.booking-party-phones__summary::after {
  content: "";
  margin-left: auto;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #94a3b8;
  transition: transform 150ms ease;
}
.booking-party-phones__summary:hover {
  background: #f8fafc;
}
.booking-party-phones__summary:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.375rem;
}
.booking-party-phones__summary i {
  color: #2563eb;
}
.booking-party-phones__details[open] .booking-party-phones__summary::after {
  transform: rotate(180deg);
}
.booking-party-phones__hint {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.5rem 0 0.75rem;
  line-height: 1.4;
}
.booking-party-phones__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.booking-party-phones__row {
  display: grid;
  grid-template-columns: 1fr 110px 1fr auto;
  gap: 0.5rem;
  align-items: center;
}
@media (max-width: 560px) {
  .booking-party-phones__row {
    grid-template-columns: 1fr auto;
    grid-auto-rows: min-content;
  }
  .booking-party-phones__row .booking-party-phones__name {
    grid-column: 1/-1;
  }
  .booking-party-phones__row .booking-party-phones__country {
    grid-column: 1;
  }
  .booking-party-phones__row .booking-party-phones__phone {
    grid-column: 1/2;
  }
  .booking-party-phones__row .booking-party-phones__remove {
    grid-column: 2;
    grid-row: 2;
  }
}
.booking-party-phones__name, .booking-party-phones__phone, .booking-party-phones__country {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 0.95rem;
  background: white;
}
.booking-party-phones__name:focus, .booking-party-phones__phone:focus, .booking-party-phones__country:focus {
  outline: 2px solid #2563eb;
  outline-offset: 1px;
  border-color: #2563eb;
}
.booking-party-phones__remove {
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid #cbd5e1;
  border-radius: 0.375rem;
  cursor: pointer;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 120ms ease;
}
.booking-party-phones__remove:hover {
  background: #f8fafc;
  border-color: #ef4444;
}
.booking-party-phones__remove:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}
.booking-party-phones__add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #f8fafc;
  border: 1px dashed #cbd5e1;
  border-radius: 0.375rem;
  color: #2563eb;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
}
.booking-party-phones__add-btn:hover:not(:disabled) {
  background: #f1f5f9;
  border-color: #2563eb;
}
.booking-party-phones__add-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.booking-party-phones__add-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.booking-party-phones__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem;
  background: #f8fafc;
  border-radius: 0.375rem;
  font-size: 0.85rem;
  color: #1e293b;
  line-height: 1.4;
  cursor: pointer;
}
.booking-party-phones__consent input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #2563eb;
}

.deposit-refund-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.deposit-refund-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}
.deposit-refund-modal__dialog {
  position: relative;
  z-index: 2;
  width: calc(100% - 2rem);
  max-width: 520px;
  margin: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}
.deposit-refund-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #334155;
  flex-shrink: 0;
}
.deposit-refund-modal__header-info {
  flex: 1 1 auto;
  min-width: 0;
}
.deposit-refund-modal__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
}
.deposit-refund-modal__subtitle {
  margin: 0.25rem 0 0;
  color: #94a3b8;
  font-size: 0.875rem;
}
.deposit-refund-modal__close {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
}
.deposit-refund-modal__close:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.deposit-refund-modal__close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.deposit-refund-modal__body {
  padding: 1.25rem;
  overflow-y: auto;
  flex: 1 1 auto;
}
.deposit-refund-modal__intro {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: rgba(245, 158, 11, 0.08);
  border-left: 3px solid #f59e0b;
  border-radius: 0.375rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  line-height: 1.5;
}
.deposit-refund-modal__field-label {
  display: block;
  margin: 0.75rem 0 0.5rem;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.deposit-refund-modal__reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.deposit-refund-modal__reason {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  min-height: 44px;
}
.deposit-refund-modal__reason:hover {
  border-color: #475569;
  background: rgba(255, 255, 255, 0.04);
}
.deposit-refund-modal__reason--checked {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}
.deposit-refund-modal__reason i {
  color: #94a3b8;
  font-size: 1rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.deposit-refund-modal__reason--checked i {
  color: #2563eb;
}
.deposit-refund-modal__reason-input {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #2563eb;
  cursor: pointer;
}
.deposit-refund-modal__reason-label {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
}
.deposit-refund-modal__text-wrap {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.deposit-refund-modal__text-wrap--visible {
  display: flex;
}
.deposit-refund-modal__text-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.875rem;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}
.deposit-refund-modal__text-input::placeholder {
  color: #64748b;
}
.deposit-refund-modal__text-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.deposit-refund-modal__pin-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.deposit-refund-modal__pin-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #ffffff;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace, monospace;
  font-size: 1.125rem;
  letter-spacing: 0.4em;
  text-align: center;
  min-height: 44px;
  box-sizing: border-box;
}
.deposit-refund-modal__pin-input::placeholder {
  color: #475569;
  letter-spacing: 0.4em;
}
.deposit-refund-modal__pin-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.deposit-refund-modal__pin-hint {
  margin: 0.5rem 0 0;
  color: #64748b;
  font-size: 0.75rem;
}
.deposit-refund-modal__error {
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 0.375rem;
  color: #fca5a5;
  font-size: 0.875rem;
}
.deposit-refund-modal__footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding: 1rem 1.25rem;
  border-top: 1px solid #334155;
  background: rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.deposit-refund-modal__btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  min-height: 44px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.deposit-refund-modal__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.deposit-refund-modal__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.deposit-refund-modal__btn--cancel {
  background: transparent;
  border-color: #334155;
  color: #e2e8f0;
}
.deposit-refund-modal__btn--cancel:hover:not(:disabled) {
  border-color: #475569;
  background: rgba(255, 255, 255, 0.04);
}
.deposit-refund-modal__btn--primary {
  background: #2563eb;
  color: #ffffff;
}
.deposit-refund-modal__btn--primary:hover:not(:disabled) {
  background: #1d4ed8;
}

.res-card__deposit-badge--forfeited {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

@media (max-width: 480px) {
  .deposit-refund-modal__reasons {
    grid-template-columns: 1fr;
  }
  .deposit-refund-modal__footer {
    flex-direction: column-reverse;
  }
  .deposit-refund-modal__btn {
    width: 100%;
  }
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #ffffff;
  padding: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.cookie-banner[hidden] {
  display: none;
}

.cookie-banner-visible {
  transform: translateY(0);
}

.cookie-banner-hidden {
  transform: translateY(100%);
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner-text {
  flex: 1;
  min-width: 300px;
}

.cookie-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.cookie-title i {
  color: #F49609;
}

.cookie-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
  margin: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}
.cookie-btn:focus {
  outline: 3px solid #3B82F6;
  outline-offset: 2px;
}

.cookie-btn-primary {
  background: linear-gradient(135deg, #F49609 0%, #FFB347 100%);
  color: #1a1a2e;
  border-color: #F49609;
}
.cookie-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.4);
}

.cookie-btn-secondary {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
}
.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.cookie-btn-reject {
  background: linear-gradient(135deg, #6B7280 0%, #9CA3AF 100%);
  color: #ffffff;
  border-color: #6B7280;
}
.cookie-btn-reject:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 114, 128, 0.4);
}

.cookie-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.cookie-link:hover {
  color: #F49609;
  text-decoration: underline;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.cookie-modal[hidden] {
  display: none;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.cookie-modal-content {
  position: relative;
  background: #ffffff;
  border-radius: 1rem;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #E5E7EB;
}
.cookie-modal-header h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.cookie-modal-close {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6B7280;
  transition: all 0.15s;
}
.cookie-modal-close:hover {
  background: #F3F4F6;
  color: #111827;
}
.cookie-modal-close:focus {
  outline: 3px solid #3B82F6;
  outline-offset: 2px;
}

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-intro {
  font-size: 0.875rem;
  color: #6B7280;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.cookie-category {
  padding: 1rem;
  background: #F9FAFB;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
}
.cookie-category:last-child {
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-category-info {
  flex: 1;
}
.cookie-category-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}
.cookie-category-info p {
  font-size: 0.875rem;
  color: #6B7280;
  margin: 0;
  line-height: 1.5;
}

.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
  flex-shrink: 0;
}
.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: #059669;
}
.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(24px);
}
.cookie-toggle input:focus + .cookie-toggle-slider {
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.3);
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #D1D5DB;
  transition: 0.15s;
  border-radius: 9999px;
}
.cookie-toggle-slider::before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.15s;
  border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.cookie-toggle-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.cookie-toggle-disabled .cookie-toggle-slider {
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid #E5E7EB;
  background: #F9FAFB;
  border-radius: 0 0 1rem 1rem;
}
.cookie-modal-footer .cookie-btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #059669;
}
.cookie-modal-footer .cookie-btn-primary:hover {
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.4);
}
.cookie-modal-footer .cookie-btn-reject {
  background: linear-gradient(135deg, #EF4444 0%, #F87171 100%);
  color: #ffffff;
  border-color: #EF4444;
}
.cookie-modal-footer .cookie-btn-reject:hover {
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}
.cookie-modal-footer .cookie-btn-save {
  background: #F3F4F6;
  color: #111827;
  border-color: #E5E7EB;
}
.cookie-modal-footer .cookie-btn-save:hover {
  background: #E5E7EB;
}

body.cookie-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 1rem;
  }
  .cookie-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner-actions {
    flex-direction: column;
  }
  .cookie-btn {
    width: 100%;
  }
  .cookie-link {
    margin-left: 0;
    justify-content: center;
  }
  .cookie-modal-content {
    max-height: 100vh;
    border-radius: 0;
  }
  .cookie-modal-footer {
    flex-direction: column;
    border-radius: 0;
  }
  .cookie-modal-footer .cookie-btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookie-banner,
  .cookie-btn,
  .cookie-modal-close,
  .cookie-toggle-slider,
  .cookie-toggle-slider::before {
    transition: none;
  }
  .cookie-btn-primary:hover,
  .cookie-btn-reject:hover {
    transform: none;
  }
}
.tableflow-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1rem;
  animation: tableflowModalFadeIn 0.2s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal-overlay {
    animation: none;
  }
}
.tableflow-modal-overlay--closing {
  animation: tableflowModalFadeOut 0.2s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal-overlay--closing {
    animation: none;
    opacity: 0;
  }
}

.tableflow-modal {
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  text-align: center;
  animation: tableflowModalSlideIn 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal {
    animation: none;
  }
}
@media (prefers-contrast: more) {
  .tableflow-modal {
    border: 2px solid currentColor;
  }
}
.tableflow-modal__body {
  margin-bottom: 1.5rem;
}
.tableflow-modal__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.tableflow-modal__icon-wrap--error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}
.tableflow-modal__icon-wrap--warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}
.tableflow-modal__icon-wrap--info {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.tableflow-modal__icon-wrap--success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.tableflow-modal__icon-wrap--confirm {
  background: rgba(244, 150, 9, 0.15);
  color: #F49609;
}
.tableflow-modal__icon {
  font-size: 32px;
  color: inherit;
}
.tableflow-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 0 0 0.75rem 0;
}
.tableflow-modal__message {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}
.tableflow-modal__input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.5rem;
  color: #f1f5f9;
  font-size: 1rem;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal__input {
    transition: none;
  }
}
.tableflow-modal__input::placeholder {
  color: #64748b;
}
.tableflow-modal__input:focus, .tableflow-modal__input:focus-visible {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.2);
}
.tableflow-modal__actions {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 639px) {
  .tableflow-modal__actions {
    flex-direction: column-reverse;
  }
}
.tableflow-modal__btn {
  flex: 1;
  min-height: 44px;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: inherit;
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal__btn {
    transition: none;
  }
}
.tableflow-modal__btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.tableflow-modal__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
@media (prefers-reduced-motion: reduce) {
  .tableflow-modal__btn:hover {
    transform: none;
    box-shadow: none;
  }
}
.tableflow-modal__btn:active {
  transform: translateY(0);
}
.tableflow-modal__btn--cancel {
  background: transparent;
  border-color: #334155;
  color: #cbd5e1;
}
.tableflow-modal__btn--cancel:hover {
  background: #1e293b;
  border-color: #475569;
}
.tableflow-modal__btn--ok, .tableflow-modal__btn--confirm {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.tableflow-modal__btn--ok:hover, .tableflow-modal__btn--confirm:hover {
  background: #d97706;
  border-color: #d97706;
}
.tableflow-modal__btn--error {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}
.tableflow-modal__btn--error:hover {
  background: #dc2626;
  border-color: #dc2626;
}
.tableflow-modal__btn--warning {
  background: #f59e0b;
  border-color: #f59e0b;
  color: #ffffff;
}
.tableflow-modal__btn--warning:hover {
  background: #d97706;
  border-color: #d97706;
}
.tableflow-modal__btn--info {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}
.tableflow-modal__btn--info:hover {
  background: #2563eb;
  border-color: #2563eb;
}
.tableflow-modal__btn--success {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}
.tableflow-modal__btn--success:hover {
  background: #059669;
  border-color: #059669;
}

@keyframes tableflowModalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes tableflowModalFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes tableflowModalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.landing-wrapper {
  overflow-x: hidden;
  overflow-y: auto;
  width: 100%;
  max-width: 100vw;
  overscroll-behavior-x: none;
}

body.landing-page {
  font-family: "Inter", -apple-system, sans-serif;
  background: #ffffff;
  overflow-x: hidden;
  /* ──────────────────────────────────────────────
     Scroll Reveal Animations (IntersectionObserver)
     Respects prefers-reduced-motion automatically
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     Micro-interactions: Button & Card Hover Effects
     ────────────────────────────────────────────── */
  /* Global focus-visible for keyboard accessibility (WCAG 2.2 AA 2.4.7) */
  /* Navigation */
  /* Video Hero Section - 60% viewport height */
  /* Advanced Search Bar in Hero */
  /* Move icons left for select fields with arrows */
  /* Style date input to hide native icon */
  /* Position our Font Awesome date icon — match other field icons */
  /* Flatpickr date input on landing — remove SVG icon, use Font Awesome instead */
  /* Style custom dropdowns in filter row to match other inputs */
  /* Voice Search Button */
  /* Smart search field with autocomplete */
  /* Quick Filters */
  /* Section Separator */
  /* Features Section - Alternating Background */
  /* Popular Restaurants Section - Dark Background */
  /* Reviews Section Styles */
  /* Aggregate Rating Styles */
  /* Featured Review Styles */
  /* How It Works Section */
  /* CTA Section */
  /* Footer */
  /* ──────────────────────────────────────────────
     Accessibility Toolbar
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     Floating A11y Button (mobile only) — bottom-LEFT
     to avoid the video pause control on bottom-right.
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     A11y Bottom-Sheet Panel
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     Trust & Value Strip
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     Dining for Everyone — Inclusive Section
     ────────────────────────────────────────────── */
  /* ──────────────────────────────────────────────
     Accessibility Modes (High Contrast + Font Sizes)
     ────────────────────────────────────────────── */
}
body.landing-page .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.landing-page .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
body.landing-page .reveal-stagger > .reveal:nth-child(2) {
  transition-delay: 0.1s;
}
body.landing-page .reveal-stagger > .reveal:nth-child(3) {
  transition-delay: 0.2s;
}
body.landing-page .reveal-stagger > .reveal:nth-child(4) {
  transition-delay: 0.3s;
}
body.landing-page .reveal-stagger > .reveal:nth-child(5) {
  transition-delay: 0.4s;
}
body.landing-page .reveal-stagger > .reveal:nth-child(6) {
  transition-delay: 0.5s;
}
body.landing-page .reveal--left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.landing-page .reveal--left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
body.landing-page .reveal--right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
body.landing-page .reveal--right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
@media (prefers-reduced-motion: reduce) {
  body.landing-page .reveal,
  body.landing-page .reveal--left,
  body.landing-page .reveal--right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
body.landing-page .feature-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
body.landing-page .feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}
body.landing-page .step {
  transition: transform 0.25s ease;
}
body.landing-page .step:hover {
  transform: translateY(-2px);
}
body.landing-page .btn-cta {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
body.landing-page .btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}
body.landing-page .btn-cta:active {
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  body.landing-page .feature-card,
  body.landing-page .step,
  body.landing-page .btn-cta {
    transition: none !important;
  }
  body.landing-page .feature-card:hover,
  body.landing-page .step:hover,
  body.landing-page .btn-cta:hover {
    transform: none !important;
  }
}
body.landing-page a:focus-visible,
body.landing-page button:focus-visible,
body.landing-page [role=button]:focus-visible,
body.landing-page [tabindex]:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
body.landing-page .navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 15, 17, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}
body.landing-page .navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}
body.landing-page .nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body.landing-page .nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
body.landing-page .nav-brand i {
  color: #B8960F;
  font-size: 1.5rem;
}
body.landing-page .nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 22px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}
body.landing-page .nav-hamburger .hamburger-line {
  width: 100%;
  height: 2px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
body.landing-page .nav-hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
body.landing-page .nav-hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
body.landing-page .nav-hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
body.landing-page .nav-menu {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  align-items: center;
  padding: 0 !important;
  flex: initial !important;
}
body.landing-page .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
body.landing-page .nav-link:hover {
  color: #ffd700;
}
body.landing-page .nav-business {
  background: transparent;
  color: white;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-md, 8px);
  font-size: 1rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
body.landing-page .nav-business:hover {
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}
body.landing-page .video-hero {
  position: relative;
  isolation: isolate;
  height: 100vh;
  min-height: 700px;
  margin-top: 0;
  overflow: visible; /* Changed to visible so dropdowns can extend beyond */
  display: flex;
  align-items: center;
  justify-content: center;
}
body.landing-page .scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  text-decoration: none;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}
body.landing-page .scroll-indicator:hover .scroll-text {
  color: rgba(255, 255, 255, 0.8);
}
body.landing-page .scroll-indicator:hover .scroll-arrow {
  opacity: 1;
}
body.landing-page .scroll-indicator:focus-visible {
  outline: 2px solid #FFD700;
  outline-offset: 4px;
  border-radius: 4px;
}
body.landing-page .scroll-text {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.5);
}
body.landing-page .scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid #FFD700;
  border-bottom: 2px solid #FFD700;
  transform: rotate(45deg);
  animation: scroll-bounce 1.5s infinite;
}
@keyframes scroll-bounce {
  0%, 100% {
    opacity: 0.3;
    transform: rotate(45deg) translateY(0);
  }
  50% {
    opacity: 1;
    transform: rotate(45deg) translateY(6px);
  }
}
body.landing-page .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden; /* Keep video contained */
}
body.landing-page .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.landing-page .video-control {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  z-index: 20;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}
body.landing-page .video-control:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #fff;
  transform: scale(1.05);
}
body.landing-page .video-control:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}
body.landing-page .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.72) 50%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}
body.landing-page .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}
body.landing-page .hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 1rem;
  line-height: 1.1;
}
body.landing-page .hero-title .highlight {
  color: #ffd700;
  text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}
body.landing-page .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 300;
  margin-bottom: 2rem;
  max-width: none !important;
}
body.landing-page .hero-search {
  background: rgba(255, 255, 255, 0.95);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  margin: 0 auto;
}
body.landing-page .search-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
body.landing-page .search-row:last-child {
  margin-bottom: 0;
  align-items: center;
}
body.landing-page .search-row--actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
body.landing-page .search-row--actions .search-button {
  flex: 1;
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  height: 48px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  cursor: pointer;
  transition: all 0.3s ease;
}
body.landing-page .search-row--actions .search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
body.landing-page .search-field {
  flex: 1;
  min-width: 140px;
  position: relative;
}
body.landing-page .search-label {
  display: block;
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
body.landing-page .search-input,
body.landing-page .search-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: white;
  color: #1a1a1f;
}
body.landing-page .search-input:focus,
body.landing-page .search-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
body.landing-page .search-input:focus-visible,
body.landing-page .search-select:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
}
body.landing-page .search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #667eea;
  font-size: 0.75rem;
  pointer-events: none;
  margin-top: 10px;
}
body.landing-page .search-field:has(.search-select) .search-icon {
  right: 1.6rem;
}
body.landing-page input[type=date]::-webkit-calendar-picker-indicator {
  opacity: 0;
  position: absolute;
  right: 0;
  width: 2.5rem;
  height: 100%;
  cursor: pointer;
}
body.landing-page .search-field:has(.flatpickr-input) .search-icon,
body.landing-page .search-field:has(input[type=date]) .search-icon {
  right: 0.75rem;
  pointer-events: none;
  margin-top: 8px;
  font-size: 0.95rem;
}
body.landing-page .hero-search .flatpickr-input,
body.landing-page .sticky-search-bar .flatpickr-input {
  background-image: none !important;
  padding-right: 2.5rem !important;
}
body.landing-page .search-row .search-field .custom-dropdown .dropdown-trigger {
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 12px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.9rem !important;
  height: auto !important;
  min-height: 45px !important;
}
body.landing-page .search-row .search-field .custom-dropdown .dropdown-trigger:hover {
  border-color: #667eea !important;
}
body.landing-page .search-row .search-field .custom-dropdown .dropdown-trigger:focus {
  border-color: #667eea !important;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}
body.landing-page .search-row .search-field .custom-dropdown .dropdown-trigger:focus-visible {
  outline: 2px solid #667eea !important;
  outline-offset: 2px;
}
body.landing-page .search-button {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 2rem !important;
  border-radius: 12px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  margin-top: 0 !important;
  height: 48px !important;
  font-size: 0.95rem !important;
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}
body.landing-page .search-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
body.landing-page .voice-search-button {
  background: white !important;
  color: var(--color-primary, #6253D8) !important;
  border: 2px solid var(--color-primary, #6253D8) !important;
  padding: 0.75rem !important;
  border-radius: 12px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 48px !important;
  width: 48px !important;
  min-width: 48px !important;
  margin-left: 0.75rem !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
}
body.landing-page .voice-search-button i {
  font-size: 1.1rem !important;
}
body.landing-page .voice-search-button:hover {
  background: var(--color-primary, #6253D8) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(98, 83, 216, 0.3);
}
body.landing-page .voice-search-button:active, body.landing-page .voice-search-button.listening {
  background: linear-gradient(135deg, #667eea, #764ba2) !important;
  color: white !important;
  animation: pulse 1.5s infinite;
  transform: none !important;
}
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
body.landing-page .hero-search-field {
  position: relative;
  flex: 1.5 !important;
}
body.landing-page .hero-search-field[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #1e293b;
  color: #f1f5f9;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
body.landing-page .hero-search-field[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
body.landing-page .hero-search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #e2e8f0;
  border-top: none;
}
body.landing-page .hero-search-suggestions[hidden] {
  display: none;
}
body.landing-page .hero-suggestion-item {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  grid-template-rows: auto auto;
  gap: 0 0.75rem;
  align-items: center;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: background 0.15s ease;
  color: #1e293b;
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
}
body.landing-page .hero-suggestion-item:last-child {
  border-bottom: none;
}
body.landing-page .hero-suggestion-item:hover, body.landing-page .hero-suggestion-item.active {
  background: #f1f5f9;
}
body.landing-page .hero-suggestion-item i {
  color: #667eea;
  text-align: center;
  font-size: 0.875rem;
  grid-row: 1/-1;
  align-self: center;
}
body.landing-page .hero-suggestion-item__name {
  font-weight: 600;
  grid-column: 2;
}
body.landing-page .hero-suggestion-item__meta {
  font-size: 0.75rem;
  color: #64748b;
  grid-column: 2;
}
body.landing-page .hero-suggestion-group {
  padding: 0.375rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  background: #f8fafc;
}
body.landing-page .hero-suggestion-group--partner {
  color: #667eea;
}
body.landing-page .hero-suggestion-item--partner i {
  color: #667eea;
}
body.landing-page .hero-partner-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-left: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  color: #667eea;
  background: rgba(102, 126, 234, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  vertical-align: middle;
}
body.landing-page .hero-partner-badge i {
  font-size: 0.5rem;
  color: #667eea;
}
body.landing-page .hero-quick-filters {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}
body.landing-page .hero-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #334155;
  min-height: 44px;
}
body.landing-page .hero-filter-chip i {
  font-size: 0.9rem;
  color: #667eea;
}
body.landing-page .hero-filter-chip:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
  color: #334155;
}
body.landing-page .hero-filter-chip[aria-pressed=true],
body.landing-page .hero-filter-chip.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
body.landing-page .hero-filter-chip[aria-pressed=true] i,
body.landing-page .hero-filter-chip.active i {
  color: white;
}
body.landing-page .section-separator {
  height: 80px;
  position: relative;
  overflow: hidden;
}
body.landing-page .wave-top {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(0 30%, 100% 0%, 100% 100%, 0% 100%);
}
body.landing-page .wave-bottom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  clip-path: polygon(0 0%, 100% 30%, 100% 100%, 0% 100%);
}
body.landing-page .features-section {
  padding: 100px 2rem;
  background: #ffffff;
  position: relative;
}
body.landing-page .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
body.landing-page .section-label {
  color: #4f46e5;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}
body.landing-page .section-title {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  font-weight: 900;
  color: #1a1a1f;
  margin-bottom: 1rem;
}
body.landing-page .section-subtitle {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}
body.landing-page .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1920px;
  margin: 0 auto;
}
body.landing-page .feature-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
}
body.landing-page .feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}
body.landing-page .feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}
body.landing-page .feature-card h3 {
  font-size: 1.3rem;
  color: #1a1a1f;
  margin-bottom: 0.75rem;
  font-weight: 700;
}
body.landing-page .feature-card p {
  color: #666;
  line-height: 1.6;
}
body.landing-page .feature-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
body.landing-page .feature-card--coming-soon {
  position: relative;
}
body.landing-page .feature-card--coming-soon .feature-icon {
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
body.landing-page .restaurants-section {
  padding: 100px 2rem;
  background: linear-gradient(135deg, #1a1a1f, #2d2d3a);
  position: relative;
}
body.landing-page .restaurants-section .section-title {
  color: #ffffff;
}
body.landing-page .restaurants-section .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}
body.landing-page .restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
  gap: 2rem;
  max-width: 1900px;
  margin: 0 auto;
}
body.landing-page .restaurant-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body.landing-page .restaurant-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
body.landing-page .restaurant-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
body.landing-page .restaurant-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.landing-page .restaurant-content .btn-send-request,
body.landing-page .restaurant-content .btn-contact-restaurant,
body.landing-page .restaurant-content .btn-book-now {
  margin-top: auto;
}
body.landing-page .restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}
body.landing-page .restaurant-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.landing-page .restaurant-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffd700;
  font-weight: 600;
}
body.landing-page .restaurant-details {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
body.landing-page .restaurant-details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
body.landing-page .availability-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
body.landing-page .time-slot {
  padding: 0.4rem 0.8rem;
  background: rgba(102, 126, 234, 0.1);
  color: #667eea;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #667eea;
  transition: all 0.3s ease;
  cursor: pointer;
}
body.landing-page .time-slot:hover {
  background: #667eea;
  color: white;
}
body.landing-page .reviews-section {
  padding: 100px 2rem;
  background: #f8f9fa;
  position: relative;
}
body.landing-page .reviews-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2rem;
  max-width: 1900px;
  margin: 0 auto;
}
@media (max-width: 1200px) {
  body.landing-page .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  body.landing-page .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  body.landing-page .reviews-grid {
    grid-template-columns: 1fr;
  }
}
body.landing-page .review-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}
body.landing-page .review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
  border-color: #667eea;
}
body.landing-page .review-card-header {
  position: relative;
  height: 200px;
  overflow: hidden;
}
body.landing-page .review-card-header--gradient {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 160px;
}
body.landing-page .review-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
body.landing-page .review-card-icon i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.95);
}
body.landing-page .review-card-icon--emoji {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.15);
}
body.landing-page .review-card-icon .cuisine-emoji {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}
body.landing-page .review-restaurant-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.landing-page .review-badge-best {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
body.landing-page .review-card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.landing-page .review-card-content .book-now-btn {
  margin-top: auto;
}
body.landing-page .review-restaurant-info {
  margin-bottom: 1.5rem;
}
body.landing-page .review-restaurant-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1f;
  margin-bottom: 0.5rem;
}
body.landing-page .review-restaurant-meta {
  display: flex;
  gap: 1rem;
  color: #666;
  font-size: 0.9rem;
}
body.landing-page .review-restaurant-meta span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
body.landing-page .review-restaurant-info .restaurant-rating {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}
body.landing-page .review-restaurant-info .restaurant-rating .stars {
  display: flex;
  gap: 0.0625rem;
  color: #F4C430;
}
body.landing-page .review-restaurant-info .restaurant-rating .stars i {
  font-size: 0.875rem;
}
body.landing-page .review-restaurant-info .restaurant-rating .rating-number {
  font-weight: 600;
  color: #1a1a1f;
}
body.landing-page .review-restaurant-info .restaurant-rating .review-count {
  color: #666;
  font-size: 0.875rem;
}
body.landing-page .review-aggregate {
  background: #f8f9fa;
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
body.landing-page .aggregate-score {
  text-align: center;
  margin-bottom: 1.5rem;
}
body.landing-page .score-number {
  font-size: 3rem;
  font-weight: 700;
  color: #667eea;
  line-height: 1;
}
body.landing-page .score-stars {
  color: #ffd700;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}
body.landing-page .score-count {
  color: #666;
  font-size: 0.9rem;
}
body.landing-page .review-sources {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
body.landing-page .source-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: white;
  border-radius: 10px;
  font-size: 0.85rem;
}
body.landing-page .source-logo {
  width: 20px;
  height: 20px;
}
body.landing-page .source-score {
  font-weight: 700;
  color: #1a1a1f;
}
body.landing-page .source-count {
  color: #666;
  font-size: 0.8rem;
}
body.landing-page .tableflow-native {
  grid-column: span 2;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  border: 1px solid #667eea;
  position: relative;
}
body.landing-page .tableflow-native i {
  color: #667eea;
}
body.landing-page .source-name {
  font-weight: 600;
  color: #667eea;
}
body.landing-page .verified-badge {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #22c55e;
  font-weight: 600;
}
body.landing-page .featured-review {
  border-top: 1px solid #e0e0e0;
  padding-top: 1.5rem;
  margin-bottom: 1.5rem;
}
body.landing-page .review-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
}
body.landing-page .reviewer-info {
  display: flex;
  gap: 0.75rem;
}
body.landing-page .reviewer-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
}
body.landing-page .reviewer-name {
  font-weight: 600;
  color: #1a1a1f;
  margin-bottom: 0.25rem;
}
body.landing-page .reviewer-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: #666;
}
body.landing-page .verified-diner {
  color: #16a34a;
  font-weight: 500;
}
body.landing-page .review-rating {
  color: #ffd700;
  display: flex;
  gap: 0.1rem;
}
body.landing-page .review-text {
  color: #1a1a1f;
  line-height: 1.6;
  font-style: italic;
}
body.landing-page .book-now-btn {
  width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
body.landing-page .book-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}
body.landing-page .view-all-btn {
  background: white;
  color: #4f46e5;
  border: 2px solid #4f46e5;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
body.landing-page .view-all-btn:hover {
  background: #667eea;
  color: white;
  transform: translateX(5px);
}
body.landing-page .how-section {
  padding: 100px 2rem;
  background: #ffffff;
}
body.landing-page .steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
body.landing-page .step {
  text-align: center;
  position: relative;
}
body.landing-page .step-number {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}
body.landing-page .step h3 {
  font-size: 1.2rem;
  color: #1a1a1f;
  margin-bottom: 0.75rem;
}
body.landing-page .step p {
  color: #666;
  line-height: 1.6;
}
body.landing-page .coming-soon-text {
  color: #F49609;
  font-weight: 600;
}
body.landing-page .cta-section {
  padding: 150px 2rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  text-align: center;
}
body.landing-page .cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.5rem 1rem 2rem;
  border: 0.375rem solid;
  border-radius: 1.875rem;
}
body.landing-page .cta-title {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  color: white;
  margin-bottom: 1rem;
}
body.landing-page .cta-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}
body.landing-page .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
body.landing-page .btn-cta {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}
body.landing-page .btn-cta-primary {
  background: white;
  color: #4f46e5;
}
body.landing-page .btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
body.landing-page .btn-cta-secondary {
  background: transparent;
  color: white;
  text-decoration: none;
  border: 2px solid white;
}
body.landing-page .btn-cta-secondary:hover {
  background: white;
  color: #667eea;
}
body.landing-page footer {
  background: #0f0f11;
  padding: 3rem 2rem 2rem;
  color: #ffffff;
}
body.landing-page .footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}
body.landing-page .footer-section h3 {
  margin-bottom: 1rem;
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 600;
}
body.landing-page .footer-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}
body.landing-page .footer-section a:hover {
  color: white;
}
body.landing-page .footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}
body.landing-page .a11y-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 12px;
  flex-shrink: 0;
}
body.landing-page .a11y-toolbar__btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 6px;
  min-width: 36px;
  min-height: 36px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  padding: 0 6px;
  position: relative;
}
body.landing-page .a11y-toolbar__btn[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) scale(0.95);
  background: #1e293b;
  color: #f1f5f9;
  font-size: 0.7rem;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 100;
}
body.landing-page .a11y-toolbar__btn[data-tooltip]:hover::after, body.landing-page .a11y-toolbar__btn[data-tooltip]:focus-visible::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}
body.landing-page .a11y-toolbar__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}
body.landing-page .a11y-toolbar__btn[aria-pressed=true] {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
body.landing-page .a11y-toolbar__btn:focus-visible {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}
body.landing-page .a11y-toolbar__btn i {
  font-size: 0.85rem;
}
@media (max-width: 768px) {
  body.landing-page .a11y-toolbar {
    display: none !important;
  }
}
body.landing-page .a11y-fab {
  display: none;
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(45, 46, 136, 0.95);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  transition: transform 120ms ease, background 120ms ease;
}
body.landing-page .a11y-fab:active {
  transform: scale(0.94);
}
body.landing-page .a11y-fab:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 3px;
}
body.landing-page .a11y-fab i {
  font-size: 1.25rem;
  line-height: 1;
}
@media (max-width: 768px) {
  body.landing-page .a11y-fab {
    display: inline-flex;
  }
}
body.landing-page .a11y-panel {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
body.landing-page .a11y-panel[hidden] {
  display: none;
}
body.landing-page .a11y-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.55);
}
body.landing-page .a11y-panel__sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #ffffff;
  border-radius: 18px 18px 0 0;
  padding: 20px 20px 28px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.18);
  animation: a11y-sheet-up 200ms cubic-bezier(0.2, 0.9, 0.3, 1.05);
  max-height: 80vh;
  overflow-y: auto;
}
body.landing-page .a11y-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
body.landing-page .a11y-panel__title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
}
body.landing-page .a11y-panel__close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background 120ms ease;
}
body.landing-page .a11y-panel__close:hover, body.landing-page .a11y-panel__close:focus-visible {
  background: #e2e8f0;
  outline: none;
}
body.landing-page .a11y-panel__group {
  margin-bottom: 18px;
}
body.landing-page .a11y-panel__group:last-child {
  margin-bottom: 0;
}
body.landing-page .a11y-panel__group-title {
  margin: 0 0 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
}
body.landing-page .a11y-panel__row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}
body.landing-page .a11y-panel__btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  border-radius: 10px;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 120ms ease;
}
body.landing-page .a11y-panel__btn:hover, body.landing-page .a11y-panel__btn:focus-visible {
  background: #e2e8f0;
  outline: none;
}
body.landing-page .a11y-panel__btn:active {
  background: #cbd5e1;
}
body.landing-page .a11y-panel__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: background 120ms ease, border-color 120ms ease;
}
body.landing-page .a11y-panel__toggle:hover, body.landing-page .a11y-panel__toggle:focus-visible {
  background: #f1f5f9;
  outline: none;
}
body.landing-page .a11y-panel__toggle[aria-pressed=true] {
  background: #fef3c7;
  border-color: #F49609;
  color: #78350f;
}
body.landing-page .a11y-panel__toggle:last-child {
  margin-bottom: 0;
}
body.landing-page .a11y-panel__toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
}
body.landing-page .a11y-panel__toggle-icon i {
  font-size: 0.95rem;
  color: #475569;
}
body.landing-page .a11y-panel__toggle[aria-pressed=true] body.landing-page .a11y-panel__toggle-icon i {
  color: #F49609;
}
@keyframes a11y-sheet-up {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
body.landing-page body.a11y-panel-open {
  overflow: hidden;
}
body.landing-page .trust-strip {
  background: #ffffff;
  padding: 24px 2rem;
  border-bottom: 1px solid #e5e7eb;
}
body.landing-page .trust-strip__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}
body.landing-page .trust-strip__item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}
body.landing-page .trust-strip__item i {
  color: #2D2E88;
  font-size: 1.2rem;
}
@media (max-width: 768px) {
  body.landing-page .trust-strip__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  body.landing-page .trust-strip__item {
    font-size: 0.85rem;
    justify-content: center;
  }
}
body.landing-page .inclusive-section {
  padding: 100px 2rem 120px;
  background: #f9fafb;
  position: relative;
}
body.landing-page .inclusive-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}
body.landing-page .inclusive-section .section-title {
  color: #1a1a1f;
}
body.landing-page .inclusive-section .section-subtitle {
  color: #6b7280;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
body.landing-page .inclusive-section__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}
body.landing-page .inclusive-section__media {
  display: flex;
}
body.landing-page .inclusive-section__video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  flex: 1;
}
body.landing-page .inclusive-section__video-wrapper picture {
  display: block;
  width: 100%;
  height: 100%;
}
body.landing-page .inclusive-section__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body.landing-page .inclusive-section__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
body.landing-page .inclusive-card {
  background: #1a1a2e;
  border-radius: 16px;
  padding: 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
body.landing-page .inclusive-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
@media (max-width: 480px) {
  body.landing-page .inclusive-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}
body.landing-page .inclusive-card__icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: rgba(244, 150, 9, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}
body.landing-page .inclusive-card__icon i {
  color: #F49609;
  font-size: 1.15rem;
}
body.landing-page .inclusive-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}
body.landing-page .inclusive-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 1024px) {
  body.landing-page .inclusive-section__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  body.landing-page .inclusive-section__media {
    position: static;
    max-width: 600px;
    margin: 0 auto;
  }
}
@media (max-width: 640px) {
  body.landing-page .inclusive-section {
    padding: 60px 1rem 80px;
  }
}

/* Font size modes — OUTSIDE body.landing-page scope so they override everything */
html.font-large {
  font-size: 118.75% !important;
}

html.font-xlarge {
  font-size: 137.5% !important;
}

/* High contrast mode */
body.high-contrast.landing-page .trust-strip__item,
body.high-contrast.landing-page .trust-strip__item i,
body.high-contrast.landing-page .footer-section a,
body.high-contrast.landing-page .footer-bottom,
body.high-contrast.landing-page .footer-section p {
  color: #ffffff !important;
}
body.high-contrast.landing-page .feature-card p,
body.high-contrast.landing-page .section-subtitle,
body.high-contrast.landing-page .step p {
  color: #000000 !important;
}
body.high-contrast.landing-page .inclusive-card p,
body.high-contrast.landing-page .inclusive-card h3 {
  color: #ffffff !important;
}
body.high-contrast.landing-page .inclusive-card {
  border-color: #ffffff !important;
}
body.high-contrast.landing-page a {
  text-decoration: underline !important;
}
body.high-contrast.landing-page .restaurant-card,
body.high-contrast.landing-page .inclusive-card,
body.high-contrast.landing-page .feature-card,
body.high-contrast.landing-page .review-card {
  border: 2px solid #000000 !important;
}
body.high-contrast.landing-page .trust-strip {
  background: #000000 !important;
}
body.high-contrast.landing-page .inclusive-section {
  background: #ffffff !important;
}
body.high-contrast.landing-page *:focus-visible {
  outline: 3px solid #F49609 !important;
  outline-offset: 3px;
}

/* Reduced motion (site-level toggle) */
/* Only stops decorative animations — keeps basic hover/focus transitions smooth */
body.reduce-motion {
  scroll-behavior: auto !important;
}

body.reduce-motion .reveal,
body.reduce-motion .reveal--left,
body.reduce-motion .reveal--right {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

body.reduce-motion .feature-card:hover,
body.reduce-motion .step:hover,
body.reduce-motion .btn-cta:hover,
body.reduce-motion .inclusive-card:hover,
body.reduce-motion .restaurant-card:hover {
  transform: none !important;
}

body.reduce-motion video {
  display: none !important;
}

/* Responsive Design */
@media (max-width: 968px) {
  .search-row {
    flex-direction: column;
  }
  .search-field {
    width: 100%;
  }
  .search-button {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
  }
}
@media (max-width: 968px) {
  body.landing-page .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1002;
  }
  body.landing-page .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 15, 17, 0.98);
    flex-direction: column;
    padding: 1.5rem 0 !important;
    gap: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }
  body.landing-page .nav-menu.active {
    display: flex;
  }
  body.landing-page .nav-menu .nav-link {
    padding: 1.25rem 2rem;
    width: 100%;
    text-align: left;
    font-size: 1.125rem;
  }
  body.landing-page .nav-menu .nav-business {
    margin: 1.5rem 2rem;
    width: calc(100% - 4rem);
    text-align: center;
    border-radius: var(--border-radius-md, 8px);
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    white-space: normal;
  }
}
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
    margin-top: 1.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .video-hero {
    height: 100vh;
    min-height: 100vh;
  }
  .hero-search {
    margin: 0 1rem;
    padding: 1rem;
  }
  .restaurants-grid {
    grid-template-columns: 1fr;
  }
  .hero-quick-filters {
    justify-content: center;
  }
}
@media (max-width: 968px) {
  body.landing-page .hero-search {
    display: none;
  }
  body.landing-page .section-separator {
    height: 40px;
  }
  body.landing-page .features-section {
    padding: 32px 0 40px;
    overflow: hidden;
  }
  body.landing-page .features-section .section-header {
    margin-bottom: 1.5rem;
    padding: 0 1.5rem;
  }
  body.landing-page .features-grid {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 1.5rem 1rem;
    scrollbar-width: none;
  }
  body.landing-page .features-grid::-webkit-scrollbar {
    display: none;
  }
  body.landing-page .feature-card {
    flex: 0 0 75vw;
    max-width: 320px;
    min-width: 260px;
    will-change: transform;
  }
}
@media (max-width: 480px) {
  .restaurants-section,
  .reviews-section,
  .how-section,
  .cta-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .trust-strip {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .nav-container {
    padding: 0 0.75rem;
  }
}
/**
 * Marketing Hub Styles
 * Tab navigation, campaign lists, stats cards, and marketing-specific components
 */
.marketing-page .admin-content {
  padding: 1rem 2.5rem;
}
@media (min-width: 1024px) {
  .marketing-page .admin-content {
    padding: 1.5rem 2.5rem;
  }
}

@media (max-width: 767px) {
  .marketing-page .admin-content {
    padding: 1rem 1.25rem;
  }
  .marketing-page .admin-header {
    padding: 0.75rem 1.25rem !important;
  }
  .marketing-page .admin-header__left {
    display: none;
  }
  .marketing-page .admin-header__right {
    width: 100%;
    justify-content: space-between;
  }
}
@media (min-width: 768px) and (max-width: 1400px) {
  .marketing-page .admin-header {
    padding: 0.75rem 1.5rem !important;
  }
  .marketing-page .admin-content {
    padding: 1rem 1.5rem 1rem 0;
  }
}
.marketing-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.marketing-stats__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  transition: all 250ms ease-in-out;
}
.marketing-stats__card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(45, 46, 136, 0.3);
  transform: translateY(-2px);
}
.marketing-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.2), rgba(244, 150, 9, 0.1));
  border-radius: 0.5rem;
  color: #F49609;
  font-size: 1.25rem;
}
.marketing-stats__content {
  flex: 1;
}
.marketing-stats__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.marketing-stats__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}
@media (max-width: 1023px) {
  .marketing-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .marketing-stats {
    grid-template-columns: 1fr;
  }
}

.marketing-tabs {
  display: flex;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #0f172a;
  border-bottom: 2px solid #1e293b;
  overflow-x: auto;
}
.marketing-tabs::-webkit-scrollbar {
  height: 4px;
}
.marketing-tabs::-webkit-scrollbar-track {
  background: #1e293b;
}
.marketing-tabs::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: 2px;
}
.marketing-tabs__tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
}
.marketing-tabs__tab i {
  font-size: 1.125rem;
  transition: transform 150ms ease-in-out;
}
.marketing-tabs__tab:hover {
  background: #334155;
  border-color: #475569;
  color: #e2e8f0;
}
.marketing-tabs__tab:hover i {
  transform: scale(1.1);
}
.marketing-tabs__tab:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.marketing-tabs__tab--active {
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.2), rgba(45, 46, 136, 0.1));
  border-color: #2D2E88;
  color: #f8fafc;
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.3);
}
.marketing-tabs__tab--active i {
  color: #F49609;
}
@media (max-width: 767px) {
  .marketing-tabs {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .marketing-tabs__tab {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
  .marketing-tabs__tab i {
    font-size: 1rem;
  }
}
@media (max-width: 639px) {
  .marketing-tabs__tab span {
    display: none;
  }
}

.marketing-content {
  padding: 1.5rem;
  background: #1a2332;
  min-height: calc(100vh - 200px);
  width: 100%;
}
@media (max-width: 767px) {
  .marketing-content {
    padding: 1rem;
  }
}

.marketing-panel {
  display: none;
  animation: fadeIn 250ms ease-in-out;
}
.marketing-panel--active {
  display: block;
}
.marketing-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
@media (max-width: 767px) {
  .marketing-panel__header {
    flex-direction: column;
    align-items: stretch;
  }
}
.marketing-panel__info {
  flex: 1;
}
.marketing-panel__info h2 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.marketing-panel__info p {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
}
.marketing-panel__back-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.marketing-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.marketing-stats__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: #1e293b;
  border: 2px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.75rem;
  transition: all 250ms ease-in-out;
}
.marketing-stats__card:hover {
  border-color: #2D2E88;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 46, 136, 0.2);
}
.marketing-stats__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.marketing-stats__content {
  flex: 1;
}
.marketing-stats__label {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}
.marketing-stats__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
}
@media (max-width: 767px) {
  .marketing-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .marketing-stats {
    grid-template-columns: 1fr;
  }
}

.campaign-list__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1rem;
}
@media (max-width: 767px) {
  .campaign-list__header {
    flex-direction: column;
    align-items: stretch;
  }
}
.campaign-list__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}
.campaign-list__filters {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 639px) {
  .campaign-list__filters {
    flex-direction: column;
    width: 100%;
  }
}
.campaign-list__search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.campaign-list__search-wrapper i {
  position: absolute;
  left: 0.75rem;
  color: #64748b;
  font-size: 0.875rem;
  pointer-events: none;
}
@media (max-width: 639px) {
  .campaign-list__search-wrapper {
    width: 100%;
  }
}
.campaign-list__search {
  padding: 0.5rem 1rem 0.5rem 2rem;
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  min-width: 280px;
  transition: all 150ms ease-in-out;
}
.campaign-list__search::placeholder {
  color: #64748b;
}
.campaign-list__search:focus {
  outline: none;
  border-color: rgba(45, 46, 136, 0.5);
  background: #374151;
}
@media (max-width: 639px) {
  .campaign-list__search {
    min-width: 100%;
    width: 100%;
  }
}
.campaign-list__filter {
  padding: 0.5rem 1rem;
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-width: 160px;
}
.campaign-list__filter:focus {
  outline: none;
  border-color: rgba(45, 46, 136, 0.5);
  background: #374151;
}
.campaign-list__filter:hover {
  border-color: rgba(45, 46, 136, 0.3);
}
@media (max-width: 639px) {
  .campaign-list__filter {
    width: 100%;
  }
}

.campaign-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.campaigns-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #94a3b8;
  font-size: 1rem;
}
.campaigns-loading i {
  font-size: 1.25rem;
  color: #F49609;
}

.campaign-card {
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  transition: all 250ms ease-in-out;
}
.campaign-card:hover {
  border-color: rgba(45, 46, 136, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.campaign-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 0.75rem;
}
@media (max-width: 767px) {
  .campaign-card__header {
    flex-direction: column;
  }
}
.campaign-card__title-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.campaign-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}
.campaign-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.campaign-card__time {
  font-size: 0.75rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 400;
}
.campaign-card__time i {
  font-size: 0.75rem;
  color: #6b7280;
}
.campaign-card__body {
  margin-bottom: 1rem;
}
.campaign-card__subject {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0 0 0.5rem 0;
}
.campaign-card__subject strong {
  color: #94a3b8;
  font-weight: 500;
}
.campaign-card__preview {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}
.campaign-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.campaign-card__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(45, 46, 136, 0.1);
}
.campaign-card__footer .btn--primary {
  background: #F49609 !important;
  border-color: #F49609 !important;
  color: #ffffff !important;
}
.campaign-card__footer .btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008) !important;
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008) !important;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.campaign-card__footer .btn--secondary {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}
.campaign-card__footer .btn--secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #ffffff !important;
}
.campaign-card__footer .btn--secondary i {
  color: inherit !important;
}
.campaign-card__delete {
  margin-left: auto;
}
@media (max-width: 639px) {
  .campaign-card__delete {
    margin-left: 0;
  }
}
.campaign-card--draft {
  border-left: 4px solid #64748b;
}
.campaign-card--scheduled {
  border-left: 4px solid #F49609;
}
.campaign-card--sent {
  border-left: 4px solid #2D2E88;
}

.campaign-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.campaign-badge i {
  font-size: 0.75rem;
}
.campaign-badge--draft {
  background: rgba(107, 114, 128, 0.15);
  color: #9ca3af;
  border: none;
}
.campaign-badge--scheduled {
  background: rgba(255, 140, 66, 0.15);
  color: #ff8c42;
  border: none;
}
.campaign-badge--sent {
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  border: none;
}
.campaign-badge--archived {
  background: rgba(100, 116, 139, 0.25);
  color: #94a3b8;
  border: none;
}

.campaign-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  background: rgba(139, 92, 246, 0.1);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  color: #d1d5db;
  font-weight: 500;
}
.campaign-stat i {
  color: #8b5cf6;
  font-size: 0.875rem;
}
.campaign-stat--success {
  background: rgba(16, 185, 129, 0.1);
  color: #6ee7b7;
}
.campaign-stat--success i {
  color: #10b981;
}
.campaign-stat--info {
  background: rgba(255, 140, 66, 0.1);
  color: #ffb380;
}
.campaign-stat--info i {
  color: #ff8c42;
}

.btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  min-height: 32px;
  gap: 0.25rem;
}
.btn--primary {
  background: linear-gradient(135deg, #F49609, rgb(194.814229249, 119.7628458498, 7.185770751));
  border-color: #F49609;
  color: #ffffff;
}
.btn--primary:hover {
  background: linear-gradient(135deg, rgb(219.4071146245, 134.8814229249, 8.0928853755), rgb(170.2213438735, 104.6442687747, 6.2786561265));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.btn--secondary {
  background: #334155;
  border-color: rgba(45, 46, 136, 0.3);
  color: #e2e8f0;
}
.btn--secondary:hover {
  background: #475569;
  border-color: #2D2E88;
  color: #f8fafc;
}
.btn--outline {
  background: transparent;
  border-color: rgba(45, 46, 136, 0.3);
  color: #94a3b8;
}
.btn--outline:hover {
  background: rgba(45, 46, 136, 0.1);
  border-color: #2D2E88;
  color: #e2e8f0;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  text-align: center;
}
.empty-state__icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(100, 116, 139, 0.3), rgba(71, 85, 105, 0.2));
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.empty-state__icon i {
  font-size: 1.875rem;
  color: #cbd5e1;
}
.empty-state__title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.75rem 0;
}
.empty-state__description {
  font-size: 1rem;
  color: #cbd5e1;
  max-width: 400px;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}
.empty-state--widget-promos {
  grid-column: 1/-1;
  padding: 3rem 1.5rem;
}

.settings-form {
  max-width: 800px;
}

.settings-section {
  background: #1e293b;
  border: 2px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.settings-section h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.settings-section__description {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 1.25rem 0;
}
.settings-section .form-group label {
  color: #f8fafc !important;
}

.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.form-group input[type=text],
.form-group input[type=email],
.form-group input[type=file] {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #0f172a;
  border: 2px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  transition: border-color 150ms ease-in-out;
}
.form-group input[type=text]::placeholder,
.form-group input[type=email]::placeholder,
.form-group input[type=file]::placeholder {
  color: #64748b;
}
.form-group input[type=text]:focus,
.form-group input[type=email]:focus,
.form-group input[type=file]:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.form-group input[type=file] {
  cursor: pointer;
}

.file-input-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.file-input-wrapper .file-input-hidden {
  display: none;
}
.file-input-wrapper .file-input-name {
  font-size: 0.875rem;
  color: #94a3b8;
  font-style: italic;
}

.color-picker-group {
  display: flex;
  gap: 0.75rem;
}
.color-picker-group input[type=color] {
  width: 80px;
  height: 48px;
  padding: 0.25rem;
  background: #0f172a;
  border: 2px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 150ms ease-in-out;
}
.color-picker-group input[type=color]:hover {
  border-color: #2D2E88;
}
.color-picker-group input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-picker-group input[type=color]::-webkit-color-swatch {
  border: none;
  border-radius: 0.375rem;
}

.settings-form--grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .settings-form--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .settings-form--grid .settings-section--full-width {
    grid-column: 1/-1;
  }
}

.color-palette {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.color-category__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.color-category__title {
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.color-category__add {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: #2D2E88;
  border: none;
  border-radius: 0.375rem;
  color: #ffffff;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.color-category__add:hover {
  background: rgb(55.1436464088, 56.3690607735, 166.6563535912);
  transform: scale(1.1);
}
.color-category__add:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(45, 46, 136, 0.4);
}
.color-category__add i {
  font-size: 12px;
}
.color-category__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.color-swatch {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.color-swatch:hover .color-swatch__delete {
  opacity: 1;
}
.color-swatch__delete {
  position: absolute;
  top: -6px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  padding: 0;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 50%;
  color: #94a3b8;
  font-size: 8px;
  cursor: pointer;
  opacity: 0;
  transition: all 150ms ease-in-out;
  z-index: 1;
}
.color-swatch__delete:hover {
  color: #ffffff;
  background: #ef4444;
  border-color: #ef4444;
}
.color-swatch__delete:focus {
  outline: none;
  opacity: 1;
}
.color-swatch[data-required=true] .color-swatch__delete {
  display: none;
}
.color-swatch__preview {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 150ms ease-in-out, transform 150ms ease-in-out;
}
.color-swatch__preview:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.color-swatch__preview:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 2px rgba(45, 46, 136, 0.3);
}
.color-swatch__label {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
  max-width: 60px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.color-swatch__label--editable {
  cursor: text;
  padding: 2px 4px;
  border-radius: 0.375rem;
  transition: background-color 150ms ease-in-out, color 150ms ease-in-out;
}
.color-swatch__label--editable:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
}
.color-swatch__label--editable:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  white-space: normal;
  overflow: visible;
}
.pickr .pcr-button {
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: border-color 150ms ease-in-out, transform 150ms ease-in-out;
}
.pickr .pcr-button:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.pickr .pcr-button:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.2);
}
.pickr .pcr-button::before, .pickr .pcr-button::after {
  border-radius: calc(0.5rem - 4px);
}

.pcr-app {
  background: #0f172a !important;
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.75rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}
.pcr-app .pcr-selection .pcr-color-preview {
  border-radius: 0.5rem;
}
.pcr-app .pcr-selection .pcr-color-preview .pcr-current-color {
  border-radius: 0.5rem;
}
.pcr-app .pcr-selection .pcr-color-chooser .pcr-picker,
.pcr-app .pcr-selection .pcr-color-opacity .pcr-picker {
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.pcr-app .pcr-interaction .pcr-result {
  background: #1e293b;
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.375rem;
  color: #f1f5f9;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  font-size: 0.875rem;
}
.pcr-app .pcr-interaction .pcr-result:focus {
  border-color: #2D2E88;
  box-shadow: 0 0 0 2px rgba(45, 46, 136, 0.2);
}
.pcr-app .pcr-interaction .pcr-type {
  background: #1e293b;
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.375rem;
  color: #cbd5e1;
}
.pcr-app .pcr-interaction .pcr-type:hover {
  background: #334155;
}
.pcr-app .pcr-interaction .pcr-save,
.pcr-app .pcr-interaction .pcr-cancel,
.pcr-app .pcr-interaction .pcr-clear {
  background: #2D2E88;
  border-radius: 0.375rem;
  color: #ffffff;
  font-weight: 500;
}
.pcr-app .pcr-interaction .pcr-save:hover,
.pcr-app .pcr-interaction .pcr-cancel:hover,
.pcr-app .pcr-interaction .pcr-clear:hover {
  background: rgb(51.3397790055, 52.4806629834, 155.1602209945);
}
.pcr-app .pcr-interaction .pcr-cancel {
  background: transparent;
  border: 1px solid rgba(45, 46, 136, 0.3);
  color: #cbd5e1;
}
.pcr-app .pcr-interaction .pcr-cancel:hover {
  background: rgba(45, 46, 136, 0.1);
}

.form-hint {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.5;
}
.form-hint--spaced {
  margin-top: 8px;
}
.form-hint--link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(30, 41, 59, 0.5);
  border-radius: 0.375rem;
}
.form-hint--link i {
  color: #2D2E88;
  flex-shrink: 0;
}
.form-hint--link .settings-link {
  color: #2D2E88;
  text-decoration: none;
  font-weight: 500;
  transition: color 150ms ease-in-out;
}
.form-hint--link .settings-link:hover {
  color: rgb(57.679558011, 58.9613259669, 174.320441989);
  text-decoration: underline;
}

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

.social-media-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}
.social-media-loading i {
  color: #2D2E88;
}

.social-media-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: #94a3b8;
}
.social-media-empty i {
  font-size: 1.5rem;
  color: #475569;
  margin-bottom: 0.75rem;
}
.social-media-empty p {
  margin: 0;
  font-size: 0.875rem;
}

.social-media-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #0f172a;
  border: 2px solid rgba(45, 46, 136, 0.15);
  border-radius: 0.5rem;
  transition: border-color 150ms ease-in-out, transform 150ms ease-in-out;
}
.social-media-item:hover {
  border-color: rgba(45, 46, 136, 0.3);
  transform: translateY(-1px);
}
.social-media-item__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(45, 46, 136, 0.1);
  border-radius: 0.375rem;
  color: #2D2E88;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.social-media-item__icon--facebook {
  color: #1877f2;
  background: rgba(24, 119, 242, 0.1);
}
.social-media-item__icon--instagram {
  color: #e4405f;
  background: rgba(228, 64, 95, 0.1);
}
.social-media-item__icon--twitter {
  color: #1da1f2;
  background: rgba(29, 161, 242, 0.1);
}
.social-media-item__icon--linkedin {
  color: #0a66c2;
  background: rgba(10, 102, 194, 0.1);
}
.social-media-item__icon--youtube {
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
}
.social-media-item__icon--tiktok {
  color: #000000;
  background: rgba(255, 255, 255, 0.1);
}
.social-media-item__icon--pinterest {
  color: #bd081c;
  background: rgba(189, 8, 28, 0.1);
}
.social-media-item__icon--yelp {
  color: #d32323;
  background: rgba(211, 35, 35, 0.1);
}
.social-media-item__icon--tripadvisor {
  color: #00af87;
  background: rgba(0, 175, 135, 0.1);
}
.social-media-item__icon--website {
  color: #2D2E88;
  background: rgba(45, 46, 136, 0.1);
}
.social-media-item__info {
  flex: 1;
  min-width: 0;
}
.social-media-item__platform {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e2e8f0;
  text-transform: capitalize;
}
.social-media-item__url {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.social-media-item__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  text-decoration: none;
  transition: color 150ms ease-in-out, background-color 150ms ease-in-out;
}
.social-media-item__link:hover {
  color: #2D2E88;
  background: rgba(45, 46, 136, 0.1);
}

.date-range-select {
  padding: 0.5rem 1rem;
  background: #1e293b;
  border: 2px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 150ms ease-in-out;
}
.date-range-select:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.campaign-creation-page {
  background: #1a2332;
  min-height: 100vh;
}

.campaign-creation__header {
  background: #2d3748;
  border-bottom: 1px solid #3a4556;
  padding: 1.25rem 1.5rem;
}
@media (max-width: 767px) {
  .campaign-creation__header {
    padding: 1rem;
  }
}
.campaign-creation__header-content {
  max-width: 1400px;
  margin: 0 auto;
}
.campaign-creation__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(45, 46, 136, 0.3);
  border-radius: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 150ms ease-in-out;
  margin-bottom: 1rem;
}
.campaign-creation__back-btn i {
  font-size: 0.875rem;
  transition: transform 150ms ease-in-out;
}
.campaign-creation__back-btn:hover {
  background: rgba(45, 46, 136, 0.1);
  border-color: #2D2E88;
  color: #f8fafc;
}
.campaign-creation__back-btn:hover i {
  transform: translateX(-2px);
}
.campaign-creation__back-btn:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.campaign-creation__header-info h1 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
@media (max-width: 767px) {
  .campaign-creation__header-info h1 {
    font-size: 1.25rem;
  }
}
.campaign-creation__header-info p {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}
@media (max-width: 767px) {
  .campaign-creation__header-info p {
    font-size: 0.875rem;
  }
}
.campaign-creation__main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
@media (max-width: 767px) {
  .campaign-creation__main {
    padding: 1.5rem 1rem;
  }
}
.campaign-creation__help {
  margin-top: 2rem;
}

.method-selector {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 767px) {
  .method-selector {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #2d3748;
  border: 2px solid #3a4556;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  transition: all 250ms ease-in-out;
}
.method-card:hover {
  border-color: rgba(45, 46, 136, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.method-card--recommended {
  border-color: rgba(244, 150, 9, 0.6);
  box-shadow: 0 4px 24px rgba(244, 150, 9, 0.2);
}
.method-card--recommended:hover {
  border-color: #F49609;
  box-shadow: 0 12px 40px rgba(244, 150, 9, 0.3);
}
.method-card--recommended .btn--primary {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.method-card--recommended .btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.4);
}
.method-card--recommended .btn--primary:focus {
  outline-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}
.method-card--recommended .btn--primary:active {
  background: rgb(184.9770750988, 113.7154150198, 6.8229249012);
  border-color: rgb(184.9770750988, 113.7154150198, 6.8229249012);
}
.method-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #F49609, rgb(194.814229249, 119.7628458498, 7.185770751));
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.method-card__badge i {
  font-size: 0.75rem;
  color: #ffffff;
}
.method-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #F49609, rgb(194.814229249, 119.7628458498, 7.185770751));
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
}
.method-card__icon i {
  font-size: 1.875rem;
  color: #ffffff;
}
.method-card__icon--secondary {
  background: linear-gradient(135deg, #10b981, rgb(11.9402985075, 138.0597014925, 96.2686567164));
}
.method-card__icon--secondary i {
  color: #ffffff;
}
.method-card__icon--tertiary {
  background: linear-gradient(135deg, #D93151, rgb(181.5163934426, 33.4836065574, 61.6803278689));
}
.method-card__icon--tertiary i {
  color: #ffffff;
}
.method-card__title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.75rem 0;
}
.method-card__description {
  font-size: 0.875rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 1.25rem 0;
  flex-grow: 1;
}
.method-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.method-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(45, 46, 136, 0.1);
}
.method-card__features li:last-child {
  border-bottom: none;
}
.method-card__features li i {
  flex-shrink: 0;
  width: 20px;
  color: #ffffff;
  font-size: 1rem;
  margin-top: 2px;
}
.method-card__features li span {
  flex: 1;
}
.method-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  margin-bottom: 1.25rem;
  border-top: 1px solid rgba(45, 46, 136, 0.1);
  border-bottom: 1px solid rgba(45, 46, 136, 0.1);
}
@media (max-width: 639px) {
  .method-card__meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.method-card__time, .method-card__popularity {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}
.method-card__time i, .method-card__popularity i {
  color: #ffffff;
  font-size: 0.875rem;
}
.method-card .btn {
  width: 100%;
  justify-content: center;
}

.campaign-creation__main .method-selector .btn--secondary {
  transition: all 0.3s ease !important;
  position: relative !important;
  overflow: hidden !important;
}
.campaign-creation__main .method-selector .btn--secondary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.2) 50%, transparent 100%);
  transition: left 0.6s ease-out;
}
.campaign-creation__main .method-selector .btn--secondary:hover:not(:disabled)::before {
  left: 100%;
}
.campaign-creation__main .method-selector .method-card:nth-child(1) .btn--secondary:hover:not(:disabled) {
  background: #F49609 !important;
  color: #ffffff !important;
  border-color: #F49609 !important;
  transform: translateY(-0.125rem) !important;
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.4) !important;
}
.campaign-creation__main .method-selector .method-card:nth-child(2) .btn--secondary:hover:not(:disabled) {
  background: rgb(12.752238806, 147.447761194, 102.8149253731) !important;
  color: #ffffff !important;
  border-color: rgb(12.752238806, 147.447761194, 102.8149253731) !important;
  transform: translateY(-0.125rem) !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.4) !important;
}
.campaign-creation__main .method-selector .method-card:nth-child(3) .btn--secondary:hover:not(:disabled) {
  background: rgb(190.1278688525, 35.0721311475, 64.606557377) !important;
  color: #ffffff !important;
  border-color: rgb(190.1278688525, 35.0721311475, 64.606557377) !important;
  transform: translateY(-0.125rem) !important;
  box-shadow: 0 4px 16px rgba(217, 49, 81, 0.4) !important;
}

.help-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(45, 46, 136, 0.08);
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.75rem;
}
@media (max-width: 639px) {
  .help-card {
    flex-direction: column;
    text-align: center;
  }
}
.help-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.2), rgba(244, 150, 9, 0.1));
  border-radius: 0.5rem;
}
.help-card__icon i {
  font-size: 1.25rem;
  color: #F49609;
}
@media (max-width: 639px) {
  .help-card__icon {
    margin: 0 auto;
  }
}
.help-card__content {
  flex: 1;
}
.help-card__content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.help-card__content p {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0;
}
.help-card__content p strong {
  color: #F49609;
  font-weight: 600;
}

.btn--lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 48px;
  gap: 0.5rem;
  font-weight: 600;
}

.ai-campaign-page {
  background: #1a2332;
  min-height: 100vh;
}

.ai-campaign__header {
  background: #2d3748;
  border-bottom: 1px solid #3a4556;
  padding: 1.25rem 1.5rem;
}
@media (max-width: 767px) {
  .ai-campaign__header {
    padding: 1rem;
  }
}
.ai-campaign__header-content {
  max-width: 1400px;
  margin: 0 auto;
}
.ai-campaign__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(45, 46, 136, 0.3);
  border-radius: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 150ms ease-in-out;
  margin-bottom: 1rem;
}
.ai-campaign__back-btn:hover {
  background: rgba(45, 46, 136, 0.1);
  border-color: #2D2E88;
  color: #f8fafc;
}
.ai-campaign__header-info h1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.ai-campaign__header-info h1 i {
  color: #2D2E88;
}
.ai-campaign__header-info p {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}
.ai-campaign__main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
@media (max-width: 767px) {
  .ai-campaign__main {
    padding: 1.5rem 1rem;
  }
}

.ai-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #2d3748;
  border-radius: 0.75rem;
}
@media (max-width: 639px) {
  .ai-steps {
    padding: 1rem;
  }
}

.ai-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  opacity: 0.5;
  transition: opacity 250ms ease-in-out;
}
.ai-step--active {
  opacity: 1;
}
.ai-step__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #3a4556;
  border: 2px solid #4b5563;
  border-radius: 50%;
  color: #94a3b8;
  font-size: 1.125rem;
  font-weight: 700;
  transition: all 250ms ease-in-out;
}
@media (max-width: 639px) {
  .ai-step__number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}
.ai-step__label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}
@media (max-width: 639px) {
  .ai-step__label {
    font-size: 0.75rem;
  }
}
.ai-step--active .ai-step__number {
  background: linear-gradient(135deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  border-color: #2D2E88;
  color: #ffffff;
}
.ai-step--active .ai-step__label {
  color: #f8fafc;
}
.ai-step__connector {
  width: 80px;
  height: 2px;
  background: #4b5563;
  margin: 0 1rem;
  margin-bottom: 24px;
}
@media (max-width: 639px) {
  .ai-step__connector {
    width: 40px;
    margin: 0 0.5rem;
  }
}

.ai-prompt-section {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1.5rem;
}
@media (max-width: 1023px) {
  .ai-prompt-section {
    grid-template-columns: 1fr;
  }
}

.ai-prompt-card {
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.75rem;
  padding: 2rem;
}
@media (max-width: 767px) {
  .ai-prompt-card {
    padding: 1.5rem;
  }
}
.ai-prompt-card__header {
  margin-bottom: 1.5rem;
}
.ai-prompt-card__header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.ai-prompt-card__header p {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}

.ai-prompt-form .form-group {
  margin-bottom: 1.5rem;
}
.ai-prompt-form .form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.75rem;
}

.form-label-hint {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #64748b;
  margin-top: 0.25rem;
}

.ai-prompt-textarea {
  width: 100%;
  padding: 1rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
  transition: border-color 150ms ease-in-out;
}
.ai-prompt-textarea::placeholder {
  color: #475569;
}
.ai-prompt-textarea:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.form-help {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}
.form-help i {
  color: #2D2E88;
  font-size: 1rem;
}
.form-help--success {
  color: #6ee7b7;
}
.form-help--success i {
  color: #10b981;
}

.content-editor {
  width: 100%;
  min-height: 300px;
  padding: 1.5rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  transition: border-color 150ms ease-in-out;
}
.content-editor:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.content-editor h1 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem 0;
  line-height: 1.2;
}
.content-editor h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 1.25rem 0 0.75rem 0;
  line-height: 1.3;
}
.content-editor h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin: 1rem 0 0.5rem 0;
}
.content-editor p {
  font-size: 1rem;
  color: #e2e8f0;
  margin: 0 0 1rem 0;
  line-height: 1.7;
}
.content-editor p:last-child {
  margin-bottom: 0;
}
.content-editor ul, .content-editor ol {
  color: #e2e8f0;
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}
.content-editor ul li, .content-editor ol li {
  margin-bottom: 0.5rem;
}
.content-editor a {
  color: #F49609;
  text-decoration: underline;
}
.content-editor a:hover {
  color: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}
.content-editor strong, .content-editor b {
  font-weight: 700;
  color: #f8fafc;
}
.content-editor em, .content-editor i {
  font-style: italic;
}
.content-editor img {
  width: 100%;
  height: auto;
  display: block;
  margin: 1rem 0;
  border-radius: 0.375rem;
}

.ai-refine {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(45, 46, 136, 0.1);
}
.ai-refine h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.75rem 0;
}

.ai-refine-input {
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}
.ai-refine-input input {
  flex: 1;
}
.ai-refine-input .btn {
  flex-shrink: 0;
}

.ai-review-section {
  display: block;
}

.ai-review-layout {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 1.5rem;
}
@media (max-width: 1023px) {
  .ai-review-layout {
    grid-template-columns: 1fr;
  }
}

.ai-review-edit {
  display: flex;
  flex-direction: column;
}

.ai-review-preview {
  position: relative;
}

.review-card {
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.75rem;
  padding: 1.5rem;
}
.review-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1.5rem 0;
}
.review-card .form-group label {
  color: #e2e8f0;
}
.review-card .btn--secondary {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(45, 46, 136, 0.3);
  transition: all 0.3s ease;
}
.review-card .btn--secondary:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #2D2E88;
}
@media (max-width: 767px) {
  .review-card {
    padding: 1.25rem;
  }
}

.preview-sticky {
  position: sticky;
  top: 1.5rem;
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.75rem;
  padding: 1.25rem;
}

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.preview-header h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

.preview-toggle {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: #1a2332;
  border-radius: 0.375rem;
}

.preview-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.preview-toggle-btn:hover {
  color: #cbd5e1;
  background: rgba(45, 46, 136, 0.1);
}
.preview-toggle-btn--active {
  color: #ffffff;
  background: #2D2E88;
}
.preview-toggle-btn i {
  font-size: 0.875rem;
}

.email-preview {
  min-height: 400px;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1rem;
}
.email-preview--tablet {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}
.email-preview--mobile {
  max-width: 375px;
  margin-left: auto;
  margin-right: auto;
}
.email-preview__content {
  min-height: 300px;
  display: block;
  width: 100%;
}
.email-preview__content img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.email-preview__placeholder {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
}
.email-preview img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.preview-actions .btn {
  width: 100%;
  justify-content: center;
}

.ai-quick-options {
  padding: 1.5rem 0;
  margin: 1.5rem 0;
  border-top: 1px solid rgba(45, 46, 136, 0.1);
  border-bottom: 1px solid rgba(45, 46, 136, 0.1);
}
.ai-quick-options h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 1rem 0;
}

.quick-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-select,
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  transition: border-color 150ms ease-in-out;
}
.form-select:focus,
.form-input:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.form-select--error,
.form-input--error {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.form-select--error:focus,
.form-input--error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.ai-examples {
  margin: 1.5rem 0;
}
.ai-examples h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
}

.example-prompts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0.75rem;
}

.example-prompt-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #1a2332;
  border: 1px solid #3a4556;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.example-prompt-btn i {
  flex-shrink: 0;
  font-size: 1.125rem;
  color: #F49609;
}
.example-prompt-btn:hover {
  background: #2d3748;
  border-color: #F49609;
  color: #f8fafc;
  transform: translateY(-2px);
}
.example-prompt-btn:focus {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

.ai-prompt-actions {
  margin-top: 1.5rem;
  text-align: center;
}
.ai-prompt-actions .btn {
  min-width: 300px;
}
@media (max-width: 639px) {
  .ai-prompt-actions .btn {
    min-width: 100%;
  }
}
.ai-prompt-actions .btn.btn--primary {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.ai-prompt-actions .btn.btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.4);
}
.ai-prompt-actions .btn.btn--primary:focus {
  outline-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}
.ai-prompt-actions .btn.btn--primary:active {
  background: rgb(184.9770750988, 113.7154150198, 6.8229249012);
  border-color: rgb(184.9770750988, 113.7154150198, 6.8229249012);
}

.ai-image-upload {
  margin: 1.5rem 0;
}
.ai-image-upload h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.5rem 0;
}
.ai-image-upload__description {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 1rem 0;
}

.image-upload-zone {
  position: relative;
  border: 2px dashed #3a4556;
  border-radius: 0.75rem;
  background: #1a2332;
  padding: 2rem;
  text-align: center;
  transition: all 250ms ease-in-out;
  cursor: pointer;
}
.image-upload-zone:hover {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.05);
}
.image-upload-zone.drag-over {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.1);
  transform: scale(1.02);
}
.image-upload-zone:focus-within {
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.image-upload-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.image-upload-placeholder {
  pointer-events: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.image-upload-placeholder i {
  font-size: 48px;
  color: #F49609;
  margin-bottom: 0.75rem;
  display: block;
}

.image-upload-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.25rem 0;
}

.image-upload-subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 0.75rem 0;
}

.image-upload-formats {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
}

.image-upload-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
  color: #cbd5e1;
}
.image-upload-or::before, .image-upload-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}
.image-upload-or span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

.media-library-browse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-bottom: 1rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  color: #f1f5f9;
  border: 2px dashed rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.media-library-browse-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: #F49609;
  color: #F49609;
}
.media-library-browse-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}
.media-library-browse-btn i {
  font-size: 1rem;
}

.image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 639px) {
  .image-preview-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}

.image-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #1a2332;
  border: 2px solid #3a4556;
  transition: all 150ms ease-in-out;
}
.image-preview-item:hover {
  border-color: #2D2E88;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.image-preview-item:hover .image-preview-item__overlay {
  opacity: 1;
}
.image-preview-item__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-preview-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}
.image-preview-item__btn {
  width: 32px;
  height: 32px;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.image-preview-item__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
.image-preview-item__btn:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.image-preview-item__btn--delete:hover {
  background: rgba(244, 150, 9, 0.2);
  border-color: #F49609;
  color: #F49609;
}
.image-preview-item__loader {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}
.image-preview-item__loader i {
  font-size: 1.5rem;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.ai-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-card {
  background: #2d3748;
  border: 1px solid #3a4556;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.info-card--secondary {
  background: rgba(45, 46, 136, 0.05);
  border-color: rgba(45, 46, 136, 0.2);
}
.info-card--accent {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.1), rgba(244, 150, 9, 0.05));
  border-color: rgba(244, 150, 9, 0.3);
}
.info-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(244, 150, 9, 0.15);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
}
.info-card__icon i {
  font-size: 1.125rem;
  color: #F49609;
}
.info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0 0 0.75rem 0;
}

.info-list {
  padding-left: 1.25rem;
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.8;
}
.info-list li {
  margin-bottom: 0.5rem;
}
.info-list li:last-child {
  margin-bottom: 0;
}

.time-comparison {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}
.time-comparison__old, .time-comparison__new {
  flex: 1;
  text-align: center;
}
.time-comparison__arrow {
  flex-shrink: 0;
  color: #F49609;
  font-size: 1.25rem;
}

.time-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.time-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.template-library-page {
  background: #1a2332;
  min-height: 100vh;
}

.template-library__header {
  background: #2d3748;
  border-bottom: 1px solid #3a4556;
  padding: 1.25rem 1.5rem;
}
@media (max-width: 767px) {
  .template-library__header {
    padding: 1rem;
  }
}
.template-library__header-content {
  max-width: 1600px;
  margin: 0 auto;
}
.template-library__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(45, 46, 136, 0.3);
  border-radius: 0.5rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 150ms ease-in-out;
  margin-bottom: 1rem;
}
.template-library__back-btn:hover {
  background: rgba(45, 46, 136, 0.1);
  border-color: #2D2E88;
  color: #f8fafc;
}
.template-library__back-btn:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.template-library__header-info h1 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.template-library__header-info h1 i {
  color: #10b981;
}
.template-library__header-info p {
  font-size: 1rem;
  color: #94a3b8;
  margin: 0;
}
.template-library__main {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}
@media (max-width: 767px) {
  .template-library__main {
    padding: 1.5rem 1rem;
  }
}

.template-filters {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #2d3748;
  border-radius: 0.75rem;
}
@media (max-width: 767px) {
  .template-filters {
    padding: 1rem;
  }
}
.template-filters__search {
  position: relative;
  display: flex;
  align-items: center;
}
.template-filters__search i {
  position: absolute;
  left: 1rem;
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
}
.template-filters__categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.template-filters__sort {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.template-filters__sort label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

.template-search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 1rem;
  transition: border-color 150ms ease-in-out;
}
.template-search-input::placeholder {
  color: #475569;
}
.template-search-input:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.category-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #1a2332;
  border: 1px solid #3a4556;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.category-btn i {
  font-size: 1rem;
  color: #94a3b8;
}
.category-btn:hover {
  background: #2d3748;
  border-color: rgba(45, 46, 136, 0.5);
  color: #f1f5f9;
}
.category-btn:hover i {
  color: #2D2E88;
}
.category-btn:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.category-btn--active {
  background: rgba(45, 46, 136, 0.15);
  border-color: #2D2E88;
  color: #ffffff;
}
.category-btn--active i {
  color: #F49609;
}

.sort-select {
  padding: 0.5rem 1rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 150ms ease-in-out;
}
.sort-select:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .template-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
  }
}
@media (max-width: 639px) {
  .template-grid {
    grid-template-columns: 1fr;
  }
}

.template-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #2d3748;
  border: 2px solid #3a4556;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 250ms ease-in-out;
}
.template-card:hover {
  border-color: rgba(45, 46, 136, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}
.template-card:focus-within {
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.2);
}
.template-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #F49609, rgb(194.814229249, 119.7628458498, 7.185770751));
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.template-card__badge i {
  font-size: 0.75rem;
}
.template-card__badge--new {
  background: linear-gradient(135deg, #10b981, rgb(11.9402985075, 138.0597014925, 96.2686567164));
}
.template-card__preview {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-bottom: 1px solid #3a4556;
  background: #1a2332;
}
.template-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease-in-out;
}
.template-card:hover .template-card__image {
  transform: scale(1.05);
}
.template-card__content {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}
.template-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.template-card__description {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 0 1rem 0;
  flex-grow: 1;
}
.template-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.75rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(45, 46, 136, 0.1);
  border-bottom: 1px solid rgba(45, 46, 136, 0.1);
}
.template-card__actions {
  display: flex;
  gap: 0.5rem;
}
.template-card__actions .btn {
  flex: 1;
  justify-content: center;
}
.template-card__actions .btn--primary {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.template-card__actions .btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.template-card__actions .btn--primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(244, 150, 9, 0.2);
}
.template-card__actions .btn--primary i {
  color: #ffffff;
}
.template-card__actions .btn--outline {
  border-color: #2563eb;
  color: #ffffff;
  background: transparent;
}
.template-card__actions .btn--outline:hover:not(:disabled) {
  background: rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
  color: #ffffff;
}
.template-card__actions .btn--outline i {
  color: #ffffff;
}

.template-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
}
.template-meta-item i {
  color: #ffffff;
  font-size: 0.875rem;
}

.email-builder-page {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #1a2332;
}

.email-builder {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #1a2332;
}

.email-builder__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: #2d3748;
  border-bottom: 2px solid #3a4556;
  flex-shrink: 0;
}

.email-builder__toolbar-left,
.email-builder__toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.email-builder__toolbar-group {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 0.5rem;
  padding: 2px;
}
.email-builder__toolbar-group .btn {
  border-radius: calc(0.5rem - 2px);
}
.email-builder__toolbar-group .btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.email-builder__back-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}
.email-builder__back-btn:hover {
  color: #e2e8f0;
  background: rgba(45, 46, 136, 0.1);
}
.email-builder__back-btn i {
  font-size: 0.875rem;
}

.email-builder__title {
  padding-left: 1rem;
  border-left: 1px solid #3a4556;
}

.email-builder__campaign-name {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  transition: all 150ms ease-in-out;
}
.email-builder__campaign-name:hover {
  background: rgba(45, 46, 136, 0.05);
  border-color: rgba(45, 46, 136, 0.2);
}
.email-builder__campaign-name:focus {
  outline: none;
  background: #1a2332;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}

.email-builder__workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.email-builder__panel {
  display: flex;
  flex-direction: column;
  background: #2d3748;
  border-right: 2px solid #3a4556;
  overflow: hidden;
}
.email-builder__panel--left {
  width: 280px;
  flex-shrink: 0;
}
.email-builder__panel--center {
  flex: 1;
  background: #1a2332;
  border-right: none;
}
.email-builder__panel--right {
  width: 320px;
  flex-shrink: 0;
  border-right: none;
}

.email-builder__panel-header {
  padding: 1.25rem;
  border-bottom: 1px solid #3a4556;
  flex-shrink: 0;
}
.email-builder__panel-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 0.25rem 0;
}
.email-builder__panel-header p {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

.email-builder__blocks {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.block-category {
  margin-bottom: 1.25rem;
}
.block-category:last-child {
  margin-bottom: 0;
}

.block-category__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.75rem 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.block-category__title i {
  font-size: 0.75rem;
  color: #ffffff;
}

.block-category__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-block {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  cursor: grab;
  transition: all 150ms ease-in-out;
}
.content-block:hover {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.05);
  transform: translateX(4px);
}
.content-block:active {
  cursor: grabbing;
}

.content-block__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(45, 46, 136, 0.15);
  border-radius: 0.5rem;
  flex-shrink: 0;
}
.content-block__icon i {
  font-size: 1rem;
  color: #ffffff;
}

.content-block__info {
  flex: 1;
  min-width: 0;
}

.content-block__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 2px;
}

.content-block__desc {
  font-size: 0.75rem;
  color: #64748b;
}

button.content-block.content-block--action {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
button.content-block.content-block--action:hover {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.05);
  transform: translateX(4px);
}
button.content-block.content-block--action:active {
  cursor: pointer;
}
button.content-block.content-block--action:focus-visible {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}

.email-builder__canvas-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid #3a4556;
  flex-shrink: 0;
}

.email-builder__viewport-toggle {
  display: flex;
  gap: 0.5rem;
  padding: 0.25rem;
  background: #2d3748;
  border-radius: 0.5rem;
}

.viewport-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.viewport-btn:hover {
  color: #cbd5e1;
  background: rgba(45, 46, 136, 0.1);
}
.viewport-btn--active {
  color: #ffffff;
  background: #2D2E88;
}
.viewport-btn i {
  font-size: 1rem;
}

.email-builder__canvas-wrapper {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem;
  scrollbar-width: auto;
  scrollbar-color: #2D2E88 rgba(30, 41, 59, 0.5);
}
.email-builder__canvas-wrapper::-webkit-scrollbar {
  width: 10px;
}
.email-builder__canvas-wrapper::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.5);
  border-radius: 5px;
  margin: 4px 0;
}
.email-builder__canvas-wrapper::-webkit-scrollbar-thumb {
  background: #2D2E88;
  border-radius: 5px;
  border: 2px solid rgba(30, 41, 59, 0.5);
}
.email-builder__canvas-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgb(57.679558011, 58.9613259669, 174.320441989);
}
.email-builder__canvas-wrapper::-webkit-scrollbar-thumb:active {
  background: rgb(38.6602209945, 39.5193370166, 116.8397790055);
}

.email-canvas {
  width: 100%;
  max-width: 600px;
  min-height: 400px;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  position: relative;
  transition: max-width 250ms ease-in-out;
  padding: 1rem 1.25rem;
  margin: 0 auto;
}
.email-canvas--tablet {
  max-width: 480px;
}
.email-canvas--mobile {
  max-width: 375px;
}

.email-canvas__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  text-align: center;
  color: #94a3b8;
}
.email-canvas__empty i {
  font-size: 48px;
  margin-bottom: 1rem;
  color: #64748b;
}
.email-canvas__empty p {
  font-size: 1rem;
  margin: 0;
}

.email-builder__properties {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
}

.properties-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  color: #64748b;
}
.properties-empty i {
  font-size: 40px;
  margin-bottom: 1rem;
  color: #475569;
}
.properties-empty p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.properties-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.property-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.property-section:last-child {
  border-bottom: none;
}
.property-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.25rem;
  cursor: pointer;
  user-select: none;
  transition: background 150ms ease-in-out;
}
.property-section__header:hover {
  background: rgba(255, 255, 255, 0.03);
}
.property-section__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.property-section__title i {
  font-size: 10px;
  color: #64748b;
  width: 14px;
  text-align: center;
}
.property-section__chevron {
  font-size: 10px;
  color: #64748b;
  transition: transform 150ms ease-in-out;
}
.property-section__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 0.25rem 1rem;
  overflow: hidden;
  transition: max-height 250ms ease-in-out, opacity 150ms ease-in-out, padding 150ms ease-in-out;
}
.property-section.collapsed .property-section__chevron {
  transform: rotate(-90deg);
}
.property-section.collapsed .property-section__body {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}
.property-section:not(.collapsed) .property-section__body {
  max-height: 1000px;
  opacity: 1;
}

.property-selection {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: rgba(45, 46, 136, 0.1);
  border: 1px solid rgba(45, 46, 136, 0.2);
  border-radius: 0.5rem;
}
.property-selection__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(45, 46, 136, 0.2);
  border-radius: 0.375rem;
  color: #e2e8f0;
  font-size: 0.875rem;
}
.property-selection__info {
  flex: 1;
  min-width: 0;
}
.property-selection__type {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.property-selection__id {
  font-size: 10px;
  color: #94a3b8;
  font-family: "Courier New", monospace;
}

.property-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.property-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 0;
}

.property-label-value {
  font-size: 0.75rem;
  font-weight: 400;
  color: #94a3b8;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.375rem;
}

.property-value {
  font-size: 0.875rem;
  color: #94a3b8;
  padding: 0.5rem 0.75rem;
  background: #1a2332;
  border-radius: 0.5rem;
}

.property-input,
.property-select {
  width: 100%;
  padding: 0.75rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  transition: border-color 150ms ease-in-out;
}
.property-input:focus,
.property-select:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.property-input:hover,
.property-select:hover {
  border-color: rgba(45, 46, 136, 0.3);
}

.color-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.property-color-picker {
  width: 60px;
  height: 40px;
  padding: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.property-color-hex {
  flex: 1;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.border-radius-control {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.border-radius-visual {
  position: relative;
  width: 80px;
  height: 80px;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.corner-btn {
  position: absolute;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.corner-btn--tl {
  top: -10px;
  left: -10px;
}
.corner-btn--tr {
  top: -10px;
  right: -10px;
}
.corner-btn--bl {
  bottom: -10px;
  left: -10px;
}
.corner-btn--br {
  bottom: -10px;
  right: -10px;
}
.corner-btn .corner-indicator {
  display: block;
  width: 100%;
  height: 100%;
  background: #475569;
  border: 2px solid #3a4556;
  border-radius: 50%;
  transition: all 150ms ease-in-out;
}
.corner-btn:hover .corner-indicator {
  background: #2D2E88;
  border-color: #2D2E88;
  transform: scale(1.2);
  box-shadow: 0 0 12px rgba(45, 46, 136, 0.5);
}
.corner-btn.active .corner-indicator {
  background: #2D2E88;
  border-color: #2D2E88;
  box-shadow: 0 0 8px rgba(45, 46, 136, 0.4);
}

.border-radius-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.link-corners-btn {
  width: 28px;
  height: 28px;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.375rem;
  color: #94a3b8;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.link-corners-btn i {
  font-size: 12px;
}
.link-corners-btn:hover {
  border-color: #2D2E88;
  color: #2D2E88;
  background: rgba(45, 46, 136, 0.1);
}
.link-corners-btn.linked {
  background: #2D2E88;
  border-color: #2D2E88;
  color: #ffffff;
}
.link-corners-btn.linked i::before {
  content: "\f0c1";
}
.link-corners-btn.linked:hover {
  background: rgb(57.679558011, 58.9613259669, 174.320441989);
}
.link-corners-btn:not(.linked) i::before {
  content: "\f127";
}

.border-radius-inputs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  flex: 1;
}

.corner-input {
  padding: 0.5rem 0.75rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  text-align: center;
  transition: border-color 150ms ease-in-out;
  font-family: "Courier New", monospace;
  -moz-appearance: textfield;
}
.corner-input:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.corner-input:hover {
  border-color: rgba(45, 46, 136, 0.3);
}
.corner-input::-webkit-inner-spin-button, .corner-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dimension-control {
  display: flex;
  gap: 0.5rem;
}

.dimension-input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dimension-label {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dimension-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.dimension-input {
  flex: 1;
  padding: 0.5rem;
  padding-right: 28px;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  text-align: right;
  transition: border-color 150ms ease-in-out;
  font-family: "Courier New", monospace;
  -moz-appearance: textfield;
}
.dimension-input:focus {
  outline: none;
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.dimension-input:hover {
  border-color: rgba(45, 46, 136, 0.3);
}
.dimension-input::placeholder {
  color: #64748b;
  font-style: italic;
}
.dimension-input::-webkit-inner-spin-button, .dimension-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dimension-unit {
  position: absolute;
  right: 0.5rem;
  font-size: 0.75rem;
  color: #64748b;
  pointer-events: none;
  font-family: "Courier New", monospace;
}

.eb-img-toggle-group {
  display: flex;
  gap: 4px;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.5rem;
  padding: 4px;
}

.eb-img-toggle-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #9ca3af !important;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.eb-img-toggle-btn:hover {
  background: rgba(45, 46, 136, 0.15);
  color: #e5e7eb !important;
}
.eb-img-toggle-btn.active {
  background: #2D2E88;
  color: #ffffff !important;
}
.eb-img-toggle-btn i {
  font-size: 1rem;
  color: inherit !important;
}

.eb-img-dimension-row {
  display: flex;
  gap: 0.75rem;
}

.eb-img-dimension-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.eb-img-dimension-label {
  font-size: 0.75rem;
  color: #9ca3af;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.eb-img-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #d1d5db;
  font-size: 0.875rem;
  cursor: pointer;
}
.eb-img-checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: #2D2E88;
  cursor: pointer;
}
.eb-img-checkbox:hover {
  color: #e5e7eb;
}

.eb-img-input-sm {
  padding: 0.5rem !important;
  text-align: center;
  font-family: "Courier New", monospace;
  -moz-appearance: textfield;
}
.eb-img-input-sm::-webkit-inner-spin-button, .eb-img-input-sm::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.eb-replace-image-dropdown {
  position: relative;
}
.eb-replace-image-dropdown .btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eb-replace-image-dropdown__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a2332;
  border: 1px solid #3a4556;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: all 150ms ease-in-out;
}
.eb-replace-image-dropdown__menu--active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eb-replace-image-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: #d1d5db;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
}
.eb-replace-image-dropdown__item:hover {
  background: rgba(45, 46, 136, 0.2);
  color: #ffffff;
}
.eb-replace-image-dropdown__item:first-child {
  border-radius: 0.5rem 0.5rem 0 0;
}
.eb-replace-image-dropdown__item:last-child {
  border-radius: 0 0 0.5rem 0.5rem;
}
.eb-replace-image-dropdown__item i {
  width: 16px;
  text-align: center;
  opacity: 0.7;
}

.media-library-modal--replace-mode .media-library-grid__count {
  color: #F49609;
  font-weight: 600;
}
.media-library-modal--replace-mode .media-library-item:hover {
  outline: 2px solid #F49609;
  outline-offset: -2px;
}

.property-slider {
  width: 100%;
  height: 8px;
  background: transparent;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  appearance: none;
}
.property-slider::-webkit-slider-thumb {
  appearance: none;
  width: 20px;
  height: 20px;
  background: #2D2E88;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.property-slider::-webkit-slider-thumb:hover {
  background: rgb(57.679558011, 58.9613259669, 174.320441989);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.5);
}
.property-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #2D2E88;
  border: 3px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.property-slider::-moz-range-thumb:hover {
  background: rgb(57.679558011, 58.9613259669, 174.320441989);
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.5);
}
.property-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #1a2332 0%, #3a4556 25%, rgba(45, 46, 136, 0.4) 50%, rgba(45, 46, 136, 0.7) 75%, #2D2E88 100%);
  border-radius: 4px;
  border: 1px solid #4a5568;
}
.property-slider::-moz-range-track {
  width: 100%;
  height: 8px;
  background: linear-gradient(to right, #1a2332 0%, #3a4556 25%, rgba(45, 46, 136, 0.4) 50%, rgba(45, 46, 136, 0.7) 75%, #2D2E88 100%);
  border-radius: 4px;
  border: 1px solid #4a5568;
}

.canvas-block {
  position: relative;
  margin: 0.75rem 0;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
}
.canvas-block:hover {
  border-color: rgba(45, 46, 136, 0.3);
}
.canvas-block.selected {
  border-color: #2D2E88;
  box-shadow: 0 0 0 3px rgba(45, 46, 136, 0.1);
}
.canvas-block.is-dragging {
  opacity: 0.5;
  cursor: grabbing;
  z-index: 1000;
}
.canvas-block.drop-indicator-before::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  right: 0;
  height: 4px;
  background: #2D2E88;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(45, 46, 136, 0.6);
}
.canvas-block.drop-indicator-after::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 4px;
  background: #2D2E88;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(45, 46, 136, 0.6);
}

.canvas-drop-indicator {
  height: 4px;
  margin: 0.25rem 0.75rem;
  background: #2D2E88;
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(45, 46, 136, 0.6);
}

.canvas-cell-drop-indicator {
  height: 4px;
  margin: 0.25rem 0;
  background: #2D2E88;
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(45, 46, 136, 0.6);
  flex-shrink: 0;
}

.canvas-block__toolbar {
  position: absolute;
  top: -2px;
  right: -2px;
  display: flex;
  gap: 4px;
  padding: 4px;
  background: rgba(26, 35, 50, 0.95);
  border-radius: 0.375rem;
  border: 1px solid #3a4556;
  opacity: 0;
  transform: translateY(-100%);
  transition: all 150ms ease-in-out;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
}
.canvas-block:hover .canvas-block__toolbar, .canvas-block.selected .canvas-block__toolbar {
  opacity: 1;
}

.canvas-block__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.canvas-block__btn[data-action=move] {
  cursor: grab;
}
.canvas-block__btn[data-action=move]:active {
  cursor: grabbing;
}
.canvas-block__btn:hover {
  background: #2D2E88;
  border-color: #2D2E88;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 46, 136, 0.4);
}
.canvas-block__btn[data-action=delete]:hover {
  background: #ef4444;
  border-color: #ef4444;
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4);
}
.canvas-block__btn:active {
  transform: translateY(0);
}
.canvas-block__btn i {
  font-size: 0.875rem;
}

.canvas-block__content {
  padding: 0.75rem;
  min-height: 40px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.canvas-block__content h1, .canvas-block__content h2, .canvas-block__content p {
  margin: 0;
}
.canvas-block__content h1 {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.3;
}
.canvas-block__content h2 {
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
}
.canvas-block__content p {
  font-size: 16px;
  line-height: 1.6;
}
.canvas-block__content:focus {
  outline: none;
}
.canvas-block__content:has(.email-button), .canvas-block__content.has-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  padding: 1rem;
  background: transparent;
  pointer-events: none;
}
.canvas-block__content:has(.email-button) .email-button, .canvas-block__content.has-button .email-button {
  pointer-events: all;
}

button.email-button,
.canvas-block__content button.email-button,
.email-canvas button.email-button {
  --btn-bg-color: #F49609;
  --btn-text-color: #ffffff;
  --btn-font-size: 16px;
  --btn-padding-v: 14px;
  --btn-padding-h: 32px;
  --btn-border-width: 0px;
  --btn-border-color: transparent;
  --btn-border-radius-tl: 8px;
  --btn-border-radius-tr: 8px;
  --btn-border-radius-bl: 8px;
  --btn-border-radius-br: 8px;
  --btn-width: auto;
  --btn-height: auto;
  display: inline-block;
  min-width: 120px;
  min-height: 48px;
  padding: var(--btn-padding-v) var(--btn-padding-h);
  background-color: var(--btn-bg-color);
  color: var(--btn-text-color);
  font-size: var(--btn-font-size);
  font-weight: 700;
  font-family: inherit;
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
  overflow: visible;
  position: relative;
  z-index: 10;
  border-width: var(--btn-border-width);
  border-style: solid;
  border-color: var(--btn-border-color);
  border-top-left-radius: var(--btn-border-radius-tl);
  border-top-right-radius: var(--btn-border-radius-tr);
  border-bottom-left-radius: var(--btn-border-radius-bl);
  border-bottom-right-radius: var(--btn-border-radius-br);
  width: var(--btn-width);
  height: var(--btn-height);
  cursor: text;
  transition: all 150ms ease-in-out;
  box-sizing: border-box;
}
button.email-button:focus,
.canvas-block__content button.email-button:focus,
.email-canvas button.email-button:focus {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
button.email-button[contenteditable=true],
.canvas-block__content button.email-button[contenteditable=true],
.email-canvas button.email-button[contenteditable=true] {
  cursor: text;
  user-select: text;
}

.canvas-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f3f4f6;
  border: 2px dashed #d1d5db;
  border-radius: 0.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.canvas-image-placeholder:hover {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.05);
}
.canvas-image-placeholder--dragover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.1);
  transform: scale(1.02);
}
.canvas-image-placeholder--dragover i {
  color: #F49609;
}
.canvas-image-placeholder--dragover p {
  color: #F49609;
}
.canvas-image-placeholder i {
  font-size: 48px;
  color: #9ca3af;
  margin-bottom: 0.75rem;
  transition: color 150ms ease-in-out;
}
.canvas-image-placeholder p {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  transition: color 150ms ease-in-out;
}

.canvas-uploaded-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.375rem;
  object-fit: contain;
}

.canvas-block[data-block-type=image] .canvas-block__content {
  padding: 0;
}

.canvas-block[data-block-type=columns] .canvas-block__content {
  padding: 0;
}

.canvas-columns {
  display: flex;
  gap: 20px;
  width: 100%;
}

.canvas-columns__cell {
  flex: 1;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.375rem;
  transition: border-color 150ms ease-in-out, background 150ms ease-in-out;
}
.canvas-columns__cell:hover {
  border-color: rgba(45, 46, 136, 0.3);
}
.canvas-columns__cell--active {
  border-color: rgba(45, 46, 136, 0.6);
  background: rgba(45, 46, 136, 0.03);
}

.canvas-columns__drop-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  flex: 1;
  min-height: 80px;
  color: #94a3b8;
  font-size: 0.75rem;
  pointer-events: none;
}
.canvas-columns__drop-hint i {
  font-size: 14px;
  opacity: 0.6;
}
.canvas-columns__drop-hint span {
  opacity: 0.6;
}

.canvas-columns__cell-content {
  flex: 1;
  min-height: 40px;
  font-family: "Inter", Arial, Helvetica, sans-serif;
}
.canvas-columns__cell-content h1, .canvas-columns__cell-content h2, .canvas-columns__cell-content p {
  margin: 0;
}
.canvas-columns__cell-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
}
.canvas-columns__cell-content h2 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
}
.canvas-columns__cell-content p {
  font-size: 1rem;
  line-height: 1.6;
}
.canvas-columns__cell-content:focus {
  outline: none;
}
.canvas-columns__cell-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.375rem;
}
.canvas-columns__cell-content .canvas-image-placeholder {
  min-height: 60px;
  padding: 20px 12px;
}
.canvas-columns__cell-content .canvas-image-placeholder i {
  font-size: 24px;
}
.canvas-columns__cell-content .canvas-image-placeholder p {
  font-size: 0.75rem;
}

.canvas-columns__cell-item {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
}
.canvas-columns__cell-item[data-item-type=image] {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.canvas-columns__cell-item[data-item-type=image] .canvas-columns__cell-content {
  flex: 1;
  display: flex;
  min-height: 0;
  overflow: hidden;
}
.canvas-columns__cell-item[data-item-type=image] img {
  flex: 1;
  min-height: 0;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0.375rem;
}
.canvas-columns__cell-item + .canvas-columns__cell-item {
  margin-top: 0.25rem;
  padding-top: 0.25rem;
  border-top: 1px dashed rgba(203, 213, 225, 0.5);
}
.canvas-columns__cell-item--active {
  outline: 2px solid rgba(45, 46, 136, 0.6);
  outline-offset: -2px;
  border-radius: 0.375rem;
}

.canvas-columns__item-toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 3px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 150ms ease-in-out, opacity 150ms ease-in-out;
}
.canvas-columns__cell-item:hover .canvas-columns__item-toolbar {
  max-height: 32px;
  opacity: 1;
}

.canvas-columns__item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: #0f172a;
  cursor: pointer;
  transition: color 150ms ease-in-out;
  padding: 0;
}
.canvas-columns__item-btn:hover {
  color: #000;
}
.canvas-columns__item-btn:focus-visible {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.canvas-columns__item-btn--drag {
  cursor: grab;
}
.canvas-columns__item-btn--drag:active {
  cursor: grabbing;
}
.canvas-columns__item-btn--remove:hover {
  color: #ef4444;
}
.canvas-columns__item-btn i {
  font-size: 13px;
}

.canvas-columns__cell-item--dragging {
  position: fixed !important;
  z-index: 1000;
  opacity: 0.9;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  background: #ffffff;
  border-radius: 0.375rem;
}
.canvas-columns__cell-item--dragging .canvas-columns__item-toolbar {
  opacity: 1;
}

.canvas-columns__cell-item-placeholder {
  background: rgba(45, 46, 136, 0.08);
  border: 2px dashed rgba(45, 46, 136, 0.3);
  border-radius: 0.375rem;
  transition: height 150ms ease-in-out;
}

.canvas-columns__drop-hint--add {
  display: none !important;
}
.canvas-columns__cell--dragover .canvas-columns__drop-hint--add {
  display: flex !important;
  min-height: 28px !important;
  padding: 0.25rem;
  opacity: 1;
}
.canvas-columns__drop-hint--add i {
  font-size: 11px !important;
}
.canvas-columns__drop-hint--add span {
  font-size: 10px !important;
}

.canvas-columns__remove-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(26, 35, 50, 0.8);
  border: none;
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  opacity: 0;
  transition: all 150ms ease-in-out;
  z-index: 5;
}
.canvas-columns__cell-item:hover .canvas-columns__remove-btn {
  opacity: 1;
}
.canvas-columns__cell:hover > .canvas-columns__remove-btn {
  opacity: 1;
}
.canvas-columns__remove-btn:hover {
  background: #ef4444;
  color: #ffffff;
}
.canvas-columns__remove-btn i {
  font-size: 10px;
}

.canvas-columns__cell--dragover {
  border-color: #2D2E88 !important;
  background: rgba(45, 46, 136, 0.08) !important;
}
.canvas-columns__cell--dragover .canvas-columns__drop-hint {
  color: #2D2E88;
}
.canvas-columns__cell--dragover .canvas-columns__drop-hint i, .canvas-columns__cell--dragover .canvas-columns__drop-hint span {
  opacity: 1;
}

.eb-columns-layout-picker {
  display: flex;
  gap: 6px;
}

.eb-columns-layout-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: #1a2332;
  border: 2px solid #3a4556;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 36px;
}
.eb-columns-layout-btn:hover {
  border-color: rgba(45, 46, 136, 0.5);
}
.eb-columns-layout-btn.active {
  border-color: #2D2E88;
  background: rgba(45, 46, 136, 0.15);
}

.eb-columns-layout-preview {
  display: flex;
  gap: 3px;
  width: 100%;
  height: 20px;
}
.eb-columns-layout-preview span {
  background: #4a5568;
  border-radius: 2px;
}
.eb-columns-layout-btn.active .eb-columns-layout-preview span {
  background: rgba(45, 46, 136, 0.6);
}
.eb-columns-layout-btn:hover .eb-columns-layout-preview span {
  background: #5a6578;
}

.eb-columns-valign-picker {
  display: flex;
  gap: 4px;
  background: #1a2332;
  border-radius: 0.375rem;
  padding: 2px;
}

.email-canvas.drag-over {
  background: rgba(45, 46, 136, 0.05);
  border: 2px dashed #2D2E88;
}

@media (max-width: 767px) {
  .email-builder__toolbar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.preview-window {
  position: fixed;
  top: 100px;
  right: 20px;
  width: 802px;
  height: 660px;
  z-index: 10000;
  display: none;
  flex-direction: column;
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 10px 40px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  animation: slideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.preview-window--active {
  display: flex;
}
.preview-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  flex-shrink: 0;
  user-select: none;
}
.preview-window__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.preview-window__title i {
  color: #2D2E88;
  font-size: 1.125rem;
}
.preview-window__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.preview-window__viewport-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #f1f5f9;
  border-radius: 0.375rem;
}
.preview-window__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: 1.125rem;
}
.preview-window__close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.preview-window__close:active {
  transform: scale(0.95);
}
.preview-window__body {
  flex: 1;
  display: flex;
  background: #ffffff;
  overflow: hidden;
  position: relative;
}
.preview-window__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #ffffff;
  overflow: auto;
}
.preview-window__resize-handle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 20px;
  height: 20px;
  cursor: nwse-resize;
}
.preview-window__resize-handle::after {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 12px;
  height: 12px;
  border-right: 2px solid #94a3b8;
  border-bottom: 2px solid #94a3b8;
  opacity: 0.5;
}
.preview-window__resize-handle:hover::after {
  opacity: 1;
  border-color: #2D2E88;
}

.preview-viewport-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.375rem;
  color: #64748b;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: 0.875rem;
  position: relative;
}
.preview-viewport-btn:hover {
  background: rgba(45, 46, 136, 0.1);
  color: #2D2E88;
}
.preview-viewport-btn--active {
  background: #f1f5f9;
  color: #cbd5e1;
}
.preview-viewport-btn--active i {
  color: #cbd5e1;
}
.preview-viewport-btn--active:hover {
  background: #e2e8f0;
  color: #94a3b8;
}
.preview-viewport-btn--active:hover i {
  color: #94a3b8;
}
.preview-viewport-btn:active {
  transform: scale(0.95);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}
@media (max-width: 1024px) {
  .preview-window {
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    transform: translate(-50%, -50%) !important;
    width: 90vw !important;
    height: 85vh !important;
    max-width: 600px;
    max-height: 800px;
    animation: fadeInScale 0.3s ease-out;
  }
  .preview-window__resize-handle {
    display: none;
  }
  .preview-window__close {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .preview-window__viewport-toggle {
    display: none;
  }
}
@media (max-width: 768px) {
  .preview-window {
    width: 95vw !important;
    height: 90vh !important;
    max-width: none;
    max-height: none;
    border-radius: 0.75rem;
  }
  .preview-window__header {
    padding: 0.75rem;
  }
  .preview-window__title {
    font-size: 0.875rem;
  }
}
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.mobile-block-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to top, #0f172a 0%, rgba(15, 23, 42, 0.98) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0.5rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.mobile-block-bar__inner {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-block-bar__inner::-webkit-scrollbar {
  display: none;
}
.mobile-block-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-width: 72px;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.mobile-block-bar__item:hover, .mobile-block-bar__item:active {
  background: rgba(45, 46, 136, 0.15);
  border-color: rgba(45, 46, 136, 0.4);
  transform: translateY(-2px);
}
.mobile-block-bar__item:focus-visible {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.mobile-block-bar__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 46, 136, 0.2);
  border-radius: 0.375rem;
}
.mobile-block-bar__icon i {
  font-size: 1rem;
  color: #ffffff;
}
.mobile-block-bar__label {
  font-size: 10px;
  font-weight: 500;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
  max-width: 64px;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .mobile-block-bar {
    display: block;
    padding: 0.5rem;
    padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  }
  .mobile-block-bar__item {
    min-width: 64px;
    padding: 0.5rem;
  }
  .mobile-block-bar__icon {
    width: 32px;
    height: 32px;
  }
  .mobile-block-bar__icon i {
    font-size: 0.875rem;
  }
  .mobile-block-bar__label {
    font-size: 9px;
  }
  .email-builder__panel--center {
    padding-bottom: 90px;
  }
  .email-builder__toolbar {
    padding: 0.5rem 0.75rem;
  }
  .email-builder__toolbar .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
.mobile-properties-sheet {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  max-height: 50vh;
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
}
.mobile-properties-sheet--active {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}
.mobile-properties-sheet__handle {
  display: flex;
  justify-content: center;
  padding: 0.75rem 0 0.5rem;
  cursor: grab;
}
.mobile-properties-sheet__handle::before {
  content: "";
  width: 36px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.mobile-properties-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.mobile-properties-sheet__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-properties-sheet__title i {
  color: #2D2E88;
}
.mobile-properties-sheet__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.375rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.mobile-properties-sheet__close:hover, .mobile-properties-sheet__close:active {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.mobile-properties-sheet__content {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
}
.mobile-properties-sheet__backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1099;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-properties-sheet__backdrop--active {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1024px) {
  .mobile-properties-sheet--active ~ .mobile-block-bar {
    transform: translateY(100%);
  }
}
.analytics-hero {
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.16) 0%, rgba(244, 150, 9, 0.08) 100%);
  border: 1px solid rgba(45, 46, 136, 0.35);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.analytics-hero[hidden] {
  display: none;
}
.analytics-hero__label {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}
.analytics-hero__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
}
.analytics-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 0.5rem;
}
.analytics-hero__stat {
  font-size: 0.875rem;
  color: #cbd5e1;
}
.analytics-hero__stat strong {
  color: #ffffff;
  font-weight: 600;
  margin-right: 0.25rem;
}
.analytics-hero__stat--rate strong {
  color: #10b981;
}

.analytics-funnel {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.analytics-funnel__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem;
}
.analytics-funnel__stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 720px) {
  .analytics-funnel__stages {
    grid-template-columns: 1fr 1fr;
  }
}
.analytics-funnel__stage {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.analytics-funnel__stage-label {
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.analytics-funnel__stage-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}
.analytics-funnel__bar {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  overflow: hidden;
}
.analytics-funnel__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #2D2E88, #F49609);
  border-radius: 4px;
  transition: width 250ms ease-in-out;
}
.analytics-funnel__stage-drop {
  font-size: 0.75rem;
  color: #94a3b8;
  min-height: 1.2em;
}

.analytics-heatmap {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.analytics-heatmap[hidden] {
  display: none;
}
.analytics-heatmap__header {
  margin-bottom: 1rem;
}
.analytics-heatmap__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.25rem;
}
.analytics-heatmap__hint {
  margin: 0;
  color: #94a3b8;
  font-size: 0.875rem;
}
.analytics-heatmap__grid {
  display: grid;
  grid-template-columns: 36px repeat(24, minmax(0, 1fr));
  gap: 3px;
  align-items: stretch;
}
.analytics-heatmap__day-label {
  align-self: center;
  font-size: 0.75rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding-right: 0.25rem;
}
.analytics-heatmap__hour-label {
  font-size: 10px;
  color: #64748b;
  text-align: center;
  padding-bottom: 0.25rem;
  grid-row: 1;
}
.analytics-heatmap__cell {
  aspect-ratio: 1/1;
  border-radius: 3px;
  background: rgba(45, 46, 136, 0.06);
  transition: background 150ms ease;
  cursor: default;
  min-height: 16px;
}
.analytics-heatmap__cell:hover {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 1px;
}

.analytics-recommendations {
  margin-bottom: 1.5rem;
}
.analytics-recommendations__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.75rem;
}
.analytics-recommendations__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0.75rem;
}
.analytics-recommendations__item {
  background: #1e293b;
  border: 1px solid #334155;
  border-left: 3px solid #2D2E88;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.analytics-recommendations__item--positive {
  border-left-color: #10b981;
}
.analytics-recommendations__item--warning {
  border-left-color: #F49609;
}
.analytics-recommendations__item--info {
  border-left-color: #2D2E88;
}
.analytics-recommendations__item-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.375rem;
  color: #cbd5e1;
  font-size: 0.875rem;
}
.analytics-recommendations__item-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}
.analytics-recommendations__item-body {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.analytics-recommendations__item-action {
  font-size: 0.875rem;
  font-weight: 600;
  color: #a78bfa;
  text-decoration: none;
  margin-top: 0.25rem;
  display: inline-block;
}
.analytics-recommendations__item-action:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.analytics-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.analytics-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  transition: all 250ms ease-in-out;
}
.analytics-card:hover {
  border-color: #2D2E88;
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.1);
  transform: translateY(-2px);
}
.analytics-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.analytics-card__header h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.analytics-card__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.analytics-card__icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(45, 46, 136, 0.1);
  border-radius: 0.5rem;
  color: #2D2E88;
  font-size: 1.125rem;
}
.analytics-card__value {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.analytics-card__comparison {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-top: 0.5rem;
}
.analytics-card__change {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
}
.analytics-card__change--positive {
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}
.analytics-card__change--negative {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.analytics-card__change--neutral {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.1);
}
.analytics-card__footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #334155;
  font-size: 0.75rem;
  color: #94a3b8;
}

.chart-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}
.chart-container__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chart-container__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.chart-container__controls {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.chart-container__body {
  position: relative;
  min-height: 300px;
}
.chart-container__body canvas {
  width: 100% !important;
  height: auto !important;
  max-height: 400px;
}
.chart-container__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.chart-container__legend {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.chart-container__legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.chart-container__legend-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 0.375rem;
  background: var(--legend-color, #2D2E88);
}

.chart-btn {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.chart-btn:hover {
  background: rgba(45, 46, 136, 0.1);
  border-color: #2D2E88;
  color: #2D2E88;
}
.chart-btn.active, .chart-btn--active {
  background: #2D2E88;
  border-color: #2D2E88;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 46, 136, 0.3);
}
.chart-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chart-btn:disabled:hover {
  background: transparent;
  border-color: #475569;
  color: #cbd5e1;
}

.analytics-table {
  width: 100%;
  margin-bottom: 1.25rem;
}
.analytics-table__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.analytics-table__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}
.analytics-table__header .link {
  color: #2D2E88;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 150ms ease-in-out;
}
.analytics-table__header .link:hover {
  color: rgb(57.679558011, 58.9613259669, 174.320441989);
}
.analytics-table__scroll {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  border-radius: 0.75rem;
  background: #1e293b;
  max-width: 100%;
}
.analytics-table__scroll::-webkit-scrollbar {
  height: 8px;
}
.analytics-table__scroll::-webkit-scrollbar-track {
  background: #334155;
  border-radius: 4px;
}
.analytics-table__scroll::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 4px;
}
.analytics-table__scroll::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
.analytics-table table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  background: #1e293b;
  border-radius: 0.75rem;
  overflow: hidden;
}
.analytics-table thead {
  background: #0f172a;
}
.analytics-table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #334155;
}
.analytics-table tbody tr {
  border-bottom: 1px solid #334155;
  transition: background 150ms ease-in-out;
}
.analytics-table tbody tr:hover {
  background: rgba(45, 46, 136, 0.05);
}
.analytics-table tbody tr:last-child {
  border-bottom: none;
}
.analytics-table tbody td {
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  color: #e2e8f0;
  vertical-align: middle;
}
.analytics-table tbody td.text-success {
  color: #10b981;
  font-weight: 600;
}
.analytics-table tbody td.text-danger {
  color: #ef4444;
  font-weight: 600;
}
.analytics-table tbody td.text-warning {
  color: #f59e0b;
  font-weight: 600;
}
.analytics-table .badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.analytics-table .badge--purple {
  background: rgba(45, 46, 136, 0.2);
  color: rgb(84.4364640884, 85.6906077348, 198.5635359116);
  border: 1px solid rgba(45, 46, 136, 0.3);
}
.analytics-table .badge--blue {
  background: rgba(59, 130, 246, 0.2);
  color: rgb(156.5219512195, 192.1951219512, 250.4780487805);
  border: 1px solid rgba(59, 130, 246, 0.3);
}
.analytics-table .badge--green {
  background: rgba(16, 185, 129, 0.2);
  color: rgb(64.4776119403, 238.5223880597, 180.8507462687);
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.analytics-table .badge--orange {
  background: rgba(245, 158, 11, 0.2);
  color: rgb(249.0157480315, 196.9527559055, 108.9842519685);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.analytics-heatmap {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
}
.analytics-heatmap__header {
  margin-bottom: 1rem;
}
.analytics-heatmap__header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.analytics-heatmap__header p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}
.analytics-heatmap__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem;
  margin-top: 1rem;
}
.analytics-heatmap__cell {
  aspect-ratio: 1;
  border-radius: 0.375rem;
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #94a3b8;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}
.analytics-heatmap__cell:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(45, 46, 136, 0.3);
}
.analytics-heatmap__cell--low {
  background: rgba(45, 46, 136, 0.2);
  color: #cbd5e1;
}
.analytics-heatmap__cell--medium {
  background: rgba(45, 46, 136, 0.5);
  color: #ffffff;
}
.analytics-heatmap__cell--high {
  background: rgba(45, 46, 136, 0.8);
  color: #ffffff;
}
.analytics-heatmap__cell--very-high {
  background: #2D2E88;
  color: #ffffff;
  font-weight: 700;
}
.analytics-heatmap__legend {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
  font-size: 0.75rem;
  color: #94a3b8;
}
.analytics-heatmap__legend-label {
  margin-right: 0.5rem;
}
.analytics-heatmap__legend-scale {
  display: flex;
  gap: 0.25rem;
}
.analytics-heatmap__legend-item {
  width: 16px;
  height: 16px;
  border-radius: 0.375rem;
}

.heatmap-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.heatmap-labels-y {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 24px;
}
.heatmap-labels-y span {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.heatmap-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.heatmap-labels-x {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.heatmap-labels-x span {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 500;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.heatmap-cells {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.heatmap-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.25rem;
  max-width: 400px;
}

.heatmap-cell {
  aspect-ratio: 1;
  max-width: 60px;
  max-height: 60px;
  border-radius: 0.375rem;
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.heatmap-cell[data-value][data-value="0"], .heatmap-cell[data-value][data-value="5"], .heatmap-cell[data-value][data-value="10"], .heatmap-cell[data-value][data-value="15"], .heatmap-cell[data-value][data-value="20"], .heatmap-cell[data-value][data-value="25"] {
  background: rgba(45, 46, 136, 0.15);
  border-color: rgba(45, 46, 136, 0.25);
  color: #94a3b8;
}
.heatmap-cell[data-value][data-value="30"], .heatmap-cell[data-value][data-value="35"], .heatmap-cell[data-value][data-value="40"], .heatmap-cell[data-value][data-value="45"], .heatmap-cell[data-value][data-value="50"] {
  background: rgba(45, 46, 136, 0.4);
  border-color: rgba(45, 46, 136, 0.5);
  color: #e2e8f0;
}
.heatmap-cell[data-value][data-value="55"], .heatmap-cell[data-value][data-value="60"], .heatmap-cell[data-value][data-value="65"], .heatmap-cell[data-value][data-value="70"], .heatmap-cell[data-value][data-value="75"] {
  background: rgba(45, 46, 136, 0.65);
  border-color: rgba(45, 46, 136, 0.75);
  color: #ffffff;
}
.heatmap-cell[data-value][data-value="80"], .heatmap-cell[data-value][data-value="85"], .heatmap-cell[data-value][data-value="90"], .heatmap-cell[data-value][data-value="95"], .heatmap-cell[data-value][data-value="100"] {
  background: linear-gradient(135deg, #2D2E88 0%, rgb(57.679558011, 58.9613259669, 174.320441989) 100%);
  border-color: rgb(65.2762430939, 66.6712707182, 192.2237569061);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 12px rgba(45, 46, 136, 0.4);
}
.heatmap-cell:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(45, 46, 136, 0.4);
  z-index: 10;
}
.heatmap-cell:hover::after {
  content: attr(data-value) "%";
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f172a;
  color: #ffffff;
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
  pointer-events: none;
}
.heatmap-cell[data-value="90"], .heatmap-cell[data-value="95"], .heatmap-cell[data-value="100"] {
  animation: heatmap-pulse 2s ease-in-out infinite;
}

@keyframes heatmap-pulse {
  0%, 100% {
    box-shadow: 0 0 12px rgba(45, 46, 136, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(45, 46, 136, 0.6);
  }
}
.analytics-empty {
  text-align: center;
  padding: 2rem;
  color: #94a3b8;
}
.analytics-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.analytics-empty__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.analytics-empty__description {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 1.25rem;
}
.analytics-empty__action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #2D2E88;
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.analytics-empty__action:hover {
  background: rgb(38.6602209945, 39.5193370166, 116.8397790055);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.3);
}

@media (max-width: 768px) {
  .analytics-overview {
    grid-template-columns: 1fr;
  }
  .chart-container__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .chart-container__controls {
    width: 100%;
  }
  .chart-container__controls .chart-btn {
    flex: 1;
  }
  .chart-container__body {
    min-height: 250px;
  }
  .analytics-table {
    font-size: 0.75rem;
    overflow: visible;
  }
  .analytics-table__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .analytics-table thead th,
  .analytics-table tbody td {
    padding: 0.75rem 0.5rem;
    white-space: nowrap;
  }
  .analytics-table table {
    min-width: 550px;
  }
  .analytics-heatmap__grid {
    gap: 2px;
  }
}
.promo-modal .modal-backdrop,
body[data-modal-open=true] .modal-backdrop {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.promo-builder__section-title {
  color: #ffffff !important;
  border-bottom-color: rgba(255, 255, 255, 0.2) !important;
}

.campaign-list__header h3,
.campaign-list__title {
  color: #ffffff !important;
}

.ai-schedule-modal .modal__dialog {
  background: transparent;
  border: none;
  box-shadow: none;
}
.ai-schedule-modal .modal__content {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
}
.ai-schedule-modal .modal__header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  user-select: none;
}
.ai-schedule-modal .modal__dialog.is-dragging {
  transition: none !important;
}
.ai-schedule-modal .modal__title {
  color: #ffffff !important;
}
.ai-schedule-modal .modal__close {
  color: rgba(255, 255, 255, 0.5) !important;
}
.ai-schedule-modal .modal__close:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
}
.ai-schedule-modal .modal__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.ai-schedule-modal .btn--primary {
  background: #F49609 !important;
  color: #ffffff !important;
  border: none !important;
}
.ai-schedule-modal .btn--primary:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656) !important;
}
.ai-schedule-modal .btn--secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}
.ai-schedule-modal .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.ai-schedule-subject {
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.ai-schedule-subject__label {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.875rem;
}
.ai-schedule-subject .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #334155 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.5rem;
  color: #ffffff !important;
  font-size: 1rem;
  transition: all 150ms ease-in-out;
}
.ai-schedule-subject .form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.ai-schedule-subject .form-input:focus {
  outline: none;
  border-color: #F49609 !important;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.3);
}
.ai-schedule-subject .form-input--error {
  border-color: #ef4444 !important;
}

.ai-schedule-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ai-schedule-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: #334155 !important;
  border: 2px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.ai-schedule-option:hover {
  border-color: rgba(244, 150, 9, 0.5) !important;
  background: rgba(244, 150, 9, 0.1) !important;
}
.ai-schedule-option--selected {
  border-color: #F49609 !important;
  background: rgba(244, 150, 9, 0.15) !important;
}
.ai-schedule-option input[type=radio] {
  margin-right: 1rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #F49609;
}
.ai-schedule-option__content {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}
.ai-schedule-option__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(244, 150, 9, 0.2);
  border-radius: 0.75rem;
  color: #F49609;
}
.ai-schedule-option__icon i {
  font-size: 24px;
}
.ai-schedule-option__details {
  flex: 1;
}
.ai-schedule-option__title {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin-bottom: 0.25rem;
}
.ai-schedule-option__desc {
  font-size: 0.875rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.ai-schedule-datetime {
  margin-top: 1.25rem;
  padding: 1.25rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
}
.ai-schedule-datetime label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
}
.ai-schedule-datetime input[type=datetime-local] {
  width: 100%;
  padding: 0.75rem;
  background: #334155 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 0.5rem;
  color: #ffffff !important;
  font-size: 0.875rem;
}
.ai-schedule-datetime input[type=datetime-local]:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.3);
}
.ai-schedule-datetime input[type=datetime-local]:invalid {
  border-color: #ef4444;
}
.ai-schedule-datetime .schedule-datetime__hint, .ai-schedule-datetime__hint {
  margin: 0.5rem 0 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5) !important;
}

.campaign-preview-modal .modal__dialog--lg {
  max-width: 700px;
  width: 95%;
}
.campaign-preview-modal .modal__content {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
.campaign-preview-modal .modal__header {
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.campaign-preview-modal .modal__title {
  color: #ffffff !important;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.campaign-preview-modal .modal__title i {
  color: #F49609;
}
.campaign-preview-modal .modal__header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.campaign-preview-modal .modal__minimize,
.campaign-preview-modal .modal__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 150ms ease-in-out;
  font-size: 1rem;
  touch-action: manipulation;
  position: relative;
  z-index: 1;
}
.campaign-preview-modal .modal__minimize:hover,
.campaign-preview-modal .modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: none;
}
.campaign-preview-modal .modal__close {
  font-size: 1.25rem;
}
.campaign-preview-modal .modal__body {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1.25rem !important;
  background: #475569 !important;
}
.campaign-preview-modal .campaign-preview__container {
  border-radius: 0.75rem;
  overflow: hidden;
  padding: 1.25rem;
}
.campaign-preview-modal .modal__footer {
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.campaign-preview-modal .btn--primary {
  background: #F49609 !important;
  border-color: #F49609 !important;
  color: #ffffff !important;
}
.campaign-preview-modal .btn--primary:hover {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008) !important;
}
.campaign-preview-modal .btn--secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.campaign-preview-modal .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}
.campaign-preview-modal--dragging .modal__header {
  cursor: grabbing;
}
.campaign-preview-modal--dragging .modal__content {
  user-select: none;
}
.campaign-preview-modal--minimized {
  background: transparent;
  pointer-events: none;
  transform: none !important;
}
.campaign-preview-modal--minimized .modal__backdrop {
  display: none;
}
.campaign-preview-modal--minimized .modal__dialog {
  pointer-events: none;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
}
.campaign-preview-modal--minimized .modal__content {
  pointer-events: all;
  max-width: 340px;
  max-height: none;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(148, 163, 184, 0.15) inset;
}
.campaign-preview-modal--minimized .modal__header {
  border-bottom: none;
  padding: 0.75rem 1rem;
  cursor: grab;
}
.campaign-preview-modal--minimized .modal__header h3 {
  font-size: 0.875rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.campaign-preview-modal--minimized .modal__body,
.campaign-preview-modal--minimized .modal__footer {
  display: none;
}

.campaign-schedule-modal .modal__dialog {
  max-width: 480px;
  width: 95%;
}
.campaign-schedule-modal .modal__content {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 1rem;
  overflow: hidden;
}
.campaign-schedule-modal .modal__header {
  background: #1e293b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.campaign-schedule-modal .modal__title {
  color: #ffffff !important;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.campaign-schedule-modal .modal__title i {
  color: #F49609;
}
.campaign-schedule-modal .modal__close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
}
.campaign-schedule-modal .modal__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.campaign-schedule-modal .modal__body {
  padding: 1.25rem;
  background: #1e293b;
}
.campaign-schedule-modal .modal__footer {
  background: #1e293b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.campaign-schedule-modal .schedule-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.campaign-schedule-modal .schedule-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.campaign-schedule-modal .schedule-option input[type=radio] {
  display: none;
}
.campaign-schedule-modal .schedule-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}
.campaign-schedule-modal .schedule-option--selected {
  background: rgba(244, 150, 9, 0.1);
  border-color: #F49609;
}
.campaign-schedule-modal .schedule-option--selected .schedule-option__icon {
  background: #F49609;
  color: #ffffff;
}
.campaign-schedule-modal .schedule-option__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 150ms ease-in-out;
}
.campaign-schedule-modal .schedule-option__content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.campaign-schedule-modal .schedule-option__title {
  font-weight: 600;
  color: #ffffff;
  font-size: 1rem;
}
.campaign-schedule-modal .schedule-option__desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.campaign-schedule-modal .schedule-datetime {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  margin-top: 0.75rem;
}
.campaign-schedule-modal .schedule-datetime label {
  display: block;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.campaign-schedule-modal .schedule-datetime input[type=datetime-local] {
  width: 100%;
  padding: 0.75rem;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 150ms ease-in-out;
}
.campaign-schedule-modal .schedule-datetime input[type=datetime-local]:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.2);
}
.campaign-schedule-modal .schedule-datetime input[type=datetime-local]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
.campaign-schedule-modal .schedule-datetime__hint {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}
.campaign-schedule-modal .btn--primary {
  background: #F49609 !important;
  border-color: #F49609 !important;
  color: #ffffff !important;
}
.campaign-schedule-modal .btn--primary:hover {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008) !important;
}
.campaign-schedule-modal .btn--secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}
.campaign-schedule-modal .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
}

.ai-suggest-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0.5rem auto;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: #2D2E88;
  background: rgba(45, 46, 136, 0.06);
  border: 1px dashed rgba(45, 46, 136, 0.25);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: 150ms ease-in-out;
  user-select: none;
  width: fit-content;
}
.ai-suggest-trigger i {
  font-size: 0.875rem;
  color: #F49609;
}
.ai-suggest-trigger:hover {
  background: rgba(45, 46, 136, 0.12);
  border-color: rgba(45, 46, 136, 0.4);
  color: rgb(38.6602209945, 39.5193370166, 116.8397790055);
}
.ai-suggest-trigger:focus-visible {
  outline: 2px solid #2D2E88;
  outline-offset: 2px;
}
.ai-suggest-trigger--loading {
  pointer-events: none;
  opacity: 0.7;
}
.ai-suggest-trigger--loading i {
  color: #2D2E88;
}
.ai-suggest-trigger--error {
  border-color: rgba(239, 68, 68, 0.4);
  background: rgba(239, 68, 68, 0.06);
  color: #ef4444;
}
.ai-suggest-trigger--error i {
  color: #ef4444;
}

.ai-suggestions-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 100;
  margin-top: 0.25rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  animation: aiDropdownSlide 0.2s ease-out;
}
.ai-suggestions-dropdown__header {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #334155;
}
.ai-suggestions-dropdown__header i {
  color: #F49609;
  margin-right: 0.25rem;
}

.ai-suggestion-item {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #f1f5f9;
  cursor: pointer;
  transition: 150ms ease-in-out;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  line-height: 1.5;
}
.ai-suggestion-item:last-child {
  border-bottom: none;
}
.ai-suggestion-item:hover, .ai-suggestion-item:focus {
  background: rgba(45, 46, 136, 0.15);
  color: #ffffff;
  outline: none;
}
.ai-suggestion-item:active {
  background: rgba(45, 46, 136, 0.25);
}

@keyframes aiDropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.text-format-group {
  display: flex;
  gap: 0.25rem;
}

.text-format-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: 150ms ease-in-out;
}
.text-format-btn:hover {
  background: #334155;
  border-color: #64748b;
  color: #ffffff;
}
.text-format-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: -2px;
}
.text-format-btn--active {
  background: rgba(244, 150, 9, 0.2);
  border-color: #F49609;
  color: #F49609;
}
.text-format-btn--active:hover {
  background: rgba(244, 150, 9, 0.3);
  color: #F49609;
}

.text-link-group {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.text-link-group .property-input {
  flex: 1;
}

.text-link-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  background: #1e293b;
  color: #94a3b8;
  cursor: pointer;
  transition: 150ms ease-in-out;
}
.text-link-remove:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

/**
 * Widget Promotional Campaigns
 * Modern, accessible, mobile-first design with unique visual elements
 */
.widget-promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
@media (min-width: 768px) {
  .widget-promo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1280px) {
  .widget-promo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.widget-promo-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 250ms ease-in-out;
  position: relative;
}
.widget-promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 1rem;
  padding: 2px;
  background: linear-gradient(135deg, #2563eb, #f59e0b, #64748b);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 250ms ease-in-out;
}
.widget-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.widget-promo-card:hover::before {
  opacity: 1;
}
.widget-promo-card:focus-within {
  outline: 3px solid #2563eb;
  outline-offset: 2px;
}
.widget-promo-card--active::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.widget-promo-card--scheduled {
  opacity: 0.92;
}
.widget-promo-card--scheduled::after {
  content: "";
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.2);
}
.widget-promo-card--draft {
  opacity: 0.85;
  filter: grayscale(20%);
}
.widget-promo-card--paused {
  opacity: 0.75;
  filter: grayscale(40%);
}

.widget-promo-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}

.widget-promo-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, #10b981, #34d399);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}
.widget-promo-card__badge:hover {
  transform: translateY(-1px);
  filter: brightness(1.1);
}
.widget-promo-card__badge i {
  font-size: 8px;
  animation: pulse-icon 1.5s ease-in-out infinite;
}
.widget-promo-card__badge--scheduled {
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}
.widget-promo-card__badge--draft {
  background: linear-gradient(135deg, #F49609, rgb(247.3090909091, 166.9818181818, 46.4909090909));
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.4);
}
.widget-promo-card__badge--paused {
  background: linear-gradient(135deg, #475569, #64748b);
  box-shadow: 0 2px 8px rgba(71, 85, 105, 0.3);
}
.widget-promo-card__badge--expired {
  background: linear-gradient(135deg, #10b981, #34d399);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.widget-promo-card__badge--expired i {
  animation: none;
}

.widget-promo-card__actions {
  display: flex;
  gap: 0.5rem;
}
.widget-promo-card__actions .btn-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(241, 245, 249, 0.8);
  color: #475569;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.widget-promo-card__actions .btn-icon:hover {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.1);
}
.widget-promo-card__actions .btn-icon:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.widget-promo-card__actions .btn-icon i {
  font-size: 0.875rem;
}

.widget-promo-card__preview {
  padding: 1.25rem;
  background: #0f172a;
  position: relative;
  overflow: hidden;
}
.widget-promo-card__preview::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.widget-promo-banner {
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
  min-height: 140px;
  position: relative;
  overflow: hidden;
  transition: transform 250ms ease-in-out;
}
.widget-promo-banner:hover {
  transform: scale(1.02);
}

.widget-promo-banner__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.widget-promo-banner__content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}
.widget-promo-banner__content p {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.75;
}

.widget-promo-banner__cta {
  position: relative;
  z-index: 3;
}

.widget-promo-card__info {
  padding: 1.25rem;
}
.widget-promo-card__info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem 0;
}

.widget-promo-card__schedule {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
}
.widget-promo-card__schedule i {
  color: #2563eb;
}

.widget-promo-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
  border-top: 1px solid #f1f5f9;
}

.widget-promo-card__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: all 150ms ease-in-out;
}
.widget-promo-card__stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}
.widget-promo-card__stat .stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  background: linear-gradient(135deg, #2563eb, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.widget-promo-card__stat .stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    transform: scale(1.1);
  }
}
@keyframes pulse-icon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}
@media (max-width: 640px) {
  .widget-promo-card__header {
    padding: 0.75rem 1rem;
  }
  .widget-promo-card__badge {
    font-size: 10px;
    padding: 0.125rem 0.5rem;
  }
  .widget-promo-banner {
    padding: 1.25rem 1rem;
    min-height: 120px;
  }
  .widget-promo-banner h4 {
    font-size: 1.125rem;
  }
  .widget-promo-banner p {
    font-size: 0.875rem;
  }
  .widget-promo-card__info {
    padding: 1rem;
  }
  .widget-promo-card__info h4 {
    font-size: 1rem;
  }
  .widget-promo-card__stats {
    padding: 0.75rem 1rem;
    gap: 0.5rem;
  }
  .widget-promo-card__stat {
    padding: 0.5rem;
  }
  .widget-promo-card__stat .stat-value {
    font-size: 1.125rem;
  }
  .widget-promo-card__stat .stat-label {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .widget-promo-card,
  .widget-promo-banner,
  .widget-promo-card__stat,
  .btn-icon {
    transition: none;
    animation: none;
  }
  .widget-promo-card::before,
  .widget-promo-banner::before {
    animation: none;
  }
}
.widget-promo-card {
  background: #1e293b;
  border: 1px solid #334155;
}
.widget-promo-card::before {
  display: none;
}
.widget-promo-card:hover {
  border-color: #475569;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.widget-promo-card--draft {
  opacity: 1;
  filter: none;
  border-color: #475569;
}
.widget-promo-card--active {
  border-color: rgba(16, 185, 129, 0.5);
}
.widget-promo-card--active::after {
  top: 0.75rem;
  right: 0.75rem;
}
.widget-promo-card--scheduled {
  opacity: 1;
  border-color: rgba(245, 158, 11, 0.3);
}

.widget-promo-card__header {
  background: #0f172a;
  border-bottom: 1px solid #334155;
  padding: 0.75rem 1rem;
}

.widget-promo-card__badge {
  font-size: 11px;
  padding: 0.25rem 0.75rem;
}
.widget-promo-card__badge i {
  font-size: 8px;
}
.widget-promo-card__badge--draft {
  background: linear-gradient(135deg, #F49609, rgb(247.3090909091, 166.9818181818, 46.4909090909)) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.4);
}
.widget-promo-card__badge--expired {
  background: #10b981;
  color: #ffffff;
  box-shadow: none;
}
.widget-promo-card__badge--expired i {
  animation: none;
}

.widget-promo-card__actions .btn-icon {
  width: 36px;
  height: 36px;
  background: #334155;
  color: #e2e8f0;
  border: 1px solid #475569;
}
.widget-promo-card__actions .btn-icon:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.widget-promo-card__actions .btn-icon[data-action=delete]:hover {
  background: #ef4444;
  border-color: #ef4444;
}
.widget-promo-card__actions .btn-icon i {
  font-size: 14px;
}

.widget-promo-card__preview {
  background: #0f172a;
  padding: 1rem;
  border-bottom: 1px solid #334155;
}
.widget-promo-card__preview::before {
  display: none;
}

.widget-promo-banner {
  border-radius: 0.75rem;
  padding: 1.25rem;
  min-height: 120px;
}
.widget-promo-banner::before, .widget-promo-banner::after {
  display: none;
}
.widget-promo-banner:hover {
  transform: none;
}

.widget-promo-banner__content h4 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}
.widget-promo-banner__content p {
  font-size: 0.875rem;
  margin: 0 0 0.75rem 0;
  opacity: 0.9;
  color: #ffffff;
}

.widget-promo-banner--horizontal {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  min-height: auto;
}
.widget-promo-banner--horizontal .widget-promo-banner__content {
  flex: 1;
  min-width: 0;
}
.widget-promo-banner--horizontal .widget-promo-banner__content h4 {
  margin-bottom: 0.5rem;
}
.widget-promo-banner--horizontal .widget-promo-banner__content p {
  margin-bottom: 0;
}

.widget-promo-banner__media {
  flex-shrink: 0;
  width: 88px;
  height: 110px;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.widget-promo-banner__media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.3);
}
.widget-promo-banner__media-placeholder i {
  font-size: 1.25rem;
}

.widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-promo-card__info {
  padding: 1rem;
  background: #1e293b;
}
.widget-promo-card__info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}

.widget-promo-card__schedule {
  color: #94a3b8;
  font-size: 0.875rem;
}
.widget-promo-card__schedule i {
  color: #2563eb;
  margin-right: 0.25rem;
}

.widget-promo-card__stats {
  background: #0f172a;
  border-top: 1px solid #334155;
  padding: 1rem;
  gap: 0.75rem;
}

.widget-promo-card__stat {
  background: #1e293b;
  border: 1px solid #334155;
  padding: 0.75rem;
  border-radius: 0.5rem;
}
.widget-promo-card__stat:hover {
  border-color: #475569;
  transform: none;
  box-shadow: none;
}
.widget-promo-card__stat .stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}
.widget-promo-card__stat .stat-label {
  font-size: 10px;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
  padding: 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 250ms ease-in-out;
}
.form-section:hover {
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
}

.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #0f172a;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  transition: all 150ms ease-in-out;
  font-family: inherit;
}
.form-control:hover {
  border-color: #94a3b8;
}
.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
  background: #ffffff;
}
.form-control::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.form-control--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.75;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.color-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.color-input-group .color-input {
  width: 60px;
  height: 48px;
  padding: 0.25rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.color-input-group .color-input:hover {
  border-color: #2563eb;
  transform: scale(1.05);
}
.color-input-group .color-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}
.color-input-group .color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-input-group .color-input::-webkit-color-swatch {
  border: none;
  border-radius: calc(0.75rem - 4px);
}
.color-input-group .color-input::-moz-color-swatch {
  border: none;
  border-radius: calc(0.75rem - 4px);
}
.color-input-group .form-control {
  flex: 1;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.form-help {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.5rem;
  font-style: italic;
}

select.form-control {
  appearance: none;
  padding-right: calc(1rem * 2 + 12px);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 12px;
}
select.form-control:hover {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23374151' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}
select.form-control option {
  background-color: #1e293b;
  color: #f8fafc;
}

@media print {
  .widget-promo-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #cbd5e1;
  }
  .widget-promo-card::before {
    display: none;
  }
  .widget-promo-card__actions {
    display: none;
  }
  .widget-promo-banner {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/**
 * Create Widget Promo Page
 * Admin theme styled, mobile-first design
 */
.promo-page {
  overflow: hidden;
  height: 100vh;
}
.promo-page .admin-dashboard {
  height: 100vh;
  overflow: hidden;
}
.promo-page .admin-main {
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.promo-page .admin-header {
  flex-shrink: 0;
}
.promo-page .admin-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.page-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
}
.page-actions .btn {
  color: #ffffff !important;
}
.page-actions__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-actions__autosave {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color 150ms ease-in-out;
}
.page-actions__autosave i {
  font-size: 0.875rem;
}
.page-actions__autosave--saving {
  color: #cbd5e1;
}
.page-actions__autosave--saved {
  color: #10b981;
}
.page-actions__autosave--error {
  color: #ef4444;
}
.page-actions .btn--success {
  background: #10b981 !important;
  border-color: #10b981 !important;
}
.page-actions .btn--success:hover {
  background: rgb(12.752238806, 147.447761194, 102.8149253731) !important;
}
.page-actions .btn--unpublish {
  background: #334155 !important;
  border-color: #475569 !important;
}
.page-actions .btn--unpublish:hover {
  background: #475569 !important;
}
@media (max-width: 640px) {
  .page-actions {
    flex-direction: column;
    gap: 0.75rem;
  }
  .page-actions__right {
    width: 100%;
  }
  .page-actions__right .btn {
    flex: 1;
  }
}

.promo-creator {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}
@media (min-width: 1024px) {
  .promo-creator {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: start;
    min-height: 0;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sidebar-docked-left .promo-creator {
    display: flex;
    flex-direction: column;
  }
}
@media (min-width: 1280px) {
  .sidebar-docked-left .promo-creator {
    display: grid;
    grid-template-columns: 400px 1fr;
    align-items: start;
    min-height: 0;
  }
}

.promo-creator__preview,
.promo-creator__form {
  width: 100%;
  max-width: 100%;
}

.promo-creator__preview {
  order: 1;
}
@media (min-width: 1024px) {
  .promo-creator__preview {
    position: sticky;
    top: 1rem;
    order: 0;
    max-height: calc(100vh - 2rem);
    overflow: visible;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sidebar-docked-left .promo-creator__preview {
    position: static;
    order: 1;
    max-height: none;
  }
}
@media (min-width: 1280px) {
  .sidebar-docked-left .promo-creator__preview {
    position: sticky;
    top: 1rem;
    order: 0;
    max-height: calc(100vh - 2rem);
  }
}

.promo-preview-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  width: 100%;
}
.promo-preview-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}
.promo-preview-card__header {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid #334155;
}
.promo-preview-card__header h2 {
  margin: 0 0 0.25rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
}
.promo-preview-card__header p {
  margin: 0;
  font-size: 0.875rem;
  color: #9ca3af;
}
.promo-preview-card__body {
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.promo-creator__form {
  order: 2;
}
@media (min-width: 1024px) {
  .promo-creator__form {
    order: 1;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
  }
  .promo-creator__form::-webkit-scrollbar {
    width: 8px;
  }
  .promo-creator__form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
  }
  .promo-creator__form::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
  }
  .promo-creator__form::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .sidebar-docked-left .promo-creator__form {
    order: 2;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
@media (min-width: 1280px) {
  .sidebar-docked-left .promo-creator__form {
    order: 1;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem;
  }
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-section {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 250ms ease-in-out;
  width: 100%;
}
.form-section:hover {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}
.form-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #334155;
}
.form-section__title i {
  color: #2563eb;
  font-size: 1.25rem;
}
@media (max-width: 640px) {
  .form-section {
    padding: 1rem;
    border-radius: 12px;
  }
}

.form-group {
  margin-bottom: 1rem;
}
.form-group:last-child {
  margin-bottom: 0;
}

.promo-creator__form .form-label,
.promo-creator__form label,
.form-section .form-label,
.form-section label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1 !important;
  margin-bottom: 0.5rem;
}
.promo-creator__form .form-label .required,
.promo-creator__form label .required,
.form-section .form-label .required,
.form-section label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #f8fafc;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #334155;
  border-radius: 12px;
  transition: all 150ms ease-in-out;
  font-family: inherit;
}
.form-control:hover {
  border-color: rgba(37, 99, 235, 0.3);
  background: rgba(0, 0, 0, 0.4);
}
.form-control:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: rgba(0, 0, 0, 0.5);
}
.form-control::placeholder {
  color: #9ca3af;
  font-weight: 400;
}
.form-control.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-control--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  line-height: 1.75;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 640px) {
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

.color-input-group {
  display: flex;
  gap: 0.75rem;
  align-items: stretch;
}
.color-input-group .color-input {
  width: 60px;
  height: 48px;
  padding: 0.25rem;
  border: 1px solid #334155;
  border-radius: 12px;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  background: rgba(0, 0, 0, 0.3);
}
.color-input-group .color-input:hover {
  border-color: #2563eb;
  transform: scale(1.05);
}
.color-input-group .color-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.color-input-group .color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-input-group .color-input::-webkit-color-swatch {
  border: none;
  border-radius: 8px;
}
.color-input-group .color-input::-moz-color-swatch {
  border: none;
  border-radius: 8px;
}
.color-input-group .form-control {
  flex: 1;
  font-family: "Courier New", monospace;
  text-transform: uppercase;
}

.promo-creator__form .form-help,
.promo-creator__form small,
.form-section .form-help,
.form-section small {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af !important;
  margin-top: 0.5rem;
  font-style: italic;
}

.brand-colors-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.brand-colors-display__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.brand-colors-display__swatches {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.brand-color-swatch {
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  padding: 0;
  outline: none;
}
.brand-color-swatch:hover {
  transform: scale(1.15);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.brand-color-swatch:focus-visible {
  border-color: #2563eb;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.3);
}
.brand-color-swatch--copied {
  transform: scale(1.2);
  border-color: #10b981;
}

.background-type-control {
  margin-bottom: 1rem;
}

.background-type-toggle {
  display: inline-flex;
  gap: 0.75rem;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.background-type-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.background-type-toggle__btn:hover:not(.background-type-toggle__btn--active) {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}
.background-type-toggle__btn--active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.background-type-toggle__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.background-type-toggle__icon {
  width: 20px;
  height: 20px;
}

.gradient-slider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.gradient-slider__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.gradient-slider__track {
  position: relative;
  flex: 1;
  height: 16px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.gradient-slider--full .gradient-slider__track {
  min-width: 200px;
  max-width: 320px;
}
.gradient-slider__gradient {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 1;
}
.gradient-slider__handle {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  transform: translate(-50%, -50%);
  cursor: grab;
  z-index: 2;
  transition: transform 0.1s ease;
  touch-action: none;
}
.gradient-slider__handle:hover {
  transform: translate(-50%, -50%) scale(1.15);
}
.gradient-slider__handle:active {
  cursor: grabbing;
}
.gradient-slider__handle--start {
  left: 0%;
}
.gradient-slider__handle--end {
  left: 100%;
}
.gradient-slider__midpoint {
  position: absolute;
  top: -8px;
  left: 50%;
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  border: 1px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transform: translateX(-50%) rotate(45deg);
  cursor: ew-resize;
  z-index: 3;
  transition: background 0.15s ease, transform 0.1s ease;
  touch-action: none;
}
.gradient-slider__midpoint:hover {
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg) scale(1.2);
}
.gradient-slider__midpoint:active {
  cursor: grabbing;
}
.gradient-slider__midpoint:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.gradient-slider__value {
  display: none;
}
@media (max-width: 1024px) {
  .gradient-slider__track {
    height: 24px;
    border-radius: 8px;
  }
  .gradient-slider__handle {
    width: 32px;
    height: 32px;
    border-width: 3px;
  }
  .gradient-slider__midpoint {
    width: 20px;
    height: 20px;
    top: -12px;
    border-width: 2px;
  }
}

.color-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gradient-direction {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.gradient-direction__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.gradient-direction__options {
  display: flex;
  gap: 0.5rem;
}
.gradient-direction__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.gradient-direction__btn svg {
  width: 24px;
  height: 24px;
}
.gradient-direction__btn:hover:not(.gradient-direction__btn--active) {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.gradient-direction__btn--active {
  background: rgba(37, 99, 235, 0.2);
  border-color: #2563eb;
  color: #2563eb;
}
.gradient-direction__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.gradient-direction__btn--invert {
  margin-left: 0.5rem;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.5rem;
  border-radius: 0.5rem;
}
.gradient-direction__btn--invert:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  color: #2563eb;
}

.color-pickers-row.form-row {
  gap: 1rem;
}

.color-controls--solid #gradientDirectionControl {
  display: none;
}
.color-controls--solid #secondaryColorGroup {
  display: none;
}
.color-controls--solid #gradientSlider {
  display: none;
}
.color-controls--solid #primaryColorLabel::after {
  content: none;
}

.select-wrapper {
  position: relative;
  display: block;
}
.select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23cbd5e1' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  transition: opacity 150ms ease-in-out;
}
.select-wrapper:hover::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23f8fafc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}
.select-wrapper select.form-control {
  appearance: none;
  padding-right: calc(1rem * 2 + 12px);
  cursor: pointer;
  background-image: none;
  width: 100%;
}
.select-wrapper select.form-control option {
  background-color: #1e293b;
  color: #f8fafc;
}

input[type=datetime-local].form-control {
  position: relative;
  color-scheme: dark;
}
input[type=datetime-local].form-control::-webkit-calendar-picker-indicator {
  cursor: pointer;
  filter: invert(1) brightness(0.9);
  opacity: 0.7;
  transition: opacity 150ms ease-in-out;
}
input[type=datetime-local].form-control::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}
input[type=datetime-local].form-control::-webkit-inner-spin-button {
  display: none;
}
input[type=datetime-local].form-control::-webkit-clear-button {
  display: none;
}

.flatpickr-calendar {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.flatpickr-calendar.arrowTop:before, .flatpickr-calendar.arrowTop:after {
  border-bottom-color: #1e293b;
}

.flatpickr-months {
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.flatpickr-months .flatpickr-month {
  color: #f8fafc;
}
.flatpickr-months .flatpickr-current-month {
  color: #f8fafc;
}
.flatpickr-months .flatpickr-monthDropdown-months {
  background: #1e293b;
  color: #f8fafc;
}
.flatpickr-months .flatpickr-monthDropdown-months option {
  background: #1e293b;
  color: #f8fafc;
}

.flatpickr-weekdays {
  background: #1e293b;
}
.flatpickr-weekdays .flatpickr-weekday {
  color: #94a3b8;
  font-weight: 600;
}

.flatpickr-day {
  color: #cbd5e1;
}
.flatpickr-day:hover {
  background: #334155;
  border-color: #334155;
}
.flatpickr-day.today {
  border-color: #2563eb;
}
.flatpickr-day.today:hover {
  background: #2563eb;
  color: white;
}
.flatpickr-day.selected {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
}
.flatpickr-day.selected:hover {
  background: #1d4ed8;
}
.flatpickr-day.prevMonthDay, .flatpickr-day.nextMonthDay {
  color: #64748b;
}

.flatpickr-time {
  background: #1e293b;
  border-top: 1px solid #334155;
}
.flatpickr-time input {
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.5);
}
.flatpickr-time input:hover {
  background: #334155;
}
.flatpickr-time .flatpickr-am-pm {
  color: #f8fafc;
  background: rgba(51, 65, 85, 0.5);
}
.flatpickr-time .flatpickr-am-pm:hover {
  background: #334155;
}

.numInputWrapper span {
  border-color: #334155;
}
.numInputWrapper span:hover {
  background: rgba(51, 65, 85, 0.5);
}
.numInputWrapper span.arrowUp:after {
  border-bottom-color: #cbd5e1;
}
.numInputWrapper span.arrowDown:after {
  border-top-color: #cbd5e1;
}

.flatpickr-input.form-control {
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #f8fafc;
}
.flatpickr-input.form-control:read-only {
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.flatpickr-input.form-control::placeholder {
  color: #9ca3af;
  font-weight: 400;
  font-size: 1rem;
}

.widget-promo-banner {
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  min-height: 140px;
  max-width: 380px;
  width: 100%;
  position: relative;
  overflow: hidden;
  transition: transform 250ms ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.widget-promo-banner:hover {
  transform: scale(1.02);
}
@media (max-width: 640px) {
  .widget-promo-banner {
    max-width: 100%;
    padding: 1.25rem 1rem;
  }
}

.widget-promo-banner__content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}
.widget-promo-banner__content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  letter-spacing: -0.5px;
}
.widget-promo-banner__content p {
  font-size: 1rem;
  margin: 0 0 1rem 0;
  opacity: 0.95;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  line-height: 1.75;
}

.widget-promo-banner__cta {
  position: relative;
  z-index: 3;
}

.widget-promo-banner__shape {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: left 0.05s ease-out, top 0.05s ease-out;
  user-select: none;
  -webkit-user-select: none;
}
.widget-promo-banner__shape--none {
  display: none;
}
.widget-promo-banner__shape--oval {
  border-radius: 50%;
  width: 160px;
  height: 100px;
}
.widget-promo-banner__shape--circle {
  border-radius: 50%;
  width: 120px;
  height: 120px;
}
.widget-promo-banner__shape--square {
  border-radius: 8px;
  width: 100px;
  height: 100px;
}
.widget-promo-banner__shape--rectangle {
  border-radius: 8px;
  width: 180px;
  height: 80px;
}
.widget-promo-banner__shape--diamond {
  width: 100px;
  height: 100px;
  transform: translate(-50%, -50%) rotate(45deg);
  border-radius: 8px;
}
.widget-promo-banner__shape--star {
  width: 120px;
  height: 120px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--oval {
  width: 100px;
  height: 64px;
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--circle {
  width: 80px;
  height: 80px;
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--square {
  width: 64px;
  height: 64px;
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--rectangle {
  width: 120px;
  height: 52px;
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--diamond {
  width: 64px;
  height: 64px;
}
.widget-promo-banner__shape--sm.widget-promo-banner__shape--star {
  width: 80px;
  height: 80px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--oval {
  width: 220px;
  height: 140px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--circle {
  width: 160px;
  height: 160px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--square {
  width: 140px;
  height: 140px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--rectangle {
  width: 240px;
  height: 110px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--diamond {
  width: 140px;
  height: 140px;
}
.widget-promo-banner__shape--lg.widget-promo-banner__shape--star {
  width: 160px;
  height: 160px;
}

.widget-promo-banner--text-only {
  display: flex;
  flex-direction: column;
}
.widget-promo-banner--text-only .widget-promo-banner__media {
  display: none;
}
.widget-promo-banner--text-only .widget-promo-banner__overlay {
  display: none;
}

.widget-promo-banner--image-left {
  display: flex;
  flex-direction: row;
  padding: 0;
}
.widget-promo-banner--image-left .widget-promo-banner__media {
  display: flex;
  width: 40%;
  height: auto;
  min-height: 160px;
  border-radius: 12px 0 0 12px;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.widget-promo-banner--image-left .widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-promo-banner--image-left .widget-promo-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
}
.widget-promo-banner--image-left .widget-promo-banner__overlay {
  display: none;
}

.widget-promo-banner--image-right {
  display: flex;
  flex-direction: row-reverse;
  padding: 0;
}
.widget-promo-banner--image-right .widget-promo-banner__media {
  display: flex;
  width: 40%;
  height: auto;
  min-height: 160px;
  border-radius: 0 12px 12px 0;
  flex-shrink: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.widget-promo-banner--image-right .widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-promo-banner--image-right .widget-promo-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
}
.widget-promo-banner--image-right .widget-promo-banner__overlay {
  display: none;
}

.widget-promo-banner--full-overlay {
  display: flex;
  flex-direction: column;
  padding: 0;
  min-height: 200px;
  background: transparent !important;
}
.widget-promo-banner--full-overlay .widget-promo-banner__media {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.widget-promo-banner--full-overlay .widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-promo-banner--full-overlay .widget-promo-banner__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  border-radius: 12px;
  pointer-events: none;
}
.widget-promo-banner--full-overlay .widget-promo-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  padding: 1.5rem 1.25rem;
}

.widget-promo-banner--full-image {
  display: flex;
  padding: 0;
  min-height: 180px;
  background: transparent !important;
}
.widget-promo-banner--full-image .widget-promo-banner__media {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
}
.widget-promo-banner--full-image .widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-promo-banner--full-image .widget-promo-banner__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 180px;
  padding: 1rem;
}
.widget-promo-banner--full-image .widget-promo-banner__overlay {
  display: none;
}

.widget-promo-banner--image-top {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.widget-promo-banner--image-top .widget-promo-banner__media {
  display: flex;
  width: 100%;
  height: 140px;
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}
.widget-promo-banner--image-top .widget-promo-banner__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.widget-promo-banner--image-top .widget-promo-banner__content {
  padding: 1.25rem;
}
.widget-promo-banner--image-top .widget-promo-banner__overlay {
  display: none;
}

.widget-promo-banner__media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.3);
}
.widget-promo-banner__media-placeholder i {
  font-size: 1.5rem;
}

.widget-promo-banner__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  border: none;
  margin-top: 0.75rem;
}
.widget-promo-banner__cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  filter: brightness(1.1);
}

.layout-selector {
  margin-bottom: 1.25rem;
}
.layout-selector__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}
.layout-selector__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .layout-selector__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.layout-selector__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 80px;
}
.layout-selector__card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.layout-selector__card--active {
  background: rgba(37, 99, 235, 0.12);
  border-color: #2563eb;
}
.layout-selector__preview {
  width: 100%;
  height: 36px;
  display: flex;
  gap: 3px;
  border-radius: 4px;
  overflow: hidden;
}
.layout-selector__preview--text-only .layout-selector__block--text {
  flex: 1;
}
.layout-selector__preview--image-left, .layout-selector__preview--image-right {
  flex-direction: row;
}
.layout-selector__preview--image-top {
  flex-direction: column;
}
.layout-selector__preview--full-overlay {
  position: relative;
}
.layout-selector__preview--full-overlay .layout-selector__block--image-full {
  position: absolute;
  inset: 0;
}
.layout-selector__preview--full-overlay .layout-selector__block--text-overlay {
  position: relative;
  z-index: 1;
  flex: 1;
  background: rgba(0, 0, 0, 0.4) !important;
}
.layout-selector__preview--full-image .layout-selector__block--image-full {
  flex: 1;
}
.layout-selector__block {
  border-radius: 2px;
}
.layout-selector__block--text {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
}
.layout-selector__block--image {
  width: 40%;
  background: #2563eb;
  opacity: 0.6;
}
.layout-selector__block--image-full {
  flex: 1;
  background: #2563eb;
  opacity: 0.6;
}
.layout-selector__block--text-overlay {
  flex: 1;
  background: rgba(255, 255, 255, 0.15);
}
.layout-selector__name {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

.image-controls {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border: 1px solid #334155;
}

.range-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.range-control__value {
  font-size: 0.875rem;
  color: #f8fafc;
  font-weight: 600;
  min-width: 40px;
  text-align: right;
}

.form-range {
  flex: 1;
  height: 6px;
  appearance: none;
  background: #334155;
  border-radius: 3px;
  outline: none;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  padding: 8px 0;
  margin: -8px 0;
}
.form-range::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: transform 0.1s ease;
}
.form-range::-webkit-slider-thumb:active {
  transform: scale(1.15);
}
.form-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2563eb;
  cursor: pointer;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
@media (max-width: 640px) {
  .form-range {
    height: 8px;
    border-radius: 4px;
  }
  .form-range::-webkit-slider-thumb {
    width: 34px;
    height: 34px;
  }
  .form-range::-moz-range-thumb {
    width: 34px;
    height: 34px;
  }
}

.image-width-mode {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.image-width-mode__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.image-width-mode__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.image-width-mode__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.image-fit-toggle {
  display: flex;
  gap: 0.5rem;
}
.image-fit-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.image-fit-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.image-fit-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.focal-point-picker__area {
  position: relative;
  width: 100%;
  height: 300px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  cursor: grab;
}
.focal-point-picker__area:active {
  cursor: grabbing;
}
.focal-point-picker__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}
.focal-point-picker__area--dragging {
  cursor: grabbing;
}
.focal-point-picker__area--dragging .focal-point-picker__crosshair {
  transition: none;
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.6), 0 0 12px rgba(37, 99, 235, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}
.focal-point-picker__crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  z-index: 2;
  transition: left 0.08s ease-out, top 0.08s ease-out, transform 150ms ease-in-out, box-shadow 150ms ease-in-out;
}
.focal-point-picker__crosshair::before, .focal-point-picker__crosshair::after {
  content: "";
  position: absolute;
  background: #ffffff;
}
.focal-point-picker__crosshair::before {
  top: 50%;
  left: -6px;
  right: -6px;
  height: 1px;
  transform: translateY(-50%);
}
.focal-point-picker__crosshair::after {
  left: 50%;
  top: -6px;
  bottom: -6px;
  width: 1px;
  transform: translateX(-50%);
}

.overlay-controls {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  border: 1px solid #334155;
}

.overlay-type-toggle {
  display: flex;
  gap: 0.5rem;
}
.overlay-type-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.overlay-type-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.overlay-type-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.vertical-align-toggle {
  display: flex;
  gap: 0.5rem;
}
.vertical-align-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.vertical-align-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.vertical-align-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.form-group--toggle {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}
.form-group--toggle .toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.form-group--toggle .toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.form-group--toggle .toggle-switch input:checked + .toggle-switch__slider {
  background-color: #2563eb;
  border-color: #2563eb;
}
.form-group--toggle .toggle-switch input:checked + .toggle-switch__slider::before {
  transform: translateX(22px);
}
.form-group--toggle .toggle-switch input:focus-visible + .toggle-switch__slider {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.form-group--toggle .toggle-switch__slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  width: auto;
  height: auto;
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  transition: background-color 150ms ease-in-out, border-color 150ms ease-in-out;
}
.form-group--toggle .toggle-switch__slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  transition: transform 150ms ease-in-out;
}

.shape-selector {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}
@media (max-width: 640px) {
  .shape-selector {
    grid-template-columns: repeat(3, 1fr);
  }
}
.shape-selector__btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid transparent;
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 56px;
}
.shape-selector__btn svg {
  width: 28px;
  height: 20px;
}
.shape-selector__btn i {
  font-size: 1rem;
}
.shape-selector__btn span {
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.shape-selector__btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #f8fafc;
}
.shape-selector__btn--active {
  background: rgba(37, 99, 235, 0.12);
  border-color: #2563eb;
  color: #f8fafc;
}

.shape-size-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.range-control--flex {
  flex: 1;
}

.shape-size-toggle {
  display: flex;
  gap: 0.5rem;
}
.shape-size-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.shape-size-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.shape-size-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.cta-radius-toggle {
  display: flex;
  gap: 0.5rem;
}
.cta-radius-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.cta-radius-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cta-radius-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
}
.cta-radius-toggle__sample {
  display: block;
  width: 22px;
  height: 14px;
  background: #cbd5e1;
}

.cta-width-toggle {
  display: flex;
  gap: 0.5rem;
}
.cta-width-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.cta-width-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
}
.cta-width-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #f8fafc;
}

.promo-preview-toggle {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-bottom: 0.75rem;
}
.promo-preview-toggle__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #9ca3af;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.promo-preview-toggle__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
}
.promo-preview-toggle__btn--active {
  background: rgba(37, 99, 235, 0.15);
  border-color: #2563eb;
  color: #2563eb;
}

.promo-preview-card__body {
  display: flex;
  justify-content: center;
  padding: 1rem;
}
.promo-preview-card__body--mobile .widget-promo-banner {
  max-width: 320px;
}
.promo-preview-card__body--widget .widget-promo-banner {
  max-width: 380px;
}
.promo-preview-card__body--desktop .widget-promo-banner {
  max-width: 100%;
}

.promo-preview-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.promo-preview-card__header-content {
  flex: 1;
}

.promo-preview-card__actions {
  flex-shrink: 0;
}

.preview-popout-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.preview-popout-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.preview-popout-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.preview-popout-btn i {
  font-size: 0.875rem;
}

.promo-preview-card--floating {
  position: fixed !important;
  z-index: 1000;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  resize: both;
  overflow: auto;
  min-width: 280px;
  min-height: 200px;
}
.promo-preview-card--floating .promo-preview-card__header {
  cursor: move;
  user-select: none;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.promo-preview-card--floating .preview-popout-btn i {
  transform: rotate(180deg);
}

.promo-creator__preview--placeholder {
  display: none;
}

.text-styling-controls {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.text-styling-controls .form-label--section {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.text-styling-controls .form-label--sm {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}
.text-styling-controls .form-row.form-row--compact {
  display: flex !important;
  flex-direction: row !important;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}
.text-styling-controls .form-row.form-row--compact .form-group {
  margin-bottom: 0;
}
.text-styling-controls .select-wrapper--sm::after {
  right: 0.75rem;
}
.text-styling-controls .select-wrapper--sm select.form-control--sm {
  padding: 0.5rem 0.75rem;
  padding-right: calc(0.75rem * 2 + 12px);
  font-size: 0.875rem;
  min-width: 80px;
}

.text-align-toggle {
  display: flex;
  gap: 0.25rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.text-align-toggle__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.text-align-toggle__btn i {
  font-size: 1rem;
}
.text-align-toggle__btn:hover:not(.text-align-toggle__btn--active) {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}
.text-align-toggle__btn--active {
  background: #2563eb;
  color: #ffffff;
}
.text-align-toggle__btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.promo-creator__form .form-group--banner-image .form-label,
.promo-creator__form .form-group--banner-image label,
.form-section .form-group--banner-image .form-label,
.form-section .form-group--banner-image label {
  margin-top: 1.25rem;
}

.image-upload-control {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.image-upload-preview {
  position: relative;
  width: 100%;
  height: 120px;
  background: rgba(0, 0, 0, 0.3);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 150ms ease-in-out;
}
.image-upload-preview:hover {
  border-color: rgba(255, 255, 255, 0.25);
}
.image-upload-preview__empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #64748b;
}
.image-upload-preview__empty i {
  font-size: 2rem;
}
.image-upload-preview__empty span {
  font-size: 0.875rem;
}
.image-upload-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-upload-preview__remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.image-upload-preview__remove:hover {
  background: #ef4444;
}
.image-upload-preview__remove:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.image-upload-actions {
  display: flex;
  gap: 0.5rem;
}
.image-upload-actions .btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.image-upload-actions .btn--sm i {
  margin-right: 0.25rem;
}

.image-gallery-control {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.image-gallery-actions {
  display: flex;
  gap: 0.5rem;
}
.image-gallery-actions .btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.image-gallery-actions .btn--sm i {
  margin-right: 0.25rem;
}

.image-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 0.75rem;
  min-height: 100px;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  transition: all 150ms ease-in-out;
}
.image-gallery-grid--dragover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.1);
}

.image-gallery-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  color: #64748b;
}
.image-gallery-empty i {
  font-size: 1.5rem;
}
.image-gallery-empty span {
  font-size: 0.875rem;
}

.image-gallery-thumb {
  position: relative;
  aspect-ratio: 4/5;
  background: #1e293b;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.image-gallery-thumb:hover {
  border-color: rgba(244, 150, 9, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.image-gallery-thumb--selected {
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.3);
}
.image-gallery-thumb--selected::after {
  content: "";
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 20px;
  height: 20px;
  background: #F49609;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-gallery-thumb--selected::before {
  content: "✓";
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 20px;
  height: 20px;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.image-gallery-thumb__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-gallery-thumb__remove {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  border-radius: 50%;
  color: #cbd5e1;
  font-size: 10px;
  cursor: pointer;
  opacity: 0;
  transition: all 150ms ease-in-out;
}
.image-gallery-thumb:hover .image-gallery-thumb__remove {
  opacity: 1;
}
.image-gallery-thumb__remove:hover {
  background: #ef4444;
  color: #ffffff;
}

.form-details {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.form-details__summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  list-style: none;
}
.form-details__summary::-webkit-details-marker {
  display: none;
}
.form-details__summary:hover {
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
}
.form-details__summary i:first-child {
  color: #94a3b8;
}
.form-details__summary span {
  flex: 1;
  font-weight: 500;
}
.form-details__icon {
  transition: transform 150ms ease-in-out;
}
.form-details[open] .form-details__icon {
  transform: rotate(180deg);
}
.form-details__content {
  padding: 1rem;
  padding-bottom: 0;
}
.form-details__content .form-row {
  margin-bottom: 0.75rem;
}
.form-details__content .form-help {
  color: #64748b;
  font-style: italic;
}

.media-library-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-library-modal--minimized {
  pointer-events: none;
}
.media-library-modal--minimized .media-library-modal__backdrop {
  display: none;
}
.media-library-modal--minimized .media-library-modal__dialog {
  pointer-events: auto;
  width: auto;
  min-width: 280px;
  max-width: 320px;
  max-height: 48px;
  overflow: hidden;
  border-radius: 0.75rem;
}
.media-library-modal--minimized .media-library-modal__body,
.media-library-modal--minimized .media-library-modal__toolbar,
.media-library-modal--minimized .media-library-modal__filter-tabs {
  display: none;
}
.media-library-modal--minimized .media-library-modal__header {
  padding: 0.5rem 1rem;
  border: none;
  background: #1e293b;
  cursor: grab;
}
.media-library-modal--minimized .media-library-modal__title {
  font-size: 0.875rem;
}
.media-library-modal--minimized .media-library-modal__title i {
  font-size: 1rem;
}
.media-library-modal--minimized .media-library-modal__actions {
  gap: 0.5rem;
}
.media-library-modal--minimized .media-library-modal__action-btn {
  width: 32px;
  height: 32px;
}

.media-library-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.media-library-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  background: #1e293b;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.media-library-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  cursor: grab;
  user-select: none;
}
.media-library-modal__header:active {
  cursor: grabbing;
}

.media-library-modal__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
}
.media-library-modal__title i {
  color: #F49609;
}

.media-library-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.media-library-modal__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.media-library-modal__action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}
.media-library-modal__action-btn--minify:hover {
  background: rgba(244, 150, 9, 0.2);
  color: #F49609;
}

.media-library-modal__toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.media-library-modal__filter-tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.media-library-modal__tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.media-library-modal__tab:hover {
  color: #ffffff;
}
.media-library-modal__tab--active {
  color: #ffffff;
  border-bottom-color: #2563eb;
}
.media-library-modal__tab i {
  font-size: 0.75rem;
}

.media-library-item__badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F49609;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.media-library-item--in-banner {
  border: 2px solid #F49609;
}

.media-library-modal__search {
  position: relative;
  flex: 1;
  min-width: 200px;
}
.media-library-modal__search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
}
.media-library-modal__search input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-left: calc(0.75rem * 2 + 14px);
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
}
.media-library-modal__search input::placeholder {
  color: #64748b;
}
.media-library-modal__search input:focus {
  outline: none;
  border-color: #F49609;
}

.media-library-modal__upload-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #F49609;
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.media-library-modal__upload-btn:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.media-library-modal__upload-btn input {
  display: none;
}

.media-library-modal__body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.25rem;
  min-height: 300px;
}

.media-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
}
.media-library-grid__count {
  grid-column: 1/-1;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.media-library-item {
  position: relative;
  aspect-ratio: 1;
  background: #334155;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.media-library-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.media-library-item--dragging {
  opacity: 0.5;
}
.media-library-item__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
  background: #1e293b;
}
.media-library-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 0.5rem;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}
.media-library-item:hover .media-library-item__overlay {
  opacity: 1;
}
.media-library-item__name {
  font-size: 0.75rem;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-library-empty {
  grid-column: 1/-1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  color: #64748b;
}
.media-library-empty__icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #475569;
}
.media-library-empty__title {
  font-size: 1.125rem;
  color: #94a3b8;
  margin: 0 0 0.5rem;
}
.media-library-empty__text {
  font-size: 0.875rem;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .widget-promo-banner,
  .form-section {
    transition: none;
    animation: none;
  }
}
@media print {
  .page-actions,
  .promo-creator__preview {
    display: none;
  }
  .promo-creator {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1280px) {
  .promo-page .admin-header__breadcrumb,
  .promo-page .admin-header__title {
    display: none;
  }
  .promo-page .admin-header__left {
    display: none;
  }
  .promo-page .admin-header__right {
    width: 100%;
    justify-content: space-between;
  }
  .promo-page .admin-header .venue-switcher {
    margin-left: 0;
    margin-right: auto;
  }
}
@media (max-width: 1024px) {
  .page-actions {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  .page-actions .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
}
@media (max-width: 1024px) and (max-width: 768px) {
  .page-actions .btn span {
    display: none;
  }
  .page-actions .btn i {
    margin: 0;
  }
}
@media (max-width: 1024px) {
  .page-actions__right {
    gap: 0.5rem;
  }
}
@media (max-width: 1280px) {
  .sidebar-docked-left .promo-creator__preview {
    max-height: 400px;
  }
  .sidebar-docked-left .promo-preview-card__body {
    min-height: 280px;
  }
}
@media (max-width: 640px) {
  .page-actions {
    padding: 0.5rem;
  }
  .page-actions .btn {
    padding: 0.5rem;
  }
}
.demo-body {
  margin: 0;
  min-height: 100vh;
  background: #0c0f1a;
  color: #e2e8f0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}
.demo-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 15% -10%, rgba(244, 150, 9, 0.18), transparent 55%), radial-gradient(ellipse at 85% 110%, rgba(45, 46, 136, 0.28), transparent 55%);
  pointer-events: none;
  z-index: 0;
}

.demo-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.5rem;
  background: #F49609;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 0.5rem 0;
}
.demo-skip:focus {
  left: 1rem;
  top: 1rem;
  border-radius: 0.5rem;
}

.demo-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(12, 15, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.demo-nav__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.demo-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}
.demo-nav__brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #fff;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(244, 150, 9, 0.32);
}
.demo-nav__link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: color 180ms ease, background 180ms ease;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.demo-nav__link:hover, .demo-nav__link:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.demo-nav__link:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.demo-nav nav {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-nav__lang {
  position: relative;
}
.demo-nav__lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.demo-nav__lang-trigger:hover, .demo-nav__lang-trigger:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}
.demo-nav__lang-trigger:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.demo-nav__lang-trigger[aria-expanded=true] .demo-nav__lang-caret {
  transform: rotate(180deg);
}
.demo-nav__lang-caret {
  font-size: 0.625rem;
  color: #94a3b8;
  transition: transform 200ms ease;
}
.demo-nav__lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 220px;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  z-index: 110;
}
.demo-nav__lang-menu li {
  margin: 0;
}
.demo-nav__lang-menu a,
.demo-nav__lang-menu button[role=menuitem] {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 0;
  color: #e2e8f0;
  text-decoration: none;
  font-family: inherit;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.demo-nav__lang-menu a:hover, .demo-nav__lang-menu a:focus-visible,
.demo-nav__lang-menu button[role=menuitem]:hover,
.demo-nav__lang-menu button[role=menuitem]:focus-visible {
  color: #fff;
  background: rgba(244, 150, 9, 0.12);
}
.demo-nav__lang-menu a:focus-visible,
.demo-nav__lang-menu button[role=menuitem]:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: -2px;
}
.demo-nav__lang-menu a.active,
.demo-nav__lang-menu button[role=menuitem].active {
  background: rgba(244, 150, 9, 0.18);
  color: #F49609;
  font-weight: 600;
}
@media (max-width: 768px) {
  .demo-nav__lang-current {
    display: none;
  }
  .demo-nav__lang-menu {
    right: 0;
    min-width: 200px;
  }
}

.demo-main {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}
@media (min-width: 768px) {
  .demo-main {
    padding: 5rem 2rem 6rem;
  }
}

.demo-hero {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1024px) {
  .demo-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 4rem;
  }
}
.demo-hero__intro-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(244, 150, 9, 0.12);
  border: 1px solid rgba(244, 150, 9, 0.32);
  color: #F49609;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.demo-hero__intro-eyebrow i {
  font-size: 0.75rem;
}
.demo-hero__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 1.5rem;
  font-weight: 700;
}
.demo-hero__title em {
  font-style: italic;
  background: linear-gradient(135deg, #F49609, #D93151);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (forced-colors: active) {
  .demo-hero__title em {
    color: CanvasText;
    -webkit-text-fill-color: CanvasText;
    background: none;
  }
}
.demo-hero__lede {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 52ch;
  margin: 0 0 2.5rem;
}
@media (min-width: 768px) {
  .demo-hero__lede {
    font-size: 1.1875rem;
  }
}
.demo-hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 2.5rem;
  display: grid;
  gap: 1rem;
}
.demo-hero__point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  color: #e2e8f0;
  font-size: 1rem;
  line-height: 1.5;
}
.demo-hero__point-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 0.5rem;
  background: rgba(244, 150, 9, 0.12);
  color: #F49609;
  font-size: 0.875rem;
}
.demo-hero__point strong {
  color: #fff;
  font-weight: 600;
}
.demo-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.demo-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.demo-hero__stat-value {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.demo-hero__stat-label {
  font-size: 0.8125rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.demo-form-card {
  position: relative;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
@media (min-width: 768px) {
  .demo-form-card {
    padding: 2.5rem;
  }
}
.demo-form-card__header {
  margin-bottom: 2rem;
}
.demo-form-card__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.625rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}
.demo-form-card__subtitle {
  font-size: 0.9375rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.5;
}
.demo-form-card__form {
  display: grid;
  gap: 1.25rem;
}
.demo-form-card__form[hidden] {
  display: none;
}
.demo-form-card__header[hidden] {
  display: none;
}
.demo-form-card__row {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 560px) {
  .demo-form-card__row {
    grid-template-columns: 1fr 1fr;
  }
}
.demo-form-card__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.demo-form-card__field[hidden] {
  display: none;
}
.demo-form-card__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  letter-spacing: 0.01em;
}
.demo-form-card__label-required {
  color: #F49609;
  margin-left: 0.25rem;
}
.demo-form-card__label--with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.demo-form-card__label--with-icon i {
  color: #F49609;
  font-size: 0.875rem;
}
.demo-form-card__input, .demo-form-card__select, .demo-form-card__textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 1rem;
  background: rgba(12, 15, 26, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
@media (pointer: coarse) {
  .demo-form-card__input, .demo-form-card__select, .demo-form-card__textarea {
    font-size: 1rem;
  }
}
.demo-form-card__input::placeholder, .demo-form-card__select::placeholder, .demo-form-card__textarea::placeholder {
  color: #64748b;
}
.demo-form-card__input:hover, .demo-form-card__select:hover, .demo-form-card__textarea:hover {
  border-color: rgba(255, 255, 255, 0.2);
}
.demo-form-card__input:focus, .demo-form-card__select:focus, .demo-form-card__textarea:focus {
  outline: none;
  border-color: #F49609;
  background: rgba(12, 15, 26, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.18);
}
.demo-form-card__input:disabled, .demo-form-card__select:disabled, .demo-form-card__textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.demo-form-card__input[aria-invalid=true], .demo-form-card__select[aria-invalid=true], .demo-form-card__textarea[aria-invalid=true] {
  border-color: #D93151;
  box-shadow: 0 0 0 4px rgba(217, 49, 81, 0.18);
}
.demo-form-card__input:-webkit-autofill, .demo-form-card__input:-webkit-autofill:hover, .demo-form-card__input:-webkit-autofill:focus, .demo-form-card__input:-webkit-autofill:active, .demo-form-card__select:-webkit-autofill, .demo-form-card__select:-webkit-autofill:hover, .demo-form-card__select:-webkit-autofill:focus, .demo-form-card__select:-webkit-autofill:active, .demo-form-card__textarea:-webkit-autofill, .demo-form-card__textarea:-webkit-autofill:hover, .demo-form-card__textarea:-webkit-autofill:focus, .demo-form-card__textarea:-webkit-autofill:active {
  -webkit-text-fill-color: #fff;
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 15, 26, 0.85) inset;
  box-shadow: 0 0 0 1000px rgba(12, 15, 26, 0.85) inset;
  caret-color: #fff;
  transition: background-color 5000s ease-in-out 0s;
}
.demo-form-card__input:-webkit-autofill:focus, .demo-form-card__select:-webkit-autofill:focus, .demo-form-card__textarea:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgba(12, 15, 26, 0.95) inset, 0 0 0 4px rgba(244, 150, 9, 0.18);
  box-shadow: 0 0 0 1000px rgba(12, 15, 26, 0.95) inset, 0 0 0 4px rgba(244, 150, 9, 0.18);
}
.demo-form-card__textarea {
  resize: vertical;
  min-height: 96px;
  line-height: 1.55;
}
.demo-form-card__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3e%3cpath d='M1 1L6 6L11 1' stroke='%23F49609' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px 8px;
}
.demo-form-card__error {
  color: #D93151;
  font-size: 0.8125rem;
  font-weight: 500;
  min-height: 1.25rem;
  line-height: 1.25;
}
.demo-form-card__radio-group {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
}
.demo-form-card__radio {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #e2e8f0;
  font-size: 0.9375rem;
}
.demo-form-card__radio input[type=radio] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #F49609;
  cursor: pointer;
}
.demo-form-card__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  cursor: pointer;
}
.demo-form-card__consent input[type=checkbox] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #F49609;
  cursor: pointer;
}
.demo-form-card__consent span {
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.5;
}
.demo-form-card__consent a {
  color: #F49609;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 500;
  transition: color 0.15s ease;
}
.demo-form-card__consent a:hover, .demo-form-card__consent a:focus-visible {
  color: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}
.demo-form-card__submit-error {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin: 0 0 1rem;
  padding: 1rem 1.25rem;
  background: rgba(217, 49, 81, 0.08);
  border: 1px solid rgba(217, 49, 81, 0.35);
  border-radius: 0.75rem;
  color: #fca5a5;
  font-size: 0.875rem;
  line-height: 1.5;
}
.demo-form-card__submit-error > i {
  flex-shrink: 0;
  color: #D93151;
  font-size: 1.125rem;
  margin-top: 2px;
}
.demo-form-card__submit-error div {
  flex: 1;
}
.demo-form-card__submit-error strong {
  display: block;
  color: #fff;
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}
.demo-form-card__submit-error p {
  margin: 0.25rem 0 0;
  color: #cbd5e1;
}
.demo-form-card__submit-error p a {
  color: #F49609;
  text-decoration: underline;
}
.demo-form-card__submit-error p.demo-form-card__submit-error-hint {
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
  color: #94a3b8;
}
.demo-form-card__submit {
  position: relative;
  width: 100%;
  min-height: 52px;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 12px 32px rgba(244, 150, 9, 0.3);
}
.demo-form-card__submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(244, 150, 9, 0.4);
}
.demo-form-card__submit:active:not(:disabled) {
  transform: translateY(0);
}
.demo-form-card__submit:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.demo-form-card__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
.demo-form-card__submit[data-state=loading] {
  color: transparent;
  pointer-events: none;
}
.demo-form-card__submit[data-state=loading]::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: demo-spin 0.8s linear infinite;
}
.demo-form-card__footnote {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin: 0;
  line-height: 1.5;
}
.demo-form-card__footnote a {
  color: #cbd5e1;
  text-decoration: underline;
}
.demo-form-card__footnote a:hover {
  color: #F49609;
}
.demo-form-card__footnote--block {
  display: block;
}
.demo-form-card__optional {
  opacity: 0.5;
  font-weight: 400;
}
.demo-form-card__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.demo-success {
  text-align: center;
  padding: 1.5rem 0;
}
.demo-success__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #fff;
  font-size: 1.875rem;
  animation: demo-pop 480ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.demo-success__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.75rem;
  color: #fff;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.demo-success__message {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 2rem;
  max-width: 40ch;
  margin-inline: auto;
}
.demo-success__next {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.demo-success__next-item {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
}
.demo-success__next-item strong {
  color: #fff;
  font-weight: 600;
}
.demo-success__step-num {
  color: #F49609;
  margin-top: 2px;
  flex-shrink: 0;
}

.demo-timeline {
  margin-top: 6rem;
}
.demo-timeline__header {
  text-align: center;
  margin-bottom: 3rem;
}
.demo-timeline__eyebrow {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #F49609;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.demo-timeline__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: #fff;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.demo-timeline__grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .demo-timeline__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.demo-timeline__step {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 240ms ease, border-color 240ms ease;
}
.demo-timeline__step:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 150, 9, 0.3);
}
.demo-timeline__step-number {
  position: absolute;
  top: -18px;
  left: 2rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  font-size: 1rem;
  box-shadow: 0 8px 20px rgba(244, 150, 9, 0.4);
}
.demo-timeline__step-title {
  font-family: "Playfair Display", Georgia, serif;
  color: #fff;
  font-size: 1.375rem;
  margin: 0.75rem 0 0.75rem;
  font-weight: 700;
}
.demo-timeline__step-text {
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
  font-size: 0.9375rem;
}

.demo-testimonial {
  margin-top: 6rem;
  padding: 3rem 2rem;
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.15), rgba(244, 150, 9, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  text-align: center;
}
.demo-testimonial__quote {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.4;
  color: #fff;
  font-style: italic;
  max-width: 40em;
  margin: 0 auto 1.5rem;
  font-weight: 500;
}
.demo-testimonial__quote::before {
  content: "“";
  display: block;
  font-size: 3rem;
  color: #F49609;
  line-height: 0.5;
  margin-bottom: 1rem;
  font-style: normal;
}
.demo-testimonial__author {
  color: #cbd5e1;
  font-size: 0.9375rem;
  font-style: normal;
}
.demo-testimonial__author strong {
  color: #fff;
  font-weight: 600;
  display: block;
  font-size: 1rem;
}

.demo-faq {
  margin-top: 6rem;
}
.demo-faq__header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.demo-faq__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  color: #fff;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.demo-faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
.demo-faq__item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 200ms ease;
}
.demo-faq__item[open] {
  border-color: rgba(244, 150, 9, 0.3);
}
.demo-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  font-size: 1rem;
  list-style: none;
  min-height: 56px;
}
.demo-faq__question::-webkit-details-marker {
  display: none;
}
.demo-faq__question:hover {
  color: #F49609;
}
.demo-faq__question::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3e%3cpath d='M4 6L8 10L12 6' stroke='%23F49609' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  transition: transform 240ms ease;
}
.demo-faq__item[open] .demo-faq__question::after {
  transform: rotate(180deg);
}
.demo-faq__answer {
  padding: 0 1.5rem 1.25rem;
  color: #cbd5e1;
  line-height: 1.65;
  font-size: 0.9375rem;
  margin: 0;
}
.demo-faq__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.demo-faq__link:hover {
  color: #F49609;
}

.demo-footer {
  position: relative;
  z-index: 1;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 4rem;
  text-align: center;
}
.demo-footer__content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}
.demo-footer__copy {
  color: #64748b;
  font-size: 0.8125rem;
  margin: 0;
}
.demo-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.demo-footer__links a {
  color: #94a3b8;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: color 180ms ease;
}
.demo-footer__links a:hover, .demo-footer__links a:focus-visible {
  color: #fff;
}
.demo-footer__links a:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

@keyframes demo-spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes demo-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.demo-hero__point-link {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 0;
  margin-left: 0.25rem;
  font: inherit;
  color: #F49609;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 150ms ease;
}
.demo-hero__point-link:hover {
  color: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}
.demo-hero__point-link:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 3px;
  border-radius: 0.375rem;
}

.demo-portability-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: #111827;
  color: #e2e8f0;
  max-width: 480px;
  width: calc(100% - 2rem);
  height: fit-content;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.demo-portability-dialog::backdrop {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.demo-portability-dialog__body {
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(100vh - 2rem);
}
.demo-portability-dialog__title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.01em;
}
.demo-portability-dialog__intro {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: #cbd5e1;
}
.demo-portability-dialog__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 1rem;
}
.demo-portability-dialog__list li {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #cbd5e1;
  padding-left: 1rem;
  position: relative;
}
.demo-portability-dialog__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #F49609;
}
.demo-portability-dialog__list li strong {
  color: #fff;
  font-weight: 600;
  margin-right: 0.25rem;
}
.demo-portability-dialog__boundary {
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #94a3b8;
}
.demo-portability-dialog__actions {
  display: flex;
  justify-content: flex-end;
}
.demo-portability-dialog__close {
  appearance: none;
  border: 0;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #fff;
  border-radius: 0.75rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease;
  box-shadow: 0 8px 20px rgba(244, 150, 9, 0.3);
}
.demo-portability-dialog__close:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(244, 150, 9, 0.4);
}
.demo-portability-dialog__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .demo-form-card__submit,
  .demo-timeline__step,
  .demo-faq__question::after,
  .demo-success__icon,
  .demo-portability-dialog__close {
    transition: none;
    animation: none;
  }
  .demo-timeline__step:hover,
  .demo-portability-dialog__close:hover {
    transform: none;
  }
}
@media (prefers-contrast: high) {
  .demo-form-card,
  .demo-timeline__step,
  .demo-faq__item {
    border-width: 2px;
    border-color: #fff;
  }
}
.success-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  padding: var(--space-8);
}

.success-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-success-500), var(--color-success-600));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-8);
  animation: scaleIn 0.5s ease;
}
.success-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-white);
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.success-title {
  font-family: "source-sans-pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: var(--font-size-4xl);
  color: var(--color-gray-900);
  margin-bottom: var(--space-4);
  font-weight: 700;
}

.success-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.success-details {
  background: var(--color-gray-50);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  margin: var(--space-8) 0;
  text-align: left;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-gray-200);
}
.detail-row:last-child {
  border-bottom: none;
}

.detail-label {
  color: var(--color-gray-600);
  font-weight: 500;
}

.detail-value {
  color: var(--color-gray-900);
  font-weight: 600;
}

.founder-badge {
  display: inline-block;
  background: var(--color-gray-900);
  color: var(--color-white);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-top: var(--space-4);
  border: 2px solid var(--color-primary-500);
}
.founder-badge::before {
  content: none;
}

.action-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  margin-top: var(--space-8);
  flex-wrap: wrap;
}
@media (max-width: 480px) {
  .action-buttons {
    flex-direction: column;
  }
  .action-buttons > * {
    width: 100%;
  }
}

.btn-dashboard {
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-primary-700));
  color: var(--color-white);
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-dashboard:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-dashboard:focus {
  outline: 3px solid var(--color-primary-300);
  outline-offset: 2px;
}

.btn-secondary {
  background: var(--color-white);
  color: var(--color-primary-600);
  padding: var(--space-4) var(--space-8);
  border: 2px solid var(--color-primary-500);
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--color-primary-50);
  border-color: var(--color-primary-600);
}
.btn-secondary:focus {
  outline: 3px solid var(--color-primary-300);
  outline-offset: 2px;
}

.loading-spinner {
  display: none;
  margin: var(--space-8) auto;
}
.loading-spinner.active {
  display: block;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .founder-badge {
    background: var(--color-black);
    border: 3px solid var(--color-white);
  }
  .btn-dashboard,
  .btn-secondary {
    border-width: 3px;
  }
}
@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}
.success-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-2, 0.5rem);
  margin-bottom: var(--space-6, 1.5rem);
}
.success-brand .tf-mark {
  height: 24px;
}
.success-brand__name {
  font-family: "source-sans-pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--color-brand-purple, #2D2E88);
}

.success-loading {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3, 0.75rem);
  padding: var(--space-8, 2rem) 0;
}
.success-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--color-gray-200, #e2e8f0);
  border-top-color: var(--color-primary-500, #667eea);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.success-loading__text {
  color: var(--color-gray-500, #64748b);
  font-size: var(--text-sm, 0.875rem);
  font-weight: 500;
}

.success-card.is-loading .success-loading {
  display: flex;
}
.success-card.is-loading .success-details,
.success-card.is-loading .founder-badge {
  display: none;
}

.success-card .founder-badge {
  background: var(--color-brand-purple, #2D2E88);
  background-image: none;
  color: var(--color-white, #fff);
}

.success-value {
  list-style: none;
  margin: var(--space-5, 1.25rem) 0 0;
  padding: 0;
  text-align: left;
  display: inline-block;
}
.success-value li {
  position: relative;
  padding-left: var(--space-6, 1.5rem);
  margin-bottom: var(--space-2, 0.5rem);
  color: var(--color-gray-600, #475569);
  font-size: var(--text-sm, 0.9375rem);
  line-height: 1.5;
}
.success-value li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-success, #10b981);
  font-weight: 700;
}
.success-value strong {
  color: var(--color-gray-900, #0f172a);
}

.success-inbox {
  margin: var(--space-5, 1.25rem) 0 0;
  font-size: var(--text-xs, 0.8125rem);
  color: var(--color-gray-500, #64748b);
}

.menu-editor-page .menu-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 2rem;
  padding-top: 2rem;
}

.menu-editor-page {
  background: #0f1419;
  min-height: 100vh;
  color: #f7fafc;
}
.menu-editor-page *:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.menu-editor-page .admin-main {
  transition: margin-left 250ms ease-in-out;
  background: #0f1419;
}
.menu-editor-page .admin-main.sidebar-collapsed.sidebar-docked-left {
  margin-left: 80px !important;
}
.menu-editor-page .admin-main.sidebar-floating {
  margin-left: 0 !important;
}

.menu-editor-page .menu-editor-header {
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (min-width: 769px) {
  .menu-editor-page .menu-editor-header {
    padding: 1rem 1.5rem;
  }
}

.menu-editor-page .menu-editor-header__left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu-editor-page .menu-editor-header__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f7fafc;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
}
.menu-editor-page .menu-editor-header__title i {
  color: #3b82f6;
  font-size: 1.25rem;
}

.menu-editor-venue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  border-radius: 0.375rem;
  margin-left: 0.5rem;
}
.menu-editor-venue-badge i {
  font-size: 0.75rem;
  color: inherit;
}
.menu-editor-venue-badge--main {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.menu-editor-page .menu-editor-header__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-editor-page .menu-editor-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.menu-editor-page .menu-editor-container {
  display: flex;
  flex-direction: row;
  height: calc(100vh - 80px);
  overflow: hidden;
}
@media (max-width: 1280px) {
  .menu-editor-page .menu-editor-container {
    flex-direction: column;
    height: calc(100vh - 130px);
    overflow: hidden;
  }
}

.menu-editor-page .menu-panel {
  width: 320px;
  background: #1a1f2e;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 250ms ease-in-out;
}
@media (max-width: 1280px) {
  .menu-editor-page .menu-panel {
    width: 100%;
    max-height: none;
    border-right: none;
    flex: 1;
    min-height: 0;
  }
}

.menu-editor-page .menu-panel__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-editor-page .menu-panel__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .menu-panel__search {
  padding: 1rem 1.5rem;
  position: relative;
}

.menu-editor-page .search-input {
  width: 100%;
  padding: 0.625rem 2.5rem 0.625rem 1rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: #f7fafc;
  font-size: 0.875rem;
}
.menu-editor-page .search-input::placeholder {
  color: #a0aec0;
}
.menu-editor-page .search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-editor-page .search-input__icon {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  pointer-events: none;
}

.menu-editor-page .menu-panel__quick-action {
  display: none;
}

.menu-editor-page .menu-panel__create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.625rem 1rem;
  background: rgba(244, 150, 9, 0.12);
  border: 1px dashed rgba(244, 150, 9, 0.4);
  border-radius: 0.75rem;
  color: #F49609;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 44px;
}
.menu-editor-page .menu-panel__create-btn:hover {
  background: rgba(244, 150, 9, 0.2);
  border-color: #F49609;
}
.menu-editor-page .menu-panel__create-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.menu-editor-page .menu-panel__create-btn i {
  font-size: 0.75rem;
}
@media (max-width: 1280px) {
  .menu-editor-page .menu-panel__create-btn {
    display: none;
  }
}

.menu-editor-page .menu-categories {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}
.menu-editor-page .menu-categories::-webkit-scrollbar {
  width: 6px;
}
.menu-editor-page .menu-categories::-webkit-scrollbar-track {
  background: #212937;
}
.menu-editor-page .menu-categories::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
}
.menu-editor-page .menu-categories::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.12);
}

.menu-editor-page .preview-panel {
  width: 400px;
  background: #1a1f2e;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (max-width: 1440px) {
  .menu-editor-page .preview-panel {
    width: 350px;
  }
}
@media (max-width: 1280px) {
  .menu-editor-page .preview-panel {
    width: 100%;
    border-left: none;
    height: auto;
  }
}

.menu-editor-page .preview-panel__header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-editor-page .preview-panel__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .preview-panel__controls {
  display: flex;
  gap: 0.75rem;
}

.menu-editor-page .preview-panel__footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-editor-page .theme-select {
  padding: 0.375rem 2rem 0.375rem 0.75rem;
  background: #212937 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.5rem center;
  background-size: 1.5em 1.5em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: #f7fafc;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
}
.menu-editor-page .theme-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-editor-page .preview-frame {
  flex: 1;
  padding: 1.5rem;
  overflow-y: auto;
  background: linear-gradient(45deg, #0f1419 25%, transparent 25%, transparent 75%, #0f1419 75%, #0f1419), linear-gradient(45deg, #0f1419 25%, transparent 25%, transparent 75%, #0f1419 75%, #0f1419);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  background-color: rgb(11.175, 14.9, 18.625);
}

.menu-editor-page .menu-preview {
  font-family: "Inter", sans-serif;
}

.menu-editor-page .preview-category {
  margin-bottom: 2.5rem;
}

.menu-editor-page .preview-category__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2d3436;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #e2e8f0;
}

.menu-editor-page .preview-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-editor-page .preview-item__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
}

.menu-editor-page .preview-item__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1a202c;
  margin: 0;
}

.menu-editor-page .preview-item__price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #3b82f6;
}

.menu-editor-page .preview-item__description {
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.menu-editor-page .preview-item__badges {
  display: flex;
  gap: 0.5rem;
}

.menu-editor-page .preview-badge {
  display: inline-block;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.menu-editor-page .preview-badge--vegetarian {
  background: #d4f4dd;
  color: #065f46;
}
.menu-editor-page .preview-badge--vegan {
  background: #ede9fe;
  color: #5b21b6;
}
.menu-editor-page .preview-badge--glutenFree {
  background: #fef3c7;
  color: #92400e;
}
.menu-editor-page .preview-badge--spicy {
  background: #fee2e2;
  color: #991b1b;
}

.menu-editor-page .category-group {
  margin-bottom: 0.5rem;
  background: #212937;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.menu-editor-page .category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  row-gap: 0.5rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
}
.menu-editor-page .category-header:hover {
  background: #2a2d3a;
}

.menu-editor-page .category-toggle {
  background: none;
  border: none;
  color: #cbd5e1;
  padding: 0;
  margin-right: 0.5rem;
  cursor: pointer;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease-in-out;
}
.menu-editor-page .category-toggle i {
  font-size: 0.75rem;
}

.menu-editor-page .category-drag-handle {
  color: #a0aec0;
  margin-right: 0.75rem;
  cursor: move;
}
.menu-editor-page .category-drag-handle:hover {
  color: #cbd5e1;
}

.menu-editor-page .category-name {
  order: -1;
  flex: 1 1 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-weight: 600;
  color: #F49609;
  margin: 0;
}

.menu-editor-page .category-count {
  font-size: 0.75rem;
  color: #a0aec0;
  margin-right: 0.5rem;
}

.menu-editor-page .category-flag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-right: 0.25rem;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 6px;
  color: rgba(148, 163, 184, 0.6);
  cursor: pointer;
  transition: all 120ms ease;
}
.menu-editor-page .category-flag-btn:hover, .menu-editor-page .category-flag-btn:focus-visible {
  border-color: rgba(34, 197, 94, 0.5);
  color: #34d399;
  outline: none;
}
.menu-editor-page .category-flag-btn.is-on {
  background: rgba(34, 197, 94, 0.18);
  border-color: rgba(34, 197, 94, 0.6);
  color: #86efac;
}
.menu-editor-page .category-flag-btn i {
  font-size: 12px;
}
.menu-editor-page .category-flag-btn--hot:hover, .menu-editor-page .category-flag-btn--hot:focus-visible {
  border-color: rgba(244, 150, 9, 0.6);
  color: #fb923c;
}
.menu-editor-page .category-flag-btn--hot.is-on {
  background: rgba(244, 150, 9, 0.18);
  border-color: rgba(244, 150, 9, 0.6);
  color: #fdba74;
}

.menu-editor-page .category-items {
  padding: 0 0.5rem 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  transition: max-height 250ms ease-in-out;
}
.menu-editor-page .category-items.collapsed {
  max-height: 0;
  padding: 0;
  overflow: hidden;
}

.category-dropdown {
  background: #1a1f2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.2);
  padding: 0.5rem;
  min-width: 180px;
  z-index: 1000;
}
.category-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  background: none;
  border: none;
  border-radius: 0.375rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  width: 100%;
  text-align: left;
}
.category-dropdown__item i {
  width: 16px;
  text-align: center;
  opacity: 0.7;
}
.category-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
}
.category-dropdown__item:hover i {
  opacity: 1;
}
.category-dropdown__item--danger {
  color: #f87171;
}
.category-dropdown__item--danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #ff6b6b;
}
.category-dropdown__item[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}
.category-dropdown__divider {
  height: 1px;
  background: #334155;
  margin: 0.5rem 0;
}

.menu-editor-page .editor-panel {
  flex: 1;
  background: #0f1419;
  overflow-y: auto;
  padding: 2rem;
}
@media (max-width: 1440px) {
  .menu-editor-page .editor-panel {
    padding: 1.5rem;
  }
}
@media (max-width: 1280px) {
  .menu-editor-page .editor-panel {
    padding: 1rem;
  }
}

.menu-editor-page .editor-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  text-align: center;
  padding: 2rem;
}
.menu-editor-page .editor-empty-state h3 {
  color: #f1f5f9;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.menu-editor-page .editor-empty-state p {
  color: #94a3b8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.menu-editor-page .empty-state-icon {
  width: 80px;
  height: 80px;
  background: #1a1f2e;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.menu-editor-page .empty-state-icon i {
  font-size: 1.875rem;
  color: #a0aec0;
}

.menu-editor-page .editor-form {
  max-width: 600px;
  margin: 0 auto;
}

.menu-editor-page .editor-form__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.menu-editor-page .editor-form__title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .editor-form__header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.menu-editor-page .editor-form__header-actions .btn-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease, background-color 0.2s ease;
}
.menu-editor-page .editor-form__header-actions .btn-icon:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}
.menu-editor-page .editor-form__header-actions #closeEditorBtn:hover {
  color: #f56565;
}
.menu-editor-page .editor-form__header-actions .editor-form__visibility-btn--hidden {
  color: #f59e0b;
}
.menu-editor-page .editor-form__header-actions .editor-form__visibility-btn--hidden:hover {
  color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.15);
}

.menu-editor-page .menu-item--hidden {
  opacity: 0.5;
}
.menu-editor-page .menu-item--hidden .item-name {
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.menu-editor-page .badge--hidden {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 0.375rem;
}

.menu-editor-page .editor-form--minimized .form-section,
.menu-editor-page .editor-form--minimized .editor-form__actions {
  display: none;
}
.menu-editor-page .editor-form--minimized .editor-form__header {
  margin-bottom: 0;
}

.menu-editor-page .custom-select {
  position: relative;
  width: 100%;
}

.menu-editor-category-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #212937 !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.menu-editor-category-trigger:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
}
.menu-editor-category-trigger:focus {
  outline: none;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.menu-editor-page .custom-select__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
.menu-editor-page .custom-select__trigger:hover {
  border-color: rgba(255, 255, 255, 0.4);
}
.menu-editor-page .custom-select__trigger:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.menu-editor-page .custom-select__value {
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-editor-page .custom-select__arrow {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease;
}

.menu-editor-page .custom-select.open .custom-select__arrow {
  transform: rotate(180deg);
}

.menu-editor-page .custom-select__dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1f2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.menu-editor-page .custom-select.open .custom-select__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-editor-page .custom-select__options {
  max-height: 200px;
  overflow-y: auto;
  padding: 0.5rem 0;
}

.menu-editor-page .custom-select__option {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.menu-editor-page .custom-select__option:hover, .menu-editor-page .custom-select__option:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  outline: none;
}
.menu-editor-page .custom-select__option:focus-visible {
  box-shadow: inset 0 0 0 2px #3b82f6;
}
.menu-editor-page .custom-select__option.selected {
  background: rgba(37, 99, 235, 0.15);
  color: #3b82f6;
}
.menu-editor-page .custom-select__option--empty {
  color: rgba(255, 255, 255, 0.4);
  cursor: default;
}
.menu-editor-page .custom-select__option--empty:hover {
  background: transparent;
  color: rgba(255, 255, 255, 0.4);
}

.menu-editor-page .custom-select__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.menu-editor-page .custom-select__add-new {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #3b82f6;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.menu-editor-page .custom-select__add-new i {
  font-size: 0.875rem;
}
.menu-editor-page .custom-select__add-new:hover {
  background: rgba(37, 99, 235, 0.1);
}

.menu-editor-page .custom-select__new-input {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
}
.menu-editor-page .custom-select__new-input .form-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.menu-editor-page .custom-select__new-input .btn-icon {
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
}
.menu-editor-page .custom-select__new-input .btn-icon:hover {
  color: #ffffff;
}
.menu-editor-page .custom-select__new-input #confirmNewCategory:hover {
  color: #10b981;
}
.menu-editor-page .custom-select__new-input #cancelNewCategory:hover {
  color: #ef4444;
}

.menu-editor-page .editor-form__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: space-between;
}
.menu-editor-page .editor-form__actions .btn--danger {
  background: transparent;
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  min-height: 44px;
  min-width: 44px;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, border-color 0.2s;
}
.menu-editor-page .editor-form__actions .btn--danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}
.menu-editor-page .editor-form__actions .btn--danger:focus-visible {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}
.menu-editor-page .editor-form__actions .btn--danger i {
  margin-right: 0.5rem;
}

.menu-editor-page .editor-form__actions-right {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-editor-page .form-section {
  background: #1a1f2e;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-editor-page .form-section__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.menu-editor-page .form-section__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0 0 1.25rem;
}

.menu-editor-page .form-section--translations {
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0;
  margin-top: 1rem;
}
.menu-editor-page .form-section--translations > summary {
  cursor: pointer;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}
.menu-editor-page .form-section--translations > summary::-webkit-details-marker {
  display: none;
}
.menu-editor-page .form-section--translations > summary::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.2s;
  color: #94a3b8;
}
.menu-editor-page .form-section--translations[open] > summary::before {
  transform: rotate(90deg);
}

.menu-editor-page .form-section__badge {
  background: #2D2E88;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  min-width: 1.2rem;
  text-align: center;
}

.menu-editor-page .translations-list {
  padding: 0 1rem 1rem;
}
.menu-editor-page .translations-list__empty {
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
  padding: 1rem 0;
}

.menu-editor-page .translation-row {
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}
.menu-editor-page .translation-row__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.menu-editor-page .translation-row__lang {
  font-weight: 700;
  font-size: 0.875rem;
  color: #e2e8f0;
  min-width: 3rem;
}
.menu-editor-page .translation-row__source {
  font-size: 0.7rem;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}
.menu-editor-page .translation-row__source--ai {
  background: rgba(244, 150, 9, 0.2);
  color: #F49609;
}
.menu-editor-page .translation-row__source--pdf {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.menu-editor-page .translation-row__source--manual {
  background: rgba(45, 46, 136, 0.2);
  color: rgb(122.7569060773, 123.729281768, 211.2430939227);
}
.menu-editor-page .translation-row__fields {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.menu-editor-page .translation-row__name, .menu-editor-page .translation-row__desc {
  flex: 1;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  padding: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
}
.menu-editor-page .translation-row__name:focus, .menu-editor-page .translation-row__desc:focus {
  border-color: #F49609;
  outline: none;
}
.menu-editor-page .translation-row__name {
  flex: 2;
}
.menu-editor-page .translation-row__save {
  background: none;
  border: 1px solid #475569;
  color: #cbd5e1;
  padding: 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-editor-page .translation-row__save:hover {
  border-color: #10b981;
  color: #10b981;
}

.menu-editor-page .form-group {
  margin-bottom: 1.25rem;
}
.menu-editor-page .form-group:last-child {
  margin-bottom: 0;
}

.menu-editor-page .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.menu-editor-page .form-input,
.menu-editor-page .form-select,
.menu-editor-page .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 0.9375rem;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .form-input::placeholder,
.menu-editor-page .form-select::placeholder,
.menu-editor-page .form-textarea::placeholder {
  color: #a0aec0;
}
.menu-editor-page .form-input:focus,
.menu-editor-page .form-select:focus,
.menu-editor-page .form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgb(36.825, 45.7522727273, 61.375);
}
.menu-editor-page .form-input:disabled,
.menu-editor-page .form-select:disabled,
.menu-editor-page .form-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-editor-page .form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.menu-editor-page .form-helper {
  display: block;
  font-size: 0.75rem;
  color: #a0aec0;
  margin-top: 0.25rem;
}

.menu-editor-page .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 641px) {
  .menu-editor-page .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.menu-editor-page .input-group {
  display: flex;
  align-items: stretch;
}

.menu-editor-page .input-group__prefix {
  padding: 0.625rem 0.875rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-right: none;
  border-radius: 0.75rem 0 0 0.75rem;
  color: #cbd5e1;
  font-size: 0.9375rem;
  display: flex;
  align-items: center;
}

.menu-editor-page .input-group .form-input {
  border-radius: 0 0.75rem 0.75rem 0;
}

.menu-editor-page .tags-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.menu-editor-page .tag-checkbox {
  display: block;
  cursor: pointer;
}
.menu-editor-page .tag-checkbox input {
  display: none;
}
.menu-editor-page .tag-checkbox input:checked + .tag-label {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #3b82f6;
}

.menu-editor-page .tag-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .tag-label:hover {
  border-color: #3b82f6;
  color: #f7fafc;
}
.menu-editor-page .tag-label i {
  font-size: 0.875rem;
}

.menu-editor-page .variations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-editor-page .variation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .variation-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.menu-editor-page .variation-item__content {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 641px) {
  .menu-editor-page .variation-item__content {
    grid-template-columns: 1fr auto;
  }
}
.menu-editor-page .variation-item__content .form-group {
  margin-bottom: 0;
}

.menu-editor-page .variation-remove {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .variation-remove:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}
.menu-editor-page .variation-remove i {
  font-size: 0.875rem;
}

.menu-editor-page .image-manager {
  border-radius: 1rem;
}

.menu-editor-page .image-manager__selected {
  border-radius: 1rem;
  overflow: hidden;
}

.menu-editor-page .image-manager__preview {
  position: relative;
  background: #181d28;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.menu-editor-page .image-manager__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-editor-page .image-manager__preview:hover .image-manager__preview-actions {
  opacity: 1;
}

.menu-editor-page .image-manager__preview-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.menu-editor-page .image-manager__action-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.menu-editor-page .image-manager__action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
.menu-editor-page .image-manager__action-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.menu-editor-page .image-manager__action-btn--danger:hover {
  background: rgba(239, 68, 68, 0.6);
}

.menu-editor-page .image-manager__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.25rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.menu-editor-page .image-manager__meta i {
  color: #3b82f6;
  font-size: 0.7rem;
}

.menu-editor-page .image-manager__tabs {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #181d28;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
}

.menu-editor-page .image-manager__tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-editor-page .image-manager__tab i {
  font-size: 0.8rem;
}
.menu-editor-page .image-manager__tab:hover {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.04);
}
.menu-editor-page .image-manager__tab:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}
.menu-editor-page .image-manager__tab.is-active, .menu-editor-page .image-manager__tab[aria-selected=true] {
  background: rgba(244, 150, 9, 0.14);
  color: #F49609;
}

.menu-editor-page .image-manager__tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
}
.is-active .menu-editor-page .image-manager__tab-badge {
  background: rgba(244, 150, 9, 0.22);
  color: #F49609;
}

.menu-editor-page .image-manager__dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  background: #212937;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  aspect-ratio: 4/3;
}
.menu-editor-page .image-manager__dropzone:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.menu-editor-page .image-manager__dropzone:hover, .menu-editor-page .image-manager__dropzone.is-dragover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.04);
}
.menu-editor-page .image-manager__dropzone > i {
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}
.menu-editor-page .image-manager__dropzone:hover > i, .menu-editor-page .image-manager__dropzone.is-dragover > i {
  color: #F49609;
}
.menu-editor-page .image-manager__dropzone p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.25rem;
  font-size: 0.875rem;
}
.menu-editor-page .image-manager__dropzone span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

.menu-editor-page .image-manager__dropzone.is-uploading {
  pointer-events: none;
  position: relative;
}
.menu-editor-page .image-manager__dropzone.is-uploading::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 41, 55, 0.8);
  border-radius: inherit;
  z-index: 2;
}
.menu-editor-page .image-manager__dropzone.is-uploading::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #3b82f6;
  border-radius: 50%;
  z-index: 3;
  animation: imgManagerSpin 0.7s linear infinite;
}

@keyframes imgManagerSpin {
  to {
    transform: rotate(360deg);
  }
}
.menu-editor-page .image-manager__search {
  position: relative;
  margin-bottom: 0.75rem;
}
.menu-editor-page .image-manager__search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}
.menu-editor-page .image-manager__search input {
  width: 100%;
  padding: 0.5rem 0.75rem 0.5rem 34px;
  background: #181d28;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.menu-editor-page .image-manager__search input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.menu-editor-page .image-manager__search input:focus {
  border-color: rgba(59, 130, 246, 0.4);
}

.menu-editor-page .image-manager__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.menu-editor-page .image-manager__grid::-webkit-scrollbar {
  width: 4px;
}
.menu-editor-page .image-manager__grid::-webkit-scrollbar-track {
  background: transparent;
}
.menu-editor-page .image-manager__grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
}

.menu-editor-page .image-manager__thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.menu-editor-page .image-manager__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.menu-editor-page .image-manager__thumb:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}
.menu-editor-page .image-manager__thumb.is-selected {
  border-color: #3b82f6;
}
.menu-editor-page .image-manager__thumb.is-selected::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  line-height: 20px;
  text-align: center;
}
.menu-editor-page .image-manager__thumb:hover .image-manager__thumb-delete {
  opacity: 1;
}

.menu-editor-page .image-manager__thumb-delete {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
  z-index: 2;
}
.menu-editor-page .image-manager__thumb-delete:hover {
  background: #ef4444;
}
@media (hover: none) {
  .menu-editor-page .image-manager__thumb-delete {
    opacity: 1;
  }
}

.menu-editor-page .image-manager__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  text-align: center;
}
.menu-editor-page .image-manager__empty i {
  font-size: 2rem;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 0.75rem;
}
.menu-editor-page .image-manager__empty p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.menu-editor-page .image-manager__loading {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 0.5rem;
}

.menu-editor-page .image-manager__skeleton {
  aspect-ratio: 1;
  border-radius: 0.5rem;
  background: linear-gradient(110deg, #1e2433 30%, #252d3d 50%, #1e2433 70%);
  background-size: 200% 100%;
  animation: imgManagerShimmer 1.5s ease-in-out infinite;
}

@keyframes imgManagerShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
.menu-editor-page .menu-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  background: #1a1f2e;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  border: 1px solid transparent;
}
.menu-editor-page .menu-item:hover {
  background: #2a2d3a;
  border-color: rgba(255, 255, 255, 0.08);
}
.menu-editor-page .menu-item.selected {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

.menu-editor-page .item-drag-handle {
  color: #a0aec0;
  margin-right: 0.75rem;
  cursor: move;
  opacity: 0;
  transition: opacity 150ms ease-in-out;
}

.menu-item:hover .menu-editor-page .item-drag-handle {
  opacity: 1;
}

.menu-editor-page .item-name {
  flex: 1;
  font-size: 0.875rem;
  color: #f7fafc;
  font-weight: 500;
}

.menu-editor-page .item-price {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  margin-right: 0.5rem;
}

.menu-editor-page .item-badges {
  display: flex;
  gap: 0.25rem;
}

.menu-editor-page .add-item-btn {
  width: 100%;
  padding: 0.625rem;
  margin-top: 0.5rem;
  background: transparent;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.menu-editor-page .add-item-btn:hover {
  border-color: #3b82f6;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.menu-editor-page .badge {
  width: 20px;
  height: 20px;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  font-weight: 700;
}
.menu-editor-page .badge--vegetarian {
  background: #10b981;
  color: #ffffff;
}
.menu-editor-page .badge--vegan {
  background: #8b5cf6;
  color: #ffffff;
}
.menu-editor-page .badge--glutenFree {
  background: #f59e0b;
  color: #ffffff;
}
.menu-editor-page .badge--spicy {
  background: #ef4444;
  color: #ffffff;
}

.menu-editor-page .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.menu-editor-page .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.menu-editor-page .btn--primary {
  background: #F49609;
  color: #ffffff;
}
.menu-editor-page .btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(244, 150, 9, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.menu-editor-page .btn--primary:active {
  transform: translateY(0);
}
.menu-editor-page .btn--success {
  background: #10b981;
  color: #ffffff;
}
.menu-editor-page .btn--success:hover:not(:disabled) {
  background: rgb(12.752238806, 147.447761194, 102.8149253731);
}
.menu-editor-page .btn--outline {
  background: transparent;
  color: #f7fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.menu-editor-page .btn--outline:hover:not(:disabled) {
  background: #212937;
  border-color: #cbd5e1;
}
.menu-editor-page .btn--block {
  width: 100%;
  justify-content: center;
}

.menu-editor-page .btn-icon {
  padding: 0.5rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}
.menu-editor-page .btn-icon:hover:not(:disabled) {
  background: #212937;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}
.menu-editor-page .btn-icon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.menu-editor-page .btn-icon--small {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}
.menu-editor-page .btn-icon--tiny {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
  padding: 0.25rem;
}
.menu-editor-page .btn-icon--mobile {
  display: inline-flex;
}
@media (min-width: 769px) {
  .menu-editor-page .btn-icon--mobile {
    display: none;
  }
}

.menu-editor-page .btn-text {
  background: none;
  border: none;
  color: #3b82f6;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-editor-page .btn-text:hover {
  background: rgba(59, 130, 246, 0.1);
}
.menu-editor-page .btn-text--danger {
  color: #ef4444;
}
.menu-editor-page .btn-text--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

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

.menu-editor-page .text-muted {
  color: #a0aec0;
}

.menu-editor-page .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}
.menu-editor-page .modal.active, .menu-editor-page .modal.is-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-editor-page .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 1;
}

.menu-editor-page .modal-content {
  position: relative;
  background: #1a1f2e;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 90%;
  z-index: 2;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.menu-editor-page .modal-header {
  padding: 1.5rem;
  border-bottom: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  flex-shrink: 0;
}

.menu-editor-page .modal-header[data-drag-handle] {
  cursor: move;
  touch-action: none;
}

.menu-editor-page .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .modal-close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.25rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .modal-close:hover {
  background: #212937;
  color: #f7fafc;
}

.menu-editor-page .modal-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1 1 auto;
}
.menu-editor-page .modal-body::-webkit-scrollbar {
  width: 8px;
}
.menu-editor-page .modal-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}
.menu-editor-page .modal-body::-webkit-scrollbar-thumb {
  background: #F49609;
  border-radius: 4px;
}
.menu-editor-page .modal-body::-webkit-scrollbar-thumb:hover {
  background: rgb(247.6719367589, 171.1343873518, 56.3280632411);
}

.menu-editor-page .modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  flex-shrink: 0;
}

.menu-editor-page .toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
  right: 0.75rem;
  left: 0.75rem;
  max-width: none;
}
@media (min-width: 641px) {
  .menu-editor-page .toast-container {
    left: auto;
    max-width: 320px;
  }
}

.menu-editor-page .toast {
  background: #1e293b;
  border-left: 3px solid #64748b;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: all;
  animation: toastSlideIn 0.2s ease;
}
.menu-editor-page .toast--success {
  border-left-color: #10b981;
}
.menu-editor-page .toast--success .toast__icon {
  color: #10b981;
}
.menu-editor-page .toast--error {
  border-left-color: #ef4444;
}
.menu-editor-page .toast--error .toast__icon {
  color: #ef4444;
}
.menu-editor-page .toast--warning {
  border-left-color: #f59e0b;
}
.menu-editor-page .toast--warning .toast__icon {
  color: #f59e0b;
}
.menu-editor-page .toast--info {
  border-left-color: #3b82f6;
}
.menu-editor-page .toast--info .toast__icon {
  color: #3b82f6;
}

.menu-editor-page .toast__icon {
  font-size: 0.875rem;
  flex-shrink: 0;
}

.menu-editor-page .toast__message {
  flex: 1;
  color: #e2e8f0;
  font-size: 0.75rem;
  line-height: 1.3;
}

.menu-editor-page .toast__close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.75rem;
}
.menu-editor-page .toast__close:hover {
  color: #e2e8f0;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .menu-editor-page *,
  .menu-editor-page *::before,
  .menu-editor-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .menu-editor-page .menu-panel,
  .menu-editor-page .editor-panel,
  .menu-editor-page .preview-panel {
    border-width: 2px;
  }
  .menu-editor-page .form-input,
  .menu-editor-page .form-select,
  .menu-editor-page .form-textarea {
    border-width: 2px;
  }
  .menu-editor-page .btn {
    border-width: 2px;
  }
}
.menu-editor-publish-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, #F49609 0%, #FFA726 100%);
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.3);
}
.menu-editor-publish-btn:hover {
  background: linear-gradient(135deg, #FFA726 0%, #FFB84D 100%);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.4);
  transform: translateY(-2px);
}
.menu-editor-publish-btn:active {
  transform: translateY(0);
}
.menu-editor-publish-btn:focus-visible {
  outline: 3px solid rgba(244, 150, 9, 0.5);
  outline-offset: 2px;
}
.menu-editor-publish-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.menu-editor-publish-btn:disabled:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.3);
}
.menu-editor-publish-btn i {
  font-size: 1rem;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.status-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.5rem;
  transition: all 250ms ease-in-out;
}
.status-indicator--saved {
  background-color: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}
.status-indicator--saving {
  background-color: #3b82f6;
  box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
  animation: pulse 1.5s ease-in-out infinite;
}
.status-indicator--warning {
  background-color: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}
.status-indicator--error {
  background-color: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.4);
}

.menu-editor-header__status {
  display: flex;
  align-items: center;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.menu-editor-page .menu-editor-view-toggle {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  background: #1e2530;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.menu-editor-page .menu-editor-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: #64748b;
  cursor: pointer;
  transition: background 150ms ease-in-out, color 150ms ease-in-out;
  font-size: 1.25rem;
}
.menu-editor-page .menu-editor-view-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.menu-editor-page .menu-editor-view-btn--active {
  background: #F49609 !important;
  color: #ffffff !important;
  border-radius: 0.5rem;
}
.menu-editor-page .menu-editor-view-btn i {
  pointer-events: none;
}

.menu-editor-history-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0);
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: 1rem;
}
.menu-editor-history-btn:hover:not(:disabled) {
  background: #212937;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}
.menu-editor-history-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.menu-editor-history-btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.menu-editor-history-btn i {
  pointer-events: none;
}

.menu-editor-page .preview-frame {
  padding: 0.75rem;
}
.menu-editor-page .preview-panel {
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-editor-page:has(.preview-device.desktop-view) .preview-panel {
  width: 70%;
  max-width: 1400px;
}
.menu-editor-page:has(.preview-device.tablet-view) .preview-panel {
  width: 55%;
  max-width: 900px;
}
.menu-editor-page:has(.preview-device.mobile-view) .preview-panel {
  width: 400px;
}
.menu-editor-page .preview-device {
  background: #ffffff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  min-height: 100%;
  transition: max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 250ms ease-in-out;
  margin: 0 auto;
  width: 100%;
}
.menu-editor-page .preview-device.mobile-view {
  max-width: 375px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.menu-editor-page .preview-device.tablet-view {
  max-width: 768px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.menu-editor-page .preview-device.desktop-view {
  max-width: 100%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.menu-editor-page .preview-content {
  padding: 1rem;
  color: #1e293b;
}
@media (min-width: 641px) {
  .menu-editor-page .preview-content {
    padding: 2rem;
  }
}
.menu-editor-page .preview-device.desktop-view .preview-content {
  padding: 0;
}
.menu-editor-page .preview-device.tablet-view .preview-content {
  padding: 0;
}
.menu-editor-page .preview-device.tablet-view .menu-preview {
  width: 100%;
  max-width: 100%;
}
.menu-editor-page .preview-device.tablet-view .menu-preview-categories {
  padding: 2rem !important;
}
.menu-editor-page .menu-preview .menu-preview-categories {
  padding: 2rem;
}
.menu-editor-page .menu-preview .menu-preview-category {
  margin-bottom: 3rem;
}
.menu-editor-page .menu-preview .menu-preview-items {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.menu-editor-page .menu-preview .menu-preview-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0;
}
.menu-editor-page .menu-preview .menu-preview-item__content {
  flex: 1;
}
.menu-editor-page .menu-preview .menu-preview-item__header {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.menu-editor-page .menu-preview .menu-preview-item__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.menu-editor-page .menu-preview .menu-preview-item__description {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.75;
  color: #64748b;
}
.menu-editor-page .menu-preview .menu-preview-item__price {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin-left: 1rem;
  white-space: nowrap;
}
.menu-editor-page .menu-preview .menu-preview-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 700;
}
.menu-editor-page .menu-preview .menu-preview-badge--vegetarian {
  background-color: #10b981;
  color: #ffffff;
}
.menu-editor-page .menu-preview .menu-preview-badge--vegan {
  background-color: #059669;
  color: #ffffff;
}
.menu-editor-page .menu-preview--classic .menu-preview-category__heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.75rem;
}
.menu-editor-page .menu-preview--classic .menu-preview-item__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-editor-page .menu-preview--classic .menu-preview-item__description {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #64748b;
}
.menu-editor-page .menu-preview--classic .menu-preview-item__price {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
}
.menu-editor-page .menu-preview--modern .menu-preview-category__heading {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: #1e293b;
  border-bottom: none;
  padding-bottom: 0;
}
.menu-editor-page .menu-preview--modern .menu-preview-item {
  position: relative;
  padding-left: 1rem;
  border-left: 3px solid #2563eb;
}
.menu-editor-page .menu-preview--modern .menu-preview-item__name {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1e293b;
}
.menu-editor-page .menu-preview--modern .menu-preview-item__description {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #64748b;
  font-size: 0.875rem;
}
.menu-editor-page .menu-preview--modern .menu-preview-item__price {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #2563eb;
  font-weight: 700;
}
.menu-editor-page .menu-preview--modern .menu-preview-badge {
  border-radius: 0.375rem;
}
.menu-editor-page .menu-preview--elegant .menu-preview-category__heading {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.875rem;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 2rem;
  color: #1e293b;
  border-bottom: none;
  text-align: center;
  letter-spacing: 0.03em;
}
.menu-editor-page .menu-preview--elegant .menu-preview-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}
.menu-editor-page .menu-preview--elegant .menu-preview-item__name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #1e293b;
}
.menu-editor-page .menu-preview--elegant .menu-preview-item__description {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #64748b;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.75;
}
.menu-editor-page .menu-preview--elegant .menu-preview-item__price {
  font-family: "Playfair Display", Georgia, serif;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 500;
}
.menu-editor-page .menu-preview--elegant .menu-preview-badge {
  border-radius: 50%;
}

.category-ghost {
  opacity: 0.4;
  background: rgba(244, 150, 9, 0.1) !important;
  border: 2px dashed #F49609 !important;
  border-radius: 0.75rem;
}

.category-chosen {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
  z-index: 10;
}

.category-drag {
  opacity: 0.9;
}

.item-ghost {
  opacity: 0.4;
  background: rgba(244, 150, 9, 0.15) !important;
  border: 1px dashed #F49609 !important;
  border-radius: 0.5rem;
}

.item-chosen {
  background: rgba(244, 150, 9, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
  z-index: 10;
}

.item-drag {
  opacity: 0.9;
}

.menu-editor-page .category-drag-handle,
.menu-editor-page .item-drag-handle {
  cursor: grab;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 150ms ease-in-out, color 150ms ease-in-out;
}
.menu-editor-page .category-drag-handle:active,
.menu-editor-page .item-drag-handle:active {
  cursor: grabbing;
}
@media (hover: none) {
  .menu-editor-page .item-drag-handle {
    opacity: 1 !important;
  }
}
.menu-editor-page .menu-item:hover .item-drag-handle {
  opacity: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes remote-update-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(74, 222, 128, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
  }
}
.remote-updated {
  animation: remote-update-pulse 0.6s ease-out;
  border-color: rgba(74, 222, 128, 0.5) !important;
  transition: border-color 2s ease-out;
}

.conflict-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.conflict-modal {
  background: #1a1f2e;
  border: 1px solid #2d3548;
  border-radius: 12px;
  width: 90%;
  max-width: 520px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.conflict-modal__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid #2d3548;
}
.conflict-modal__header i {
  color: #f59e0b;
  font-size: 1.5rem;
}
.conflict-modal__header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f7fafc;
}

.conflict-modal__body {
  padding: 20px 24px;
}
.conflict-modal__body p {
  margin: 0 0 16px;
  color: #a0aec0;
  font-size: 0.95rem;
  line-height: 1.5;
}
.conflict-modal__body p strong {
  color: #f7fafc;
}

.conflict-modal__comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.conflict-modal__version {
  background: #0f1419;
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #2d3548;
}
.conflict-modal__version h4 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.conflict-modal__version pre {
  margin: 0;
  font-size: 0.75rem;
  font-family: "Monaco", "Consolas", monospace;
  color: #a0aec0;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 150px;
  overflow-y: auto;
}
.conflict-modal__version--yours {
  border-color: rgba(96, 165, 250, 0.3);
}
.conflict-modal__version--yours h4 {
  color: #60a5fa;
}
.conflict-modal__version--theirs {
  border-color: rgba(74, 222, 128, 0.3);
}
.conflict-modal__version--theirs h4 {
  color: #4ade80;
}

.conflict-modal__footer {
  display: flex;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid #2d3548;
}

.conflict-modal__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.conflict-modal__btn i {
  font-size: 0.85rem;
}
.conflict-modal__btn--mine {
  background: #3b82f6;
  color: white;
}
.conflict-modal__btn--mine:hover {
  background: #2563eb;
}
.conflict-modal__btn--theirs {
  background: #2d3548;
  color: #a0aec0;
}
.conflict-modal__btn--theirs:hover {
  background: #3d4558;
  color: #f7fafc;
}

.menu-editor-page .editor-form__back-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.menu-editor-page .editor-form__back-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}

.menu-editor-page .me-preview-toggle {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  min-height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .me-preview-toggle:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}
.menu-editor-page .me-preview-toggle--active {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #3b82f6;
}

.menu-editor-page .preview-panel__close-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  margin-right: 0.75rem;
  flex-shrink: 0;
}
.menu-editor-page .preview-panel__close-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}

@media (max-width: 1280px) {
  .menu-editor-page .editor-form__back-btn {
    display: inline-flex;
  }
  .menu-editor-page .me-preview-toggle {
    display: inline-flex;
  }
  .menu-editor-page .preview-panel__close-btn {
    display: inline-flex;
  }
  .menu-editor-page #mobileMenuToggle {
    display: none !important;
  }
  .menu-editor-page .menu-panel__quick-action {
    display: none !important;
  }
  .menu-editor-page .editor-panel {
    display: none;
  }
  .menu-editor-page .preview-panel {
    display: none;
  }
  .menu-editor-page .editor-empty-state {
    display: none !important;
  }
  .menu-editor-page .menu-editor-container.me-mobile-view--editor .menu-panel {
    display: none;
  }
  .menu-editor-page .menu-editor-container.me-mobile-view--editor .editor-panel {
    display: block;
    flex: 1;
    overflow-y: auto;
  }
  .menu-editor-page .menu-editor-container.me-mobile-preview--active .menu-panel {
    display: none;
  }
  .menu-editor-page .menu-editor-container.me-mobile-preview--active .editor-panel {
    display: none;
  }
  .menu-editor-page .menu-editor-container.me-mobile-preview--active .preview-panel {
    display: flex;
    width: 100%;
    height: 100%;
    border: none;
  }
}
/**
 * TableFlow V2 - Floor Plan Designer Styles
 * Interactive visual table layout tool styling
 */
.floor-plan-designer {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.floor-plan-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}
@media (max-width: 1024px) {
  .floor-plan-container {
    flex-direction: column;
  }
}

.floor-plan-canvas {
  flex: 1;
  position: relative;
  background: #f8fafc;
  overflow: hidden;
  min-height: 500px;
  cursor: grab;
}
.floor-plan-canvas.panning {
  cursor: grabbing;
}
.floor-plan-canvas.spacebar-pan {
  cursor: grab;
}
.floor-plan-canvas.spacebar-pan.panning {
  cursor: grabbing;
}
.floor-plan-canvas .canvas-grid {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 5000px;
  min-height: 5000px;
  pointer-events: none;
}
.floor-plan-canvas .canvas-content {
  position: relative;
  min-width: 5000px;
  min-height: 5000px;
  will-change: transform;
  transform-origin: top left;
}
.floor-plan-canvas .tables-container {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 5000px;
  min-height: 5000px;
}
.floor-plan-canvas .table-element {
  position: absolute;
  background: #1e293b;
  border: 2px solid #334155;
  cursor: move;
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 2;
  container-type: size;
  container-name: table;
}
.floor-plan-canvas .table-element.dragging {
  transition: none !important;
  will-change: left, top;
}
.floor-plan-canvas .table-element .table-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  color: #f8fafc;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  width: 100%;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 0 0.25rem;
}
.floor-plan-canvas .table-element .table-capacity {
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  color: #94a3b8;
  font-size: 0.625rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  opacity: 0.7;
}
.floor-plan-canvas .table-element .table-capacity i {
  font-size: 0.5rem;
}
.floor-plan-canvas .table-element .table-status {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: currentColor;
  border: 2px solid #1e293b;
}
.floor-plan-canvas .table-element .guest-badge {
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ea580c;
  color: #ffffff;
  padding: 0.4rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: auto;
  z-index: 15;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.floor-plan-canvas .table-element .guest-badge:hover {
  background: rgb(195.1902439024, 73.4048780488, 10.0097560976);
}
.floor-plan-canvas .table-element .guest-badge--group {
  background: #10b981;
}
.floor-plan-canvas .table-element .guest-badge--group:hover {
  background: #059669;
}
.floor-plan-canvas .table-element .guest-badge .badge-status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.floor-plan-canvas .table-element .guest-badge .badge-status-dot--early {
  background: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.3);
}
.floor-plan-canvas .table-element .guest-badge .badge-status-dot--mid {
  background: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.3);
}
.floor-plan-canvas .table-element .guest-badge .badge-status-dot--late {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  animation: statusPulse 1.5s ease-in-out infinite;
}
.floor-plan-canvas .table-element .guest-badge--seated-early {
  background: linear-gradient(135deg, #10b981, rgb(13.9701492537, 161.5298507463, 112.6343283582));
}
.floor-plan-canvas .table-element .guest-badge--seated-early:hover {
  background: linear-gradient(135deg, #059669, rgb(4.1774193548, 125.3225806452, 87.7258064516));
}
.floor-plan-canvas .table-element .guest-badge--seated-mid {
  background: linear-gradient(135deg, #ea580c, rgb(195.1902439024, 73.4048780488, 10.0097560976));
}
.floor-plan-canvas .table-element .guest-badge--seated-late {
  background: linear-gradient(135deg, #ef4444, rgb(235.7842364532, 30.4157635468, 30.4157635468));
  animation: badgePulse 2s ease-in-out infinite;
}
.floor-plan-canvas .table-element .guest-badge--seated-late:hover {
  background: linear-gradient(135deg, #dc2626, rgb(187.0333333333, 30.1666666667, 30.1666666667));
}
.floor-plan-canvas .table-element .guest-badge .badge-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}
.floor-plan-canvas .table-element .guest-badge .badge-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}
.floor-plan-canvas .table-element .guest-badge .badge-info-icon {
  font-size: 0.6rem;
  opacity: 0.7;
  margin-left: 0.2rem;
}
.floor-plan-canvas .table-element .badge-detail-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  min-width: 180px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.floor-plan-canvas .table-element .badge-detail-popover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #ffffff;
}
.floor-plan-canvas .table-element .badge-detail-popover--active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.floor-plan-canvas .table-element .badge-detail-popover__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
}
.floor-plan-canvas .table-element .badge-detail-popover__name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #0f172a;
}
.floor-plan-canvas .table-element .badge-detail-popover__close {
  width: 1.25rem;
  height: 1.25rem;
  border: none;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 0.7rem;
  color: #64748b;
  cursor: pointer;
  display: none;
}
@media (max-width: 768px) {
  .floor-plan-canvas .table-element .badge-detail-popover__close {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.floor-plan-canvas .table-element .badge-detail-popover__close:hover {
  background: #e2e8f0;
  color: #334155;
}
.floor-plan-canvas .table-element .badge-detail-popover__time {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__time-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}
.floor-plan-canvas .table-element .badge-detail-popover__time-item-value {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1;
}
.floor-plan-canvas .table-element .badge-detail-popover__time-item-label {
  font-size: 0.6rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__time-separator {
  color: #cbd5e1;
  font-size: 1rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__progress {
  margin-bottom: 0.5rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__progress-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}
.floor-plan-canvas .table-element .badge-detail-popover__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #F49609, #ef4444);
  border-radius: 2px;
  transition: width 0.5s ease;
}
.floor-plan-canvas .table-element .badge-detail-popover__phase {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 0.75rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__phase-icon {
  font-size: 0.875rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__actions {
  display: flex;
  gap: 0.5rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn:active {
  transform: scale(0.97);
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--phase {
  background: #f1f5f9;
  color: #334155;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--phase:hover {
  background: #e2e8f0;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--clear {
  background: #10b981;
  color: #ffffff;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--clear:hover {
  background: #059669;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--kitchen {
  background: #f1f5f9;
  color: #334155;
  padding: 0.35rem 0.5rem;
  font-size: 0.65rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--kitchen:hover {
  background: #F49609;
  color: #ffffff;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--kitchen.is-sent {
  background: #10b981;
  color: #ffffff;
  cursor: default;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--kitchen.is-sent:hover {
  background: #10b981;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--kitchen:disabled {
  opacity: 0.7;
  cursor: wait;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--view {
  background: #f1f5f9;
  color: #334155;
  padding: 0.35rem 0.4rem;
  font-size: 0.65rem;
  flex: 0 0 auto;
  min-width: 1.75rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__action-btn--view:hover {
  background: #e2e8f0;
}
.floor-plan-canvas .table-element .badge-detail-popover__preorder {
  background: rgba(244, 150, 9, 0.08);
  border-radius: 0.5rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(244, 150, 9, 0.2);
}
.floor-plan-canvas .table-element .badge-detail-popover__preorder-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  color: #334155;
  margin-bottom: 0.4rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__preorder-icon {
  font-size: 0.875rem;
}
.floor-plan-canvas .table-element .badge-detail-popover__preorder-actions {
  display: flex;
  gap: 0.35rem;
}
.floor-plan-canvas .table-element .badge-detail-popover--active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}
.floor-plan-canvas .table-element:has(.badge-detail-popover--active) {
  z-index: 1000 !important;
}
.floor-plan-canvas .phase-dropdown {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.25rem;
  min-width: 160px;
  max-height: 300px;
  overflow-y: auto;
}
.floor-plan-canvas .phase-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-align: left;
}
.floor-plan-canvas .phase-dropdown__item:hover {
  background: #f1f5f9;
}
.floor-plan-canvas .phase-dropdown__item:active {
  background: #e2e8f0;
}
.floor-plan-canvas .phase-dropdown__icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.floor-plan-canvas .phase-dropdown__label {
  flex: 1;
}
@keyframes statusPulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.5);
  }
}
@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.5);
  }
}
.floor-plan-canvas .table-element .table-number,
.floor-plan-canvas .table-element .table-capacity,
.floor-plan-canvas .table-element .table-status {
  pointer-events: none;
}
.floor-plan-canvas .table-element.square {
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
}
.floor-plan-canvas .table-element.round {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}
.floor-plan-canvas .table-element.rectangle {
  width: 120px;
  height: 70px;
  border-radius: 0.5rem;
}
.floor-plan-canvas .table-element.dragging {
  opacity: 0.8;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.floor-plan-canvas .table-element.selected {
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
  z-index: 10;
}
.floor-plan-canvas .table-element.multi-selected {
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.5);
  z-index: 9;
  animation: multiSelectPulse 2s ease-in-out infinite;
}
.floor-plan-canvas .table-element.grouped {
  border-width: 3px;
  border-style: solid;
}
.floor-plan-canvas .table-element.grouped:hover:not(.dragging) {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.3);
}
.floor-plan-canvas .table-element.available {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}
.floor-plan-canvas .table-element.available .table-status {
  color: #10b981;
}
.floor-plan-canvas .table-element.occupied {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
}
.floor-plan-canvas .table-element.occupied .table-status {
  color: #f59e0b;
}
.floor-plan-canvas .table-element.reserved {
  background: rgba(244, 150, 9, 0.1);
  border-color: #F49609;
}
.floor-plan-canvas .table-element.reserved .table-status {
  color: #F49609;
}
.floor-plan-canvas .table-element.cleaning {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
}
.floor-plan-canvas .table-element.cleaning .table-status {
  color: #ef4444;
}
.floor-plan-canvas .table-element.tf-link-target {
  background: rgba(16, 185, 129, 0.3) !important;
  border-color: #10b981 !important;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
  animation: linkTargetPulse 1.5s ease-in-out infinite;
  z-index: 20;
}
.floor-plan-canvas .table-element.tf-link-suboptimal {
  background: rgba(245, 158, 11, 0.25) !important;
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
  z-index: 15;
}
.floor-plan-canvas .table-element.tf-link-blocked {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  opacity: 0.5;
  cursor: not-allowed;
  z-index: 5;
}
.floor-plan-canvas .table-element:hover:not(.dragging) {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.floor-plan-canvas .group-overlay {
  transition: all 250ms ease-in-out;
}
.floor-plan-canvas .group-overlay--hover {
  background: rgba(244, 150, 9, 0.25) !important;
  border-color: rgba(244, 150, 9, 0.8) !important;
  box-shadow: 0 0 20px rgba(244, 150, 9, 0.4), inset 0 0 20px rgba(244, 150, 9, 0.1);
  animation: groupHoverPulse 1s ease-in-out infinite;
}
.floor-plan-canvas .group-name-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #334155;
  color: #ffffff;
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: auto;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.floor-plan-canvas .group-name-badge:hover {
  background: #475569;
}
.floor-plan-canvas .group-name-badge--seated-early {
  background: #2e7d32;
}
.floor-plan-canvas .group-name-badge--seated-early:hover {
  background: #388e3c;
}
.floor-plan-canvas .group-name-badge--seated-mid {
  background: #ed6c02;
}
.floor-plan-canvas .group-name-badge--seated-mid:hover {
  background: #f57c00;
}
.floor-plan-canvas .group-name-badge--seated-late {
  background: #d32f2f;
}
.floor-plan-canvas .group-name-badge--seated-late:hover {
  background: #e53935;
}
.floor-plan-canvas .group-name-badge--with-popover .group-badge-content {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.floor-plan-canvas .group-name-badge--with-popover .group-badge-name {
  white-space: nowrap;
}
.floor-plan-canvas .group-name-badge--with-popover .badge-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.floor-plan-canvas .group-name-badge--with-popover .badge-status-dot--early {
  background: #4caf50;
  box-shadow: 0 0 4px rgba(76, 175, 80, 0.5);
}
.floor-plan-canvas .group-name-badge--with-popover .badge-status-dot--mid {
  background: #ff9800;
  box-shadow: 0 0 4px rgba(255, 152, 0, 0.5);
}
.floor-plan-canvas .group-name-badge--with-popover .badge-status-dot--late {
  background: #f44336;
  box-shadow: 0 0 4px rgba(244, 67, 54, 0.5);
  animation: statusPulse 1s ease-in-out infinite;
}
.floor-plan-canvas .group-name-badge:has(.group-badge-popover--active) {
  z-index: 10001;
}
.floor-plan-canvas .group-badge-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 0.875rem;
  min-width: 180px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}
.floor-plan-canvas .group-badge-popover--active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.floor-plan-canvas .group-badge-popover__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.floor-plan-canvas .group-badge-popover__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
}
.floor-plan-canvas .group-badge-popover__close {
  background: none;
  border: none;
  font-size: 1.125rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 0.125rem;
  line-height: 1;
}
.floor-plan-canvas .group-badge-popover__close:hover {
  color: #334155;
}
.floor-plan-canvas .group-badge-popover__info {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.625rem;
  font-size: 0.75rem;
  color: #64748b;
}
.floor-plan-canvas .group-badge-popover__time {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.floor-plan-canvas .group-badge-popover__time-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
}
.floor-plan-canvas .group-badge-popover__time-value {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
}
.floor-plan-canvas .group-badge-popover__time-label {
  font-size: 0.625rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.floor-plan-canvas .group-badge-popover__time-separator {
  font-size: 0.875rem;
  color: #94a3b8;
}
.floor-plan-canvas .group-badge-popover__progress {
  margin-bottom: 0.625rem;
}
.floor-plan-canvas .group-badge-popover__progress-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
}
.floor-plan-canvas .group-badge-popover__progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}
.floor-plan-canvas .group-badge-popover__progress-fill--early {
  background: linear-gradient(90deg, #4caf50, #81c784);
}
.floor-plan-canvas .group-badge-popover__progress-fill--mid {
  background: linear-gradient(90deg, #ff9800, #ffb74d);
}
.floor-plan-canvas .group-badge-popover__progress-fill--late {
  background: linear-gradient(90deg, #f44336, #ef5350);
}
.floor-plan-canvas .group-badge-popover__phase {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #475569;
  margin-bottom: 0.5rem;
}
.floor-plan-canvas .group-badge-popover__phase-icon {
  font-size: 0.875rem;
}
.floor-plan-canvas .group-badge-popover__actions {
  display: flex;
  gap: 0.5rem;
}
.floor-plan-canvas .group-badge-popover__action-btn {
  flex: 1;
  padding: 0.4rem 0.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.floor-plan-canvas .group-badge-popover__action-btn:active {
  transform: scale(0.97);
}
.floor-plan-canvas .group-badge-popover__action-btn--phase {
  background: #f1f5f9;
  color: #334155;
}
.floor-plan-canvas .group-badge-popover__action-btn--phase:hover {
  background: #e2e8f0;
}
.floor-plan-canvas .group-badge-popover__action-btn--clear {
  background: #10b981;
  color: #ffffff;
}
.floor-plan-canvas .group-badge-popover__action-btn--clear:hover {
  background: #059669;
}
@keyframes statusPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.floor-plan-canvas .empty-state {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #94a3b8;
  pointer-events: none;
}
.floor-plan-canvas .empty-state i {
  color: #334155;
  margin-bottom: 1rem;
}
.floor-plan-canvas .empty-state h3 {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}
.floor-plan-canvas .empty-state p {
  font-size: 0.875rem;
  max-width: 300px;
  margin: 0 auto;
}
.floor-plan-canvas .empty-state.hidden {
  display: none;
}

.floor-table {
  position: absolute;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
}
.floor-table:hover {
  z-index: 20;
  transform: scale(1.02);
}
.floor-table.selected {
  z-index: 30;
}
.floor-table.selected .table-shape {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
.floor-table.available .table-shape {
  background: var(--color-white);
  border: 2px solid var(--color-success);
}
.floor-table.occupied .table-shape {
  background: #fee2e2;
  border: 2px solid var(--color-error);
}
.floor-table.reserved .table-shape {
  background: #fef3c7;
  border: 2px solid #f59e0b;
}
.floor-table.maintenance .table-shape {
  background: #f3f4f6;
  border: 2px solid var(--color-text-secondary);
}

.table-shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 80px;
  min-height: 80px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.table-shape.round {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}
.table-shape.square {
  border-radius: var(--border-radius-sm);
  width: 80px;
  height: 80px;
}
.table-shape.rectangle {
  border-radius: var(--border-radius-sm);
  width: 120px;
  height: 80px;
}
.table-shape .table-number {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}
.table-shape .table-capacity {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-align: center;
}

.table-controls {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  gap: var(--spacing-xs);
}
.table-controls .table-control-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-error);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  transition: all 0.2s ease;
}
.table-controls .table-control-btn:hover {
  transform: scale(1.1);
  background: #dc2626;
}

.table-status-indicator {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.table-status-indicator.occupied {
  background: var(--color-error);
}
.table-status-indicator.reserved {
  background: #f59e0b;
}

.floor-section {
  position: absolute;
  background: rgba(59, 130, 246, 0.1);
  border: 2px dashed var(--color-primary);
  border-radius: var(--border-radius-md);
  z-index: 5;
}
.floor-section .section-header {
  padding: var(--spacing-sm);
  background: rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}
.floor-section .section-header .section-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.floor-plan-properties {
  width: 300px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border-light);
  padding: var(--spacing-xl);
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .floor-plan-properties {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    max-height: 300px;
  }
}
.floor-plan-properties h3 {
  margin: 0 0 var(--spacing-lg) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}
.floor-plan-properties .property-group {
  margin-bottom: var(--spacing-lg);
}
.floor-plan-properties .property-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}
.floor-plan-properties .property-group .form-control {
  width: 100%;
}
.floor-plan-properties .property-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}
.floor-plan-properties .property-actions .btn {
  flex: 1;
  justify-content: center;
}

.floor-plan-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  background: #f8fafc;
  border-top: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}
@media (max-width: 768px) {
  .floor-plan-status {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-sm);
  }
}
.floor-plan-status .edit-indicator {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  margin-left: auto;
}
@media (max-width: 768px) {
  .floor-plan-status .edit-indicator {
    margin-left: 0;
  }
}

.floor-table.dragging {
  opacity: 0.8;
  transform: scale(1.05);
  z-index: 100;
}

.floor-table.table--holding {
  transform: scale(1.03);
  box-shadow: 0 0 0 3px var(--color-primary), var(--shadow-lg);
  z-index: 50;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}
.floor-table.table--holding::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px solid var(--color-primary);
  border-radius: inherit;
  animation: holdPulse 0.6s ease-out infinite;
  pointer-events: none;
}

@keyframes holdPulse {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}
.canvas-content.drag-active {
  cursor: grabbing;
}

.floor-plan-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: var(--color-text-secondary);
}
.floor-plan-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border-light);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-md);
}

.btn-error {
  color: var(--color-white);
  background: var(--color-error);
  border-color: var(--color-error);
}
.btn-error:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .floor-plan-designer {
    height: calc(100vh - 160px);
  }
  .table-shape {
    min-width: 60px;
    min-height: 60px;
  }
  .table-shape.round {
    width: 60px;
    height: 60px;
  }
  .table-shape.square {
    width: 60px;
    height: 60px;
  }
  .table-shape.rectangle {
    width: 90px;
    height: 60px;
  }
  .table-shape .table-number {
    font-size: var(--font-size-md);
  }
  .table-shape .table-capacity {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .floor-plan-canvas {
    min-height: 300px;
  }
  .toolbar-right {
    gap: var(--spacing-xs);
  }
  .toolbar-right .btn {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}
@media print {
  .floor-plan-toolbar,
  .floor-plan-properties,
  .floor-plan-status {
    display: none !important;
  }
  .floor-plan-canvas {
    background: white !important;
  }
  .floor-plan-canvas .canvas-grid {
    display: none !important;
  }
  .table-controls {
    display: none !important;
  }
}
.floor-modal-reservations {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  width: 100%;
  box-sizing: border-box;
}
.floor-modal-reservations::-webkit-scrollbar {
  width: 0;
  display: none;
}
.floor-modal-reservations::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
.floor-modal-reservations::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.floor-modal-reservations::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
}

.floor-modal-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: none;
  border-radius: var(--border-radius-md);
  width: 100%;
  cursor: grab;
  transition: all 0.2s ease;
  margin-bottom: var(--spacing-sm);
  z-index: 1;
}
.floor-modal-card:hover {
  background: rgba(255, 255, 255, 0.05);
}
.floor-modal-card:has(.floor-modal-card__dropdown-menu:not([hidden])) {
  z-index: 100;
}
.floor-modal-card--dragging {
  opacity: 0.7;
  cursor: grabbing;
}
.floor-modal-card.tf-card-target {
  background: rgba(16, 185, 129, 0.15);
  border: 2px solid #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}
.floor-modal-card.tf-card-target:hover {
  background: rgba(16, 185, 129, 0.25);
}
.floor-modal-card.tf-card-suboptimal {
  background: rgba(245, 158, 11, 0.15);
  border: 2px solid #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}
.floor-modal-card.tf-card-suboptimal:hover {
  background: rgba(245, 158, 11, 0.25);
}
.floor-modal-card.tf-card-blocked {
  background: rgba(239, 68, 68, 0.1);
  border: 2px solid rgba(239, 68, 68, 0.3);
  cursor: not-allowed;
}
.floor-modal-card.tf-card-blocked .floor-modal-card__main,
.floor-modal-card.tf-card-blocked .floor-modal-card__code {
  opacity: 0.6;
}
.floor-modal-card.tf-card-blocked .floor-modal-card__status-btn {
  opacity: 0.7;
}
.floor-modal-card.tf-card-blocked:hover {
  background: rgba(239, 68, 68, 0.15);
}
.floor-modal-card.tf-card-highlight-pulse {
  animation: card-highlight-pulse 1.5s ease-out;
}

@keyframes card-highlight-pulse {
  0% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  }
  25% {
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.2), 0 0 30px rgba(16, 185, 129, 0.2);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  }
}
.floor-modal-card.tf-card-active-reservation {
  box-shadow: 0 0 0 3px #2563eb, 0 4px 12px rgba(37, 99, 235, 0.3);
  background: rgba(37, 99, 235, 0.05);
  position: relative;
}
.floor-modal-card.tf-card-active-reservation::before {
  content: "";
  position: absolute;
  inset: -3px;
  border: 2px solid #2563eb;
  border-radius: calc(0.625rem + 3px);
  animation: active-reservation-pulse 2s ease-in-out infinite;
  pointer-events: none;
}
.floor-modal-card.tf-card-active-reservation::after {
  content: "ACTIVE";
  position: absolute;
  top: -8px;
  right: 12px;
  background: #2563eb;
  color: #ffffff;
  font-size: 0.625rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

@keyframes active-reservation-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.floor-modal-card__main {
  display: flex;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-md) var(--spacing-xs);
}

.floor-modal-card__status {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #10b981;
  border-radius: 0.625rem 0 0 0.625rem;
}
.floor-modal-card__status--seated {
  background: #3b82f6;
}

.floor-modal-card__left {
  flex-shrink: 0;
}

.floor-modal-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  background: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.floor-modal-card__center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding-right: var(--spacing-md);
}

.floor-modal-card__name {
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  margin-bottom: var(--spacing-xs);
}

.floor-modal-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.floor-modal-card__phone,
.floor-modal-card__email {
  font-size: var(--font-size-sm);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  line-height: 1.4;
}
.floor-modal-card__phone i,
.floor-modal-card__email i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}

.floor-modal-card__separator {
  color: var(--color-text-secondary);
}

.floor-modal-card__party,
.floor-modal-card__time {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  gap: var(--spacing-xs);
  white-space: nowrap;
}
.floor-modal-card__party i,
.floor-modal-card__time i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__date {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}
.floor-modal-card__date i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__phone {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}
.floor-modal-card__phone i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__email {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  color: #cbd5e1;
}
.floor-modal-card__email i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__occasion {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-xs);
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: #FDBA74;
  line-height: 1.4;
}
.floor-modal-card__occasion i {
  flex-shrink: 0;
  font-size: var(--font-size-xs);
  color: #ffffff;
}

.floor-modal-card__occasion-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.floor-modal-card__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-sm);
}

.floor-modal-card__code {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0.4rem 0.875rem;
  background: rgba(37, 99, 235, 0.15);
  color: #93c5fd;
  border-radius: var(--border-radius-md);
  font-size: 0.9rem;
  font-weight: var(--font-weight-bold);
  font-family: monospace;
  letter-spacing: 0.1em;
  min-width: 120px;
}
.floor-modal-card__code--assigned {
  background: rgba(96, 165, 250, 0.15);
  color: #60a5fa;
}

.floor-modal-card__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  padding: var(--spacing-xs) var(--spacing-md) var(--spacing-md);
}

.floor-modal-card__status-text {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: var(--font-weight-medium);
  color: #10b981;
}
.floor-modal-card__status-text[data-status=seated] {
  color: #60a5fa;
}
.floor-modal-card__status-text[data-status=cancelled] {
  color: #ef4444;
}
.floor-modal-card__status-text[data-status=completed] {
  color: #94a3b8;
}

.floor-modal-card__status-dropdown {
  position: relative;
  width: 100%;
}

.floor-modal-card__status-btn {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: 0.5rem 0.875rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--border-radius-md);
  color: #ffffff !important;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  justify-content: flex-start;
}
.floor-modal-card__status-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}
.floor-modal-card__status-btn .status-text {
  text-transform: capitalize;
  font-weight: var(--font-weight-semibold);
  color: #ffffff !important;
}
.floor-modal-card__status-btn .status-indicator {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  max-width: 10px;
  max-height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  display: inline-block;
}
.floor-modal-card__status-btn .fa-chevron-down {
  font-size: 0.7rem;
  opacity: 0.8;
  color: #ffffff !important;
  margin-left: auto;
}
.floor-modal-card__status-btn[aria-expanded=true] .fa-chevron-down {
  transform: rotate(180deg);
}

.floor-modal-card__dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 200px;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  z-index: 1000;
}
.floor-modal-card__dropdown-menu[hidden] {
  display: none;
}
.floor-modal-card__dropdown-menu--dropup {
  top: auto;
  bottom: calc(100% + 0.5rem);
}

.dropdown-search {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.5rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dropdown-search i {
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.7rem;
}
.dropdown-search__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: var(--font-size-sm);
  padding: 0;
}
.dropdown-search__input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.dropdown-scroll-body {
  max-height: 240px;
  overflow-y: auto;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  font-size: var(--font-size-sm);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.dropdown-option:hover {
  background: rgba(255, 255, 255, 0.08);
}
.dropdown-option:active {
  background: rgba(255, 255, 255, 0.12);
}
.dropdown-option span {
  flex: 1;
  color: #ffffff;
}
.dropdown-option i {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}
.dropdown-option .fa-chevron-right {
  margin-left: auto;
  font-size: 0.7rem;
  opacity: 0.5;
}

.dropdown-option--status .status-indicator {
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  max-width: 10px;
  max-height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  display: inline-block;
}
.dropdown-option--status .status-indicator--pending {
  background: #f59e0b;
}
.dropdown-option--status .status-indicator--confirmed {
  background: #10b981;
}
.dropdown-option--status .status-indicator--arrived {
  background: #8b5cf6;
}
.dropdown-option--status .status-indicator--seated {
  background: #3b82f6;
}
.dropdown-option--status .status-indicator--completed {
  background: #94a3b8;
}
.dropdown-option--status .status-indicator--cancelled {
  background: #ef4444;
}
.dropdown-option--status .status-indicator--no-show {
  background: #f97316;
}
.dropdown-option--status .status-indicator--waitlist {
  background: #8b5cf6;
}

.dropdown-option--action i:first-child {
  width: 16px;
  text-align: center;
}

.dropdown-section__label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.25rem 0.75rem 0.125rem;
}
.dropdown-section--actions {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.25rem;
  margin-top: 0.25rem;
}

.reservations-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  color: var(--color-text-secondary);
}
.reservations-loading i {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-primary);
}
.reservations-loading p {
  margin: 0;
  font-size: var(--font-size-sm);
}

.reservations-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  color: var(--color-text-secondary);
  text-align: center;
}
.reservations-empty i {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
  color: var(--color-border-light);
}
.reservations-empty p {
  margin: 0;
  font-size: var(--font-size-sm);
}

.reservations-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-3xl);
  color: var(--color-error);
  text-align: center;
}
.reservations-error i {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-md);
}
.reservations-error p {
  margin: 0 0 var(--spacing-md) 0;
  font-size: var(--font-size-sm);
}

.table-reservation-tooltip {
  position: fixed;
  z-index: 9999;
  background: #1e293b;
  color: #f1f5f9;
  padding: 0.5rem 0.65rem;
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-width: 160px;
  max-width: 200px;
  pointer-events: none;
  animation: tooltipFadeIn 0.2s ease;
}
.table-reservation-tooltip .tooltip__header {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  margin-bottom: 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.table-reservation-tooltip .tooltip__row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #cbd5e1;
  margin-bottom: 0.25rem;
}
.table-reservation-tooltip .tooltip__row:last-child {
  margin-bottom: 0;
}
.table-reservation-tooltip .tooltip__row i {
  font-size: 0.7rem;
  color: #94a3b8;
  width: 12px;
  text-align: center;
}

.floor-modal-card--highlighted {
  background: rgba(59, 130, 246, 0.15) !important;
  border: 1px solid rgba(59, 130, 246, 0.3) !important;
  animation: cardPulse 2s ease;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-100% - 5px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -100%);
  }
}
@keyframes cardPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
.table-element,
.table-element *,
.group-overlay,
.group-overlay *,
.canvas-content {
  -ms-touch-action: none !important;
  touch-action: none !important;
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

.floor-plan-canvas {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -ms-touch-action: none !important;
  touch-action: none !important;
}
.floor-plan-canvas.panning {
  cursor: grabbing;
}
.floor-plan-canvas.spacebar-pan {
  cursor: grab;
}
.floor-plan-canvas.spacebar-pan.panning {
  cursor: grabbing;
}
.floor-plan-canvas.two-finger-active {
  cursor: grabbing;
}
.floor-plan-canvas.two-finger-active .table-element,
.floor-plan-canvas.two-finger-active .group-overlay,
.floor-plan-canvas.two-finger-active .transform-handle,
.floor-plan-canvas.two-finger-active .rotation-handle {
  pointer-events: none !important;
}
.floor-plan-canvas.two-finger-active * {
  touch-action: none !important;
}

.command-controller {
  position: absolute;
  top: 16px;
  left: 16px;
  bottom: auto;
  right: auto;
  display: none;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4);
  z-index: 100;
  touch-action: none;
  user-select: none;
  transition: opacity 200ms ease-out, transform 200ms ease-out, width 200ms ease-out, height 200ms ease-out, background 300ms ease-out, box-shadow 300ms ease-out;
  opacity: 0.85;
  animation: command-controller-pulse 3s ease-in-out infinite;
}
@media (max-width: 1400px) {
  .command-controller {
    display: flex !important;
  }
}
.command-controller:hover, .command-controller.active {
  opacity: 1;
}
.command-controller.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  animation: none;
}
.command-controller--collapsed {
  width: 48px;
  height: 48px;
  background: linear-gradient(145deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4);
  outline: 3px solid rgba(103.5966850829, 104.7099447514, 204.9033149171, 0.8);
  outline-offset: 5px;
  animation: command-controller-pulse 3s ease-in-out infinite;
}
.command-controller--collapsed .command-controller__modifier,
.command-controller--collapsed .command-controller__action {
  opacity: 0;
  pointer-events: none;
  transform: scale(0);
}
.command-controller--expanded {
  width: 130px;
  height: 130px;
  background: linear-gradient(145deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4);
  outline: none;
  animation: none;
}
.command-controller--expanded .command-controller__center {
  width: 32px;
  height: 32px;
}
.command-controller--expanded .command-controller__modifier,
.command-controller--expanded .command-controller__action {
  opacity: 1;
  pointer-events: auto;
  z-index: 20;
}
.command-controller__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2D2E88, rgb(32.320441989, 33.0386740331, 97.679558011));
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 10px rgba(45, 46, 136, 0.4);
  transition: all 200ms ease-out;
}
.command-controller__center:active {
  transform: translate(-50%, -50%) scale(0.95);
}
.command-controller__modifier, .command-controller__action {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2D2E88, rgb(34.8563535912, 35.6309392265, 105.3436464088));
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(45, 46, 136, 0.3);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-out;
  overflow: visible;
}
.command-controller__modifier .command-controller__icon, .command-controller__action .command-controller__icon {
  color: #ffffff;
  font-size: 0.85rem;
  line-height: 1;
}
.command-controller__modifier .modifier-symbol, .command-controller__action .modifier-symbol {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
}
.command-controller__modifier .modifier-label, .command-controller__action .modifier-label {
  display: none;
}
.command-controller__modifier:active, .command-controller__action:active {
  transform: scale(0.9);
}
.command-controller__modifier:focus-visible, .command-controller__action:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}
.command-controller__modifier.held {
  transform: scale(1.15);
  color: white;
}
.command-controller__modifier.locked {
  color: white;
}
.command-controller__modifier.locked::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.command-controller__modifier.held.locked {
  background: linear-gradient(145deg, var(--color-brand-orange, #F49609), var(--color-brand-purple, #2D2E88));
}
.command-controller__modifier[data-modifier=shift].locked::after {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
}
.command-controller__modifier[data-modifier=alt].locked::after {
  bottom: 0;
  left: 0;
}
.command-controller__modifier[data-modifier=cmd].locked::after {
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
}
.command-controller__modifier[data-modifier=ctrl].locked::after {
  top: 0;
  left: 0;
}
.command-controller__action:disabled {
  opacity: 0.3;
  pointer-events: none;
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.command-controller__action:disabled .command-controller__icon {
  color: #ffffff;
  -webkit-text-fill-color: #ffffff;
}
.command-controller__action--danger:not(:disabled) {
  background: rgba(220, 53, 69, 0.35);
  border-color: rgba(220, 53, 69, 0.5);
  color: #ff6b7a;
}
.command-controller__action--danger:not(:disabled) .command-controller__icon {
  color: #ff6b7a;
}
.command-controller__modifier[data-modifier=shift] {
  top: 0;
  left: 47px;
}
.command-controller__modifier[data-modifier=alt] {
  top: 14px;
  left: 80px;
}
.command-controller__modifier[data-modifier=cmd] {
  top: 47px;
  left: 94px;
}
.command-controller__modifier[data-modifier=ctrl] {
  top: 80px;
  left: 80px;
}
.command-controller__action#touchUndoBtn {
  top: 94px;
  left: 47px;
}
.command-controller__action#touchRedoBtn {
  top: 80px;
  left: 14px;
}
.command-controller__action#touchDeleteBtn {
  top: 47px;
  left: 0;
}
.command-controller__host-toggle {
  top: 14px !important;
  left: 14px !important;
}
.command-controller__host-toggle[aria-pressed=true]::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}
.command-controller__tooltip {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease-out;
}
.command-controller__tooltip.visible {
  opacity: 1;
}

.command-controller.repositioning {
  cursor: grabbing;
}
.command-controller.repositioning .command-controller__center {
  cursor: grabbing;
}

.floor-plan-canvas--host-mode .canvas-grid {
  opacity: 0.15;
}
.floor-plan-canvas--host-mode .resize-handle,
.floor-plan-canvas--host-mode .rotation-handle,
.floor-plan-canvas--host-mode .rotation-line {
  display: none !important;
}
.floor-plan-canvas--host-mode .table-seat {
  opacity: 0.3;
  pointer-events: none;
}
.floor-plan-canvas--host-mode .table-element {
  cursor: pointer;
}
.floor-plan-canvas--host-mode .table-element:hover {
  filter: brightness(1.08);
}
.floor-plan-canvas--host-mode ~ .floor-plan-toolbar {
  display: none;
}

.seating-modal__phase-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.seating-modal__phase-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  background: #1e293b;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}
.seating-modal__phase-btn:hover {
  border-color: #64748b;
  color: #ffffff;
}
.seating-modal__phase-btn--current {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.12);
  color: #ffffff;
}

.seating-modal__phase-icon {
  font-size: 1.2rem;
}

.seating-modal__phase-name {
  flex: 1;
}

.dine-in-modal [data-drag-handle] {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.dine-in-modal.is-dragging [data-drag-handle] {
  cursor: grabbing;
}

.dine-in-modal.is-dragging {
  user-select: none;
}

@keyframes command-controller-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 8px 24px rgba(45, 46, 136, 0.6);
    opacity: 1;
  }
}
.transform-handle {
  --_handle-default: 14px;
  --handle-offset: calc(var(--handle-size, var(--_handle-default)) / -2);
  position: absolute;
  width: var(--handle-size, var(--_handle-default));
  height: var(--handle-size, var(--_handle-default));
  background: #ffffff;
  border: 2px solid #F49609;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms ease-in-out, transform 150ms ease-in-out;
  cursor: pointer;
  z-index: 15;
  pointer-events: none;
}
@media (max-width: 1400px), (pointer: coarse) {
  .transform-handle {
    --_handle-default: 24px;
  }
}
.transform-handle:hover {
  transform: scale(1.2);
  box-shadow: 0 0 8px rgba(244, 150, 9, 0.5);
}
.transform-handle.handle-nw {
  top: var(--handle-offset);
  left: var(--handle-offset);
  cursor: nwse-resize;
}
.transform-handle.handle-ne {
  top: var(--handle-offset);
  right: var(--handle-offset);
  cursor: nesw-resize;
}
.transform-handle.handle-se {
  bottom: var(--handle-offset);
  right: var(--handle-offset);
  cursor: nwse-resize;
}
.transform-handle.handle-sw {
  bottom: var(--handle-offset);
  left: var(--handle-offset);
  cursor: nesw-resize;
}
.transform-handle.handle-n {
  top: var(--handle-offset);
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}
.transform-handle.handle-n:hover {
  transform: translateX(-50%) scale(1.2);
}
.transform-handle.handle-e {
  top: 50%;
  right: var(--handle-offset);
  transform: translateY(-50%);
  cursor: ew-resize;
}
.transform-handle.handle-e:hover {
  transform: translateY(-50%) scale(1.2);
}
.transform-handle.handle-s {
  bottom: var(--handle-offset);
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}
.transform-handle.handle-s:hover {
  transform: translateX(-50%) scale(1.2);
}
.transform-handle.handle-w {
  top: 50%;
  left: var(--handle-offset);
  transform: translateY(-50%);
  cursor: ew-resize;
}
.transform-handle.handle-w:hover {
  transform: translateY(-50%) scale(1.2);
}

.table-element.selected:not(.dragging):not(.is-transforming) .transform-handle {
  opacity: 1;
  pointer-events: all;
}

.rotation-handle {
  --rotation-handle-size: 18px;
  --rotation-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 12a7.5 7.5 0 0 1 12.8-5.3' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round'/%3E%3Cpolygon points='20 6 17 3.5 17 8.5' fill='%23222'/%3E%3Cpath d='M19.5 12a7.5 7.5 0 0 1-12.8 5.3' fill='none' stroke='%23222' stroke-width='2' stroke-linecap='round'/%3E%3Cpolygon points='4 18 7 20.5 7 15.5' fill='%23222'/%3E%3C/svg%3E") 12 12, pointer;
  position: absolute;
  top: calc(var(--rotation-handle-size) * -2.5);
  left: 50%;
  transform: translateX(-50%);
  width: var(--rotation-handle-size);
  height: var(--rotation-handle-size);
  background: #4a3d8f;
  border: 2px solid #4a3d8f;
  border-radius: 50%;
  opacity: 0;
  cursor: var(--rotation-cursor);
  z-index: 5;
  pointer-events: none;
}
@media (pointer: coarse) and (max-width: 768px) {
  .rotation-handle {
    --rotation-handle-size: 18px;
  }
}
@media (pointer: coarse) and (min-width: 769px) {
  .rotation-handle {
    --rotation-handle-size: 28px;
  }
}
.rotation-handle::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
}
@media (pointer: coarse) and (max-width: 768px) {
  .rotation-handle::after {
    inset: -12px;
  }
}
@media (pointer: coarse) and (min-width: 769px) {
  .rotation-handle::after {
    inset: -8px;
  }
}
.rotation-handle:hover {
  background: #5e4fb3;
  border-color: #5e4fb3;
  box-shadow: 0 0 8px rgba(74, 61, 143, 0.5);
  transition: background 100ms ease-in-out, box-shadow 100ms ease-in-out;
}
.rotation-handle:active {
  cursor: var(--rotation-cursor);
}

.rotation-handle-line {
  --rotation-handle-size: 18px;
  position: absolute;
  top: calc(var(--rotation-handle-size) * -2.5 + var(--rotation-handle-size));
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: calc(var(--rotation-handle-size) * 1.5);
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.rotation-handle-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 100%;
  background: rgba(74, 61, 143, 0.4);
}
@media (pointer: coarse) and (max-width: 768px) {
  .rotation-handle-line {
    --rotation-handle-size: 18px;
    width: 44px;
  }
}
@media (pointer: coarse) and (min-width: 769px) {
  .rotation-handle-line {
    --rotation-handle-size: 28px;
    width: 44px;
  }
}

.table-element.selected:not(.dragging):not(.is-transforming) .rotation-handle,
.table-element.selected:not(.dragging):not(.is-transforming) .rotation-handle-line {
  opacity: 1;
  pointer-events: all;
}

.table-element.is-transforming .rotation-handle,
.table-element.is-transforming .rotation-handle-line {
  opacity: 0;
  pointer-events: none;
}

.table-seat {
  --seat-scale: 1;
  position: absolute;
  width: calc(14px * var(--seat-scale));
  height: calc(14px * var(--seat-scale));
  pointer-events: all;
  z-index: 5;
  transition: transform 150ms ease-in-out, opacity 150ms ease-in-out;
  animation: seatAppear 300ms ease-out;
  cursor: pointer;
}
@media (pointer: coarse) and (max-width: 768px) {
  .table-seat {
    --seat-scale: 1.3;
  }
}
@media (pointer: coarse) and (min-width: 769px) {
  .table-seat {
    --seat-scale: 1.5;
  }
}
.table-seat:hover {
  transform: translate(-50%, -50%) scale(1.3);
  z-index: 6;
}
.table-seat:hover .seat-icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.table-seat:hover .seat-back {
  fill: #F49609;
}
.table-seat:hover .seat-cushion {
  fill: hsl(36, 92.89%, 59.61%);
}
.table-seat:active {
  transform: translate(-50%, -50%) scale(1.1);
}
.table-seat[data-status=empty] .seat-back {
  fill: #64748b;
}
.table-seat[data-status=empty] .seat-cushion {
  fill: #94a3b8;
}
.table-seat[data-status=occupied] .seat-back {
  fill: #ef4444;
}
.table-seat[data-status=occupied] .seat-cushion {
  fill: hsl(0, 84.24%, 70.2%);
}
.table-seat[data-status=reserved] .seat-back {
  fill: #F49609;
}
.table-seat[data-status=reserved] .seat-cushion {
  fill: hsl(36, 92.89%, 59.61%);
}
.table-seat--ghost {
  opacity: 0.3;
}
.table-seat--ghost .seat-back {
  fill: #94a3b8;
}
.table-seat--ghost .seat-cushion {
  fill: #cbd5e1;
}
.table-seat--removed {
  display: none !important;
}

.seat-icon {
  width: 100%;
  height: 100%;
  display: block;
  transition: all 150ms ease-in-out;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}
.seat-icon .seat-back {
  fill: #64748b;
  transition: fill 150ms ease-in-out;
}
.seat-icon .seat-cushion {
  fill: #94a3b8;
  transition: fill 150ms ease-in-out;
}

@keyframes seatAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}
.alignment-guides {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
}

.alignment-guide {
  position: fixed;
  display: none;
  background: #3b82f6;
}
.alignment-guide.active {
  display: block;
}
.alignment-guide--vertical {
  width: 1px;
  top: 0;
  bottom: 0;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.6);
}
.alignment-guide--horizontal {
  height: 1px;
  left: 0;
  right: 0;
  box-shadow: 0 0 4px rgba(59, 130, 246, 0.6);
}

.selection-box {
  position: fixed;
  border: 2px solid #F49609;
  background: rgba(244, 150, 9, 0.15);
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 12px rgba(244, 150, 9, 0.4), inset 0 0 12px rgba(244, 150, 9, 0.1);
  animation: selectionBoxPulse 1s ease-in-out infinite;
}

@keyframes selectionBoxPulse {
  0%, 100% {
    border-color: rgba(244, 150, 9, 0.8);
  }
  50% {
    border-color: #F49609;
  }
}
@keyframes groupHoverPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}
@keyframes linkTargetPulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.4), 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.5), 0 0 30px rgba(16, 185, 129, 0.4);
  }
}
@keyframes rotationIconPulse {
  0%, 100% {
    transform: scale(1.1) rotate(-5deg);
  }
  50% {
    transform: scale(1.15) rotate(0deg);
  }
}
.template-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-align: left;
  margin-bottom: 0.5rem;
}
.template-option i {
  color: #F49609;
  font-size: 1.125rem;
}
.template-option:hover {
  background: rgb(19, 29, 53);
  border-color: #F49609;
  color: #F49609;
  transform: translateX(4px);
}
.template-option:active {
  transform: translateX(2px);
}
.template-option:last-child {
  margin-bottom: 0;
}

.floor-plan-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 200ms ease-out;
}
.floor-plan-modal__backdrop {
  display: none;
}
.floor-plan-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 500px;
  animation: slideUp 300ms ease-out;
  z-index: 1;
}
.floor-plan-modal__content {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.floor-plan-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid #334155;
}
.floor-plan-modal__title {
  color: #f1f5f9;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
}
.floor-plan-modal__close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: all 150ms ease-in-out;
}
.floor-plan-modal__close:hover {
  background: rgb(21.7, 33.3, 60.8);
  color: #f1f5f9;
}
.floor-plan-modal__body {
  padding: 1.25rem;
}
.floor-plan-modal__message {
  color: #f1f5f9;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.floor-plan-modal__input {
  width: 100%;
  background: #0f172a;
  border: 2px solid #334155;
  color: #ffffff !important;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 150ms ease-in-out;
}
.floor-plan-modal__input::placeholder {
  color: #94a3b8;
}
.floor-plan-modal__input:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.1);
  color: #ffffff !important;
}
.floor-plan-modal__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem 1.25rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.btn.floor-plan-modal__cancel,
.btn.floor-plan-modal__confirm {
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  min-height: 2.625rem;
  min-width: 7.625rem;
}
.btn.floor-plan-modal__cancel:focus-visible,
.btn.floor-plan-modal__confirm:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.btn.floor-plan-modal__confirm {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #F49609 !important;
}
.btn.floor-plan-modal__confirm:hover {
  background: #1d4ed8;
}

.btn.floor-plan-modal__cancel {
  color: #3b82f6;
  background: #ffffff;
  border: 2px solid #e2e8f0;
}
.btn.floor-plan-modal__cancel:hover {
  background: #f1f5f9;
  border-color: #3b82f6;
}

.floor-plan-modal__dialog--wide {
  max-width: 600px;
}

.floor-plan-modal__dialog--draggable {
  position: absolute;
}

.floor-plan-modal__header--draggable {
  cursor: move;
  user-select: none;
}
.floor-plan-modal__header--draggable .floor-plan-modal__close {
  cursor: pointer;
}

.floor-plan-modal__footer--template-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .floor-plan-modal__footer--template-actions {
    flex-direction: column;
  }
  .floor-plan-modal__footer--template-actions .btn {
    width: 100%;
  }
}

.btn.floor-plan-modal__action {
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.5rem;
}
.btn.floor-plan-modal__action i {
  font-size: 0.875rem;
}
.btn.floor-plan-modal__action:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.btn.floor-plan-modal__action[data-action=add], .btn.floor-plan-modal__action[data-action=replace] {
  background: rgba(100, 116, 139, 0.2);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.4);
}
.btn.floor-plan-modal__action[data-action=add]:hover, .btn.floor-plan-modal__action[data-action=replace]:hover {
  background: rgba(148, 163, 184, 0.3);
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.6);
}
.btn.floor-plan-modal__action[data-action=create-new] {
  background: #F49609;
  color: #ffffff;
  border: 1px solid #F49609;
}
.btn.floor-plan-modal__action[data-action=create-new]:hover {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
}

.group-tables-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}
.group-tables-list.is-locked .group-table-item .group-table-remove, .group-tables-list.is-locked .group-table-item [data-action=remove] {
  opacity: 0.3;
  pointer-events: none;
}

.group-tags-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.group-tags-chips:empty {
  margin-bottom: 0;
}

.group-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 4px 6px 4px 10px;
  border-radius: 999px;
  background: rgba(244, 150, 9, 0.15);
  border: 1px solid rgba(244, 150, 9, 0.35);
  color: #F49609;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.group-tag-chip__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #F49609;
  cursor: pointer;
  font-size: 0.7rem;
}
.group-tag-chip__remove:hover {
  background: rgba(244, 150, 9, 0.25);
}
.group-tag-chip__remove:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 1px;
}

.group-lock-toggle {
  margin-top: 0.75rem;
}

.group-table-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  transition: all 0.2s ease;
}
.group-table-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.table-info {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.table-icon {
  width: 40px;
  height: 40px;
  background: #f97316;
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.table-icon i {
  color: #ffffff;
  font-size: 1rem;
}

.table-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.table-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: #ffffff;
}

.table-capacity {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.table-capacity i {
  font-size: 0.875rem;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.action-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
}
.action-icon-btn i {
  font-size: 0.875rem;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stat-display {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid rgba(249, 115, 22, 0.4);
  border-radius: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
  min-height: 60px;
  margin-top: 0.5rem;
  transition: all 150ms ease-in-out;
}
.stat-display:hover {
  border-color: rgba(249, 115, 22, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.color-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

#tab-group .modal-form-section:first-child {
  padding-bottom: 0.5rem;
}

.color-option {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-option:hover {
  transform: scale(1.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.color-option.active {
  border-color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.color-option.active::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffffff;
  font-size: 1.25rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}
.color-option:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.modal-form-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: 1.25rem;
}
.modal-btn i {
  pointer-events: none;
}
.modal-btn:hover {
  transform: scale(1.1);
}
.modal-btn:active {
  transform: scale(0.95);
}
.modal-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.modal-btn-secondary {
  background: rgba(100, 116, 139, 0.2);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}
.modal-btn-secondary:hover {
  background: rgba(148, 163, 184, 0.3);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.5);
}

.modal-btn-danger {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}
.modal-btn-danger:hover {
  background: rgba(239, 68, 68, 0.3);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.5);
}

.modal-btn-primary {
  background: #f97316;
  color: #ffffff;
  border: 1px solid transparent;
}
.modal-btn-primary:hover {
  background: #ea580c;
  box-shadow: 0 0 12px rgba(249, 115, 22, 0.4);
}

.capacity-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  max-width: 200px;
}

.removed-seats-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  font-size: 0.75rem;
}

.removed-seats-text {
  color: #f59e0b;
}

.removed-seats-restore {
  background: none;
  border: none;
  color: #2563eb;
  cursor: pointer;
  font-size: 0.75rem;
  text-decoration: underline;
  padding: 2px 4px;
}
.removed-seats-restore:hover {
  color: rgb(83.7142857143, 132.4285714286, 239.2857142857);
}

.capacity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-size: 0.625rem;
  flex-shrink: 0;
}
.capacity-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: scale(1.05);
}
.capacity-btn:active {
  transform: scale(0.95);
}
.capacity-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}
.capacity-btn i {
  pointer-events: none;
  font-size: 0.625rem;
}

.capacity-input {
  flex: 1;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0;
  min-width: 60px;
  max-width: 100px;
  height: 44px;
  line-height: 44px;
  -moz-appearance: textfield;
}
.capacity-input::-webkit-inner-spin-button, .capacity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.floor-plan-main {
  padding: 0;
  background: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.floor-plan-header {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 1.5rem 0;
}
@media (max-width: 768px) {
  .floor-plan-header {
    display: none;
  }
}

.floor-plan-header .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .floor-plan-header .header-content {
    flex-direction: column;
    align-items: stretch;
  }
}
.floor-plan-header .header-title h1 {
  color: #e2e8f0;
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.floor-plan-header .header-title .subtitle {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.floor-plan-header .header-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .floor-plan-header .header-actions {
    justify-content: stretch;
  }
  .floor-plan-header .header-actions .btn {
    flex: 1;
    min-width: 120px;
  }
}
.floor-plan-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
  overflow: hidden;
}

@media (max-width: 767px) {
  .floor-plan-container {
    padding: 1rem;
    gap: 1rem;
  }
}
/* Dropdown Status Indicators - Smaller circles */
span.status-indicator,
.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem !important;
  flex-shrink: 0;
}

.status-indicator--pending {
  background: #f97316 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--confirmed {
  background: #10b981 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--arrived {
  background: #8b5cf6 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--seated {
  background: #3b82f6 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--cleaning {
  background: #F49609 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--completed {
  background: #94a3b8 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--cancelled {
  background: #ef4444 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--no-show {
  background: #f97316 !important;
  width: 8px;
  height: 8px;
}

.status-indicator--waitlist {
  background: #2D2E88 !important;
  width: 8px;
  height: 8px;
}

/* Toolbar Container - Full Width Responsive */
.toolbar-container {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1.5rem !important;
  border-radius: 0.75rem;
  overflow: hidden !important;
}

.toolbar-scroll-wrapper {
  width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: thin;
  scrollbar-color: #334155 transparent !important;
}

.toolbar-scroll-wrapper::-webkit-scrollbar {
  height: 6px;
}

.toolbar-scroll-wrapper::-webkit-scrollbar-track {
  background: transparent !important;
}

.toolbar-scroll-wrapper::-webkit-scrollbar-thumb {
  background: #334155 !important;
  border-radius: 3px;
}

.floor-plan-toolbar {
  background: #1e293b !important;
  border: 1px solid #334155 !important;
  border-radius: 0.75rem;
  padding: 1rem !important;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  flex-wrap: nowrap !important;
  width: max-content !important;
  min-width: 100%;
}

/* Responsive: Keep toolbar horizontal on all screen sizes */
@media (max-width: 1023px) {
  .floor-plan-toolbar {
    flex-direction: row;
    gap: 1rem;
  }
  .floor-plan-toolbar .toolbar-section {
    min-width: 180px;
  }
}
@media (max-width: 768px) {
  .floor-plan-toolbar {
    flex-direction: row;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .floor-plan-toolbar {
    flex-direction: row;
    gap: 0.75rem;
  }
}
.floor-plan-toolbar .toolbar-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 150px;
  flex-shrink: 0;
}

.floor-plan-toolbar .toolbar-section h3 {
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin: 0;
  text-align: center;
}

.floor-plan-toolbar .shape-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: nowrap !important;
}

.floor-plan-toolbar .shape-buttons .shape-btn {
  background: #0f172a !important;
  border: 1px solid #334155 !important;
  border-radius: 0.5rem;
  padding: 0.75rem !important;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center !important;
  gap: 0.25rem;
  min-width: 70px;
  flex-shrink: 0;
}

.floor-plan-toolbar .shape-buttons .shape-btn svg {
  width: 40px;
  height: 40px;
  color: #94a3b8;
}

.floor-plan-toolbar .shape-buttons .shape-btn span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.floor-plan-toolbar .shape-buttons .shape-btn:hover {
  background: rgb(24.5625, 32.75, 40.9375);
  border-color: #3b82f6;
}

.floor-plan-toolbar .shape-buttons .shape-btn:hover svg,
.floor-plan-toolbar .shape-buttons .shape-btn:hover span {
  color: #3b82f6;
}

.floor-plan-toolbar .shape-buttons .shape-btn.active {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}

.floor-plan-toolbar .shape-buttons .shape-btn.active svg,
.floor-plan-toolbar .shape-buttons .shape-btn.active span {
  color: #3b82f6;
}

.floor-plan-toolbar .size-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floor-plan-toolbar .size-controls label {
  color: #94a3b8;
  font-size: 0.875rem;
  white-space: nowrap;
}

.floor-plan-toolbar .size-controls .form-control {
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  min-width: 120px;
}

.floor-plan-toolbar .size-controls .form-control:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.floor-plan-toolbar .grid-controls {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.floor-plan-toolbar .grid-controls .toggle-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #94a3b8;
}

.floor-plan-toolbar .grid-controls .toggle-label input[type=checkbox] {
  display: none;
}

.floor-plan-toolbar .grid-controls .toggle-label .toggle-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 10px;
  transition: all 0.3s;
}

.floor-plan-toolbar .grid-controls .toggle-label .toggle-slider::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  background: #94a3b8;
  border-radius: 50%;
  transition: all 0.3s;
}

.floor-plan-toolbar .grid-controls .toggle-label input:checked + .toggle-slider {
  background: rgba(59, 130, 246, 0.2);
  border-color: #3b82f6;
}

.floor-plan-toolbar .grid-controls .toggle-label input:checked + .toggle-slider::after {
  transform: translateX(20px);
  background: #3b82f6;
}

.designer-wrapper {
  flex: 1;
  display: flex;
  gap: 1.25rem;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1023px) {
  .designer-wrapper {
    flex-direction: column;
  }
}
.info-panel {
  position: relative;
  width: 280px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow: visible;
  scrollbar-width: thin;
  scrollbar-color: #334155 rgba(0, 0, 0, 0);
  transition: width 0.3s ease, padding 0.3s ease, min-width 0.3s ease;
  flex-shrink: 0;
  touch-action: pan-y;
  -webkit-overflow-scrolling: touch;
}
.info-panel.info-panel--collapsed {
  width: 48px;
  min-width: 48px;
  padding: 0.5rem;
}
.info-panel.info-panel--collapsed .info-panel__content {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.info-panel.info-panel--collapsed .info-panel__toggle i {
  transform: rotate(180deg);
}
.info-panel__toggle {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #475569;
  border: 1px solid #64748b;
  border-radius: 0.375rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}
.info-panel__toggle:hover {
  background: #64748b;
  color: #ffffff;
}
.info-panel__toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.info-panel__toggle i {
  font-size: 0.875rem;
  transition: transform 0.3s ease;
}
.info-panel__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  overflow-y: auto;
  flex: 1;
  padding-top: 2rem;
  scrollbar-width: thin;
  scrollbar-color: #334155 rgba(0, 0, 0, 0);
}
.info-panel__content::-webkit-scrollbar {
  width: 6px;
}
.info-panel__content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}
.info-panel__content::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

@media (max-width: 1023px) {
  .info-panel__toggle i {
    transform: rotate(90deg);
  }
  .info-panel.info-panel--collapsed {
    width: 100%;
    height: 48px;
    max-height: 48px;
    padding: 0.5rem 1rem;
  }
  .info-panel.info-panel--collapsed .info-panel__toggle i {
    transform: rotate(-90deg);
  }
}
.info-panel::-webkit-scrollbar {
  width: 6px;
}

.info-panel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.info-panel::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

@media (max-width: 1023px) {
  .info-panel {
    width: 100%;
    max-height: 300px;
  }
}
.info-panel h3 {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #334155;
}

.info-panel .stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.info-panel .stats-grid .stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-panel .stats-grid .stat-item .stat-label {
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-panel .stats-grid .stat-item .stat-value {
  color: #e2e8f0;
  font-size: 1.5rem;
  font-weight: 700;
}

.info-panel .stats-grid .stat-item .stat-value.available {
  color: #10b981;
}

.info-panel .stats-grid .stat-item .stat-value.occupied {
  color: #f59e0b;
}

.group-stats-section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #334155;
}

.group-stats-title {
  color: #e2e8f0 !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.75rem 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}
.group-stats-title i {
  color: #F49609 !important;
  font-size: 1.125rem !important;
}

.fp-legacy-areas-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 0.5rem;
  color: #f1f5f9;
}
@media (prefers-contrast: more) {
  .fp-legacy-areas-banner {
    border-width: 2px;
    border-color: #f59e0b;
  }
}
.fp-legacy-areas-banner__icon {
  flex-shrink: 0;
  color: #f59e0b;
  font-size: 1.05rem;
  line-height: 1.2;
  padding-top: 1px;
}
.fp-legacy-areas-banner__body {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.35;
}
.fp-legacy-areas-banner__title {
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 2px;
}
.fp-legacy-areas-banner__list {
  font-size: 0.78rem;
  color: #cbd5e1;
  word-break: break-word;
}
.fp-legacy-areas-banner__action {
  flex-shrink: 0;
  align-self: center;
  min-height: 36px;
  padding: 0.5rem 0.75rem;
  background: #f59e0b;
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease-out, transform 100ms ease-out;
  white-space: nowrap;
}
.fp-legacy-areas-banner__action:hover {
  background: #D97706;
}
.fp-legacy-areas-banner__action:active {
  transform: translateY(1px);
}
.fp-legacy-areas-banner__action:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .fp-legacy-areas-banner__action {
    transition: none;
  }
  .fp-legacy-areas-banner__action:active {
    transform: none;
  }
}

.fp-areas-section {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #334155;
}
.fp-areas-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.fp-areas-section__title {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fp-areas-section__title i {
  color: #F49609;
  font-size: 1.125rem;
}
.fp-areas-section__add-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 36px;
  border: 1px dashed #475569;
  border-radius: 0.5rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 0.875rem;
}
.fp-areas-section__add-btn:hover {
  border-color: #F49609;
  color: #F49609;
  background: rgba(244, 150, 9, 0.08);
}
@media (pointer: coarse) {
  .fp-areas-section__add-btn {
    min-width: 44px;
    min-height: 44px;
  }
}
.fp-areas-section__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 240px;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.fp-areas-section__empty {
  text-align: center;
  color: #64748b;
  font-size: 0.8125rem;
  padding: 0.75rem 0;
}
.fp-areas-section__empty p {
  margin: 0;
}

.fp-area-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.fp-area-card:hover {
  border-color: rgba(244, 150, 9, 0.3);
  background: rgba(255, 255, 255, 0.06);
}
.fp-area-card--active {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.08);
}
.fp-area-card--table-hover {
  border-color: rgba(244, 150, 9, 0.6);
  background: rgba(244, 150, 9, 0.12);
  box-shadow: 0 0 0 1px rgba(244, 150, 9, 0.2);
}
.fp-area-card--empty {
  flex-wrap: wrap;
  border-style: dashed;
  border-color: rgba(100, 116, 139, 0.5);
}
.fp-area-card__hint {
  flex-basis: 100%;
  padding: 0 0.75rem 0.5rem calc(0.75rem + 10px + 0.5rem);
  font-size: 0.7rem;
  line-height: 1.3;
  color: #64748b;
  font-style: italic;
}
.fp-area-card__hint::before {
  content: "↳ ";
  font-style: normal;
  color: #475569;
}
.fp-area-card__main {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  cursor: pointer;
  min-height: 40px;
  color: #e2e8f0;
  font-size: 0.8125rem;
  text-align: left;
  font-family: inherit;
}
@media (pointer: coarse) {
  .fp-area-card__main {
    min-height: 44px;
  }
}
.fp-area-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.fp-area-card__name {
  flex: 1;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fp-area-card__count {
  color: #94a3b8;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 0.5rem;
  border-radius: 9999px;
  min-width: 20px;
  text-align: center;
}
.fp-area-card__actions {
  display: flex;
  gap: 2px;
  padding-right: 4px;
  opacity: 0;
  transition: opacity 0.15s ease;
}
@media (hover: none) {
  .fp-area-card__actions {
    opacity: 1;
  }
}
.fp-area-card:hover .fp-area-card__actions {
  opacity: 1;
}
.fp-area-card__edit-btn, .fp-area-card__delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  min-height: 28px;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.75rem;
  transition: all 0.15s ease;
}
.fp-area-card__edit-btn:hover, .fp-area-card__delete-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
@media (pointer: coarse) {
  .fp-area-card__edit-btn, .fp-area-card__delete-btn {
    min-width: 44px;
    min-height: 44px;
  }
}
.fp-area-card__delete-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.table-element.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent);
}
.table-element.table--has-area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--area-color, transparent);
  opacity: 0.08;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.table-element.table--area-dimmed {
  opacity: 0.3;
  filter: grayscale(0.5);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.table-element.table--area-highlighted {
  opacity: 1;
  filter: none;
  box-shadow: inset 0 0 0 3px var(--area-color, #F49609), 0 0 12px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.area-connectors-svg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: visible;
}

.table-element.table--area-drag-preview {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent), 0 0 16px rgba(0, 0, 0, 0.15);
}
.table-element.table--area-drag-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--area-color, transparent);
  opacity: 0.15;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  animation: areaDragPreviewPulse 1s ease-in-out infinite;
}

.table-element.table--area-detach-ready {
  animation: areaDetachReadyPulse 0.3s ease-out;
}

.table-element.table--area-detaching {
  box-shadow: inset 0 0 0 3px #ef4444, 0 0 12px rgba(239, 68, 68, 0.3);
}
.table-element.table--area-detaching::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #ef4444;
  opacity: 0.1;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
}

.area-drag-preview-label {
  position: absolute;
  transform: translate(-50%, -50%);
  background: var(--preview-color, #334155);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.625rem;
  border-radius: 0.375rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.02em;
}
.area-drag-preview-label--detach {
  background: #ef4444;
}

@keyframes areaDragPreviewPulse {
  0%, 100% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.25;
  }
}
@keyframes areaDetachReadyPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}
.fp-area-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10010;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: contextMenuFadeIn 0.15s ease-out;
}

.fp-area-modal {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  width: 90%;
  max-width: 400px;
  animation: contextMenuFadeIn 0.15s ease-out;
}
.fp-area-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fp-area-modal__header h3 {
  margin: 0;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
}
.fp-area-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.875rem;
}
.fp-area-modal__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.fp-area-modal__body {
  padding: 1rem;
}
.fp-area-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.fp-area-modal__footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s;
  min-height: 44px;
}
.fp-area-modal__footer .btn-secondary {
  background: #334155;
  border: 1px solid #475569;
  color: #cbd5e1;
}
.fp-area-modal__footer .btn-secondary:hover {
  background: #475569;
}
.fp-area-modal__footer .btn-primary {
  background: #F49609;
  border: 1px solid #F49609;
  color: #ffffff;
}
.fp-area-modal__footer .btn-primary:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.fp-area-modal__footer .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.fp-area-form-group {
  margin-bottom: 1rem;
}
.fp-area-form-group:last-child {
  margin-bottom: 0;
}
.fp-area-form-group label {
  display: block;
  color: #cbd5e1;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.fp-area-form-input, .fp-area-form-select {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  color: #e2e8f0;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.15s ease;
}
.fp-area-form-input:focus, .fp-area-form-select:focus {
  outline: none;
  border-color: #F49609;
}

.fp-area-form-select {
  appearance: auto;
  cursor: pointer;
}

.fp-area-color-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.fp-area-color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.fp-area-color-btn:hover {
  transform: scale(1.15);
}
.fp-area-color-btn--selected {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px #F49609;
}
@media (pointer: coarse) {
  .fp-area-color-btn {
    width: 44px;
    height: 44px;
  }
}

.fp-area-color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.fp-area-color-row + .fp-area-color-row {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fp-area-color-row--palette {
  gap: 0.375rem;
}

.fp-area-color-hex {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.fp-area-color-hex__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.fp-area-color-hex__input {
  flex: 1 1 auto;
  min-height: 32px;
  padding: 0.25rem 0.5rem;
  background: rgba(255, 255, 255, 0.04);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  font-family: "SF Mono", Monaco, Consolas, monospace;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fp-area-color-hex__input:focus {
  outline: none;
  border-color: #F49609;
  background: rgba(255, 255, 255, 0.06);
}
.fp-area-color-hex__input::placeholder {
  color: #64748b;
  text-transform: none;
  letter-spacing: 0;
}
@media (pointer: coarse) {
  .fp-area-color-hex__input {
    min-height: 44px;
    font-size: 0.95rem;
  }
}
.fp-area-color-hex__swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  transition: background 0.15s ease;
}
@media (pointer: coarse) {
  .fp-area-color-hex__swatch {
    width: 44px;
    height: 44px;
  }
}

.fp-area-form-note {
  color: #94a3b8;
  font-size: 0.8125rem;
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.75rem;
  background: rgba(244, 150, 9, 0.08);
  border-radius: 0.375rem;
  border-left: 3px solid #F49609;
}

.fp-area-panel {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  max-height: 80vh;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  animation: contextMenuFadeIn 0.15s ease-out;
}
.fp-area-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem 0.75rem 0 0;
  cursor: grab;
  user-select: none;
}
.fp-area-panel__header:active {
  cursor: grabbing;
}
.fp-area-panel__header h3 {
  margin: 0;
  color: #f1f5f9;
  font-size: 1rem;
  font-weight: 600;
}
.fp-area-panel__header-actions {
  display: flex;
  gap: 2px;
}
.fp-area-panel__minimize, .fp-area-panel__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 0.375rem;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.875rem;
}
.fp-area-panel__minimize:hover, .fp-area-panel__close:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.fp-area-panel__body {
  padding: 1rem;
  overflow-y: auto;
  flex: 1;
}
.fp-area-panel__footer {
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fp-area-panel__footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s;
  min-height: 44px;
}
.fp-area-panel__footer .btn-secondary {
  background: #334155;
  border: 1px solid #475569;
  color: #cbd5e1;
}
.fp-area-panel__footer .btn-secondary:hover {
  background: #475569;
}
.fp-area-panel__footer .btn-primary {
  background: #F49609;
  border: 1px solid #F49609;
  color: #ffffff;
}
.fp-area-panel__footer .btn-primary:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.fp-area-panel__footer .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.fp-area-panel--minimized {
  max-height: none;
}
.fp-area-panel--minimized .fp-area-panel__header {
  border-bottom: none;
  border-radius: 0.75rem;
}
.fp-area-panel--minimized .fp-area-panel__body,
.fp-area-panel--minimized .fp-area-panel__footer {
  display: none;
}
.fp-area-panel--dragging {
  cursor: grabbing;
  user-select: none;
  transition: none !important;
}
@media (max-width: 400px) {
  .fp-area-panel {
    width: calc(100vw - 2rem);
    left: 1rem;
    transform: translateY(-50%);
  }
}

.info-panel .selected-table-info .form-group {
  margin-bottom: 0.75rem;
}

.info-panel .selected-table-info .form-group label {
  display: block;
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.info-panel .selected-table-info .form-group .form-control {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  color: #e2e8f0;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
}

.info-panel .selected-table-info .form-group .form-control:focus {
  border-color: #3b82f6;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.info-panel .selected-table-info .form-group textarea.form-control {
  resize: vertical;
  min-height: 60px;
  font-family: inherit;
}

.info-panel .selected-table-info .form-actions {
  display: flex;
  gap: 0.5rem;
}

.info-panel .selected-table-info .form-actions .btn {
  flex: 1;
}

.info-panel .template-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.info-panel .template-list .template-btn {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.info-panel .template-list .template-btn i {
  font-size: 1.25rem;
}

.info-panel .template-list .template-btn:hover {
  background: rgb(24.5625, 32.75, 40.9375);
  border-color: #3b82f6;
  color: #3b82f6;
}

.canvas-container {
  flex: 1;
  position: relative;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.zoom-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  touch-action: manipulation;
}
@media (min-width: 1024px) {
  .zoom-controls {
    display: flex;
  }
}
@media (max-width: 1399px) {
  .zoom-controls {
    touch-action: none;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
  }
  .zoom-controls.is-dragging {
    cursor: grabbing;
    transition: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  }
}

.zoom-controls .zoom-btn {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #94a3b8;
}
@media (max-width: 1399px) {
  .zoom-controls .zoom-btn {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }
}

.zoom-controls .zoom-btn:hover {
  background: rgb(24.5625, 32.75, 40.9375);
  border-color: #3b82f6;
  color: #3b82f6;
}

.zoom-controls .zoom-level {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  min-width: 50px;
  text-align: center;
}

.zoom-controls__settings {
  position: relative;
}

.settings-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 220px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 150ms;
  touch-action: auto !important;
}
.settings-popover.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.settings-popover__header {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #334155;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.settings-popover__content {
  padding: 0.75rem 1rem;
}
.settings-popover__row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.settings-popover__row label {
  font-size: 0.875rem;
  color: #e2e8f0;
}
.settings-popover__slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.settings-popover__value {
  font-size: 0.75rem;
  color: #94a3b8;
  min-width: 36px;
  text-align: right;
}

.settings-slider {
  flex: 1;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: #334155;
  border-radius: 2px;
  cursor: pointer;
  touch-action: auto !important;
}
.settings-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: #F49609;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 150ms ease-out;
}
.settings-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.settings-slider::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: #F49609;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}
.settings-slider:focus-visible {
  outline: none;
}
.settings-slider:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}

.floor-plan-canvas {
  flex: 1;
  position: relative;
  background: #0f172a;
  overflow: hidden;
  cursor: default;
  user-select: none;
}

.floor-plan-canvas.panning {
  cursor: grabbing;
}

.floor-plan-canvas.spacebar-pan {
  cursor: grab;
}

.floor-plan-canvas.spacebar-pan.panning {
  cursor: grabbing;
}

.floor-plan-canvas .grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.floor-plan-canvas .grid-overlay.hidden {
  display: none;
}

.floor-plan-canvas .tables-container {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 5000px;
  min-height: 5000px;
}

.floor-plan-footer {
  background: #1e293b;
  border-top: 1px solid #334155;
  padding: 0.75rem 1.5rem;
}

.floor-plan-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 767px) {
  .floor-plan-footer .footer-content {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}
.floor-plan-footer .footer-tips {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.floor-plan-footer .footer-tips .tip {
  color: #94a3b8;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.floor-plan-footer .footer-tips .tip i {
  color: #3b82f6;
}

.floor-plan-footer .footer-status {
  color: #94a3b8;
  font-size: 0.875rem;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid rgba(0, 0, 0, 0);
  text-decoration: none;
  white-space: nowrap;
}

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

.btn i {
  font-size: 0.875rem;
}

@media (max-width: 639px) {
  .floor-plan-toolbar {
    padding: 0.75rem;
  }
  .floor-plan-toolbar .shape-buttons {
    width: 100%;
    justify-content: space-around;
  }
  .info-panel {
    padding: 1rem;
  }
  .floor-plan-header {
    padding: 1rem;
  }
  .floor-plan-container {
    padding: 0.75rem;
  }
}
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0.5rem;
  z-index: 1070;
  transition: top 0.2s;
  white-space: nowrap;
}

.skip-to-content:focus {
  top: 1rem;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.skip-to-content:hover {
  background: #2563eb;
  text-decoration: underline;
}

.focus-visible:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 0.375rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-hidden:focus {
  position: static;
  width: auto;
  height: auto;
  padding: inherit;
  margin: inherit;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media (prefers-contrast: high) {
  .skip-to-content {
    border: 2px solid #ffffff;
  }
  .skip-to-content:focus {
    outline-width: 3px;
  }
}
[data-theme=dark] .skip-to-content {
  background: #3b82f6;
  color: #0f172a;
}

[data-theme=dark] .skip-to-content:focus {
  outline-color: #3b82f6;
}

.tf-modal,
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  width: 100%;
  height: 100%;
  overflow: hidden;
  outline: none;
}

.tf-modal.hidden,
.modal.hidden {
  display: none;
}

.tf-modal.fade-in .modal-backdrop,
.modal.fade-in .modal-backdrop {
  animation: fadeInBackdrop 300ms ease-out forwards;
}

.tf-modal.fade-in .modal-dialog,
.modal.fade-in .modal-dialog {
  animation: fadeInModal 300ms ease-out forwards;
}

.tf-modal.fade-out .modal-backdrop,
.modal.fade-out .modal-backdrop {
  animation: fadeOutBackdrop 300ms ease-in forwards;
}

.tf-modal.fade-out .modal-dialog,
.modal.fade-out .modal-dialog {
  animation: fadeOutModal 300ms ease-in forwards;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1rem;
  pointer-events: none;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: calc(100vh - 2rem);
}

@media (min-width: 640px) {
  .modal-dialog {
    margin: 2rem auto;
    max-width: 500px;
  }
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  pointer-events: auto;
  background-clip: padding-box;
  outline: none;
  max-height: calc(100vh - 2rem);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  border-top-left-radius: calc(0.75rem - 1px);
  border-top-right-radius: calc(0.75rem - 1px);
}

.modal-header .modal-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1e293b;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
  border-top: 1px solid #e2e8f0;
  border-bottom-right-radius: calc(0.75rem - 1px);
  border-bottom-left-radius: calc(0.75rem - 1px);
}

.modal-footer > * {
  margin-left: 0.5rem;
}

.modal-footer > *:first-child {
  margin-left: 0;
}

@media (max-width: 639px) {
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }
  .modal-footer > * {
    margin: 0.25rem 0;
  }
  .modal-footer > *:first-child {
    margin-top: 0;
  }
  .modal-footer > *:last-child {
    margin-bottom: 0;
  }
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  padding: 0.5rem;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all all 150ms ease-in-out;
}

.modal-close:hover {
  color: #1e293b;
  background-color: #f1f5f9;
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1), 0 0 0 5px rgba(59, 130, 246, 0.2);
}

.modal-close::before {
  content: "×";
}

@media (min-width: 640px) {
  .modal-sm .modal-dialog {
    max-width: 300px;
  }
}
@media (min-width: 1024px) {
  .modal-lg .modal-dialog {
    max-width: 800px;
  }
}
@media (min-width: 1280px) {
  .modal-xl .modal-dialog {
    max-width: 1140px;
  }
}
.modal-fullscreen .modal-dialog {
  width: 100vw;
  max-width: none;
  height: 100vh;
  margin: 0;
}

.modal-fullscreen .modal-dialog .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

@media (max-width: 639px) {
  .modal-fullscreen-sm-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-sm-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 767px) {
  .modal-fullscreen-md-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-md-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1023px) {
  .modal-fullscreen-lg-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-lg-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1279px) {
  .modal-fullscreen-xl-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-xl-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
@media (max-width: 1535px) {
  .modal-fullscreen-2xl-down .modal-dialog {
    width: 100vw;
    max-width: none;
    height: 100vh;
    margin: 0;
  }
  .modal-fullscreen-2xl-down .modal-dialog .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
  }
}
.modal-centered .modal-dialog {
  align-items: center;
  min-height: calc(100vh - 2rem);
}

.modal-scrollable .modal-dialog {
  height: calc(100vh - 2rem);
}

.modal-scrollable .modal-content {
  max-height: 100%;
  overflow: hidden;
}

.modal-scrollable .modal-body {
  overflow-y: auto;
}

@keyframes fadeInBackdrop {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOutBackdrop {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes fadeInModal {
  from {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes fadeOutModal {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -50px, 0);
  }
}
@keyframes slideInFromTop {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes slideOutToTop {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }
}
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
  }
  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes scaleOut {
  from {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
  to {
    opacity: 0;
    transform: scale3d(0.8, 0.8, 1);
  }
}
.modal.slide.fade-in .modal-dialog {
  animation: slideInFromTop 300ms ease-out forwards;
}

.modal.slide.fade-out .modal-dialog {
  animation: slideOutToTop 300ms ease-in forwards;
}

.modal.scale.fade-in .modal-dialog {
  animation: scaleIn 300ms ease-out forwards;
}

.modal.scale.fade-out .modal-dialog {
  animation: scaleOut 300ms ease-in forwards;
}

.modal.modal-dark .modal-content {
  background-color: #1e293b;
  border-color: #334155;
  color: #ffffff;
}

.modal.modal-dark .modal-header {
  border-bottom-color: #334155;
}

.modal.modal-dark .modal-footer {
  border-top-color: #334155;
}

.modal.modal-dark .modal-close {
  color: #94a3b8;
}

.modal.modal-dark .modal-close:hover {
  color: #ffffff;
  background-color: #334155;
}

@media (prefers-contrast: high) {
  .modal-content {
    border-width: 2px;
  }
  .modal-backdrop {
    background-color: rgba(0, 0, 0, 0.8);
  }
}
@media (prefers-reduced-motion: reduce) {
  .modal.fade-in .modal-backdrop,
  .modal.fade-in .modal-dialog,
  .modal.fade-out .modal-backdrop,
  .modal.fade-out .modal-dialog {
    animation: none;
  }
  .modal-close {
    transition: none;
  }
}
@media print {
  .modal {
    position: static !important;
    z-index: auto !important;
  }
  .modal .modal-backdrop {
    display: none !important;
  }
  .modal .modal-dialog {
    position: static;
    width: auto;
    margin: 0;
    min-height: auto;
  }
  .modal .modal-content {
    border: 1px solid #000000;
    box-shadow: none;
  }
  .modal .modal-close {
    display: none !important;
  }
}
.modal:focus {
  outline: none;
}

body[data-modal-open] {
  overflow: hidden;
}

.modal:nth-of-type(1) {
  z-index: 1050;
}

.modal:nth-of-type(2) {
  z-index: 1051;
}

.modal:nth-of-type(3) {
  z-index: 1052;
}

.modal:nth-of-type(4) {
  z-index: 1053;
}

.modal:nth-of-type(5) {
  z-index: 1054;
}

.dashboard-container {
  min-height: 100vh;
  background: var(--color-background);
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 1200px;
  margin: var(--spacing-xl) auto 0;
  padding-top: var(--spacing-lg);
}

.dashboard-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.dashboard-header .header-content {
  padding: var(--spacing-xl) var(--spacing-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

@media (max-width: 768px) {
  .dashboard-header .header-content {
    flex-direction: column;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
  }
}
.dashboard-header .header-content h1 {
  margin: 0;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  letter-spacing: -0.025em;
}

.dashboard-header .header-content .header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .dashboard-header .header-content .header-actions {
    flex-direction: column;
    width: 100%;
  }
}
.dashboard-header .header-content .header-actions .refresh-btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  background: var(--color-white);
  border: 1px solid var(--color-primary);
  border-radius: var(--border-radius-md);
  color: var(--color-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.dashboard-header .header-content .header-actions .refresh-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-1px);
}

.dashboard-header .header-content .restaurant-selector select {
  min-width: 200px;
}

@media (max-width: 768px) {
  .dashboard-header .header-content .restaurant-selector select {
    width: 100%;
  }
}
.dashboard-nav {
  background: var(--color-white);
  padding: var(--spacing-xl) 0;
}

.dashboard-nav .nav-items {
  display: flex;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  justify-content: center;
  gap: var(--spacing-md);
}

@media (max-width: 768px) {
  .dashboard-nav .nav-items {
    padding: 0 var(--spacing-md);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    gap: var(--spacing-sm);
  }
}
.dashboard-nav .nav-item {
  padding: var(--spacing-sm) var(--spacing-lg);
  color: var(--color-text-secondary);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  white-space: nowrap;
  position: relative;
  background: rgba(0, 0, 0, 0);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  min-width: 120px;
}

.dashboard-nav .nav-item:hover {
  color: var(--color-primary);
  background: var(--color-primary-50);
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.dashboard-nav .nav-item.active {
  color: var(--color-white);
  background: var(--color-primary);
  border-color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
}

.dashboard-nav .nav-item.active:hover {
  background: var(--color-primary);
  transform: none;
}

.dashboard-nav .nav-item .nav-icon {
  font-size: var(--font-size-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-nav .nav-item .nav-label {
  font-size: var(--font-size-sm);
}

@media (max-width: 480px) {
  .dashboard-nav .nav-item .nav-label {
    display: none;
  }
}
.dashboard-main {
  flex: 1;
  padding: var(--spacing-2xl) var(--spacing-xl);
  width: 100%;
}

@media (max-width: 768px) {
  .dashboard-main {
    padding: var(--spacing-xl) var(--spacing-md);
  }
}
.dashboard-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.dashboard-loading .loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--color-border-light);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-md);
}

.dashboard-loading p {
  color: var(--color-text-secondary);
  font-size: var(--font-size-lg);
}

.dashboard-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.dashboard-error .error-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
}

.dashboard-error h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-error);
}

.dashboard-error p {
  color: var(--color-text-secondary);
  margin-bottom: var(--spacing-lg);
  max-width: 400px;
}

.overview-content .restaurant-info {
  margin-bottom: var(--spacing-2xl);
  padding: var(--spacing-xl);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
}

.overview-content .restaurant-info h2 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

.overview-content .restaurant-info .restaurant-address {
  color: var(--color-text-secondary);
  margin: 0;
  font-size: var(--font-size-lg);
}

.overview-content .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .overview-content .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
  }
}
.overview-content .quick-actions h3 {
  margin-bottom: var(--spacing-lg);
  color: var(--color-text);
}

.overview-content .quick-actions .action-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
}

.overview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  text-align: center;
}

.overview-empty .empty-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.7;
}

.overview-empty h3 {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

.overview-empty p {
  color: var(--color-text-secondary);
  max-width: 400px;
}

.stat-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  position: relative;
}

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

.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.2;
}

.stat-card .stat-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-md);
}

.stat-card .stat-trend {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
}

.stat-card .stat-trend.positive {
  color: var(--color-success);
}

.stat-card .stat-trend.negative {
  color: var(--color-error);
}

.stat-card .stat-trend.neutral {
  color: var(--color-text-secondary);
}

.action-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  color: inherit;
}

.action-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.action-card .action-icon {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-sm);
}

.action-card .action-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.restaurants-content .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .restaurants-content .content-header {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
  }
}
.restaurants-content .content-header h2 {
  margin: 0;
  color: var(--color-text);
}

.restaurants-content .restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

@media (max-width: 768px) {
  .restaurants-content .restaurants-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }
}
.restaurant-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.restaurant-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.restaurant-card .restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.restaurant-card .restaurant-header h3 {
  margin: 0;
  color: var(--color-text);
  flex: 1;
}

.restaurant-card .restaurant-header .restaurant-status {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--border-radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.restaurant-card .restaurant-header .restaurant-status.active {
  background: var(--color-success-100);
  color: var(--color-success-700);
}

.restaurant-card .restaurant-header .restaurant-status.inactive {
  background: var(--color-gray-100);
  color: var(--color-gray-700);
}

.restaurant-card .restaurant-info {
  margin-bottom: var(--spacing-lg);
}

.restaurant-card .restaurant-info p {
  margin: var(--spacing-xs) 0;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.restaurant-card .restaurant-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.restaurant-card .restaurant-actions .btn {
  flex: 1;
  justify-content: center;
}

.reservations-placeholder,
.tables-placeholder,
.analytics-placeholder {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-xl);
  text-align: center;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reservations-placeholder p,
.tables-placeholder p,
.analytics-placeholder p {
  color: var(--color-text-secondary);
  margin: var(--spacing-sm) 0;
  font-size: var(--font-size-lg);
}

.reservations-placeholder p:first-child,
.tables-placeholder p:first-child,
.analytics-placeholder p:first-child {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.analytics-content .content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 768px) {
  .analytics-content .content-header {
    flex-direction: column;
    gap: var(--spacing-md);
    align-items: stretch;
  }
}
.analytics-content .content-header h2 {
  margin: 0;
}

.analytics-content .content-header .date-range-picker {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

@media (max-width: 480px) {
  .analytics-content .content-header .date-range-picker {
    flex-direction: column;
    width: 100%;
  }
  .analytics-content .content-header .date-range-picker span {
    display: none;
  }
}
.analytics-content .content-header .date-range-picker input {
  min-width: 150px;
}

@media (max-width: 480px) {
  .analytics-content .content-header .date-range-picker input {
    width: 100%;
  }
}
.analytics-content .content-header .date-range-picker span {
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.loading-stats {
  grid-column: 1/-1;
  text-align: center;
  padding: var(--spacing-xl);
  color: var(--color-text-secondary);
  font-style: italic;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .dashboard-main {
    padding: var(--spacing-sm);
  }
  .action-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .restaurants-grid {
    grid-template-columns: 1fr;
  }
}
.floor-plan-designer {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 120px);
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.floor-plan-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .floor-plan-container {
    flex-direction: column;
  }
}
.floor-plan-canvas {
  flex: 1;
  position: relative;
  background: #0f172a;
  overflow: hidden;
  min-height: 500px;
}

.floor-plan-canvas .canvas-grid {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 5000px;
  min-height: 5000px;
  background-image: none;
  pointer-events: none;
}

.floor-plan-canvas .canvas-content {
  position: relative;
  min-width: 5000px;
  min-height: 5000px;
  will-change: transform;
  transform-origin: top left;
}

.floor-table {
  position: absolute;
  z-index: 10;
  transition: all 0.2s ease;
  user-select: none;
}

.floor-table:hover {
  z-index: 20;
  transform: scale(1.02);
}

.floor-table.selected {
  z-index: 30;
}

.floor-table.selected .table-shape {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.floor-table.available .table-shape {
  background: var(--color-white);
  border: 2px solid var(--color-success);
}

.floor-table.occupied .table-shape {
  background: #fee2e2;
  border: 2px solid var(--color-error);
}

.floor-table.reserved .table-shape {
  background: #fef3c7;
  border: 2px solid #f59e0b;
}

.floor-table.maintenance .table-shape {
  background: #f3f4f6;
  border: 2px solid var(--color-text-secondary);
}

.table-shape {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background: var(--color-white);
  border: 2px solid var(--color-border-light);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  min-width: 80px;
  min-height: 80px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.table-shape.round {
  border-radius: 50%;
  width: 80px;
  height: 80px;
}

.table-shape.square {
  border-radius: var(--border-radius-sm);
  width: 80px;
  height: 80px;
}

.table-shape.rectangle {
  border-radius: var(--border-radius-sm);
  width: 120px;
  height: 80px;
}

.table-shape .table-number {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin-bottom: var(--spacing-xs);
}

.table-shape .table-capacity {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  text-align: center;
}

.table-controls {
  position: absolute;
  top: -10px;
  right: -10px;
  display: flex;
  gap: var(--spacing-xs);
}

.table-controls .table-control-btn {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-error);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  transition: all 0.2s ease;
}

.table-controls .table-control-btn:hover {
  transform: scale(1.1);
  background: #dc2626;
}

.table-status-indicator {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.table-status-indicator.occupied {
  background: var(--color-error);
}

.table-status-indicator.reserved {
  background: #f59e0b;
}

.floor-section {
  position: absolute;
  background: rgba(59, 130, 246, 0.1);
  border: 2px dashed var(--color-primary);
  border-radius: var(--border-radius-md);
  z-index: 5;
}

.floor-section .section-header {
  padding: var(--spacing-sm);
  background: rgba(59, 130, 246, 0.2);
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
}

.floor-section .section-header .section-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
}

.floor-plan-properties {
  width: 300px;
  background: var(--color-white);
  border-left: 1px solid var(--color-border-light);
  padding: var(--spacing-xl);
  overflow-y: auto;
}

@media (max-width: 1024px) {
  .floor-plan-properties {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--color-border-light);
    max-height: 300px;
  }
}
.floor-plan-properties h3 {
  margin: 0 0 var(--spacing-lg) 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.floor-plan-properties .property-group {
  margin-bottom: var(--spacing-lg);
}

.floor-plan-properties .property-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
}

.floor-plan-properties .property-group .form-control {
  width: 100%;
}

.floor-plan-properties .property-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.floor-plan-properties .property-actions .btn {
  flex: 1;
  justify-content: center;
}

.floor-plan-status {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  background: #f8fafc;
  border-top: 1px solid var(--color-border-light);
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .floor-plan-status {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-sm);
  }
}
.floor-plan-status .edit-indicator {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium);
  margin-left: auto;
}

@media (max-width: 768px) {
  .floor-plan-status .edit-indicator {
    margin-left: 0;
  }
}
.floor-table.dragging {
  opacity: 0.8;
  transform: scale(1.05);
  z-index: 100;
}

.canvas-content.drag-active {
  cursor: grabbing;
}

.floor-plan-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: var(--color-text-secondary);
}

.floor-plan-loading .loading-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--color-border-light);
  border-top: 3px solid var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: var(--spacing-md);
}

.btn-error {
  color: var(--color-white);
  background: var(--color-error);
  border-color: var(--color-error);
}

.btn-error:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .floor-plan-designer {
    height: calc(100vh - 160px);
  }
  .table-shape {
    min-width: 60px;
    min-height: 60px;
  }
  .table-shape.round {
    width: 60px;
    height: 60px;
  }
  .table-shape.square {
    width: 60px;
    height: 60px;
  }
  .table-shape.rectangle {
    width: 90px;
    height: 60px;
  }
  .table-shape .table-number {
    font-size: var(--font-size-md);
  }
  .table-shape .table-capacity {
    font-size: 10px;
  }
}
@media (max-width: 480px) {
  .floor-plan-canvas {
    min-height: 300px;
  }
  .toolbar-right {
    gap: var(--spacing-xs);
  }
  .toolbar-right .btn {
    font-size: var(--font-size-xs);
    padding: var(--spacing-xs) var(--spacing-sm);
  }
}
@media print {
  .floor-plan-toolbar,
  .floor-plan-properties,
  .floor-plan-status {
    display: none !important;
  }
  .floor-plan-canvas {
    background: #ffffff !important;
  }
  .floor-plan-canvas .canvas-grid {
    display: none !important;
  }
  .table-controls {
    display: none !important;
  }
}
.reservation-controls {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 24px;
  align-items: center;
}

@media (max-width: 968px) {
  .reservation-controls {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .reservation-controls {
    padding: 16px;
    gap: 12px;
  }
}
.date-navigation {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: start;
}

.date-navigation__display {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.date-navigation__text {
  font-size: 15px;
  font-weight: 600;
  color: #111827;
}

.date-navigation__btn {
  flex-shrink: 0;
}

.date-navigation__btn--today {
  margin-left: 8px;
}

@media (max-width: 968px) {
  .date-navigation {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .date-navigation {
    flex-wrap: wrap;
  }
  .date-navigation__display {
    min-width: 150px;
    flex: 1;
  }
  .date-navigation__text {
    font-size: 14px;
  }
}
.reservation-search-section {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  justify-self: center;
}

@media (max-width: 968px) {
  .reservation-search-section {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
  }
}
.search-box {
  position: relative;
  width: 400px;
  max-width: 100%;
}

.search-box__input {
  width: 100%;
  padding: 10px 40px 10px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
  background: #ffffff;
  transition: all 0.2s ease;
}

.search-box__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box__input::placeholder {
  color: #9ca3af;
}

.search-box__icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6b7280;
  font-size: 14px;
  pointer-events: none;
}

@media (max-width: 640px) {
  .search-box {
    width: 100%;
  }
}
.view-toggle {
  grid-column: 2;
  grid-row: 2;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  justify-self: center;
  background: #f9fafb;
  padding: 3px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.view-toggle__btn {
  padding: 6px 12px;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.view-toggle__btn i {
  font-size: 12px;
}

.view-toggle__btn:hover {
  color: #374151;
}

.view-toggle__btn--active {
  background: #ffffff;
  color: #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

@media (max-width: 968px) {
  .view-toggle {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .view-toggle {
    width: 100%;
  }
  .view-toggle__btn {
    flex: 1;
    justify-content: center;
    padding: 8px 4px;
    font-size: 12px;
  }
  .view-toggle__btn i {
    font-size: 11px;
  }
}
.reservation-filters {
  grid-column: 3;
  grid-row: 1/span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  justify-self: center;
  width: 100%;
}

@media (max-width: 968px) {
  .reservation-filters {
    grid-column: 1;
    grid-row: 4;
    justify-self: center;
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 640px) {
  .reservation-filters {
    flex-direction: column;
    gap: 8px;
  }
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 640px) {
  .filter-group {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
}
.filter-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 13px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%239ca3af' d='M5 7L1 3h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: all 0.15s ease;
  min-width: 120px;
}

.filter-select:hover {
  border-color: #9ca3af;
  background-color: #f9fafb;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

@media (max-width: 640px) {
  .filter-select {
    width: 100%;
    min-width: unset;
  }
}
.filter-group .search-box {
  display: none;
}

* {
  box-sizing: border-box;
}

.admin-dashboard {
  background: #0f172a;
}

.admin-content {
  background: #0f172a;
}

.page-header {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.page-header__title {
  color: #cbd5e1;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Playfair Display", serif;
}

.page-header__subtitle {
  color: #cbd5e1;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.page-header__icon {
  color: var(--color-primary-600);
}

.page-header__actions {
  display: flex;
  gap: 1rem;
}

.admin-welcome {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-welcome__greeting {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.admin-welcome__subtitle {
  color: #9ca3af;
  font-size: 1rem;
}

.stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-card__icon--primary {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.stat-card__icon--success {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.stat-card__icon--warning {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.stat-card__icon--danger {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.stat-card__icon--info {
  background: rgba(139, 92, 246, 0.1);
  color: #2D2E88;
}

.stat-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card__value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1;
  margin: 0.5rem 0;
}

.stat-card__change {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.stat-card__change--positive {
  color: #059669;
}

.stat-card__change--negative {
  color: #dc2626;
}

.metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.metric-card__value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0.5rem 0;
  display: block;
}

.metric-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.reservation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .reservation-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.date-navigation__text {
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.date-navigation__text:hover {
  background: hsla(0, 0%, 100%, 0.05);
}

.admin-quick-actions {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-quick-actions__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.ai-insights {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.financial-dashboard {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.75rem;
  min-height: 420px;
}

.live-activity {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}

.upload-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.upload-area {
  border: 2px dashed #334155;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  background: rgba(17, 24, 39, 0.5);
  transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragging {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.upload-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.upload-subtitle {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.menu-history {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}

.menu-history__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .admin-dashboard,
  .admin-sidebar,
  .admin-header,
  .metric-card,
  .admin-quick-actions,
  .ai-insights,
  .live-activity,
  .admin-welcome {
    background: #1e293b;
    border-color: #334155;
  }
  .admin-sidebar__logo-text,
  .admin-header__title,
  .metric-card__value,
  .admin-welcome__greeting {
    color: #f8fafc;
  }
  .admin-sidebar__nav-item,
  .admin-header__breadcrumb,
  .metric-card__label,
  .admin-welcome__subtitle {
    color: #cbd5e1;
  }
}
.admin-dashboard {
  background: #0f172a;
}

.admin-content {
  background: #0f172a;
}

.page-header {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.page-header__title {
  color: #cbd5e1;
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Playfair Display", serif;
}

.page-header__subtitle {
  color: #cbd5e1;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

.page-header__icon {
  color: var(--color-primary-600);
}

.page-header__actions {
  display: flex;
  gap: 1rem;
}

.admin-welcome {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.admin-welcome__greeting {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
}

.admin-welcome__subtitle {
  color: #9ca3af;
  font-size: 1rem;
}

.stat-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.stat-card__icon--primary {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.stat-card__icon--success {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

.stat-card__icon--warning {
  background: rgba(249, 115, 22, 0.1);
  color: #f97316;
}

.stat-card__icon--danger {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
}

.stat-card__icon--info {
  background: rgba(139, 92, 246, 0.1);
  color: #2D2E88;
}

.stat-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card__value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1;
  margin: 0.5rem 0;
}

.stat-card__change {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.stat-card__change--positive {
  color: #059669;
}

.stat-card__change--negative {
  color: #dc2626;
}

.metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.metric-card__value {
  font-size: 1.875rem;
  font-weight: 800;
  color: #f8fafc;
  margin: 0.5rem 0;
  display: block;
}

.metric-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1rem;
}

.reservation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .reservation-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.date-navigation__text {
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.date-navigation__text:hover {
  background: hsla(0, 0%, 100%, 0.05);
}

.admin-quick-actions {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.admin-quick-actions__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.ai-insights {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.financial-dashboard {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.75rem;
  min-height: 420px;
}

.live-activity {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}

.upload-container {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
}

.upload-area {
  border: 2px dashed #334155;
  border-radius: 12px;
  padding: 3rem;
  text-align: center;
  background: rgba(17, 24, 39, 0.5);
  transition: all 0.3s ease;
}

.upload-area:hover,
.upload-area.dragging {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.upload-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}

.upload-subtitle {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.menu-history {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.5rem;
}

.menu-history__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
}

@media (prefers-color-scheme: dark) {
  .admin-dashboard,
  .admin-sidebar,
  .admin-header,
  .metric-card,
  .admin-quick-actions,
  .ai-insights,
  .live-activity,
  .admin-welcome {
    background: #1e293b;
    border-color: #334155;
  }
  .admin-sidebar__logo-text,
  .admin-header__title,
  .metric-card__value,
  .admin-welcome__greeting {
    color: #f8fafc;
  }
  .admin-sidebar__nav-item,
  .admin-header__breadcrumb,
  .metric-card__label,
  .admin-welcome__subtitle {
    color: #cbd5e1;
  }
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #1e293b;
  border-radius: 1rem;
  border: 1px solid #334155;
}

.page-header__content {
  flex: 1;
}

.page-header__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0;
  font-family: "Playfair Display", serif;
}

.page-header__icon {
  color: #3b82f6;
}

.page-header__subtitle {
  color: #cbd5e1;
  margin-top: 0.5rem;
  font-size: 1.125rem;
}

.page-header__actions {
  display: flex;
  gap: 0.75rem;
}

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

.reservation-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
}

@media (max-width: 768px) {
  .reservation-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.date-navigation {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.date-navigation__btn {
  width: 36px;
  height: 36px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease;
}

.date-navigation__btn:hover {
  background: #f8fafc;
  border-color: #3b82f6;
  color: #3b82f6;
}

.date-navigation__btn--today {
  width: auto;
  padding: 0 1rem;
  font-weight: 600;
  color: #3b82f6;
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.date-navigation__display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.date-navigation__input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.date-navigation__text {
  font-weight: 600;
  color: #f8fafc;
  cursor: pointer;
  position: relative;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  transition: background 150ms ease;
}

.date-navigation__text:hover {
  background: hsla(0, 0%, 100%, 0.05);
}

.reservation-search-section {
  flex: 1;
  display: flex;
  justify-content: center;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.search-box__input {
  width: 100%;
  padding: 0.5rem 2.5rem;
  padding-left: 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 1rem;
  transition: border-color 150ms ease;
}

.search-box__input:hover {
  border-color: #cbd5e1;
}

.search-box__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-box__icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.filter-group {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 768px) {
  .filter-group {
    flex-wrap: wrap;
  }
}
.filter-select {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  color: #1e293b;
  font-size: 1rem;
  min-width: 140px;
  cursor: pointer;
  transition: border-color 150ms ease;
}

.filter-select:hover {
  border-color: #cbd5e1;
}

.filter-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.view-toggle {
  display: flex;
  gap: 0.25rem;
  background: #f8fafc;
  padding: 0.25rem;
  border-radius: 0.75rem;
}

.view-toggle__btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  background: rgba(0, 0, 0, 0);
  color: #64748b;
  font-weight: 500;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease;
}

.view-toggle__btn:hover {
  color: #1e293b;
}

.view-toggle__btn--active {
  background: #ffffff;
  color: #3b82f6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.reservation-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  transition: all 150ms ease;
  position: relative;
}

.reservation-card:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateX(4px);
}

.reservation-card__status {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
}

.reservation-card__status--confirmed {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.reservation-card__status--pending {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.reservation-card__status--seated {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.reservation-card__status--completed {
  background: rgba(100, 116, 139, 0.1);
  color: #64748b;
}

.reservation-card__status--cancelled {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.reservation-card__time {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reservation-card__time-value {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b;
}

.reservation-card__time-duration {
  font-size: 0.875rem;
  color: #64748b;
}

.reservation-card__time-timer {
  font-size: 0.75rem;
  color: #3b82f6;
  font-weight: 500;
}

.reservation-card__customer {
  flex: 1;
}

.reservation-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 0.5rem 0;
}

.reservation-card__details {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
}

.reservation-card__details span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reservation-card__details i {
  color: #64748b;
  font-size: 0.75rem;
}

.reservation-card__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.reservation-card__table {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.75rem;
}

.reservation-card__table-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reservation-card__table-number {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}

.reservation-card__notes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: rgba(245, 158, 11, 0.05);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  max-width: 200px;
}

.reservation-card__notes i {
  color: #f59e0b;
  flex-shrink: 0;
}

.reservation-card__notes span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reservation-card__actions {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 1024px) {
  .reservation-card {
    grid-template-columns: auto 1fr auto;
  }
  .reservation-card__time,
  .reservation-card__table,
  .reservation-card__notes {
    grid-column: 1/-1;
  }
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: #f8fafc;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.tag--vip {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #ffffff;
}

.tag--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.tag--info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.calendar {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f3f4f6;
}

.calendar__nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.calendar__nav-button {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calendar__nav-button:hover {
  background: #eff6ff;
  border-color: #3b82f6;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.calendar__title {
  font-size: 24px;
  font-weight: 700;
  color: #111827;
  font-family: "Playfair Display", serif;
  letter-spacing: -0.02em;
}

.calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  background: #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
}

.calendar__day-header {
  background: #f9fafb;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 2px solid #e5e7eb;
}

.calendar__day-header--weekend {
  background: #eff6ff;
  color: #2563eb;
}

.calendar__date {
  position: relative;
  background: #ffffff;
  padding: 12px;
  min-height: 80px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

@media (min-width: 768px) {
  .calendar__date {
    min-height: 100px;
    padding: 16px;
  }
}
.calendar__date:hover {
  background: #f9fafb;
  z-index: 1;
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.calendar__date:hover .calendar__date-number {
  color: #2563eb;
  transform: scale(1.1);
}

.calendar__date--other-month {
  background: #fafafa;
  opacity: 0.4;
}

.calendar__date--other-month .calendar__date-number {
  color: #d1d5db;
}

.calendar__date--other-month:hover {
  opacity: 0.6;
}

.calendar__date--today {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
}

.calendar__date--today::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid #3b82f6;
  pointer-events: none;
}

.calendar__date--today .calendar__date-number {
  color: #1e40af;
  font-weight: 700;
}

.calendar__date--selected {
  background: #3b82f6;
  color: #ffffff;
}

.calendar__date--selected::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 3px solid #1e40af;
  pointer-events: none;
  animation: pulse 2s infinite;
}

.calendar__date--selected .calendar__date-number {
  color: #ffffff;
  font-weight: 700;
}

.calendar__date--selected .calendar__reservation-count {
  background: #ffffff;
  color: #3b82f6;
}

.calendar__date--selected:hover {
  background: #2563eb;
}

.calendar__date[data-weekend=true] {
  background: #fafafa;
}

.calendar__date-number {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  transition: all 0.2s ease;
  line-height: 1;
}

.calendar__reservations {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.calendar__reservation-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  background: #f3f4f6;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.calendar__reservation-count[data-level=low] {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.calendar__reservation-count[data-level=medium] {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.calendar__reservation-count[data-level=high] {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  animation: pulse 2s infinite;
}

.time-slot-btn__indicator {
  position: relative;
}

.time-slot-btn__indicator .count {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  z-index: 2;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}
.draggable-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #0f172a;
  color: #ffffff;
  z-index: 900;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, width;
}

.draggable-sidebar:focus-within {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.draggable-sidebar--open {
  transform: translateX(100%);
}

.draggable-sidebar--floating {
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.draggable-sidebar--floating .draggable-sidebar__nav {
  flex: 1;
  overflow-y: auto;
}

.draggable-sidebar--floating .draggable-sidebar__footer {
  position: relative;
  bottom: auto;
  width: 100%;
  margin-top: auto;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
}

@media (min-width: 769px) {
  .draggable-sidebar--docked-left {
    left: 0;
    width: 280px;
    transform: translateX(0);
    border-radius: 0;
    box-shadow: none;
  }
  .draggable-sidebar--docked-right {
    left: auto !important;
    right: 0 !important;
    width: 280px;
    transform: translateX(0) !important;
    border-radius: 0;
    box-shadow: none;
    position: fixed !important;
  }
  .draggable-sidebar--collapsed {
    width: 80px;
    cursor: pointer;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__nav-label,
  .draggable-sidebar--collapsed .draggable-sidebar__nav-badge {
    display: none;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__logo-text {
    display: none;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__nav-item {
    justify-content: center;
    padding: 0.75rem;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__user-info {
    display: none;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__footer-link span {
    display: none;
  }
  .draggable-sidebar--collapsed .draggable-sidebar__collapse-btn,
  .draggable-sidebar--collapsed .draggable-sidebar__float-btn {
    display: none !important;
  }
}
.draggable-sidebar__handle {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: hsla(0, 0%, 100%, 0.05);
  cursor: move;
  display: none;
  align-items: center;
  justify-content: center;
  user-select: none;
  touch-action: none;
}

.draggable-sidebar__handle::before {
  content: "";
  width: 40px;
  height: 4px;
  background: hsla(0, 0%, 100%, 0.3);
  border-radius: 2px;
  box-shadow: 0 8px 0 hsla(0, 0%, 100%, 0.3), 0 -8px 0 hsla(0, 0%, 100%, 0.3);
}

.draggable-sidebar--floating .draggable-sidebar__handle {
  display: none;
}

.draggable-sidebar__handle:hover {
  background: hsla(0, 0%, 100%, 0.1);
}

.draggable-sidebar__handle:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.draggable-sidebar__resize {
  position: absolute;
  top: 0;
  right: -4px;
  width: 8px;
  height: 100%;
  cursor: ew-resize;
  opacity: 0;
  transition: opacity 0.2s;
}

.draggable-sidebar__resize:hover,
.draggable-sidebar__resize:active {
  opacity: 1;
  background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.3));
}

.draggable-sidebar--collapsed .draggable-sidebar__resize {
  display: none;
}

.draggable-sidebar__header {
  padding: 1rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 64px;
  cursor: grab;
  user-select: none;
}

.draggable-sidebar__header:active {
  cursor: grabbing;
}

.draggable-sidebar__header button {
  cursor: pointer;
}

.draggable-sidebar__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}

.draggable-sidebar__logo:focus-visible {
  outline: none;
}

.draggable-sidebar__logo:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.draggable-sidebar__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.draggable-sidebar__logo-text {
  font-size: 1.25rem;
  font-family: "Playfair Display", serif;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}

.draggable-sidebar__toggle {
  background: rgba(0, 0, 0, 0);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 0.5rem;
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.draggable-sidebar__toggle:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: hsla(0, 0%, 100%, 0.3);
}

.draggable-sidebar__toggle:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

@media (min-width: 928px) {
  .draggable-sidebar__toggle {
    display: none;
  }
}
.draggable-sidebar__nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.draggable-sidebar__nav::-webkit-scrollbar {
  width: 6px;
}

.draggable-sidebar__nav::-webkit-scrollbar-track {
  background: rgba(59, 130, 246, 0.05);
  border-radius: 3px;
}

.draggable-sidebar__nav::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 3px;
}

.draggable-sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: rgb(107.7609756098, 161.0975609756, 248.2390243902);
}

.draggable-sidebar__nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  margin: 0 0.75rem 0.25rem 0.75rem;
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  border-radius: 0.75rem;
  transition: all 0.2s;
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
}

.draggable-sidebar__nav-item:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: #ffffff;
  transform: translateX(4px);
}

.draggable-sidebar__nav-item:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
  color: #ffffff;
}

.draggable-sidebar__nav-item--active {
  background: rgba(59, 130, 246, 0.15);
  color: #ffffff;
}

.draggable-sidebar__nav-item--active::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 24px;
  background: #3b82f6;
  border-radius: 0 2px 2px 0;
}

.draggable-sidebar__nav-icon {
  width: 20px;
  font-size: 1.125rem;
  text-align: center;
  flex-shrink: 0;
}

.draggable-sidebar__nav-label {
  flex: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}

.draggable-sidebar__nav-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 20px;
  text-align: center;
}

.draggable-sidebar__footer {
  padding: 1rem;
  border-top: 1px solid hsla(0, 0%, 100%, 0.1);
  margin-top: auto;
}

.draggable-sidebar__footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: hsla(0, 0%, 100%, 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.draggable-sidebar__footer-link:hover {
  color: #ffffff;
}

.draggable-sidebar__footer-link i {
  font-size: 1.125rem;
}

.draggable-sidebar__footer-link span {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}

.draggable-sidebar__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  transition: background 0.2s;
  cursor: pointer;
}

.draggable-sidebar__user:hover {
  background: hsla(0, 0%, 100%, 0.05);
}

.draggable-sidebar__user:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
}

.draggable-sidebar__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #fbbf24);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}

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

.draggable-sidebar__user-name {
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.draggable-sidebar__user-role {
  font-size: 0.75rem;
  opacity: 0.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 927px) {
  .draggable-sidebar {
    left: 0;
    width: 80px;
    transform: translateX(0);
    position: fixed;
    height: 100vh;
  }
  .draggable-sidebar .draggable-sidebar__nav-label,
  .draggable-sidebar .draggable-sidebar__nav-badge {
    display: none;
  }
  .draggable-sidebar .draggable-sidebar__logo-text {
    display: none;
  }
  .draggable-sidebar .draggable-sidebar__nav-item {
    justify-content: center;
    padding: 0.75rem;
  }
  .draggable-sidebar .draggable-sidebar__user-info {
    display: none;
  }
  .draggable-sidebar .draggable-sidebar__collapse-btn,
  .draggable-sidebar .draggable-sidebar__float-btn {
    display: none !important;
  }
}
@media (min-width: 928px) {
  .draggable-sidebar {
    left: 0;
    width: 280px;
    transform: translateX(0);
    position: fixed;
    height: 100vh;
  }
  .draggable-sidebar--floating {
    position: fixed;
    width: 320px;
    height: 600px;
  }
  .draggable-sidebar--collapsed {
    width: 80px !important;
  }
}
@media (min-width: 1024px) {
  .draggable-sidebar--floating {
    width: 360px;
    height: 700px;
  }
}
.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 899;
  opacity: 0;
  transition: opacity 0.3s;
}

.sidebar-backdrop--visible {
  display: block;
  opacity: 1;
}

@media (min-width: 927px) {
  .sidebar-backdrop {
    display: none !important;
  }
}
.sidebar-fab {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  z-index: 1020;
  transition: all 0.3s;
}

.sidebar-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.sidebar-fab:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.sidebar-fab:active {
  transform: scale(0.95);
}

@media (min-width: 927px) {
  .sidebar-fab {
    display: none;
  }
}
@media (max-width: 768px) {
  .sidebar-fab {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .draggable-sidebar {
    transition: none;
  }
  .draggable-sidebar * {
    transition: none;
    animation: none !important;
  }
}
@media (prefers-contrast: high) {
  .draggable-sidebar {
    border: 2px solid #ffffff;
  }
  .draggable-sidebar__nav-item {
    border: 1px solid rgba(0, 0, 0, 0);
  }
  .draggable-sidebar__nav-item:focus-visible {
    border-color: #ffffff;
  }
  .draggable-sidebar__nav-item--active {
    border-color: #3b82f6;
  }
}
.draggable-sidebar__float-btn {
  background: rgba(0, 0, 0, 0);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 0.5rem;
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
}

.draggable-sidebar__float-btn:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: hsla(0, 0%, 100%, 0.3);
}

.draggable-sidebar__float-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.draggable-sidebar__collapse-btn {
  background: rgba(0, 0, 0, 0);
  border: 1px solid hsla(0, 0%, 100%, 0.2);
  border-radius: 0.5rem;
  color: #ffffff;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.draggable-sidebar__collapse-btn:hover {
  background: hsla(0, 0%, 100%, 0.1);
  border-color: hsla(0, 0%, 100%, 0.3);
}

.draggable-sidebar__collapse-btn:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.draggable-sidebar__collapse-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.draggable-sidebar--collapsed .draggable-sidebar__collapse-btn {
  right: 16px;
}

.dock-zone {
  position: fixed;
  background: rgba(59, 130, 246, 0.1);
  border: 2px dashed #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #3b82f6;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 898;
}

.dock-zone.visible {
  opacity: 1;
}

.dock-zone--left {
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background: linear-gradient(to right, rgba(59, 130, 246, 0.2), transparent);
}

.dock-zone--right {
  top: 0;
  right: 0;
  width: 100px;
  height: 100vh;
  background: linear-gradient(to left, rgba(59, 130, 246, 0.2), transparent);
}

.dock-zone--top {
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(59, 130, 246, 0.2), transparent);
}

.draggable-sidebar.is-dragging {
  opacity: 0.9;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  cursor: move !important;
}

@media (min-width: 769px) and (max-width: 927px) {
  .admin-main.sidebar-collapsed {
    margin-left: 80px;
  }
  .admin-main.sidebar-docked-left:not(.sidebar-collapsed) {
    margin-left: 280px;
  }
}
@media (min-width: 928px) {
  .admin-main.sidebar-docked-left {
    margin-left: 280px;
  }
  .admin-main.sidebar-docked-left.sidebar-collapsed {
    margin-left: 80px;
  }
  .admin-main.sidebar-docked-right {
    margin-right: 280px;
  }
  .admin-main.sidebar-docked-right.sidebar-collapsed {
    margin-right: 80px;
  }
  .admin-main.sidebar-floating {
    margin-left: 0;
    margin-right: 0;
  }
}
.cuisine-selector {
  position: relative;
  width: 100%;
}

.cuisine-selector__input-wrapper {
  position: relative;
  margin-bottom: 0.75rem;
}

.cuisine-selector__search {
  width: 100%;
  padding: 1rem 3rem 1rem 3rem;
  font-size: 1rem;
  font-weight: 400;
  color: #1e293b;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.cuisine-selector__search:hover {
  border-color: #cbd5e1;
}

.cuisine-selector__search:focus {
  outline: none;
  border-color: #3b82f6;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 1px 3px 0 rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.cuisine-selector__search::placeholder {
  color: #64748b;
  font-weight: 400;
}

.cuisine-selector__search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.cuisine-selector__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 2000;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-height: 320px;
  overflow: hidden;
}

.cuisine-selector__options {
  padding: 0.5rem;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cuisine-selector__options::-webkit-scrollbar {
  width: 6px;
}

.cuisine-selector__options::-webkit-scrollbar-track {
  background: #f8fafc;
  border-radius: 3px;
}

.cuisine-selector__options::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.cuisine-selector__options::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.cuisine-selector__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
  font-size: 0.875rem;
  color: #334155;
  position: relative;
}

.cuisine-selector__option:hover {
  background: #f8fafc;
  color: #0f172a;
  padding-left: 1.25rem;
}

.cuisine-selector__option--selected {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
  color: #1e40af;
  font-weight: 500;
}

.cuisine-selector__option--selected::after {
  content: "✓";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: #3b82f6;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.75rem;
}

.cuisine-selector__option--highlighted {
  background: rgba(37, 99, 235, 0.05);
  color: #3b82f6;
}

.cuisine-selector__add-custom {
  border-top: 2px solid #f1f5f9;
  padding: 0.75rem;
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
}

.cuisine-selector__add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #3b82f6, #1e40af);
  color: #ffffff;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}

.cuisine-selector__add-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3), 0 0 0 2px rgba(37, 99, 235, 0.1);
}

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

.cuisine-selector__add-btn i {
  font-size: 0.875rem;
}

.cuisine-selector__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.cuisine-selector__selected:hover {
  border-color: #94a3b8;
  background: #ffffff;
}

.cuisine-selector__selected--empty {
  justify-content: center;
  align-items: center;
}

.cuisine-selector__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #3b82f6);
  color: #ffffff;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  animation: tagSlideIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
}

.cuisine-selector__tag:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
}

.cuisine-selector__tag--custom {
  background: linear-gradient(135deg, #64748b, #94a3b8);
}

.cuisine-selector__remove {
  background: hsla(0, 0%, 100%, 0.2);
  border: 1px solid hsla(0, 0%, 100%, 0.3);
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}
.cuisine-selector__remove::before {
  content: "";
  position: absolute;
  inset: -11px;
  border-radius: 50%;
}

.cuisine-selector__remove:hover {
  background: hsla(0, 0%, 100%, 0.3);
  transform: rotate(90deg) scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .cuisine-selector__remove,
  .cuisine-selector__remove:hover {
    transition: none;
    transform: none;
  }
}
.cuisine-selector__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  color: #64748b;
  font-size: 0.875rem;
  text-align: center;
}

[data-theme=dark] .cuisine-selector__search,
.admin-dashboard .cuisine-selector__search {
  background: #1e293b;
  border-color: #334155;
  color: #f8fafc;
}

[data-theme=dark] .cuisine-selector__search:hover,
.admin-dashboard .cuisine-selector__search:hover {
  border-color: #475569;
}

[data-theme=dark] .cuisine-selector__search:focus,
.admin-dashboard .cuisine-selector__search:focus {
  border-color: #3b82f6;
  background: #1e293b;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.2);
}

[data-theme=dark] .cuisine-selector__search::placeholder,
.admin-dashboard .cuisine-selector__search::placeholder {
  color: #9ca3af;
}

[data-theme=dark] .cuisine-selector__search-icon,
.admin-dashboard .cuisine-selector__search-icon {
  color: #9ca3af;
}

[data-theme=dark] .cuisine-selector__dropdown,
.admin-dashboard .cuisine-selector__dropdown {
  background: #1e293b;
  border-color: #334155;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-track,
.admin-dashboard .cuisine-selector__options::-webkit-scrollbar-track {
  background: #0f172a;
}

[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-thumb,
.admin-dashboard .cuisine-selector__options::-webkit-scrollbar-thumb {
  background: #475569;
}

[data-theme=dark] .cuisine-selector__options::-webkit-scrollbar-thumb:hover,
.admin-dashboard .cuisine-selector__options::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

[data-theme=dark] .cuisine-selector__option,
.admin-dashboard .cuisine-selector__option {
  color: #cbd5e1;
  font-weight: 400;
}

[data-theme=dark] .cuisine-selector__option:hover,
.admin-dashboard .cuisine-selector__option:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #f8fafc;
}

[data-theme=dark] .cuisine-selector__option--selected,
.admin-dashboard .cuisine-selector__option--selected {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  font-weight: 500;
}

[data-theme=dark] .cuisine-selector__option--highlighted,
.admin-dashboard .cuisine-selector__option--highlighted {
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
}

[data-theme=dark] .cuisine-selector__add-custom,
.admin-dashboard .cuisine-selector__add-custom {
  background: linear-gradient(to bottom, #1e293b, #0f172a);
  border-top-color: #334155;
}

[data-theme=dark] .cuisine-selector__selected,
.admin-dashboard .cuisine-selector__selected {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-color: #334155;
}

[data-theme=dark] .cuisine-selector__selected:hover,
.admin-dashboard .cuisine-selector__selected:hover {
  background: #1e293b;
  border-color: #475569;
}

[data-theme=dark] .cuisine-selector__empty,
.admin-dashboard .cuisine-selector__empty {
  color: #9ca3af;
}

[data-theme=dark] .cuisine-selector__tag,
.admin-dashboard .cuisine-selector__tag {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes tagSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.8);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 768px) {
  .cuisine-selector__dropdown {
    max-height: 250px;
  }
  .cuisine-selector__tag {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}
:root {
  --color-primary: #2563eb;
  --color-white: #ffffff;
  --color-background: #ffffff;
  --color-text: #0f172a;
  --color-text-secondary: #64748b;
  --color-border-light: #e2e8f0;
  --color-success: #10b981;
  --color-error: #ef4444;
  --color-primary-50: rgba(37, 99, 235, 0.1);
  --accent: #ffd700;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-md: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba($black, 0.05);
  --shadow-md: 0 4px 6px -1px rgba($black, 0.1), 0 2px 4px -1px rgba($black, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba($black, 0.1), 0 4px 6px -2px rgba($black, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba($black, 0.1), 0 10px 10px -5px rgba($black, 0.04);
  --transition-fast: all 150ms ease-in-out;
  --z-index-modal: 1050;
  --z-index-tooltip: 1070 ;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.floor-plan-page button:not(.btn):not(.cc-btn):not(.admin-header__dropdown-item):not(.dine-in-walkin__party-btn):not(.dine-in-modal__close):not(.online-team-panel__toggle):not(.online-team-panel__minimize-btn):not(.fab-msg):not(.multi-floor-strip__btn):not(.multi-floor-strip__multiplan-btn):not(.multi-floor-strip__add-btn):not(.mf-picker__floor-btn):not(.mf-picker__btn):not(.mf-picker__close):not(.mf-picker__table),
.floor-plan-page input[type=button]:not(.btn):not(.cc-btn),
.floor-plan-page input[type=submit]:not(.btn):not(.cc-btn),
.floor-plan-page input[type=reset]:not(.btn):not(.cc-btn) {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: var(--color-background);
}

@media (max-width: 1399px) {
  html.floor-plan-page,
  body.floor-plan-page {
    height: auto;
    max-height: none;
    overflow: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .admin-dashboard {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .admin-main {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .admin-content {
    height: auto;
    overflow: visible;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .floor-plan-container {
    height: auto;
    overflow: visible;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .designer-wrapper {
    height: auto;
    overflow: visible;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .canvas-container {
    flex: 1 !important;
    min-height: 60vh;
    max-height: 100vh !important;
    overflow: hidden;
    position: relative;
  }
  body.floor-plan-page .floor-plan-canvas {
    max-height: 100vh !important;
  }
  .zoom-controls .zoom-btn {
    width: 44px;
    height: 44px;
    font-size: 1.125rem;
  }
}
@media (min-width: 1400px) {
  html.floor-plan-page,
  body.floor-plan-page {
    height: auto;
    overflow: auto;
    overflow-x: hidden;
  }
  body.floor-plan-page .admin-dashboard {
    height: auto;
    overflow: visible;
    display: flex;
  }
  body.floor-plan-page .admin-main {
    height: auto;
    overflow: visible;
    display: flex;
    flex-direction: column;
  }
  body.floor-plan-page .admin-content {
    flex: 1;
    overflow: visible;
  }
  body.floor-plan-page .floor-plan-container {
    height: auto;
    overflow: visible;
  }
  body.floor-plan-page .designer-wrapper {
    height: auto;
    overflow: visible;
  }
  body.floor-plan-page .canvas-container {
    flex: 1;
    overflow: hidden;
    max-width: 100%;
    max-height: 100vh;
  }
  body.floor-plan-page .floor-plan-canvas {
    max-width: 100%;
    max-height: 100vh;
  }
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e293b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  transition: all all 150ms ease-in-out;
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control:disabled {
  background: #f8fafc;
  color: #64748b;
  cursor: not-allowed;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm) var(--spacing-xl);
  font-size: var(--font-size-md);
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0);
  border-radius: var(--border-radius-md);
  transition: all var(--transition-fast);
  user-select: none;
  min-height: 40px;
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--color-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-success {
  color: var(--color-success);
}

.text-warning {
  color: var(--color-warning);
}

.text-error {
  color: var(--color-error);
}

.bg-primary {
  background: var(--color-primary);
}

.bg-secondary {
  background: var(--color-gray-100);
}

.bg-success {
  background: var(--color-success);
}

.bg-warning {
  background: var(--color-warning);
}

.bg-error {
  background: var(--color-error);
}

.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

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

.flex-row {
  flex-direction: row;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.align-center {
  align-items: center;
}

.align-start {
  align-items: flex-start;
}

.align-end {
  align-items: flex-end;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.m-0 {
  margin: 0;
}

.p-0 {
  padding: 0;
}

.mt-1 {
  margin-top: var(--spacing-xs);
}

.mt-2 {
  margin-top: var(--spacing-sm);
}

.mt-3 {
  margin-top: var(--spacing-md);
}

.mt-4 {
  margin-top: var(--spacing-lg);
}

.mb-1 {
  margin-bottom: var(--spacing-xs);
}

.mb-2 {
  margin-bottom: var(--spacing-sm);
}

.mb-3 {
  margin-bottom: var(--spacing-md);
}

.mb-4 {
  margin-bottom: var(--spacing-lg);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media print {
  * {
    background: rgba(0, 0, 0, 0) !important;
    color: #000000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }
  .btn,
  .dashboard-nav {
    display: none !important;
  }
}
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-index-modal);
}

.auth-modal-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--spacing-xl);
}

.auth-modal-content {
  background: var(--color-white);
  border-radius: var(--border-radius-lg);
  max-width: 400px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.auth-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--color-border-light);
}

.auth-modal-header h2 {
  margin: 0;
  color: var(--color-text);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
  flex: 1;
  text-align: center;
  padding-right: 30px;
}

.auth-modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--color-text-secondary);
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.auth-modal-close:hover {
  background-color: var(--color-primary-50);
  color: var(--color-text);
}

.auth-modal-body {
  padding: var(--spacing-xl);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  font-size: var(--font-size-sm);
}

.form-actions {
  margin-top: var(--spacing-xl);
}

.form-footer {
  margin-top: var(--spacing-lg);
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
}

.form-footer a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
}

.form-footer a:hover {
  text-decoration: underline;
}

#toastContainer {
  position: fixed;
  top: var(--spacing-xl);
  right: var(--spacing-xl);
  z-index: var(--z-index-tooltip);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  max-width: 500px;
}

#toastContainer .toast {
  min-width: 180px !important;
  max-width: 320px !important;
  background: #1e293b !important;
  border-radius: 0.375rem !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  border-left: 3px solid #2563eb !important;
  overflow: hidden !important;
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  backdrop-filter: blur(10px) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  opacity: 1 !important;
  transform: translateX(0) !important;
  display: flex !important;
  flex-direction: column !important;
}

#toastContainer .toast.toast-success {
  border-left-color: #10b981 !important;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, #1e293b 100%) !important;
}

#toastContainer .toast.toast-error {
  border-left-color: #ef4444 !important;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, #1e293b 100%) !important;
}

#toastContainer .toast.toast-warning {
  border-left-color: #f59e0b !important;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, #1e293b 100%) !important;
}

#toastContainer .toast.toast-info {
  border-left-color: #3b82f6 !important;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, #1e293b 100%) !important;
}

#toastContainer .toast-content {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0.5rem 0.75rem !important;
}

#toastContainer .toast-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  height: 3px !important;
  background: currentColor !important;
  opacity: 0.3 !important;
  animation: progressBar var(--duration) linear forwards !important;
}

@keyframes progressBar {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
#toastContainer .toast-message {
  flex: 1 !important;
  color: #f1f5f9 !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

#toastContainer .toast-close {
  background: none !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: var(--font-size-xl) !important;
  cursor: pointer !important;
  padding: 0 !important;
  margin-left: var(--spacing-sm) !important;
  width: 24px !important;
  height: 24px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--border-radius-sm) !important;
  transition: all var(--transition-fast) !important;
}
#toastContainer .toast-close:hover {
  color: #f1f5f9 !important;
  background: var(--color-primary-50) !important;
}

#toastContainer .toast-action {
  background: none !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  color: #f1f5f9 !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  padding: 0.25rem 0.75rem !important;
  margin-left: 0.5rem !important;
  border-radius: var(--border-radius-sm) !important;
  transition: all var(--transition-fast) !important;
  white-space: nowrap !important;
}
#toastContainer .toast-action:hover {
  border-color: rgba(255, 255, 255, 0.4) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

@keyframes slideIn {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}
.floor-plan-toolbar .rotation-mode-controls {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn {
  min-width: 150px;
  flex: 1 1 auto;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  overflow: visible;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn i {
  font-size: 1.25rem;
  color: #94a3b8;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.25rem;
  opacity: 0.6;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn span {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  transition: all 0.3s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn small {
  font-size: 0.6875rem;
  color: #94a3b8;
  opacity: 0.6;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn:hover:not(.active) i {
  color: #f1f5f9;
  opacity: 0.9;
  transform: scale(1.05);
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn:hover:not(.active) span {
  color: #f1f5f9;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn:hover:not(.active) small {
  opacity: 0.8;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn.active {
  background: #1e293b;
  border: 1px solid #F49609;
  box-shadow: 0 8px 24px rgba(244, 150, 9, 0.35), 0 0 0 1px rgba(244, 150, 9, 0.3), inset 0 1px 0 hsla(0, 0%, 100%, 0.05);
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn.active i {
  color: #F49609;
  opacity: 1;
  transform: scale(1.1) rotate(-5deg);
  filter: drop-shadow(0 0 8px rgba(244, 150, 9, 0.5));
  animation: rotationIconPulse 2s ease-in-out infinite;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn.active span {
  color: #F49609;
  font-weight: 700;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn.active small {
  color: #F49609;
  opacity: 0.95;
}

.floor-plan-toolbar .rotation-mode-controls .rotation-mode-btn:active {
  transform: scale(0.98);
}

/* Table Modal Styles */
.table-modal {
  position: fixed;
  width: 400px;
  height: 600px;
  max-height: 90vh;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px hsla(0, 0%, 100%, 0.05);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transition: opacity 150ms ease-in;
  touch-action: none;
}

.table-modal.visible {
  opacity: 1;
}

.table-modal.show {
  opacity: 1;
}

.table-modal.hide {
  opacity: 0;
}

.table-modal.minimized {
  height: auto;
  transition: all 0.3s ease;
}

.table-modal.minimized .modal-tabs,
.table-modal.minimized .modal-content {
  display: none;
}

.table-modal.minimized.dragging {
  transition: none;
}

.table-modal.dragging {
  transition: none;
  opacity: 0.95;
  cursor: grabbing;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9), 0 0 0 1px hsla(0, 0%, 100%, 0.08);
}

.table-modal.dragging .modal-header {
  cursor: grabbing;
}

@media (max-width: 639px) {
  .table-modal {
    width: 90%;
    max-width: 400px;
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: #0f172a;
  border-bottom: 1px solid #334155;
  user-select: none;
  position: relative;
}

.modal-header.draggable-handle {
  cursor: grab;
}

.modal-header.draggable-handle:active {
  cursor: grabbing;
}

.modal-header .modal-title {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header .modal-title i {
  color: #F49609;
  font-size: 1rem;
}

.modal-header .modal-subtitle {
  display: none;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 400;
  color: #94a3b8;
  line-height: 1.25;
  position: absolute;
  left: 1.25rem;
  top: 2.75rem;
}
.modal-header .modal-subtitle:not(:empty) {
  display: block;
}

.modal-header:has(.modal-subtitle:not(:empty)) {
  padding-bottom: 1.75rem;
}

.modal-header .modal-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-header .modal-minimize-btn,
.modal-header .modal-close-btn {
  background: transparent;
  border: 1px solid #334155;
  color: #94a3b8;
  width: 32px;
  height: 32px;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}

.modal-header .modal-minimize-btn i,
.modal-header .modal-close-btn i {
  font-size: 0.875rem;
}

.modal-header .modal-minimize-btn:hover,
.modal-header .modal-close-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: #F49609;
  color: #F49609;
  transform: translateY(-1px);
}

.modal-header .modal-minimize-btn:active,
.modal-header .modal-close-btn:active {
  transform: translateY(0);
}

.modal-header .modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

.modal-tabs {
  display: flex;
  background: rgba(15, 23, 42, 0.5);
  border-bottom: 1px solid rgba(51, 65, 85, 0.3);
  gap: 0.25rem;
  padding: 0.5rem;
}

.modal-tabs .modal-tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.375rem;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.modal-tabs .modal-tab-btn i {
  font-size: 1.125rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.modal-tabs .modal-tab-btn span {
  font-size: 0.875rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .modal-tabs .modal-tab-btn span {
    display: none;
  }
}
.modal-tabs .modal-tab-btn:hover:not(.active) {
  background: rgba(244, 150, 9, 0.08);
  border-color: rgba(244, 150, 9, 0.2);
  color: #f1f5f9;
}

.modal-tabs .modal-tab-btn:hover:not(.active) i {
  transform: scale(1.05);
}

.modal-tabs .modal-tab-btn.active {
  background: rgba(244, 150, 9, 0.15);
  border-color: rgba(244, 150, 9, 0.4);
  color: #F49609;
}

.modal-tabs .modal-tab-btn.active i {
  transform: scale(1.08);
}

.modal-tabs .modal-tab-btn.active span {
  font-weight: 600;
}

.modal-tabs .modal-tab-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.3);
}

.modal-content {
  flex: 1;
  min-height: 0;
  overflow-y: scroll !important;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #F49609 rgba(244, 150, 9, 0.1);
}

.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: rgba(244, 150, 9, 0.1);
  border-radius: 4px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: #F49609;
  border-radius: 4px;
  border: 2px solid #1e293b;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: hsl(36, 92.89%, 41.61%);
}

.modal-content::-webkit-scrollbar-thumb:active {
  background: hsl(36, 92.89%, 34.61%);
}

.modal-content .modal-tab-content {
  display: none;
  animation: tabFadeIn 200ms ease-out;
}

.modal-content .modal-tab-content.active {
  display: block;
}

.modal-content .modal-placeholder {
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
  padding: 2rem 1rem;
  line-height: 1.6;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.25rem;
}

.modal-form-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-form-section:not(:last-child) {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #334155;
}

.modal-form-section-title {
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-form-section-title::before {
  content: "";
  width: 3px;
  height: 1em;
  background: #F49609;
  border-radius: 2px;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 639px) {
  .modal-form-row {
    grid-template-columns: 1fr;
  }
}
.modal-form-label {
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.modal-form-label i {
  color: #F49609;
  font-size: 0.75rem;
  width: 14px;
  text-align: center;
}

.modal-form-input,
.modal-form-select,
.modal-form-textarea {
  width: 100%;
  background: #0f172a;
  border: 2px solid #334155;
  color: #f1f5f9;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 150ms ease-in-out;
}

.modal-form-input:focus,
.modal-form-select:focus,
.modal-form-textarea:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}

.modal-form-textarea {
  resize: vertical;
  min-height: 80px;
}

.floor-plan-selector {
  position: relative;
  margin-top: 0.75rem;
}

.floor-plan-selector__trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__trigger i {
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.floor-plan-selector__trigger i.floor-plan-selector__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.875rem;
  margin-left: auto;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__trigger:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(244, 150, 9, 0.3);
}

.floor-plan-selector__trigger:hover i {
  color: #F49609;
}

.floor-plan-selector__trigger:hover .floor-plan-selector__arrow {
  color: #F49609;
}

.floor-plan-selector__trigger[aria-expanded=true] {
  border-color: rgba(244, 150, 9, 0.5);
  background: rgba(244, 150, 9, 0.05);
}

.floor-plan-selector__trigger[aria-expanded=true] i {
  color: #F49609;
}

.floor-plan-selector__trigger[aria-expanded=true] .floor-plan-selector__arrow {
  transform: rotate(180deg);
  color: #F49609;
}

.floor-plan-selector__current-name {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1f5f9;
}

.floor-plan-selector__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.625rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  max-height: 480px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  animation: dropdownSlideDown 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__dropdown[hidden] {
  display: none;
}

.floor-plan-selector__new-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all all 150ms ease-in-out;
  width: 100%;
  text-align: left;
}

.floor-plan-selector__new-btn i {
  font-size: 1rem;
  color: #94a3b8;
}

.floor-plan-selector__new-btn:hover {
  background: rgba(244, 150, 9, 0.05);
  color: #F49609;
}

.floor-plan-selector__new-btn:hover i {
  color: #F49609;
}

.floor-plan-selector__new-btn:active {
  background: rgba(244, 150, 9, 0.08);
}

.floor-plan-selector__divider {
  height: 1px;
  background: rgba(51, 65, 85, 0.4);
}

.floor-plan-selector__list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) rgba(0, 0, 0, 0);
}

.floor-plan-selector__list::-webkit-scrollbar {
  width: 4px;
}

.floor-plan-selector__list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.floor-plan-selector__list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 2px;
}

.floor-plan-selector__list::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.floor-plan-selector__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.floor-plan-selector__loading i {
  font-size: 1.25rem;
  color: #F49609;
}

.floor-plan-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.3);
  border-radius: 0.5rem;
  overflow: visible;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.75rem;
}

.floor-plan-card:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(244, 150, 9, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floor-plan-card:hover .floor-plan-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.floor-plan-card:hover .floor-plan-card__name {
  color: #F49609;
}

.floor-plan-card:active {
  transform: translateY(0);
}

/* Fix modal content background */
.modal-content {
  background: #1e293b;
}

.modal-content .modal-tab-content {
  background: #1e293b;
}

.modal-form {
  background: #1e293b;
}

/* Remove white border from table modal content */
.table-modal .modal-content {
  border: none;
}

.table-modal .modal-tab-content {
  border: none;
}

.table-modal .modal-form {
  border: none;
}

.table-modal .modal-form-section {
  border-bottom-color: #334155;
}

/* Modal Empty State - "No Table Selected" */
.modal-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  color: #94a3b8;
}

.modal-empty-state i {
  color: #334155;
  margin-bottom: 1rem;
}

.modal-empty-state h3 {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.modal-empty-state p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

/* ============================================================
   Combined Seating — multi-select "arrange" panel
   Shows the live combined seat total of the selection and lets
   the host trim/restore seats per table before grouping.
   Doc: DOCUMENTATION/tasks/MULTI_TABLE_SEAT_EDITING.md
   ============================================================ */
.combined-seating {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.combined-seating__summary {
  background: rgba(244, 150, 9, 0.08);
  border: 1px solid rgba(244, 150, 9, 0.25);
  border-radius: 0.75rem;
  padding: 1rem;
  text-align: center;
}

.combined-seating__total {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #F49609;
}
.combined-seating__total--pulse .combined-seating__total-num {
  animation: combinedSeatPulse 0.32s ease-out;
}

.combined-seating__total-num {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  min-width: 2.5ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
  transform-origin: center;
}

@keyframes combinedSeatPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.18);
  }
  100% {
    transform: scale(1);
  }
}
.combined-seating__total-label {
  display: block;
  margin-top: 0.25rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.75);
}

.combined-seating__minmax {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.combined-seating__min {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.combined-seating__min label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.combined-seating__min-input {
  width: 56px;
  min-height: 36px;
  text-align: center;
  font-weight: 700;
  color: #fff;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.5rem;
}
.combined-seating__min-input:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 1px;
  border-color: #F49609;
}

.combined-seating__max-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.combined-seating__max {
  font-weight: 700;
  font-size: 1rem;
  color: #F49609;
}

.combined-seating__members {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-size: 0.9rem;
}

.combined-seating__members-icon {
  color: #F49609;
  font-size: 0.9rem;
}

.combined-seating__hint {
  margin: 0.75rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.combined-seating__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.combined-seating__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: #334155;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0.5rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.combined-seating__row.is-trimmed {
  border-color: rgba(244, 150, 9, 0.35);
  background: rgba(244, 150, 9, 0.06);
}

.combined-seating__row-icon {
  flex: 0 0 auto;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.4);
}

.combined-seating__row-name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.combined-seating__row-trim {
  flex: 0 0 auto;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  color: #F49609;
  background: rgba(244, 150, 9, 0.15);
  border: 1px solid rgba(244, 150, 9, 0.3);
}

.combined-seating__stepper {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.combined-seating__step {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(244, 150, 9, 0.4);
  border-radius: 0.5rem;
  background: rgba(244, 150, 9, 0.12);
  color: #F49609;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.combined-seating__step:hover:not(:disabled) {
  background: rgba(244, 150, 9, 0.22);
  border-color: #F49609;
}
.combined-seating__step:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.combined-seating__step:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.combined-seating__row-seats {
  min-width: 2ch;
  text-align: center;
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
}

/* Fix modal content background */
.modal-content {
  background: #1e293b;
}

.modal-content .modal-tab-content {
  background: #1e293b;
}

.modal-form {
  background: #1e293b;
}

/* Remove white border from table modal content */
.table-modal .modal-content {
  border: none;
}

.table-modal .modal-tab-content {
  border: none;
}

.table-modal .modal-form {
  border: none;
}

.table-modal .modal-form-section {
  border-bottom-color: #334155;
}

/* Modal Empty State - "No Table Selected" */
.modal-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
  color: #94a3b8;
}

.modal-empty-state i {
  color: #334155;
  margin-bottom: 1rem;
}

.modal-empty-state h3 {
  color: #f1f5f9;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.modal-empty-state p {
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
  max-width: 280px;
}

.floor-plan-selector {
  position: relative;
  margin-top: 0.75rem;
}

.floor-plan-selector__trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__trigger i {
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.floor-plan-selector__trigger i.floor-plan-selector__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  font-size: 0.875rem;
  margin-left: auto;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__trigger:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(244, 150, 9, 0.3);
}

.floor-plan-selector__trigger:hover i {
  color: #F49609;
}

.floor-plan-selector__trigger:hover .floor-plan-selector__arrow {
  color: #F49609;
}

.floor-plan-selector__trigger[aria-expanded=true] {
  border-color: rgba(244, 150, 9, 0.5);
  background: rgba(244, 150, 9, 0.05);
}

.floor-plan-selector__trigger[aria-expanded=true] i {
  color: #F49609;
}

.floor-plan-selector__trigger[aria-expanded=true] .floor-plan-selector__arrow {
  transform: rotate(180deg);
  color: #F49609;
}

.floor-plan-selector__current-name {
  flex: 1 1 0;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #f1f5f9;
}

.floor-plan-selector__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid rgba(51, 65, 85, 0.6);
  border-radius: 0.625rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  max-height: 480px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  animation: dropdownSlideDown 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.floor-plan-selector__dropdown[hidden] {
  display: none;
}

.floor-plan-selector__new-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 1px solid rgba(51, 65, 85, 0.4);
  color: #94a3b8;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all all 150ms ease-in-out;
  width: 100%;
  text-align: left;
}

.floor-plan-selector__new-btn i {
  font-size: 1rem;
  color: #94a3b8;
}

.floor-plan-selector__new-btn:hover {
  background: rgba(244, 150, 9, 0.05);
  color: #F49609;
}

.floor-plan-selector__new-btn:hover i {
  color: #F49609;
}

.floor-plan-selector__new-btn:active {
  background: rgba(244, 150, 9, 0.08);
}

.floor-plan-selector__divider {
  height: 1px;
  background: rgba(51, 65, 85, 0.4);
}

.floor-plan-selector__list {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.3) rgba(0, 0, 0, 0);
}

.floor-plan-selector__list::-webkit-scrollbar {
  width: 4px;
}

.floor-plan-selector__list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.floor-plan-selector__list::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.3);
  border-radius: 2px;
}

.floor-plan-selector__list::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.5);
}

.floor-plan-selector__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.floor-plan-selector__loading i {
  font-size: 1.25rem;
  color: #F49609;
}

.floor-plan-card {
  display: flex;
  flex-direction: column;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(51, 65, 85, 0.3);
  border-radius: 0.5rem;
  overflow: visible;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-bottom: 0.75rem;
}

.floor-plan-card:hover {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(244, 150, 9, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.floor-plan-card:hover .floor-plan-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.floor-plan-card:hover .floor-plan-card__name {
  color: #F49609;
}

.floor-plan-card:active {
  transform: translateY(0);
}

/* Reservations Tab Styles */
#tab-reservations {
  padding: 1.25rem;
}

.reservation-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  flex: 1 1 0;
  max-width: 200px;
  background: #0f172a;
  border: 2px solid #334155;
  color: #94a3b8;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
  text-align: center;
}

.filter-btn:hover:not(.active) {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(51, 65, 85, 0.8);
  color: #f1f5f9;
}

.filter-btn.active {
  background: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  color: #F49609;
}

.filter-btn:active {
  transform: scale(0.98);
}

.refresh-btn {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  background: #0f172a;
  border: 2px solid #334155;
  color: #94a3b8;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.refresh-btn:hover {
  background: rgba(15, 23, 42, 0.8);
  border-color: #F49609;
  color: #F49609;
}
.refresh-btn:active {
  transform: scale(0.95);
}
.refresh-btn.refreshing {
  pointer-events: none;
}
.refresh-btn.refreshing i {
  animation: spin 1s linear infinite;
}
.refresh-btn i {
  font-size: 0.875rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.reschedule-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 10000;
}
.reschedule-modal-overlay.closing .reschedule-modal {
  animation: fadeOut 0.2s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.reschedule-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  width: 340px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.2s ease-out;
  pointer-events: auto;
}
.reschedule-modal.dragging {
  cursor: grabbing;
  user-select: none;
}
.reschedule-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid #334155;
  cursor: grab;
}
.reschedule-modal__header:active {
  cursor: grabbing;
}
.reschedule-modal__header h3 {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}
.reschedule-modal__header h3 i {
  color: #F49609;
}
.reschedule-modal__close {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1rem;
  transition: color 0.15s;
}
.reschedule-modal__close:hover {
  color: #f1f5f9;
}
.reschedule-modal__body {
  padding: 1.25rem;
}
.reschedule-modal__guest {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}
.reschedule-modal__guest strong {
  color: #f1f5f9;
  font-weight: 600;
}
.reschedule-modal__guest span {
  color: #94a3b8;
  font-size: 0.875rem;
}
.reschedule-modal__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.reschedule-modal__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.reschedule-modal__field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #94a3b8;
}
.reschedule-modal__field input {
  padding: 0.625rem 0.75rem;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  transition: border-color 0.15s;
}
.reschedule-modal__field input:focus {
  outline: none;
  border-color: #F49609;
}
.reschedule-modal__field input::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}
.reschedule-modal__notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 0.375rem;
  font-size: 0.8125rem;
  color: #10b981;
}
.reschedule-modal__notice i {
  flex-shrink: 0;
}
.reschedule-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #334155;
}
.reschedule-modal__footer .btn {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.reschedule-modal__footer .btn-secondary {
  background: #334155;
  border: 1px solid #475569;
  color: #cbd5e1;
}
.reschedule-modal__footer .btn-secondary:hover {
  background: #475569;
}
.reschedule-modal__footer .btn-primary {
  background: #F49609;
  border: 1px solid #F49609;
  color: white;
}
.reschedule-modal__footer .btn-primary:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.reschedule-modal__footer .btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.cancelled-confirm-tooltip {
  position: fixed;
  z-index: 10001;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  min-width: 280px;
  max-width: 320px;
  animation: tooltipFadeIn 0.2s ease-out;
  pointer-events: auto;
}
.cancelled-confirm-tooltip__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border-bottom: 1px solid #334155;
  border-radius: 0.5rem 0.5rem 0 0;
  cursor: move;
  user-select: none;
}
.cancelled-confirm-tooltip__header i {
  color: #f59e0b;
  font-size: 0.875rem;
}
.cancelled-confirm-tooltip__header span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
}
.cancelled-confirm-tooltip__content {
  padding: 1rem;
}
.cancelled-confirm-tooltip__message {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
  line-height: 1.4;
}
.cancelled-confirm-tooltip__guest {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f1f5f9;
}
.cancelled-confirm-tooltip__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #334155;
}
.cancelled-confirm-tooltip__btn {
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s;
  border: none;
}
.cancelled-confirm-tooltip__btn--cancel {
  background: #334155;
  color: #cbd5e1;
}
.cancelled-confirm-tooltip__btn--cancel:hover {
  background: #475569;
}
.cancelled-confirm-tooltip__btn--cancel:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.cancelled-confirm-tooltip__btn--confirm {
  background: #F49609;
  color: white;
}
.cancelled-confirm-tooltip__btn--confirm:hover {
  background: rgb(219.4071146245, 134.8814229249, 8.0928853755);
}
.cancelled-confirm-tooltip__btn--confirm:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

@keyframes tooltipFadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.reservation-toggle-filters {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.fp-toggle-control {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.fp-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.fp-toggle-input:checked + .fp-toggle-slider {
  background: rgba(244, 150, 9, 0.3);
  border-color: #F49609;
}

.fp-toggle-input:checked + .fp-toggle-slider::before {
  transform: translateX(20px);
  background: #F49609;
}

.fp-toggle-input:focus-visible + .fp-toggle-slider {
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.2);
}

.fp-toggle-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background: #0f172a;
  border: 2px solid #334155;
  border-radius: 12px;
  transition: all 150ms ease-in-out;
}

.fp-toggle-slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: #94a3b8;
  border-radius: 50%;
  transition: all 150ms ease-in-out;
}

.fp-toggle-slider:hover {
  border-color: rgba(51, 65, 85, 0.8);
}

.fp-toggle-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #f1f5f9;
}

.reservations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 200px;
}

.reservations-list .modal-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #94a3b8;
  font-size: 0.875rem;
  text-align: center;
  padding: 1.5rem;
  line-height: 1.6;
}

.template-option:last-child {
  margin-bottom: 0;
}

/* Floor Plan Card Text Colors - Make text visible */
.floor-plan-card__name {
  color: #F49609 !important;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.floor-plan-card__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.floor-plan-card__meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #ffffff !important;
}

.floor-plan-card__meta .meta-item i {
  color: #f1f5f9 !important;
}

.floor-plan-card__actions .action-btn {
  color: #ffffff !important;
}

.floor-plan-card__actions .action-btn i {
  color: inherit !important;
}

/* Floor Plan Card Layout - Match Production Design */
.floor-plan-card__content {
  padding: 1rem;
}

.floor-plan-card__header {
  margin-bottom: 1rem;
}

.floor-plan-card__name {
  color: #F49609 !important;
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.75rem 0 !important;
  line-height: 1.4;
}

/* Meta items - tables and seats on same line */
.floor-plan-card__meta {
  display: flex;
  align-items: center !important;
  gap: 1.5rem;
  margin-bottom: 0.75rem !important;
  font-size: 0.875rem !important;
}

.floor-plan-card__meta .meta-item {
  display: flex;
  align-items: center !important;
  gap: 0.5rem;
  color: #94a3b8 !important;
  font-size: 0.875rem !important;
}

.floor-plan-card__meta .meta-item i {
  color: #94a3b8 !important;
  font-size: 1rem !important;
}

/* Time on separate line */
.floor-plan-card__meta .meta-item:last-child {
  display: flex;
  width: 100%;
  margin-top: 0.5rem !important;
}

/* Actions row */
.floor-plan-card__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem !important;
  padding-top: 1rem !important;
  border-top: 1px solid #334155 !important;
}

.floor-plan-card__actions .action-btn-wrapper {
  flex: 1 !important;
  display: flex;
  justify-content: center !important;
}

.floor-plan-card__actions .action-btn {
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.625rem !important;
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  font-size: 1.125rem !important;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 0.375rem;
}

.floor-plan-card__actions .action-btn:hover {
  background: rgba(148, 163, 184, 0.1) !important;
  color: #f1f5f9 !important;
}

.floor-plan-card__actions .action-btn i {
  color: inherit !important;
}

/* Time row - on its own line */
.floor-plan-card__time {
  display: flex;
  align-items: center !important;
  gap: 0.5rem;
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
  margin-top: 0.5rem !important;
  margin-bottom: 0 !important;
}

.floor-plan-card__time i {
  color: #94a3b8 !important;
  font-size: 0.75rem !important;
}

/* Remove the old last-child rule since time is now separate */
.floor-plan-card__meta .meta-item:last-child {
  width: auto;
  margin-top: 0 !important;
}

/* Default star icon - orange color */
.floor-plan-card__actions .action-btn[data-action=set-default][aria-label*="Default floor plan"] i,
.floor-plan-card__actions .action-btn.is-default i {
  color: #F49609 !important;
}

.floor-plan-card__actions .action-btn[data-action=set-default][aria-label*="Default floor plan"] {
  color: #F49609 !important;
}

/* Action button tooltips */
.action-btn-wrapper {
  position: relative !important;
}

.action-tooltip {
  position: absolute !important;
  bottom: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-8px) !important;
  background: #1e293b !important;
  color: #f1f5f9 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: all 0.2s ease;
  z-index: 1000 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3) !important;
}

.action-tooltip::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 5px solid transparent !important;
  border-top-color: #1e293b !important;
}

.action-btn-wrapper:hover .action-tooltip {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-4px) !important;
}

/* Delete button hover - red */
.floor-plan-card__actions .action-btn[data-action=delete]:hover {
  color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Set default button hover - orange when not default */
.floor-plan-card__actions .action-btn[data-action=set-default]:hover:not([aria-label*="Default floor plan"]) {
  color: #F49609 !important;
  background: rgba(244, 150, 9, 0.1) !important;
}

/* Modal Button Tooltips - Fast appearance */
.modal-form-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end !important;
}

.modal-btn-wrapper {
  position: relative !important;
}

.modal-tooltip {
  position: absolute !important;
  bottom: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-8px) !important;
  background: #0f172a !important;
  color: #f1f5f9 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: all 0.1s ease;
  z-index: 10000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

.modal-tooltip::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 5px solid transparent !important;
  border-top-color: #0f172a !important;
}

/* Show tooltip instantly on hover */
.modal-btn-wrapper:hover .modal-tooltip {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-4px) !important;
  transition-delay: 0.05s !important;
}

/* Button hover states */
.modal-btn:hover {
  transform: translateY(-2px) !important;
}

.modal-btn-danger:hover {
  background: #dc2626 !important;
}

/* Center modal action buttons */
.modal-form-actions {
  justify-content: center !important;
}

/* Fix modal delete button hover - consistent with floor plan style */
.modal-btn-danger:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #ef4444 !important;
  border-radius: 0.375rem;
}

/* Remove the old strong red background */
.modal-btn:hover {
  transform: translateY(-2px) !important;
  transition: all 0.2s ease;
}

/* Floor Plan Header Buttons - Consistent Design System */
/* Undo, Redo, Clear - Icon only style (like floor plan cards) */
.floor-plan-header .header-actions .btn-secondary {
  background: transparent !important;
  border: 1px solid #475569 !important;
  color: #94a3b8 !important;
  transition: all 0.2s ease;
}

.floor-plan-header .header-actions .btn-secondary:hover {
  background: rgba(148, 163, 184, 0.1) !important;
  border-color: #64748b !important;
  color: #f1f5f9 !important;
}

.floor-plan-header .header-actions .btn-secondary i {
  color: #3b82f6 !important;
}

/* Undo icon - blue */
.floor-plan-header .header-actions #undoBtn i {
  color: #3b82f6 !important;
}

/* Redo icon - blue */
.floor-plan-header .header-actions #redoBtn i {
  color: #3b82f6 !important;
}

/* Clear icon - red */
.floor-plan-header .header-actions #clearFloorBtn i {
  color: #ef4444 !important;
}

.floor-plan-header .header-actions #clearFloorBtn:hover {
  background: rgba(239, 68, 68, 0.1) !important;
  border-color: #ef4444 !important;
}

/* Save Floor Plan - Orange brand color */
.floor-plan-header .header-actions .btn-primary,
.floor-plan-header .header-actions #saveFloorPlanBtn {
  background: #F49609 !important;
  border-color: #F49609 !important;
  color: #ffffff !important;
  padding: 0.75rem 2rem !important;
}

.floor-plan-header .header-actions .btn-primary:hover,
.floor-plan-header .header-actions #saveFloorPlanBtn:hover {
  background: #ea8a08 !important;
  border-color: #ea8a08 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3) !important;
}

.floor-plan-header .header-actions #saveFloorPlanBtn i {
  color: #ffffff !important;
}

/* Header Button Tooltips - Fast appearance */
.header-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center !important;
}

.header-btn-wrapper {
  position: relative !important;
}

.header-tooltip {
  position: absolute !important;
  bottom: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-8px) !important;
  background: #0f172a !important;
  color: #f1f5f9 !important;
  padding: 0.5rem 0.75rem !important;
  border-radius: 0.375rem;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  opacity: 0 !important;
  transition: all 0.1s ease;
  z-index: 10000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
  margin-bottom: 0.5rem !important;
}

.header-tooltip::after {
  content: "" !important;
  position: absolute !important;
  top: 100% !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  border: 5px solid transparent !important;
  border-top-color: #0f172a !important;
}

/* Show tooltip instantly on hover */
.header-btn-wrapper:hover .header-tooltip {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(-4px) !important;
  transition-delay: 0.05s !important;
}

/* Hide the text inside icon-only buttons */
.floor-plan-header .header-actions .btn-secondary span {
  display: none !important;
}

/* Keep text visible for Save button */
.floor-plan-header .header-actions .btn-primary span {
  display: inline !important;
  margin-left: 0.5rem !important;
}

/* Booth Wall - Dark background representing the wall/backrest */
.booth-wall {
  background: #334155 !important;
  border: 1px solid #64748b !important;
  border-radius: 0.375rem !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
  pointer-events: none !important;
}

/* Booth Bench - Seating surface */
.booth-bench {
  background: linear-gradient(135deg, rgb(101.8607954545, 121.9460227273, 150.6392045455), rgb(91.5738636364, 109.6306818182, 135.4261363636)) !important;
  border: 1px solid #94a3b8 !important;
  border-radius: 0.5rem !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.15) !important;
  pointer-events: none !important;
}
.booth-bench::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%);
  border-radius: 0.375rem;
  pointer-events: none;
}

/* Corner Booth - L-shaped styling */
.booth-bench.booth-corner {
  background: linear-gradient(135deg, rgb(107.4630681818, 127.1346590909, 155.2369318182), rgb(95.6886363636, 114.5568181818, 141.5113636364)) !important;
  clip-path: polygon(0 0, 70% 0, 70% 30%, 100% 30%, 100% 100%, 0 100%);
}

/* Circular Booth - Rounded styling */
.booth-bench.booth-circular {
  background: radial-gradient(circle at center, rgb(107.4630681818, 127.1346590909, 155.2369318182), rgb(91.5738636364, 109.6306818182, 135.4261363636)) !important;
  border-radius: 50% !important;
}
.booth-bench.booth-circular::before {
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

/* Booth table elements - ensure booths show their background */
.table-element.booth_single,
.table-element.booth_double,
.table-element.booth_corner,
.table-element.booth_circular {
  background: rgba(226, 232, 240, 0.4) !important;
  border: 2px solid #cbd5e1 !important;
}
.table-element.booth_single .booth-wall,
.table-element.booth_double .booth-wall,
.table-element.booth_corner .booth-wall,
.table-element.booth_circular .booth-wall {
  z-index: 1;
}
.table-element.booth_single .booth-bench,
.table-element.booth_double .booth-bench,
.table-element.booth_corner .booth-bench,
.table-element.booth_circular .booth-bench {
  z-index: 2;
}
.table-element.booth_single .table-number,
.table-element.booth_double .table-number,
.table-element.booth_corner .table-number,
.table-element.booth_circular .table-number {
  z-index: 3;
}
.table-element.booth_single .table-seat,
.table-element.booth_double .table-seat,
.table-element.booth_corner .table-seat,
.table-element.booth_circular .table-seat {
  z-index: 4;
}

/* ============================================
   Context Menu Styles (Right-Click Menu)
   Matches approved dropdown menu design
   ============================================ */
.table-context-menu,
.seat-context-menu {
  position: fixed;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 0.7rem 1rem;
  min-width: 200px;
  z-index: 10000;
  animation: contextMenuFadeIn 0.15s ease-out;
}
.table-context-menu .context-menu-item,
.seat-context-menu .context-menu-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  font-size: var(--font-size-sm);
  text-align: left;
  cursor: pointer;
  transition: all 0.15s ease;
}
.table-context-menu .context-menu-item i,
.seat-context-menu .context-menu-item i {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-size-sm);
}
.table-context-menu .context-menu-item span,
.seat-context-menu .context-menu-item span {
  flex: 1;
  color: #ffffff;
}
.table-context-menu .context-menu-item:hover,
.seat-context-menu .context-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.table-context-menu .context-menu-item:active,
.seat-context-menu .context-menu-item:active {
  background: rgba(255, 255, 255, 0.12);
}
.table-context-menu .context-menu-item.danger:hover,
.seat-context-menu .context-menu-item.danger:hover {
  background: rgba(239, 68, 68, 0.15);
}
.table-context-menu .context-menu-item.danger i,
.seat-context-menu .context-menu-item.danger i {
  color: #f87171;
}
.table-context-menu .context-menu-divider,
.seat-context-menu .context-menu-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}
.table-context-menu .context-menu-submenu-parent,
.seat-context-menu .context-menu-submenu-parent {
  position: relative;
}
.table-context-menu .context-menu-item--has-submenu .context-menu-submenu-arrow,
.seat-context-menu .context-menu-item--has-submenu .context-menu-submenu-arrow {
  margin-left: auto;
  font-size: 0.625rem;
  opacity: 0.5;
  color: #94a3b8;
}
.table-context-menu .context-menu-submenu,
.seat-context-menu .context-menu-submenu {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  padding: 0.5rem;
  min-width: 180px;
  z-index: 10001;
}
.table-context-menu .context-menu-submenu--visible,
.seat-context-menu .context-menu-submenu--visible {
  display: block;
  animation: contextMenuFadeIn 0.1s ease-out;
}
.table-context-menu .context-menu-submenu .context-menu-item,
.seat-context-menu .context-menu-submenu .context-menu-item {
  white-space: nowrap;
}
.table-context-menu .context-menu-area-dot,
.seat-context-menu .context-menu-area-dot {
  display: block;
  width: 10px !important;
  min-width: 10px;
  height: 10px !important;
  max-height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  flex-grow: 0;
  overflow: hidden;
}

@keyframes contextMenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  .draggable-sidebar,
  .draggable-sidebar.draggable-sidebar--docked-left,
  .draggable-sidebar.draggable-sidebar--docked-right,
  .draggable-sidebar.draggable-sidebar--collapsed,
  .draggable-sidebar.draggable-sidebar--floating,
  #sidebar {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 3.5rem !important;
    min-height: 3.5rem !important;
    max-height: 3.5rem !important;
    overflow: hidden;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    transform: none !important;
    transition: max-height 250ms ease-in-out, height 250ms ease-in-out;
    z-index: 9999 !important;
  }
  .draggable-sidebar.draggable-sidebar--bottom-sheet-expanded,
  .draggable-sidebar.draggable-sidebar--docked-left.draggable-sidebar--bottom-sheet-expanded,
  #sidebar.draggable-sidebar--bottom-sheet-expanded {
    height: auto !important;
    min-height: auto !important;
    max-height: 85vh !important;
    overflow-y: auto !important;
    overflow-x: hidden;
  }
  .draggable-sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav,
  .draggable-sidebar.draggable-sidebar--docked-left.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  .draggable-sidebar .draggable-sidebar__handle,
  .draggable-sidebar .draggable-sidebar__resize,
  .draggable-sidebar .draggable-sidebar__collapse-btn,
  .draggable-sidebar .draggable-sidebar__float-btn {
    display: none;
  }
  .sidebar-backdrop,
  .sidebar-backdrop--visible {
    display: none !important;
  }
  .admin-dashboard {
    padding-left: 0;
  }
  .admin-main,
  .admin-main.sidebar-docked-left,
  .admin-main.sidebar-docked-right {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding-bottom: 4rem;
  }
  .bottom-sheet__grip {
    display: none;
  }
  .bottom-sheet__header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
  }
  .draggable-sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__header,
  .draggable-sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__nav,
  .draggable-sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__footer,
  .draggable-sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__user,
  #sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__header,
  #sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__nav,
  #sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__footer,
  #sidebar:not(.draggable-sidebar--bottom-sheet-expanded) .draggable-sidebar__user {
    display: none !important;
  }
  .draggable-sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav {
    display: grid !important;
  }
  .draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header i::before,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header i::before {
    content: "\f00d";
  }
  .draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header span::after,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .bottom-sheet__header span::after {
    content: " (tap to close)";
    font-size: 0.7rem;
    opacity: 0.7;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item--active::before,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item--active::before {
    display: none;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    gap: 0.5rem;
    padding: 0.75rem;
    width: 100% !important;
    max-width: 100%;
    margin: 0;
    overflow-y: auto;
    flex-wrap: wrap;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem;
    text-align: center;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    text-decoration: none;
    margin: 0;
    aspect-ratio: auto;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:hover, .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:focus-visible,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:hover,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: none;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item.draggable-sidebar__nav-item--active,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item.draggable-sidebar__nav-item--active {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.5);
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item i,
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item .draggable-sidebar__nav-icon,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item i,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item .draggable-sidebar__nav-icon {
    display: block !important;
    width: auto;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1;
    flex-shrink: 0;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-label,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-label {
    font-size: 0.625rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block !important;
    line-height: 1.2;
    opacity: 0.9;
  }
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__header,
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__footer,
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__user,
  .draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__logo,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__header,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__footer,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__user,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__logo {
    display: none;
  }
}
@media (min-width: 769px) {
  .bottom-sheet__grip,
  .bottom-sheet__header {
    display: none;
  }
}
.table-status-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  padding: 0.2rem 0.4rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  font-weight: 600;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.table-status-badge--available {
  background: #10b981;
  color: #ffffff;
}
.table-status-badge--occupied {
  background: #ef4444;
  color: #ffffff;
}
.table-status-badge--turning {
  background: #F49609;
  color: #ffffff;
  animation: pulse-badge 2s ease-in-out infinite;
}
.table-status-badge--reserved {
  background: #2D2E88;
  color: #ffffff;
}

.table-seated-time {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6rem;
  font-weight: 500;
  color: #94a3b8;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.1rem 0.3rem;
  border-radius: 0.25rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.table-countdown {
  position: absolute;
  top: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: monospace;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  padding: 0.15rem 0.4rem;
  border-radius: 0.25rem;
}
.table-countdown--urgent {
  background: #F49609;
  animation: pulse-badge 1s ease-in-out infinite;
}

.table-phase-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(203, 213, 225, 0.5);
  border-radius: 0 0 4px 4px;
  overflow: hidden;
}
.table-phase-progress__bar {
  height: 100%;
  background: #10b981;
  transition: width 0.5s ease-out;
}
.table-phase-progress--halfway .table-phase-progress__bar {
  background: #F49609;
}
.table-phase-progress--ending .table-phase-progress__bar {
  background: #ef4444;
}

.availability-pulse {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.availability-pulse__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
}
.availability-pulse__dot--available {
  background: #10b981;
}
.availability-pulse__dot--turning {
  background: #F49609;
  animation: pulse-badge 2s ease-in-out infinite;
}
.availability-pulse__dot--occupied {
  background: #ef4444;
  opacity: 0.5;
}

.table-seating-actions {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 20;
}
.table-element:hover .table-seating-actions, .floor-table:hover .table-seating-actions {
  opacity: 1;
  visibility: visible;
}

.table-seating-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.15s, transform 0.1s;
}
.table-seating-btn:hover {
  transform: scale(1.1);
}
.table-seating-btn:active {
  transform: scale(0.95);
}
.table-seating-btn--seat {
  background: #10b981;
  color: #ffffff;
}
.table-seating-btn--seat:hover {
  background: #059669;
}
.table-seating-btn--clear {
  background: #ef4444;
  color: #ffffff;
}
.table-seating-btn--clear:hover {
  background: #dc2626;
}
.table-seating-btn--phase {
  background: #F49609;
  color: #ffffff;
}
.table-seating-btn--phase:hover {
  background: rgb(194.814229249, 119.7628458498, 7.185770751);
}

.seating-modal__party-size {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.seating-modal__party-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}
.seating-modal__party-btn:hover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.1);
}
.seating-modal__party-btn--selected {
  border-color: #F49609;
  background: #F49609;
  color: #ffffff;
}
.seating-modal__meal-type {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.seating-modal__meal-btn {
  padding: 0.5rem 1rem;
  border: 2px solid #cbd5e1;
  border-radius: 0.5rem;
  background: #ffffff;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.15s;
}
.seating-modal__meal-btn:hover {
  border-color: #F49609;
}
.seating-modal__meal-btn--selected {
  border-color: #F49609;
  background: #F49609;
  color: #ffffff;
}

.phase-selector {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0.5rem;
  z-index: 30;
  min-width: 10rem;
}
.phase-selector__option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.15s;
}
.phase-selector__option:hover {
  background: #f1f5f9;
}
.phase-selector__option--current {
  background: rgba(244, 150, 9, 0.1);
  font-weight: 600;
}
.phase-selector__option__icon {
  width: 1.25rem;
  text-align: center;
}

.phase-modal__table-name {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 1rem;
  text-align: center;
}
.phase-modal__options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.phase-modal__option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
}
.phase-modal__option:hover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.05);
}
.phase-modal__option--current {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.1);
}
.phase-modal__option--current .phase-modal__option-name {
  font-weight: 600;
}
.phase-modal__option--current i {
  color: #10b981;
  margin-left: auto;
}
.phase-modal__option-icon {
  font-size: 1.25rem;
  width: 2rem;
  text-align: center;
}
.phase-modal__option-name {
  flex: 1;
  font-size: 0.875rem;
  color: #1e293b;
}

.table-element.table--seated {
  background: rgba(16, 185, 129, 0.15);
  border-color: #10b981;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.table-element.table--seated.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent), 0 0 0 2px rgba(16, 185, 129, 0.2);
}
.table-element.table--occupied {
  background: rgba(244, 150, 9, 0.1);
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
}
.table-element.table--occupied.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent), 0 0 0 2px rgba(244, 150, 9, 0.2);
}
.table-element.table--turning-soon {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
  animation: pulse-table 2s ease-in-out infinite;
}
.table-element.table--turning-soon.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent), 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.table-element.table--cleaning {
  background: rgba(245, 158, 11, 0.12);
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.table-element.table--cleaning.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent), 0 0 0 2px rgba(245, 158, 11, 0.2);
}
.table-element.table--available {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}
.table-element.table--available.table--has-area {
  box-shadow: inset 0 0 0 3px var(--area-color, transparent);
}

.cleaning-badge {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #f59e0b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 0.375rem;
  white-space: nowrap;
  z-index: 5;
  pointer-events: none;
}
.cleaning-badge i {
  margin-right: 4px;
}

@keyframes pulse-table {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
  }
  50% {
    box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.3);
  }
}
.table-element.table--swap-source {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
  animation: swap-source-pulse 1.2s ease infinite;
}

.table-element.table--swap-target {
  border-color: #10b981;
  border-style: dashed;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
  cursor: pointer;
  animation: swap-target-pulse 1.5s ease infinite;
}

.table-element.table--swap-disabled {
  opacity: 0.35;
  pointer-events: none;
}

@keyframes swap-source-pulse {
  0%, 100% {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.15);
  }
}
@keyframes swap-target-pulse {
  0%, 100% {
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(16, 185, 129, 0.1);
  }
}
.swap-mode-banner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  z-index: 50;
  animation: swap-banner-in 0.2s ease;
}
.swap-mode-banner i {
  color: #3b82f6;
  font-size: 1rem;
}
.swap-mode-banner strong {
  color: #93c5fd;
}

@media (max-width: 1399px) {
  .swap-mode-banner {
    position: fixed;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
    max-width: calc(100vw - 1.5rem);
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(59, 130, 246, 0.45);
    border-radius: 999px;
    box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 60;
    animation: swap-banner-pill-in 0.22s ease;
  }
}
@media (max-width: 1399px) and (max-width: 640px) {
  .swap-mode-banner {
    bottom: max(1rem, env(safe-area-inset-bottom));
    font-size: 0.75rem;
    padding: 0.625rem 0.75rem;
  }
}
.swap-mode-banner__cancel {
  margin-left: auto;
  padding: 0.375rem 0.75rem;
  min-height: 36px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.swap-mode-banner__cancel:hover {
  background: #475569;
  color: #ffffff;
}

@keyframes swap-banner-in {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes swap-banner-pill-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}
@keyframes pulse-badge {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
.availability-summary {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.availability-summary__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}
.availability-summary__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #64748b;
}
.availability-summary__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.availability-summary__stat {
  text-align: center;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.5rem;
}
.availability-summary__stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}
.availability-summary__stat-label {
  font-size: 0.7rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.availability-summary__stat--available .availability-summary__stat-value {
  color: #10b981;
}
.availability-summary__stat--turning .availability-summary__stat-value {
  color: #F49609;
}
.availability-summary__stat--occupied .availability-summary__stat-value {
  color: #ef4444;
}

.phase-dropdown {
  background: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 0.25rem;
  min-width: 160px;
  max-height: 300px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.phase-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: none;
  background: transparent;
  border-radius: 0.375rem;
  font-size: 0.8rem;
  color: #334155;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-align: left;
}
.phase-dropdown__item:hover {
  background: #f1f5f9;
}
.phase-dropdown__item:active {
  background: #e2e8f0;
}
.phase-dropdown__icon {
  font-size: 1rem;
  flex-shrink: 0;
}
.phase-dropdown__label {
  flex: 1;
}

.availability-bar {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 100;
}
.availability-bar__header {
  padding: 0;
}
.availability-bar__toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.75rem 2rem;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.15s ease;
  text-align: left;
}
.availability-bar__toggle:hover {
  background: rgba(255, 255, 255, 0.05);
}
.availability-bar__toggle:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}
.availability-bar__toggle[aria-expanded=true] .availability-bar__chevron {
  transform: rotate(180deg);
}
.availability-bar__stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}
@media (min-width: 768px) {
  .availability-bar__stats {
    gap: 1.5rem;
  }
}
.availability-bar__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}
.availability-bar__stat--available .availability-bar__dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.5);
}
.availability-bar__stat--turning .availability-bar__dot {
  background: #F49609;
  box-shadow: 0 0 6px rgba(244, 150, 9, 0.5);
  animation: pulse-dot 2s ease-in-out infinite;
}
.availability-bar__stat--occupied .availability-bar__dot {
  background: #64748b;
}
.availability-bar__stat--avg-time {
  color: #cbd5e1;
}
.availability-bar__stat--upcoming {
  color: #cbd5e1;
}
.availability-bar__stat-icon {
  font-size: 0.75rem;
  color: #94a3b8;
}
.availability-bar__separator {
  width: 1px;
  height: 1rem;
  background: #475569;
  flex-shrink: 0;
}
.availability-bar__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}
.availability-bar__count {
  font-weight: 600;
  color: #f1f5f9;
}
.availability-bar__label {
  color: #94a3b8;
}
@media (max-width: 640px) {
  .availability-bar__label {
    display: none;
  }
}
.availability-bar__chevron {
  color: #94a3b8;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.availability-bar__capacity {
  height: 3px;
  background: #334155;
  width: 100%;
}
.availability-bar__capacity--green .availability-bar__capacity-fill {
  background: #10b981;
}
.availability-bar__capacity--yellow .availability-bar__capacity-fill {
  background: #F49609;
}
.availability-bar__capacity--red .availability-bar__capacity-fill {
  background: #ef4444;
}
.availability-bar__capacity-fill {
  height: 100%;
  background: #10b981;
  transition: width 0.5s ease, background-color 0.3s ease;
}
.availability-bar__details {
  border-top: 1px solid #334155;
  padding: 1rem 1.5rem;
  background: #0f172a;
}
.availability-bar__details[hidden] {
  display: none;
}
.availability-bar__section:not(:last-child) {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #334155;
}
.availability-bar__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.availability-bar__section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}
.availability-bar__section-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}
.availability-bar__reservations-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.availability-bar__search {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}
.availability-bar__search > i {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 12px;
  pointer-events: none;
}
.availability-bar__search-input {
  width: 100%;
  min-height: 36px;
  padding: 0 0.75rem 0 calc(1.5rem + 4px);
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.25rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.availability-bar__search-input::placeholder {
  color: #64748b;
}
.availability-bar__search-input:focus {
  outline: none;
  border-color: #F49609;
  background: #0f172a;
}
.availability-bar__filter-chips {
  display: inline-flex;
  gap: 0.25rem;
  padding: 2px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.25rem;
}
.availability-bar__chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 0.75rem;
  background: transparent;
  border: 0;
  border-radius: calc(0.25rem - 2px);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.12s ease, color 0.12s ease;
}
.availability-bar__chip:hover {
  color: #e2e8f0;
}
.availability-bar__chip.is-active {
  background: rgba(244, 150, 9, 0.18);
  color: #F49609;
}
.availability-bar__chip:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.availability-bar__upcoming {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 340px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.availability-bar__upcoming::-webkit-scrollbar {
  width: 6px;
}
.availability-bar__upcoming::-webkit-scrollbar-track {
  background: #334155;
  border-radius: 3px;
}
.availability-bar__upcoming::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 3px;
}
.availability-bar__empty {
  padding: 1rem 0.75rem;
  margin: 0;
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  background: rgba(30, 41, 59, 0.4);
  border: 1px dashed #334155;
  border-radius: 0.25rem;
}
.availability-bar__upcoming-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  width: 100%;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.25rem;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}
.availability-bar__upcoming-item[draggable=true] {
  cursor: grab;
}
.availability-bar__upcoming-item[draggable=true]:active {
  cursor: grabbing;
}
.availability-bar__upcoming-item.dragging {
  opacity: 0.4;
  border-style: dashed;
}
.availability-bar__upcoming-item:hover {
  border-color: #64748b;
  background: #334155;
}
.availability-bar__upcoming-item:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.availability-bar__upcoming-item:active {
  transform: translateY(1px);
}
.availability-bar__upcoming-item.is-soon {
  border-color: rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), #1e293b);
}
.availability-bar__upcoming-item.has-recognition {
  border-color: #F49609;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.12), #1e293b);
}
.availability-bar__upcoming-when {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 56px;
}
.availability-bar__upcoming-date {
  font-size: 10px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.availability-bar__upcoming-time {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  white-space: nowrap;
}
.availability-bar__upcoming-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.availability-bar__upcoming-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.availability-bar__upcoming-sub {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  flex-wrap: wrap;
}
.availability-bar__upcoming-party {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.availability-bar__upcoming-party i {
  color: #64748b;
  font-size: 11px;
}
.availability-bar__upcoming-note {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #F49609;
  font-weight: 500;
}
.availability-bar__upcoming-note i {
  font-size: 10px;
}
.availability-bar__upcoming-end {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.availability-bar__upcoming-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 0.5rem;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.availability-bar__upcoming-tag--soon {
  background: rgba(37, 99, 235, 0.16);
  color: #2563eb;
}
.availability-bar__upcoming-tag--seated {
  background: rgba(16, 185, 129, 0.16);
  color: #10b981;
}
.availability-bar__upcoming-tag--pending {
  background: rgba(100, 116, 139, 0.16);
  color: #94a3b8;
}
.availability-bar__upcoming-arrow {
  color: #64748b;
  font-size: 12px;
  transition: transform 0.15s ease;
}
.availability-bar__upcoming-item:hover .availability-bar__upcoming-arrow {
  transform: translateX(2px);
  color: #cbd5e1;
}
.availability-bar__timeline {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}
.availability-bar__timeline::-webkit-scrollbar {
  height: 4px;
}
.availability-bar__timeline::-webkit-scrollbar-track {
  background: #334155;
  border-radius: 2px;
}
.availability-bar__timeline::-webkit-scrollbar-thumb {
  background: #64748b;
  border-radius: 2px;
}
.availability-bar__time-slot {
  flex-shrink: 0;
  text-align: center;
  padding: 0.5rem 0.75rem;
  background: #1e293b;
  border-radius: 0.25rem;
  border: 1px solid #334155;
  min-width: 70px;
}
.availability-bar__time-slot--good {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.1);
}
.availability-bar__time-slot--busy {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}
.availability-bar__time-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #e2e8f0;
  display: block;
}
.availability-bar__time-count {
  font-size: 0.75rem;
  color: #94a3b8;
}
.availability-bar__pulse-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}
.availability-bar__pulse-dot--available {
  background: #10b981;
}
.availability-bar__pulse-dot--turning {
  background: #F49609;
  animation: pulse-dot 2s ease-in-out infinite;
}
.availability-bar__pulse-dot--occupied {
  background: #cbd5e1;
}
.availability-bar__count--updated {
  animation: count-pulse 0.3s ease-out;
}
.availability-bar__timeline-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.75rem;
  background: #1e293b;
  border-radius: 0.25rem;
  border: 1px solid #334155;
  flex-shrink: 0;
  min-width: 120px;
}
.availability-bar__table-name {
  font-weight: 600;
  font-size: 0.875rem;
  color: #e2e8f0;
}
.availability-bar__time-remaining {
  font-size: 0.75rem;
  color: #F49609;
  font-weight: 500;
}
.availability-bar__empty {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
  padding: 0.5rem 0;
}

@keyframes count-pulse {
  0% {
    transform: scale(1);
    color: #f1f5f9;
  }
  50% {
    transform: scale(1.15);
    color: #F49609;
  }
  100% {
    transform: scale(1);
    color: #f1f5f9;
  }
}
@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}
.cleaning-notifications {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10100;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 90%;
  max-width: 520px;
  pointer-events: none;
  animation: fadeIn 0.2s ease-out;
}

.cleaning-notification {
  pointer-events: auto;
  animation: cleaning-strip-in 0.3s ease-out;
}
.cleaning-notification--dismissing {
  animation: cleaning-strip-out 0.3s ease-out forwards;
}
.cleaning-notification--accepted {
  animation: cleaning-strip-out 0.3s ease-out forwards;
}
.cleaning-notification__strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.625rem 1rem;
  background: #1e293b;
  border: 1px solid rgba(244, 150, 9, 0.4);
  border-left: 4px solid #F49609;
  border-radius: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  min-height: 52px;
}
.cleaning-notification__strip-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  min-width: 0;
}
.cleaning-notification__strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(244, 150, 9, 0.2);
  color: #F49609;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.cleaning-notification__strip-badge i {
  font-size: 0.7rem;
}
.cleaning-notification__strip-table {
  font-weight: 700;
  color: #f1f5f9;
  font-size: 0.9375rem;
  white-space: nowrap;
}
.cleaning-notification__strip-detail {
  color: #94a3b8;
  font-size: 0.8125rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cleaning-notification__strip-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}
.cleaning-notification__strip-timer {
  font-size: 1rem;
  font-weight: 700;
  color: #F49609;
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  text-align: center;
}
.cleaning-notification__strip-timer--warning {
  color: #f59e0b;
}
.cleaning-notification__strip-timer--urgent {
  color: #ef4444;
  animation: pulse 0.5s ease-in-out infinite;
}
.cleaning-notification__strip-action {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: #10b981;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  min-height: 36px;
  min-width: 44px;
  transition: background 0.15s ease;
}
.cleaning-notification__strip-action:hover {
  background: #059669;
}
.cleaning-notification__strip-action:active {
  transform: scale(0.97);
}
.cleaning-notification__strip-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(71, 85, 105, 0.4);
  color: #94a3b8;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  transition: all 0.15s ease;
}
.cleaning-notification__strip-dismiss:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

@keyframes cleaning-strip-in {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes cleaning-strip-out {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes modalSlideOut {
  from {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  to {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
}
.floor-table.cleaning::before {
  content: "";
  position: absolute;
  inset: -4px;
  border: 2px dashed #F49609;
  border-radius: inherit;
  animation: cleaningPulse 1.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes acceptPulse {
  0% {
    transform: scale(1);
    background: #0f172a;
  }
  50% {
    transform: scale(1.02);
    background: rgba(16, 185, 129, 0.2);
  }
  100% {
    opacity: 0;
    transform: scale(0.95);
  }
}
@keyframes cleaningPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.fp-perm-tooltip {
  position: fixed;
  z-index: 100000;
  display: none;
  max-width: 240px;
  padding: 8px 12px;
  background: rgba(17, 24, 39, 0.96);
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid rgba(244, 150, 9, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.12s ease;
}
.fp-perm-tooltip.is-visible {
  opacity: 1;
}

.customers-page {
  background: #0f1419;
  min-height: 100vh;
  color: #f7fafc;
}

.customers-page .admin-main {
  transition: margin-left 250ms ease-in-out;
  background: #0f1419;
  container-type: inline-size;
}
.customers-page .admin-main.sidebar-collapsed.sidebar-docked-left {
  margin-left: 80px !important;
}
.customers-page .admin-main.sidebar-floating {
  margin-left: 0 !important;
}

.customers-page .customers-header {
  padding: 2rem;
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 768px) {
  .customers-page .customers-header {
    padding: 1rem;
  }
}

.customers-page .customers-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (max-width: 1024px) {
  .customers-page .customers-header__top {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.customers-page .customers-header__title-section {
  flex: 1;
}

.customers-page .customers-header__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #f7fafc;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (max-width: 768px) {
  .customers-page .customers-header__title {
    font-size: 1.5rem;
  }
}
.customers-page .customers-header__title i {
  color: #3b82f6;
  font-size: 1.5rem;
}

.customers-page .customers-header__subtitle {
  font-size: 1rem;
  color: #cbd5e0;
  margin: 0;
}

.customers-page .customers-header__actions {
  display: flex;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .customers-page .customers-header__actions {
    width: 100%;
  }
  .customers-page .customers-header__actions .btn {
    flex: 1;
  }
}

.customers-page .customers-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  .customers-page .customers-stats {
    grid-template-columns: 1fr 1fr;
  }
}

.customers-page .stat-card {
  background: #212937;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  transition: all 150ms ease-in-out;
}
.customers-page .stat-card:hover {
  background: rgb(36.825, 45.7522727273, 61.375);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.customers-page .stat-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  font-size: 1.25rem;
}

.customers-page .stat-card__content {
  flex: 1;
  min-width: 0;
}

.customers-page .stat-card__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7fafc;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.customers-page .stat-card__label {
  display: block;
  font-size: 0.75rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.customers-page .stat-card__trend {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.customers-page .stat-card__trend i {
  font-size: 0.625rem;
}
.customers-page .stat-card__trend--up {
  color: #10b981;
}
.customers-page .stat-card__trend--down {
  color: #ef4444;
}

.customers-page .customers-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
@container (max-width: 850px) {
  .customers-page .customers-controls {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
}

.customers-page .customers-controls__left {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.customers-page .customers-controls__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  flex-shrink: 0;
}
@container (max-width: 850px) {
  .customers-page .customers-controls__right {
    justify-self: start;
  }
}

.customers-page .search-box {
  position: relative;
  max-width: 500px;
}

.customers-page .search-box__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  pointer-events: none;
}

.customers-page .search-box__input {
  width: 100%;
  padding: 0.75rem 2.5rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 0.9375rem;
  transition: all 150ms ease-in-out;
}
.customers-page .search-box__input::placeholder {
  color: #a0aec0;
}
.customers-page .search-box__input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: rgb(36.825, 45.7522727273, 61.375);
}

.customers-page .search-box__clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: all 150ms ease-in-out;
}
.customers-page .search-box__clear:hover {
  color: #f7fafc;
  background: rgba(247, 250, 252, 0.1);
}
.customers-page .search-box__clear.hidden {
  display: none;
}

.customers-page .filter-chips {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.customers-page .filter-chip {
  padding: 0.5rem 1rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2rem;
  color: #cbd5e0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}
.customers-page .filter-chip:hover {
  background: #2a2d3a;
  border-color: #3b82f6;
  color: #f7fafc;
}
.customers-page .filter-chip--active {
  background: rgba(59, 130, 246, 0.15);
  border-color: #3b82f6;
  color: #3b82f6;
}
.customers-page .filter-chip i {
  font-size: 0.75rem;
}

.customers-page .filter-chip__count {
  background: rgba(247, 250, 252, 0.1);
  padding: 0.125rem 0.375rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.customers-view-toggle {
  display: flex;
  background: #212937;
  border-radius: 0.75rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  gap: 0.5rem;
  flex-shrink: 0;
}

.customers-view-toggle__btn {
  padding: 0.75rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #cbd5e0;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
}
.customers-view-toggle__btn:hover {
  color: #f7fafc;
}
.customers-view-toggle__btn--active {
  background: #3b82f6;
  color: #ffffff;
}
.customers-view-toggle__btn--active:hover {
  background: #2563eb;
  color: #ffffff;
}

.customers-page .sort-select {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  min-height: 54px;
  background: #212937 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 0.75rem center;
  background-size: 1.25em 1.25em;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 0.875rem;
  cursor: pointer;
  appearance: none;
  transition: all 150ms ease-in-out;
}
.customers-page .sort-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.customers-page .customers-container {
  padding: 2rem;
}
@media (max-width: 768px) {
  .customers-page .customers-container {
    padding: 1rem;
  }
}

.customers-page .customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .customers-page .customers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.customers-page .customer-card {
  background: #1a1f2e;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 250ms ease-in-out;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.customers-page .customer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}
.customers-page .customer-card--vip {
  border-color: rgba(251, 191, 36, 0.3);
  background: linear-gradient(135deg, #1a1f2e 0%, rgba(251, 191, 36, 0.05) 100%);
}
.customers-page .customer-card--new {
  border-color: rgba(245, 158, 11, 0.3);
}
.customers-page .customer-card--birthday {
  border-color: rgba(236, 72, 153, 0.3);
}

.customers-page .customer-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.25rem 0.625rem;
  background: linear-gradient(135deg, #fbbf24, rgb(231.7668161435, 168.269058296, 4.2331838565));
  color: #0f1419;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  z-index: 1;
}
.customers-page .customer-card__badge i {
  font-size: 0.625rem;
}
.customers-page .customer-card__badge--new {
  background: linear-gradient(135deg, #f59e0b, rgb(196.9291338583, 126.7125984252, 8.0708661417));
}
.customers-page .customer-card__badge--birthday {
  background: linear-gradient(135deg, #ec4899, rgb(231.202970297, 25.797029703, 127.2475247525));
  color: #ffffff;
}

.customers-page .customer-card__header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.customers-page .customer-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #212937;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}
.customers-page .customer-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.customers-page .customer-card__status {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #1a1f2e;
}
.customers-page .customer-card__status--active {
  background: #10b981;
}
.customers-page .customer-card__status--inactive {
  background: #a0aec0;
}

.customers-page .customer-card__body {
  padding: 1rem 1.5rem;
  text-align: center;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.customers-page .customer-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0 0 0.5rem;
}

.customers-page .customer-card__contact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.customers-page .customer-card__email,
.customers-page .customer-card__phone {
  font-size: 0.8125rem;
  color: #cbd5e0;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customers-page .customer-card__contact--hidden,
.cd__chip--hidden {
  color: #94a3b8;
  font-style: italic;
}
.customers-page .customer-card__contact--hidden i,
.cd__chip--hidden i {
  margin-right: 0.25rem;
  opacity: 0.8;
}

.customers-page .customer-card__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0.75rem 0;
  margin: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  transition: background-color 150ms ease-in-out;
}
.customers-page .customer-card__stats--just-updated {
  animation: customer-stats-pulse 1.4s ease-out;
}

@keyframes customer-stats-pulse {
  0% {
    background-color: rgba(244, 150, 9, 0);
  }
  20% {
    background-color: rgba(244, 150, 9, 0.18);
  }
  100% {
    background-color: rgba(244, 150, 9, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .customers-page .customer-card__stats--just-updated {
    animation: none;
  }
}
.customers-page .customer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  justify-content: center;
  margin-bottom: 1rem;
  min-height: 28px;
}

.customers-page .customer-card__last-visit,
.customers-page .customer-card__birthday {
  font-size: 0.8125rem;
  color: #cbd5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
}
.customers-page .customer-card__last-visit i,
.customers-page .customer-card__birthday i {
  font-size: 0.75rem;
}
.customers-page .customer-card__last-visit--old,
.customers-page .customer-card__birthday--old {
  color: #f59e0b;
}

.customers-page .customer-card__body > .customer-card__last-visit {
  margin-top: auto;
}

.customers-page .customer-card__birthday {
  color: #ec4899;
  font-weight: 500;
}

.customers-page .customer-card__actions {
  padding: 1rem;
  background: #212937;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.customers-page .customer-stat {
  text-align: center;
}

.customers-page .customer-stat__value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 0.25rem;
}

.customers-page .customer-stat__label {
  display: block;
  font-size: 0.625rem;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.customers-page .tag {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.customers-page .tag--dietary {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
}
.customers-page .tag--preference {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}
.customers-page .tag--occasion {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.customers-page .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.customers-page .pagination__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #cbd5e0;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.customers-page .pagination__btn:hover:not(:disabled) {
  background: #2a2d3a;
  border-color: #3b82f6;
  color: #f7fafc;
}
.customers-page .pagination__btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.customers-page .pagination__numbers {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.customers-page .pagination__number {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #cbd5e0;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  padding: 0 0.5rem;
}
.customers-page .pagination__number:hover {
  background: #212937;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}
.customers-page .pagination__number--active {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}
.customers-page .pagination__number--active:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.customers-page .pagination__ellipsis {
  color: #a0aec0;
  padding: 0 0.5rem;
}

.customers-page .customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 640px) {
  .customers-page .customers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.customers-page .customers-grid--list {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.customers-page .customers-grid--list .customer-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  border-radius: 0.75rem;
  overflow: hidden;
}
.customers-page .customers-grid--list .customer-card__badge {
  position: static;
  grid-column: 1/-1;
  justify-self: end;
  margin: 0.5rem 0.75rem 0 0;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
}
.customers-page .customers-grid--list .customer-card__header {
  padding: 0.75rem 0 0.75rem 1rem;
}
.customers-page .customers-grid--list .customer-card__avatar {
  width: 48px;
  height: 48px;
}
.customers-page .customers-grid--list .customer-card__avatar img {
  width: 48px;
  height: 48px;
}
.customers-page .customers-grid--list .customer-card__body {
  text-align: left;
  padding: 0.75rem 1rem;
}
.customers-page .customers-grid--list .customer-card__name {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}
.customers-page .customers-grid--list .customer-card__contact {
  flex-direction: row;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.customers-page .customers-grid--list .customer-card__stats {
  display: inline-flex;
  gap: 1rem;
  padding: 0.5rem 0;
  margin-bottom: 0.25rem;
  border-top: none;
  border-bottom: none;
}
.customers-page .customers-grid--list .customer-card__tags {
  margin-top: 0;
  min-height: auto;
}
.customers-page .customers-grid--list .customer-card__last-visit,
.customers-page .customers-grid--list .customer-card__birthday {
  display: none;
}
.customers-page .customers-grid--list .customer-card__actions {
  flex-direction: column;
  padding: 0.75rem;
  background: transparent;
  border-top: none;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.customers-page .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.customers-page .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.customers-page .btn--primary {
  background: #3b82f6;
  color: #ffffff;
}
.customers-page .btn--primary:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.customers-page .btn--primary:active {
  transform: translateY(0);
}

.customers-page .btn--orange {
  background: #F49609;
  color: #ffffff;
}
.customers-page .btn--orange:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.customers-page .btn--orange:active {
  transform: translateY(0);
}

.customers-page .btn--outline {
  background: transparent;
  color: #f7fafc;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.customers-page .btn--outline:hover:not(:disabled) {
  background: #212937;
  border-color: #cbd5e0;
}

.customers-page .btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  color: #cbd5e0;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.customers-page .btn-icon:hover:not(:disabled) {
  background: #212937;
  border-color: rgba(255, 255, 255, 0.08);
  color: #f7fafc;
}
.customers-page .btn-icon--highlight {
  color: #ec4899;
}
.customers-page .btn-icon--highlight:hover {
  background: rgba(236, 72, 153, 0.1);
  border-color: #ec4899;
  color: #ec4899;
}
.customers-page .btn-icon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.customers-page .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
}
.customers-page .modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.customers-page .modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.customers-page .modal-content {
  position: relative;
  background: #1a1f2e;
  border-radius: 1.5rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease;
}
.customers-page .modal-content--large {
  max-width: 880px;
}
.customers-page .modal-content--xlarge {
  max-width: 1040px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.customers-page .modal-header {
  padding: 1rem 1rem 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  cursor: grab;
}
.customers-page .modal-header:active {
  cursor: grabbing;
}

.customers-page .modal-header__actions {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

#emailComposeModal .modal-header .modal-header__actions .modal-minimize,
#emailComposeModal .modal-header .modal-header__actions .modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: color 150ms ease-in-out, background 150ms ease-in-out;
  font-size: 1rem;
  touch-action: manipulation;
  position: static;
  top: auto;
  right: auto;
  z-index: 1;
  line-height: 1;
  font-weight: normal;
}
#emailComposeModal .modal-header .modal-header__actions .modal-minimize::before,
#emailComposeModal .modal-header .modal-header__actions .modal-close::before {
  content: none;
  display: none;
}
#emailComposeModal .modal-header .modal-header__actions .modal-minimize:hover,
#emailComposeModal .modal-header .modal-header__actions .modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  transform: none;
}

#emailComposeModal .modal-header .modal-header__actions .modal-close {
  font-size: 1.1rem;
}

.customers-page .modal-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customers-page .modal-body {
  padding: 1.5rem;
}

#customerDetailsModal .modal-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 2;
  border: none;
  background: none;
  padding: 1rem;
  justify-content: flex-end;
  cursor: grab;
}
#customerDetailsModal .modal-header:active {
  cursor: grabbing;
}

#customerDetailsModal .modal-close {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 36px;
  height: 36px;
}
#customerDetailsModal .modal-close:hover {
  background: rgba(0, 0, 0, 0.5);
}

#customerDetailsModal .modal-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#customerDetailsModal .modal-content {
  display: flex;
  flex-direction: column;
}

#customerDetailsModal .modal-body {
  overflow-y: auto;
  max-height: calc(90vh - 20px);
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.customers-page .modal-footer {
  padding: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

.customers-page .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.customers-page .form-row > .form-group {
  min-width: 0;
}

@media (max-width: 640px) {
  .customers-page .form-row {
    grid-template-columns: 1fr;
  }
}
.customers-page .form-group {
  margin-bottom: 1.25rem;
}
.customers-page .form-group:last-child {
  margin-bottom: 0;
}

.customers-page .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e0;
  margin-bottom: 0.5rem;
}

.customers-page .form-input,
.customers-page .form-select,
.customers-page .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #f7fafc;
  font-size: 1rem;
  transition: all 150ms ease-in-out;
}
.customers-page .form-input::placeholder,
.customers-page .form-select::placeholder,
.customers-page .form-textarea::placeholder {
  color: #a0aec0;
}
.customers-page .form-input:focus,
.customers-page .form-select:focus,
.customers-page .form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: #242d3d;
}
.customers-page .form-input:disabled,
.customers-page .form-select:disabled,
.customers-page .form-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.customers-page .form-textarea {
  resize: vertical;
  min-height: 80px;
  font-family: inherit;
}

.customers-page #customerModal .custom-dropdown .dropdown-trigger {
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  color: #f7fafc;
  padding: 0.625rem 0.875rem;
  min-height: 0;
  font-size: 1rem;
  font-weight: 400;
}
.customers-page #customerModal .custom-dropdown .dropdown-trigger:hover {
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}
.customers-page #customerModal .custom-dropdown .dropdown-trigger:focus, .customers-page #customerModal .custom-dropdown .dropdown-trigger.is-open {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: #242d3d;
}
.customers-page #customerModal .custom-dropdown .dropdown-trigger .dropdown-value {
  color: #f7fafc;
}
.customers-page #customerModal .custom-dropdown .dropdown-trigger .dropdown-value.placeholder {
  color: #a0aec0;
}
.customers-page #customerModal .custom-dropdown .dropdown-trigger .chevron {
  color: #a0aec0;
}
.customers-page #customerModal .custom-dropdown .dropdown-menu {
  background: #1a1f2e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.6);
  color: #f7fafc;
}
.customers-page #customerModal .custom-dropdown .dropdown-option {
  color: #f7fafc;
  background: transparent;
}
.customers-page #customerModal .custom-dropdown .dropdown-option:hover, .customers-page #customerModal .custom-dropdown .dropdown-option.focused {
  background: rgba(59, 130, 246, 0.18);
  color: #f7fafc;
}
.customers-page #customerModal .custom-dropdown .dropdown-option.selected {
  background: rgba(59, 130, 246, 0.28);
  color: #f7fafc;
}
.customers-page #customerModal .custom-dropdown .dropdown-option .option-label,
.customers-page #customerModal .custom-dropdown .dropdown-option .option-description {
  color: inherit;
}
.customers-page #customerModal .custom-dropdown .dropdown-option .option-check {
  color: #3b82f6;
}

.customers-page .checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  margin-top: 0.5rem;
}
@media (max-width: 480px) {
  .customers-page .checkbox-group {
    grid-template-columns: 1fr;
  }
}

.customers-page .checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 0.5rem 0;
  min-height: 44px;
}

.customers-page .checkbox input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin-right: 0.5rem;
  cursor: pointer;
}

.customers-page .checkbox span {
  font-size: 0.875rem;
  color: #f7fafc;
}

.customers-page .checkbox:hover span {
  color: #3b82f6;
}

.customers-page .toast-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

@media (max-width: 640px) {
  .customers-page .toast-container {
    right: 1rem;
    left: 1rem;
  }
}
.customers-page .toast {
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  pointer-events: all;
  animation: toastSlideIn 0.3s ease;
}
.customers-page .toast--success {
  border-color: #10b981;
}
.customers-page .toast--success .toast__icon {
  color: #10b981;
}
.customers-page .toast--error {
  border-color: #ef4444;
}
.customers-page .toast--error .toast__icon {
  color: #ef4444;
}

.customers-page .toast__icon {
  font-size: 1.25rem;
}

.customers-page .toast__message {
  flex: 1;
  color: #f7fafc;
  font-size: 0.875rem;
}

.customers-page .toast__close {
  background: none;
  border: none;
  color: #cbd5e0;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
}
.customers-page .toast__close:hover {
  color: #f7fafc;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.customers-page .hidden {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .customers-page *,
  .customers-page *::before,
  .customers-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (prefers-contrast: high) {
  .customers-page .customer-card {
    border-width: 2px;
  }
  .customers-page .form-input,
  .customers-page .form-select,
  .customers-page .form-textarea {
    border-width: 2px;
  }
  .customers-page .btn {
    border-width: 2px;
  }
}
.customers-page *:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.cd {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cd__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2.5rem 0;
  color: #94a3b8;
  font-size: 1.125rem;
}
.cd__loading i {
  font-size: 1.5rem;
}

.cd__error {
  text-align: center;
  padding: 2rem 0;
  color: #ef4444;
}

.cd__hero {
  background: linear-gradient(135deg, rgba(45, 46, 136, 0.35) 0%, rgba(30, 41, 59, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  margin: -1.5rem -1.5rem 0;
}

.cd__hero-main {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.cd__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.cd__hero-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.cd__name-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cd__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cd__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
.cd__badge--vip {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.cd__badge--tier {
  background: rgba(59, 130, 246, 0.12);
  color: rgb(132.1414634146, 176.6463414634, 249.3585365854);
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.cd__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cd__chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 0.375rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 150ms ease-in-out;
}
.cd__chip i {
  font-size: 0.7rem;
  color: #94a3b8;
}
.cd__chip:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.cd__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}
.cd__meta-row i {
  width: 12px;
  text-align: center;
  margin-right: 3px;
  opacity: 0.7;
}

.cd__status-label {
  font-weight: 600;
  color: #10b981;
}
.cd__status-label--inactive {
  color: #64748b;
}

.cd__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.cd__stat {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  transition: border-color 150ms ease-in-out;
}
.cd__stat:hover {
  border-color: #475569;
}

.cd__stat-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.cd__stat--visits .cd__stat-icon {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}
.cd__stat--spent .cd__stat-icon {
  background: rgba(244, 150, 9, 0.12);
  color: #F49609;
}
.cd__stat--avg .cd__stat-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.cd__stat--points .cd__stat-icon {
  background: rgba(45, 46, 136, 0.2);
  color: rgb(141.9171270718, 142.7486187845, 217.5828729282);
}

.cd__stat-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cd__stat-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cd__stat-label {
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.cd__card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
}

.cd__card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: #e2e8f0;
  border-bottom: 1px solid #334155;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.cd__icon {
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.cd__icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.cd__icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
}
.cd__icon--purple {
  background: rgba(45, 46, 136, 0.2);
  color: rgb(141.9171270718, 142.7486187845, 217.5828729282);
}
.cd__icon--orange {
  background: rgba(244, 150, 9, 0.12);
  color: #F49609;
}

.cd__card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cd__field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cd__field-label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cd__field-value {
  color: #e2e8f0;
  font-size: 0.875rem;
}

.cd__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cd__tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.cd__tag i {
  font-size: 0.6rem;
}
.cd__tag--dietary {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}
.cd__tag--allergy {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(243.0197044335, 114.9802955665, 114.9802955665);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.cd__notes {
  color: #cbd5e0;
  font-size: 0.875rem;
  line-height: 1.6;
  white-space: pre-wrap;
  margin: 0;
}

.cd__table-wrap {
  overflow-x: auto;
}

.cd__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.cd__table th,
.cd__table td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  white-space: nowrap;
}
.cd__table th {
  background: rgba(255, 255, 255, 0.02);
  color: #94a3b8;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}
.cd__table td {
  color: #e2e8f0;
  border-top: 1px solid #334155;
}
.cd__table tbody tr {
  transition: background 150ms ease-in-out;
}
.cd__table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.cd__center {
  text-align: center;
}

.cd__pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: capitalize;
}
.cd__pill--success {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.cd__pill--danger {
  background: rgba(239, 68, 68, 0.12);
  color: rgb(243.0197044335, 114.9802955665, 114.9802955665);
}
.cd__pill--muted {
  background: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
}

.cd__prefs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
}

.cd__pref {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(71, 85, 105, 0.25);
  color: #94a3b8;
  border: 1px solid #334155;
}
.cd__pref i {
  font-size: 0.8rem;
}
.cd__pref--on {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border-color: rgba(16, 185, 129, 0.2);
}

.card-dropdown {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 0.5rem;
  padding: 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-dropdown__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  padding: 0.625rem 1rem;
  background: none;
  border: none;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
  text-align: left;
}
.card-dropdown__item i {
  width: 14px;
  text-align: center;
}
.card-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.06);
}
.card-dropdown__item--danger {
  color: rgb(243.0197044335, 114.9802955665, 114.9802955665);
}
.card-dropdown__item--danger:hover {
  background: rgba(239, 68, 68, 0.1);
}

.email-pill {
  position: fixed;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #1a1f2e;
  border-radius: 0.75rem;
  padding: 0.5rem 0.5rem 0.5rem 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.12) inset;
  cursor: grab;
  user-select: none;
  touch-action: none;
}
.email-pill:active {
  cursor: grabbing;
}
.email-pill--dragging {
  cursor: grabbing;
  transition: none;
}
.email-pill[hidden] {
  display: none;
}

.email-pill__title {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f7fafc;
  white-space: nowrap;
}

.email-pill__actions {
  display: flex;
  align-items: center;
  gap: 0;
}

.email-pill__btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 32px;
  height: 32px;
  min-width: 32px;
  min-height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: all 150ms ease-in-out;
  font-size: 0.8rem;
  touch-action: manipulation;
}
.email-pill__btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.customers-page .customer-card__birthday {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 0.8125rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.customers-page .customer-card__birthday i {
  color: #D93151;
  font-size: 0.875rem;
}

@keyframes customer-card-birthday-pulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(244, 150, 9, 0.35), 0 8px 24px rgba(244, 150, 9, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.55), 0 12px 32px rgba(244, 150, 9, 0.22);
    transform: scale(1.012);
  }
}
.customers-page .customer-card.customer-card--birthday-soon {
  border-color: rgba(244, 150, 9, 0.55);
  box-shadow: 0 0 0 1px rgba(244, 150, 9, 0.35), 0 8px 24px rgba(244, 150, 9, 0.1);
  animation: customer-card-birthday-pulse 4s ease-in-out infinite;
  transform-origin: center center;
}
.customers-page .customer-card.customer-card--birthday-soon:hover {
  border-color: rgba(244, 150, 9, 0.75);
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.65), 0 12px 32px rgba(244, 150, 9, 0.24);
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .customers-page .customer-card.customer-card--birthday-soon {
    animation: none;
  }
}

.customers-page .customers-grid .customers-grid__state {
  grid-column: 1/-1;
  text-align: center;
  padding: 3rem 2rem;
}
.customers-page .customers-grid .customers-grid__spinner {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  border: 3px solid #334155;
  border-top-color: #F49609;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
  .customers-page .customers-grid .customers-grid__spinner {
    animation: none;
  }
}
.customers-page .customers-grid .customers-grid__state-icon {
  width: 5rem;
  height: 5rem;
  margin: 0 auto 1.5rem;
  color: #64748b;
}
.customers-page .customers-grid .customers-grid__state-icon--error {
  color: #ef4444;
}
.customers-page .customers-grid .customers-grid__state-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
}
.customers-page .customers-grid .customers-grid__state-text {
  color: #94a3b8;
  margin-bottom: 1.5rem;
}

/* =================================
   Dashboard Layout & Components
   Using TableFlow Design System
   Mobile-First Responsive Design
   ================================= */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
  background: var(--color-surface);
  position: relative;
}

/* === MOBILE HAMBURGER MENU === */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: var(--space-4);
  left: var(--space-4);
  z-index: 1060;
  width: var(--min-touch-target);
  height: var(--min-touch-target);
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  transition: all var(--duration-normal) ease;
}
.mobile-menu-toggle:hover {
  background: var(--color-surface);
  transform: scale(1.05);
}
.mobile-menu-toggle:focus-visible {
  outline: var(--focus-ring-width) solid var(--color-focus);
  outline-offset: var(--focus-ring-offset);
}

.sidebar {
  width: 280px;
  background: var(--color-background);
  border-right: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--duration-normal) ease;
}

.sidebar-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.logo {
  display: flex;
  align-items: center;
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-text-primary);
}

.logo-icon {
  margin-right: var(--space-3);
  font-size: var(--font-size-3xl);
}

.nav-menu {
  padding: var(--space-4) 0;
  flex: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: var(--space-3) var(--space-6);
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--duration-normal) ease;
  border-left: 3px solid transparent;
  min-height: var(--min-touch-target);
}
.nav-item:hover, .nav-item.active {
  background: var(--color-surface);
  color: var(--color-primary-600);
  border-left-color: var(--color-primary-600);
}

.nav-icon {
  margin-right: var(--space-3);
  font-size: var(--font-size-xl);
}

.main-content {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.header {
  background: var(--color-background);
  padding: var(--space-4) var(--space-8);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1010;
}

.header-title {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--color-text-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: all var(--duration-normal) ease;
  min-height: var(--min-touch-target);
}
.user-menu:hover {
  background: var(--color-surface);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-secondary-600) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-background);
  font-weight: 600;
  font-size: var(--font-size-sm);
}

.content {
  padding: var(--space-8);
  flex: 1;
}

.page-section {
  display: none;
}
.page-section.active {
  display: block;
}

.card {
  background: var(--color-background);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-8);
  overflow: hidden;
}

.card-header {
  padding: var(--space-6);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-content {
  padding: var(--space-6);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: var(--color-background);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-4);
}

.stat-title {
  color: var(--color-text-muted);
  font-size: var(--font-size-sm);
  font-weight: 500;
}

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xl);
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: var(--space-2);
}

.stat-change {
  font-size: var(--font-size-sm);
  color: var(--color-success);
  font-weight: 500;
}

.reservations-table {
  width: 100%;
  border-collapse: collapse;
}
.reservations-table th,
.reservations-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.reservations-table th {
  background: var(--color-surface);
  font-weight: 600;
  color: var(--color-text-secondary);
  font-size: var(--font-size-sm);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}
.status-badge.status-confirmed {
  background: color-mix(in srgb, var(--color-success) 15%, transparent);
  color: var(--color-success);
}
.status-badge.status-pending {
  background: color-mix(in srgb, var(--color-warning) 15%, transparent);
  color: var(--color-warning);
}
.status-badge.status-seated {
  background: color-mix(in srgb, var(--color-primary-600) 15%, transparent);
  color: var(--color-primary-600);
}

.table-joining-badge {
  background: linear-gradient(135deg, var(--color-primary-600) 0%, var(--color-secondary-600) 100%);
  color: var(--color-background);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
}

.empty-state {
  text-align: center;
  padding: var(--space-12);
  color: var(--color-text-muted);
}

.empty-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
  opacity: 0.7;
}

.settings-container {
  max-width: 700px;
  margin: 0 auto;
}

.settings-title {
  font-size: var(--font-size-2xl);
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: var(--space-8);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.simple-widget-container {
  max-width: 800px;
  margin: 0 auto;
  padding: var(--space-6);
}

.widget-header {
  text-align: center;
  margin-bottom: var(--space-8);
}

.widget-content {
  display: grid;
  gap: var(--space-6);
}

.restaurant-info,
.embed-code-section {
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.status-active {
  color: var(--color-success);
  font-weight: 600;
}

.embed-code {
  width: 100%;
  height: 200px;
  font-family: var(--font-family-mono);
  font-size: var(--font-size-sm);
  padding: var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text-primary);
  resize: vertical;
  margin-bottom: var(--space-4);
}

.embed-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: flex-end;
}

/* =================================
   MOBILE-FIRST RESPONSIVE DESIGN
   Using modern breakpoint system
   ================================= */
/* === MOBILE STYLES (Default - Mobile First) === */
@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1050;
    transform: translateX(-100%);
    border-right: none;
    box-shadow: var(--shadow-xl);
  }
  .sidebar.sidebar-open {
    transform: translateX(0);
  }
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-normal) ease;
  }
  .sidebar-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  .sidebar .sidebar-header {
    padding: var(--space-4);
    padding-left: calc(var(--min-touch-target) + var(--space-6));
  }
  .main-content {
    width: 100%;
    order: 1;
  }
  .header {
    padding: var(--space-3) var(--space-4);
    padding-left: calc(var(--min-touch-target) + var(--space-6));
  }
  .header .header-title {
    font-size: var(--font-size-xl);
    line-height: var(--line-height-tight);
  }
  .header .header-actions {
    gap: var(--space-2);
  }
  .header .user-menu {
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-2);
  }
  .header .user-menu .user-avatar {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-xs);
  }
  .header .user-menu .user-name,
  .header .user-menu .user-restaurant {
    font-size: var(--font-size-xs);
    line-height: 1.2;
  }
  .header .user-menu .sidebar-logout {
    font-size: var(--font-size-xs);
    padding: var(--space-1) var(--space-2);
    min-height: auto;
  }
  .content {
    padding: var(--space-4) var(--space-3);
  }
  /* Stats Grid - Single Column on Mobile */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
  }
  .stat-card {
    padding: var(--space-4);
  }
  .stat-card .stat-header {
    margin-bottom: var(--space-3);
  }
  .stat-card .stat-icon {
    width: 32px;
    height: 32px;
    font-size: var(--font-size-lg);
  }
  .stat-card .stat-value {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--space-1);
  }
  .stat-card .stat-change {
    font-size: var(--font-size-xs);
  }
  /* Cards */
  .card {
    margin-bottom: var(--space-6);
    border-radius: var(--radius-lg);
  }
  .card .card-header {
    padding: var(--space-4);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-3);
  }
  .card .card-header .btn {
    width: 100%;
    justify-content: center;
  }
  .card .card-content {
    padding: var(--space-4);
  }
  .card .card-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-2);
  }
  /* Tables - Horizontal Scroll */
  .reservations-table {
    font-size: var(--font-size-sm);
  }
  .reservations-table th,
  .reservations-table td {
    padding: var(--space-2) var(--space-3);
    white-space: nowrap;
  }
  .reservations-table th {
    font-size: var(--font-size-xs);
  }
  .table-scroll-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: calc(-1 * var(--space-4));
    padding: var(--space-4);
  }
  .table-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
  }
  .table-scroll-wrapper::-webkit-scrollbar-track {
    background: var(--color-surface);
  }
  .table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: var(--color-border-strong);
    border-radius: var(--radius-sm);
  }
  /* Forms */
  .form-group {
    margin-bottom: var(--space-4);
  }
  .form-input,
  .form-select,
  .form-textarea {
    font-size: var(--font-size-base);
    padding: var(--space-3);
  }
  /* Settings */
  .settings-container {
    max-width: none;
    margin: 0;
  }
  .settings-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-6);
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  /* Widget */
  .simple-widget-container {
    max-width: none;
    margin: 0;
    padding: var(--space-4);
  }
  .embed-code {
    height: 150px;
    font-size: var(--font-size-xs);
  }
  .embed-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  .embed-actions .btn {
    width: 100%;
    justify-content: center;
  }
  /* Visual Tables Section */
  .visual-header .header-info .header-title {
    font-size: var(--font-size-xl);
  }
  .visual-header .header-info .header-description {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
  }
  .visual-header .header-info .header-summary {
    font-size: var(--font-size-sm);
  }
  .visual-header .header-actions {
    flex-direction: column;
    gap: var(--space-2);
  }
  .visual-header .header-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: var(--font-size-sm);
    padding: var(--space-3) var(--space-4);
  }
  .visual-canvas-container .canvas-header {
    padding: var(--space-4);
  }
  .visual-canvas-container .canvas-header .canvas-title {
    font-size: var(--font-size-lg);
  }
  .visual-canvas-container .canvas-header .canvas-legend {
    flex-wrap: wrap;
    gap: var(--space-2);
  }
  .visual-canvas-container .canvas-header .canvas-legend .legend-item {
    font-size: var(--font-size-xs);
  }
}
/* === TABLET STYLES === */
@media (min-width: 768px) and (max-width: 1023px) {
  .mobile-menu-toggle {
    display: none;
  }
  .sidebar {
    width: 240px;
  }
  .header {
    padding: var(--space-4) var(--space-6);
  }
  .header .header-title {
    font-size: var(--font-size-2xl);
  }
  .content {
    padding: var(--space-6);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
  }
  .card-header {
    flex-wrap: wrap;
    gap: var(--space-3);
  }
}
/* === DESKTOP STYLES === */
@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
  /* Enhanced desktop styles */
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .user-menu:hover .user-avatar {
    transform: scale(1.05);
  }
}
/* === LARGE DESKTOP STYLES === */
@media (min-width: 1280px) {
  .sidebar {
    width: 320px;
  }
  .content {
    padding: var(--space-10);
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
  }
}
/* === TOUCH DEVICE OPTIMIZATIONS === */
@media (pointer: coarse) {
  .nav-item,
  .btn,
  .user-menu {
    min-height: var(--min-touch-target);
  }
  .stat-card:hover {
    transform: none;
  }
}
/* === HIGH CONTRAST MODE === */
@media (prefers-contrast: high) {
  .sidebar {
    border-right-width: 2px;
  }
  .mobile-menu-toggle {
    border-width: 2px;
  }
  .card {
    border-width: 2px;
  }
}
/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .sidebar,
  .mobile-menu-toggle,
  .sidebar-overlay {
    transition: none;
  }
  .user-avatar {
    transform: none !important;
  }
}
.metric-card {
  background: #1e293b;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #334155;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.metric-card:focus-within, .metric-card:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

#revenue-currency-icon {
  visibility: hidden;
}
#revenue-currency-icon.metric-card__icon--ready {
  visibility: visible;
}

.metric-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #f8fafc;
}
.metric-card__icon--primary {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}
.metric-card__icon--success {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}
.metric-card__icon--warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}
.metric-card__icon--error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.metric-card__value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
  font-family: "Inter", sans-serif;
  font-variant-numeric: tabular-nums;
  min-height: 2.25rem;
  display: flex;
  align-items: center;
  transition: opacity 0.3s ease;
}
.metric-card__value.skeleton {
  min-width: 4rem;
  max-width: 6rem;
}
.metric-card__value.updating {
  opacity: 0.6;
}

.metric-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.metric-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 1.5rem;
  transition: opacity 0.3s ease;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
}
.metric-card__trend--up {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.metric-card__trend--down {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.quick-actions {
  background: #1e293b;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1px solid #334155;
}

.quick-actions__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.quick-actions__primary {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .quick-actions__primary {
    grid-template-columns: repeat(2, 1fr);
  }
}
@container content-area (min-width: 900px) {
  .quick-actions__primary {
    grid-template-columns: repeat(4, 1fr);
  }
}
.quick-actions__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #0f172a;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #f8fafc;
  border: 1px solid #334155;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 120px;
  overflow: hidden;
}
.quick-actions__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0.75rem 0.75rem 0 0;
  opacity: 0.8;
  transition: opacity 0.25s ease, height 0.25s ease;
}
.quick-actions__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  border-color: #475569;
}
.quick-actions__card:hover::before {
  opacity: 1;
  height: 4px;
}
.quick-actions__card:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.quick-actions__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 0.75rem;
  font-size: 1.25rem;
  transition: transform 0.25s ease;
}
.quick-actions__card:hover .quick-actions__card-icon {
  transform: scale(1.12);
}

.quick-actions__card-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  width: 100%;
}

.quick-actions__card-label {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  letter-spacing: -0.01em;
}

.quick-actions__card-desc {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
}

.quick-actions__card--reservation::before {
  background: linear-gradient(90deg, #10b981, rgb(11.9402985075, 138.0597014925, 96.2686567164));
}
.quick-actions__card--reservation .quick-actions__card-icon {
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
}
.quick-actions__card--reservation:hover {
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 12px 24px rgba(16, 185, 129, 0.12);
}

.quick-actions__card--dinein::before {
  background: linear-gradient(90deg, #f59e0b, rgb(196.9291338583, 126.7125984252, 8.0708661417));
}
.quick-actions__card--dinein .quick-actions__card-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #f59e0b;
}
.quick-actions__card--dinein:hover {
  border-color: rgba(245, 158, 11, 0.4);
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.12);
}

.quick-actions__card--pos::before {
  background: linear-gradient(90deg, #8b5cf6, rgb(104.6046511628, 43.6686046512, 243.3313953488));
}
.quick-actions__card--pos .quick-actions__card-icon {
  background: rgba(139, 92, 246, 0.12);
  color: #8b5cf6;
}
.quick-actions__card--pos:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 24px rgba(139, 92, 246, 0.12);
}

.quick-actions__card--kitchen::before {
  background: linear-gradient(90deg, #ef4444, rgb(234.9802955665, 21.0197044335, 21.0197044335));
}
.quick-actions__card--kitchen .quick-actions__card-icon {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}
.quick-actions__card--kitchen:hover {
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 12px 24px rgba(239, 68, 68, 0.12);
}

.quick-actions__secondary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid #334155;
}
@media (max-width: 767px) {
  .quick-actions__secondary {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding: 0.75rem;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  .quick-actions__secondary::-webkit-scrollbar {
    height: 4px;
  }
  .quick-actions__secondary::-webkit-scrollbar-track {
    background: transparent;
  }
  .quick-actions__secondary::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 2px;
  }
  .quick-actions__secondary .quick-actions__link {
    scroll-snap-align: start;
    flex-shrink: 0;
  }
}

.quick-actions__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  background: rgba(51, 65, 85, 0.4);
  border: 1px solid #334155;
  transition: all 0.2s ease;
  min-height: 44px;
}
.quick-actions__link i {
  font-size: 0.875rem;
  color: #94a3b8;
  transition: color 0.2s ease, transform 0.2s ease;
}
.quick-actions__link:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.35);
  color: #f8fafc;
  transform: translateY(-1px);
}
.quick-actions__link:hover i {
  color: #3b82f6;
  transform: scale(1.1);
}
.quick-actions__link:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

@media (max-width: 400px) {
  .quick-actions__primary {
    grid-template-columns: 1fr;
  }
  .quick-actions__card {
    flex-direction: row;
    min-height: auto;
    padding: 1rem;
  }
}
@media (min-width: 401px) and (max-width: 768px) {
  .quick-actions__card {
    flex-direction: row;
    align-items: center;
    min-height: 80px;
    padding: 1rem;
  }
}
.activity-feed {
  background: #1e293b;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid #334155;
}

.activity-feed__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.activity-feed__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
}

.activity-feed__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #10b981;
}
.activity-feed__status::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.activity-feed__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.activity-feed__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  transition: all 0.2s;
}
.activity-feed__item:hover {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgb(156.5219512195, 192.1951219512, 250.4780487805);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.activity-feed__item--new {
  position: relative;
}
.activity-feed__item--new::after {
  content: "NEW";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 6px;
  border-radius: 0.375rem;
}

.activity-feed__avatar {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.activity-feed__avatar--ai-primary {
  background: linear-gradient(135deg, #3b82f6, #2D2E88);
}
.activity-feed__avatar--ai-warning {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}
.activity-feed__avatar--ai-success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.activity-feed__content {
  flex: 1;
  min-width: 0;
}

.activity-feed__text {
  font-size: 0.875rem;
  color: #f8fafc;
  margin-bottom: 0.25rem;
  line-height: 1.5;
}
.activity-feed__text strong {
  font-weight: 600;
  color: #f8fafc;
}
.activity-feed__text--empty {
  text-align: center;
  color: #94a3b8;
}
.activity-feed__text--error {
  color: #ef4444;
}

.activity-feed__time {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

.activity-feed__item--cancelled {
  border-left: 3px solid #ef4444;
}
.activity-feed__item--noShow {
  border-left: 3px solid #ef4444;
}
.activity-feed__item--completed {
  border-left: 3px solid #10b981;
}
.activity-feed__item--checkedIn {
  border-left: 3px solid #3b82f6;
}
.activity-feed__item--modified {
  border-left: 3px solid #f59e0b;
}

.activity-feed__view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  color: #60a5fa;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.375rem;
  min-height: 2.75rem;
}
.activity-feed__view-all:hover, .activity-feed__view-all:focus-visible {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.activity-feed__view-all:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.activity-feed__view-all i {
  font-size: 0.75rem;
}

.activity-feed__empty {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  background: #334155;
  border-radius: 0.5rem;
  text-align: center;
}
.activity-feed__empty p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.dashboard-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@container main-content (min-width: 1000px) {
  .dashboard-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
*:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

@media (prefers-contrast: high) {
  .metric-card,
  .quick-actions,
  .activity-feed {
    border-width: 2px;
    border-color: #f8fafc;
  }
}
.admin-dashboard {
  display: flex;
  min-height: 100vh;
  background: #0f172a;
  position: relative;
  container-type: inline-size;
  container-name: dashboard;
  flex-direction: column;
}

@media (min-width: 768px) {
  .admin-dashboard {
    flex-direction: row;
  }
}
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0f172a;
  container-type: inline-size;
  container-name: main-content;
  transition: margin-left 0.3s ease;
  margin-left: 0;
}

@media (min-width: 769px) {
  .admin-main.sidebar-docked-left {
    margin-left: 280px !important;
  }
  .admin-main.sidebar-collapsed.sidebar-docked-left {
    margin-left: 80px !important;
  }
  .admin-main.sidebar-collapsed.sidebar-docked-right {
    margin-right: 80px !important;
  }
  .admin-main.sidebar-docked-right {
    margin-left: 0 !important;
    margin-right: 280px !important;
  }
  .admin-main.sidebar-docked-right.sidebar-collapsed {
    margin-right: 80px !important;
  }
  .admin-main.sidebar-floating {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
@media (max-width: 768px) {
  .admin-main,
  .admin-main.sidebar-docked-left,
  .admin-main.sidebar-docked-right,
  .admin-main.sidebar-collapsed {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
}
.admin-header {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  color: #f8fafc;
  padding: 0.75rem 1rem;
  position: sticky;
  top: var(--incident-banner-h, 0px);
  z-index: 1020;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  min-height: 56px;
}

@media (min-width: 640px) {
  .admin-header {
    padding: 1rem 1.5rem;
  }
}
@media (min-width: 1024px) {
  .admin-header {
    padding: 1rem 2rem;
  }
}
.admin-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.admin-header__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  font-family: "Playfair Display", serif;
}

@media (min-width: 640px) {
  .admin-header__title {
    font-size: 1.5rem;
  }
}
.admin-header__breadcrumb {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

@media (min-width: 1024px) {
  .admin-header__breadcrumb {
    display: flex;
  }
}
.admin-header__breadcrumb a {
  color: #f8fafc;
  text-decoration: none;
  transition: color 0.15s ease;
}

.admin-header__breadcrumb a:hover {
  color: #cbd5e1;
  text-decoration: underline;
}

.admin-header__breadcrumb a:focus {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
  border-radius: 0.5rem;
}

.admin-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.admin-header__search {
  position: relative;
  flex: 1;
  max-width: 100%;
}

@media (min-width: 640px) {
  .admin-header__search {
    max-width: 300px;
  }
}
.admin-header__search input {
  width: 100%;
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
  background: #1e293b;
  color: #f8fafc;
}

.admin-header__search input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.admin-header__search input::placeholder {
  color: #cbd5e1;
}

.admin-header__search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #cbd5e1;
}

.admin-header__notifications {
  position: relative;
}

.admin-header__notifications button {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  color: #cbd5e1;
}

.admin-header__notifications button:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
  color: #2563eb;
}

.admin-header__notifications button:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.admin-header__notifications-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  border: 2px solid #ffffff;
}

.admin-header__user-menu {
  position: relative;
}

.admin-header__user-trigger {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.375rem 0.75rem 0.375rem 0.375rem;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #f8fafc;
}
.admin-header__user-trigger:hover {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.2);
}
.admin-header__user-trigger:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}
.admin-header__user-trigger[aria-expanded=true] {
  background: rgba(59, 130, 246, 0.1);
  border-color: rgba(59, 130, 246, 0.3);
}
.admin-header__user-trigger[aria-expanded=true] .admin-header__user-chevron {
  transform: rotate(180deg);
}

.admin-header__user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2D2E88 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.8125rem;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.admin-header__user-info-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
@media (max-width: 767px) {
  .admin-header__user-info-wrapper {
    display: none;
  }
}

.admin-header__user-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f8fafc;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .admin-header__user-name {
    display: none;
  }
}

.admin-header__user-restaurant {
  font-size: 0.6875rem;
  font-weight: 400;
  color: #F49609;
  white-space: nowrap;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
  margin-top: 1px;
}
@media (max-width: 767px) {
  .admin-header__user-restaurant {
    display: none;
  }
}

.admin-header__user-chevron {
  font-size: 0.625rem;
  color: #94a3b8;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .admin-header__user-chevron {
    display: none;
  }
}

.admin-header__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 240px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s ease;
  z-index: 1100;
  overflow: hidden;
}
.admin-header__user-menu.is-open .admin-header__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.admin-header__dropdown-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.5);
}

.admin-header__dropdown-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #2D2E88 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9375rem;
  flex-shrink: 0;
}

.admin-header__dropdown-info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.admin-header__dropdown-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-header__dropdown-restaurant {
  font-size: 0.8125rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-header__dropdown-role {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg, #F49609 0%, rgb(194.814229249, 119.7628458498, 7.185770751) 100%);
  padding: 0.125rem 0.5rem;
  border-radius: 1rem;
  text-transform: capitalize;
  margin-top: 0.25rem;
}

.admin-header__dropdown-divider {
  height: 1px;
  background: #334155;
  margin: 0.25rem 0;
}

.admin-header__dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  margin: 0;
  background: transparent;
  border: none;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  box-sizing: border-box;
}
.admin-header__dropdown-item i {
  width: 1.125rem;
  flex-shrink: 0;
  text-align: center;
  color: #94a3b8;
  font-size: 0.9375rem;
  transition: color 0.15s ease;
}
.admin-header__dropdown-item:hover {
  background: rgba(59, 130, 246, 0.08);
  color: #f8fafc;
}
.admin-header__dropdown-item:hover i {
  color: #3b82f6;
}
.admin-header__dropdown-item:focus {
  outline: none;
  background: rgba(59, 130, 246, 0.1);
}
.admin-header__dropdown-item--logout {
  color: #ef4444;
  margin-top: 0.5rem;
  padding: 0.875rem 1.25rem;
  border-top: 1px solid rgba(71, 85, 105, 0.5);
}
.admin-header__dropdown-item--logout i {
  color: #ef4444;
}
.admin-header__dropdown-item--logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(243.0197044335, 114.9802955665, 114.9802955665);
}
.admin-header__dropdown-item--logout:hover i {
  color: rgb(243.0197044335, 114.9802955665, 114.9802955665);
}

.admin-header__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 0.2s;
}
.admin-header__user:hover {
  background: rgba(37, 99, 235, 0.1);
}

.admin-header__user-info {
  display: none;
}

.admin-header__user-role {
  font-size: 0.75rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-header__user-dropdown {
  color: #94a3b8;
  font-size: 0.75rem;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.admin-header__user[aria-expanded=true] .admin-header__user-dropdown {
  transform: rotate(180deg);
}

.admin-content {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background: #0f172a;
  container-type: inline-size;
  container-name: content-area;
}

@media (min-width: 640px) {
  .admin-content {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .admin-content {
    padding: 2rem;
  }
}
.metrics-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 480px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes bounceIn {
  0%, 20%, 40%, 60%, 80% {
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }
  0% {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }
  40% {
    transform: scale3d(0.9, 0.9, 0.9);
  }
  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }
  80% {
    transform: scale3d(0.97, 0.97, 0.97);
  }
  100% {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animate-fade-in {
  animation: fadeIn 0.3s ease-out;
}

.animate-slide-in {
  animation: slideIn 0.3s ease-out;
}

.animate-slide-in-up {
  animation: slideInUp 0.3s ease-out;
}

.animate-bounce-in {
  animation: bounceIn 0.5s ease-out;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.d-none {
  display: none;
}

.d-block {
  display: block;
}

.d-inline {
  display: inline;
}

.d-inline-block {
  display: inline-block;
}

.d-flex {
  display: flex;
}

.d-grid {
  display: grid;
}

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

.flex-row {
  flex-direction: row;
}

.justify-center {
  justify-content: center;
}

.align-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.m-0 {
  margin: 0;
}

.m-1 {
  margin: var(--spacing-1);
}

.m-2 {
  margin: var(--spacing-2);
}

.m-3 {
  margin: var(--spacing-3);
}

.m-4 {
  margin: var(--spacing-4);
}

.p-0 {
  padding: 0;
}

.p-1 {
  padding: var(--spacing-1);
}

.p-2 {
  padding: var(--spacing-2);
}

.p-3 {
  padding: var(--spacing-3);
}

.p-4 {
  padding: var(--spacing-4);
}

.mb-2 {
  margin-bottom: var(--spacing-2);
}

.mb-4 {
  margin-bottom: var(--spacing-4);
}

.mb-6 {
  margin-bottom: var(--spacing-6);
}

.visually-hidden, .sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  padding: var(--space-3) var(--space-6);
  background: var(--color-text-primary);
  color: var(--color-background);
  border-radius: var(--radius-md);
}
.skip-to-content:focus {
  left: var(--space-4);
}

.container {
  max-width: 75rem;
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 48rem) {
  .container {
    padding-inline: var(--space-6);
  }
}

.skip-link {
  position: absolute;
  top: -40rem;
  left: var(--space-4);
  z-index: 1080;
  padding: var(--space-3) var(--space-6);
  background-color: var(--color-text-primary);
  color: var(--color-background);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  top: var(--space-4);
  outline: var(--focus-ring-width) solid var(--color-background);
  outline-offset: var(--focus-ring-offset);
}

@media (prefers-contrast: high) {
  :root {
    --color-text-primary:#000;
    --color-background:#FFF;
    --color-primary-600:#00F;
    --color-error:#F00;
    --color-success:#008000;
  }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
