arset "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);
  --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;
  }
}
: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: var(--color-background);
  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: var(--color-background);
  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-background);
  border-color: var(--color-primary-600);
  color: var(--color-primary-600);
  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;
}
@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;
  }
}

#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.5rem);
  left: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 0.0625rem solid rgba(148, 163, 184, 0.2);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5), 0 0.25rem 1rem rgba(0, 0, 0, 0.3);
  padding: 1.25rem;
  width: 28rem;
  animation: fadeInDown 0.2s ease-out;
  color: #ffffff;
}
@media (min-width: 23.4375rem) {
  .date-picker-calendar {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - 2rem);
    max-width: 24rem;
  }
}

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

.date-picker-title {
  font-size: 1.25rem;
  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.5rem;
  height: 2.5rem;
  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: 1.25rem;
  height: 1.25rem;
}

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

.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: capitalize;
  min-height: 1.75rem;
}

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

.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);
  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.0625rem solid transparent;
  border-radius: 0.375rem;
  transition: all 0.2s ease-out;
  cursor: pointer;
  min-height: 2.25rem;
}
@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.date-picker-date--today {
  border-radius: 50% !important;
}
.date-picker-date.date-picker-date--today:not(.date-picker-date--selected) {
  background-color: transparent;
  border: 0.125rem solid #3b82f6;
  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);
}
@media (min-width: 23.4375rem) {
  .date-picker-date {
    font-size: 0.875rem;
    padding: 0.5rem;
    min-height: 2.5rem;
  }
}

.date-picker-footer {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.75rem;
  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 fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 23.4375rem) {
  @keyframes fadeInDown {
    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.125rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .date-picker-calendar {
    animation: none;
  }
  .date-picker-date,
  .date-picker-nav,
  .date-picker-button {
    transition: none;
  }
}
.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-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-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: auto;
  max-width: 500px;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 640px) {
  .modal-dialog,
  .modal__dialog {
    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;
}
#newReservationModal .modal__title {
  color: #f1f5f9;
}

@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;
  }
}
.pos-connection-modal .modal__backdrop {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
}
.pos-connection-modal .modal__dialog {
  max-width: 600px;
}
.pos-connection-modal .modal__content {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(71, 85, 105, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.1) inset;
}
.pos-connection-modal .modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(51, 65, 85, 0.1) 0%, transparent 100%);
}
.pos-connection-modal .modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.pos-connection-modal .modal__title i {
  color: #F49609;
  font-size: 1.125rem;
}
.pos-connection-modal .modal__close {
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 0.5rem;
  color: #94a3b8;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pos-connection-modal .modal__close:hover {
  background: rgba(71, 85, 105, 0.6);
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
  transform: scale(1.05);
}
.pos-connection-modal .modal__close:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.pos-connection-modal .modal__close i {
  font-size: 1rem;
}
.pos-connection-modal .modal__body {
  padding: 1.5rem;
  max-height: 60vh;
  overflow-y: auto;
}
.pos-connection-modal .modal__body::-webkit-scrollbar {
  width: 8px;
}
.pos-connection-modal .modal__body::-webkit-scrollbar-track {
  background: rgba(51, 65, 85, 0.3);
  border-radius: 0.375rem;
}
.pos-connection-modal .modal__body::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.5);
  border-radius: 0.375rem;
}
.pos-connection-modal .modal__body::-webkit-scrollbar-thumb:hover {
  background: rgba(148, 163, 184, 0.7);
}
.pos-connection-modal .modal__footer {
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(71, 85, 105, 0.2);
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.3) 0%, transparent 100%);
}
.pos-connection-modal .form-group {
  margin-bottom: 1.25rem;
}
.pos-connection-modal .form-group:last-child {
  margin-bottom: 0;
}
.pos-connection-modal .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}
.pos-connection-modal .form-label .required {
  color: #ef4444;
  margin-left: 0.25rem;
}
.pos-connection-modal .form-input,
.pos-connection-modal .form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: all 0.2s ease;
}
.pos-connection-modal .form-input::placeholder,
.pos-connection-modal .form-select::placeholder {
  color: #64748b;
}
.pos-connection-modal .form-input:focus,
.pos-connection-modal .form-select:focus {
  outline: none;
  border-color: #F49609;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.pos-connection-modal .form-input:hover:not(:focus),
.pos-connection-modal .form-select:hover:not(:focus) {
  border-color: rgba(100, 116, 139, 0.6);
}
.pos-connection-modal .form-input:disabled,
.pos-connection-modal .form-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pos-connection-modal .form-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.pos-connection-modal .form-hint i {
  color: #F49609;
  font-size: 0.75rem;
}
.pos-connection-modal .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
}
.pos-connection-modal .btn i {
  font-size: 0.875rem;
}
.pos-connection-modal .btn:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
.pos-connection-modal .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.pos-connection-modal .btn--primary {
  background: linear-gradient(135deg, #F49609 0%, rgb(204.6513833992, 125.8102766798, 7.5486166008) 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}
.pos-connection-modal .btn--primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgb(246.7648221344, 160.7529644269, 31.7351778656) 0%, #F49609 100%);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-1px);
}
.pos-connection-modal .btn--primary:active:not(:disabled) {
  transform: translateY(0);
}
.pos-connection-modal .btn--outline {
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(71, 85, 105, 0.5);
}
.pos-connection-modal .btn--outline:hover:not(:disabled) {
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(100, 116, 139, 0.6);
  color: #ffffff;
}
.pos-connection-modal .btn--outline:active:not(:disabled) {
  background: rgba(51, 65, 85, 0.7);
}
.pos-connection-modal .pos-modal-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  animation: slideInDown 0.3s ease;
  transition: opacity 0.3s ease;
}
.pos-connection-modal .pos-modal-error__icon {
  color: #ef4444;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.pos-connection-modal .pos-modal-error__content {
  flex: 1;
}
.pos-connection-modal .pos-modal-error__text {
  font-size: 0.875rem;
  color: #f87171;
  margin: 0;
  line-height: 1.75;
}
.pos-connection-modal .pos-modal-error__close {
  background: transparent;
  border: none;
  color: #f87171;
  cursor: pointer;
  padding: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.pos-connection-modal .pos-modal-error__close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}
.pos-connection-modal .pos-modal-error__close i {
  font-size: 0.75rem;
}
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pos-connection-modal .connection-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.75rem;
}
.pos-connection-modal .connection-info__icon {
  color: #3b82f6;
  font-size: 1.125rem;
  flex-shrink: 0;
}
.pos-connection-modal .connection-info__content {
  flex: 1;
}
.pos-connection-modal .connection-info__title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  margin: 0 0 0.25rem 0;
}
.pos-connection-modal .connection-info__text {
  font-size: 0.75rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.75;
}
.pos-connection-modal .connection-info a {
  color: #60a5fa;
  text-decoration: underline;
}
.pos-connection-modal .connection-info a:hover {
  color: #3b82f6;
}
.pos-connection-modal .btn--loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.pos-connection-modal .btn--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.6s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 640px) {
  .pos-connection-modal .modal__dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  .pos-connection-modal .modal__header,
  .pos-connection-modal .modal__body,
  .pos-connection-modal .modal__footer {
    padding: 1rem;
  }
  .pos-connection-modal .modal__footer {
    flex-direction: column-reverse;
  }
  .pos-connection-modal .modal__footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.file-conflict-modal .modal__backdrop {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
}
.file-conflict-modal .modal__dialog {
  max-width: 500px;
}
.file-conflict-modal .modal__content {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.98) 0%, rgba(15, 23, 42, 0.98) 100%);
  border: 1px solid rgba(71, 85, 105, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(148, 163, 184, 0.1) inset;
}
.file-conflict-modal .modal__header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(to bottom, rgba(51, 65, 85, 0.1) 0%, transparent 100%);
}
.file-conflict-modal .modal__icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.file-conflict-modal .modal__icon i {
  font-size: 1.25rem;
  color: #f59e0b;
}
.file-conflict-modal .modal__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  flex: 1;
}
.file-conflict-modal .modal__close {
  background: rgba(51, 65, 85, 0.5);
  border: 1px solid rgba(71, 85, 105, 0.3);
  border-radius: 0.5rem;
  color: #94a3b8;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.file-conflict-modal .modal__close:hover {
  background: rgba(71, 85, 105, 0.6);
  color: #ffffff;
  border-color: rgba(148, 163, 184, 0.4);
}
.file-conflict-modal .modal__close i {
  font-size: 0.875rem;
}
.file-conflict-modal .modal__body {
  padding: 1.5rem;
}
.file-conflict-modal .conflict-info {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 0.5rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.file-conflict-modal .conflict-info__label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #fbbf24;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}
.file-conflict-modal .conflict-info__filename {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  word-break: break-all;
}
.file-conflict-modal .conflict-message {
  font-size: 0.875rem;
  color: #cbd5e1;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}
.file-conflict-modal .conflict-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.file-conflict-modal .conflict-option {
  background: rgba(30, 41, 59, 0.6);
  border: 2px solid rgba(71, 85, 105, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.file-conflict-modal .conflict-option:hover {
  background: rgba(51, 65, 85, 0.6);
  border-color: #F49609;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.2);
}
.file-conflict-modal .conflict-option__icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.125rem;
}
.file-conflict-modal .conflict-option--replace .file-conflict-modal .conflict-option__icon {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}
.file-conflict-modal .conflict-option--rename .file-conflict-modal .conflict-option__icon {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #3b82f6;
}
.file-conflict-modal .conflict-option--cancel .file-conflict-modal .conflict-option__icon {
  background: rgba(100, 116, 139, 0.1);
  border: 1px solid rgba(100, 116, 139, 0.3);
  color: #94a3b8;
}
.file-conflict-modal .conflict-option__content {
  flex: 1;
}
.file-conflict-modal .conflict-option__title {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.25rem 0;
}
.file-conflict-modal .conflict-option__description {
  font-size: 0.75rem;
  color: #94a3b8;
  margin: 0;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .file-conflict-modal .modal__dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  .file-conflict-modal .modal__header,
  .file-conflict-modal .modal__body {
    padding: 1rem;
  }
}

.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;
}

.language-selector {
  position: relative;
  display: inline-block;
}
.language-selector__button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #1e293b;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  min-width: 120px;
}
.language-selector__button:hover {
  background: #f8fafc;
  border-color: #2563eb;
}
.language-selector__button:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.language-selector__button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}
.language-selector__icon {
  font-size: 1rem;
}
.language-selector__current {
  flex: 1;
  text-align: left;
}
.language-selector__arrow {
  transition: transform 150ms ease-in-out;
}
[aria-expanded=true] .language-selector__arrow {
  transform: rotate(180deg);
}
.language-selector__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 280px;
  max-height: 400px;
  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);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 150ms ease-in-out;
  z-index: 1000;
}
.language-selector__dropdown--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.language-selector__search {
  padding: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
}
.language-selector__search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}
.language-selector__search-input:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.language-selector__list {
  max-height: 300px;
  overflow-y: auto;
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
}
.language-selector__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
}
.language-selector__option:hover {
  background: #f8fafc;
}
.language-selector__option:focus {
  background: #f8fafc;
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}
.language-selector__option--selected {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-weight: 600;
}
.language-selector__option-name {
  flex: 1;
}
.language-selector__checkmark {
  color: #2563eb;
  font-size: 1.125rem;
}
.language-selector__loading {
  display: inline-block;
  animation: pulse 1.5s ease-in-out infinite;
}

[dir=rtl] .language-selector__current {
  text-align: right;
}
[dir=rtl] .language-selector__dropdown {
  right: auto;
  left: 0;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.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);
}

.view-toggle {
  gap: var(--space-2) !important;
}
.view-toggle__btn {
  padding: var(--space-2) var(--space-3) !important;
}
.view-toggle__btn i {
  font-size: var(--font-size-sm);
  margin-right: -3px !important;
  margin-left: 0 !important;
}
.view-toggle__btn i.fa-list {
  font-size: calc(var(--font-size-sm) * 0.9);
  margin-right: -3px !important;
}
.view-toggle__btn i.fa-timeline {
  font-size: calc(var(--font-size-sm) * 0.9);
  margin-right: -3px !important;
}
.view-toggle__btn i.fa-calendar {
  font-size: calc(var(--font-size-sm) * 0.9);
  margin-right: -3px !important;
}

.draggable-form {
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: min(85vw, 28rem);
  max-width: 28rem;
  height: auto;
  max-height: 580px;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.05);
  z-index: 10000;
  display: none;
  flex-direction: column;
  backdrop-filter: blur(20px);
}
.draggable-form.active {
  display: flex !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.draggable-form.dragging {
  opacity: 0.9;
  cursor: move;
}
.draggable-form.minimized {
  height: auto;
}
.draggable-form.minimized .draggable-form__content,
.draggable-form.minimized .draggable-form__footer {
  display: none;
}

.draggable-form__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 16px 16px 0 0;
  cursor: move;
  user-select: none;
  position: relative;
}
.draggable-form__header::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}
.draggable-form__header:active {
  cursor: grabbing;
}

.draggable-form__title {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
  letter-spacing: -0.02em;
}

.draggable-form__close {
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
}
.draggable-form__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.draggable-form__close:active {
  transform: scale(0.95);
}

.draggable-form__content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 24px;
  background: transparent;
}
.draggable-form__content::-webkit-scrollbar {
  width: var(--space-2);
}
.draggable-form__content::-webkit-scrollbar-track {
  background-color: var(--color-neutral-100);
  border-radius: var(--radius-sm);
}
.draggable-form__content::-webkit-scrollbar-thumb {
  background-color: var(--color-neutral-400);
  border-radius: var(--radius-sm);
}
.draggable-form__content::-webkit-scrollbar-thumb:hover {
  background-color: var(--color-neutral-500);
}

.draggable-form__footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 20px 24px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0 0 16px 16px;
}

.draggable-form .form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-2);
}
.draggable-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}
.draggable-form .form-group--full {
  grid-column: 1/-1;
}
.draggable-form .form-label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.draggable-form .form-input,
.draggable-form .form-select,
.draggable-form .form-textarea {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  font-family: inherit;
  color: #111827;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.draggable-form .form-input:focus,
.draggable-form .form-select:focus,
.draggable-form .form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}
.draggable-form .form-input::placeholder,
.draggable-form .form-select::placeholder,
.draggable-form .form-textarea::placeholder {
  color: #9ca3af;
}
.draggable-form .form-textarea {
  resize: vertical;
  min-height: 5rem;
}
.draggable-form .form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.draggable-form .form-checkbox__input {
  width: var(--space-4);
  height: var(--space-4);
  cursor: pointer;
}
.draggable-form .form-checkbox__label {
  font-size: var(--font-size-base);
  color: var(--color-text-primary);
  cursor: pointer;
  user-select: none;
}
.draggable-form .form-help {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}
.draggable-form .form-error {
  font-size: 12px;
  color: #ef4444;
  min-height: 1.25rem;
  margin-top: 4px;
}
.draggable-form .form-error:empty {
  display: none;
}
.draggable-form .btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.draggable-form .btn--primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}
.draggable-form .btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}
.draggable-form .btn--primary:active {
  transform: translateY(0);
}
.draggable-form .btn--outline {
  background: white;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}
.draggable-form .btn--outline:hover {
  background: #f9fafb;
  border-color: #d1d5db;
}

@media (max-width: 640px) {
  .draggable-form {
    width: calc(100vw - 2rem);
    max-width: calc(100vw - 2rem);
    max-height: 70vh;
    top: 10%;
    left: 1rem;
    transform: none;
  }
  .draggable-form__header {
    padding: var(--space-3);
  }
  .draggable-form__content {
    padding: var(--space-4);
  }
  .draggable-form__footer {
    padding: var(--space-3);
  }
  .draggable-form .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .draggable-form {
    transition: none;
  }
  .draggable-form.dragging {
    opacity: 1;
  }
}
/**
 * AI Modal Component
 * Professional draggable modal without overlay
 * Following TableFlow SCSS architecture
 */
.ai-modal {
  position: fixed;
  z-index: 9999;
  background: var(--color-background);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-lg);
  width: min(90vw, 480px);
  display: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  left: 50%;
  top: 50%;
}
.ai-modal--show {
  display: block;
}
.ai-modal--active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.ai-modal__handle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: linear-gradient(to bottom, var(--color-gray-50), var(--color-background));
  border-bottom: 1px solid var(--color-border);
  border-radius: 0.75rem 0.75rem 0 0;
  cursor: move;
  user-select: none;
}
.ai-modal__handle .fa-grip-dots {
  color: var(--color-text-secondary);
  font-size: 0.875rem;
}
.ai-modal__handle:hover {
  background: linear-gradient(to bottom, var(--color-gray-100), var(--color-background));
}
.ai-modal__handle:hover .fa-grip-dots {
  color: var(--color-text-primary);
}
.ai-modal__title {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}
.ai-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all 0.15s ease-out;
}
.ai-modal__close:hover {
  background-color: var(--color-gray-100);
  color: var(--color-text-primary);
}
.ai-modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.ai-modal__close i {
  font-size: 1rem;
}
.ai-modal__body {
  padding: var(--space-4);
}
.ai-modal__preview {
  min-height: 120px;
  max-height: 300px;
  padding: var(--space-3);
  margin-bottom: var(--space-4);
  background: var(--color-gray-50);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--color-text-primary);
  overflow-y: auto;
}
.ai-modal__preview::-webkit-scrollbar {
  width: 8px;
}
.ai-modal__preview::-webkit-scrollbar-track {
  background: var(--color-gray-100);
  border-radius: 0.25rem;
}
.ai-modal__preview::-webkit-scrollbar-thumb {
  background: var(--color-gray-400);
  border-radius: 0.25rem;
}
.ai-modal__preview::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500);
}
.ai-modal__actions {
  display: flex;
  gap: var(--space-2);
  justify-content: flex-end;
}

.form-label-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-2);
}

.ai-helper-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-2);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  color: white;
  border: none;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.15s ease-out;
}
.ai-helper-btn i {
  font-size: 0.75rem;
}
.ai-helper-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.ai-helper-btn:active {
  transform: translateY(0);
}
.ai-helper-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}
.ai-helper-btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

@media (prefers-color-scheme: dark) {
  .ai-modal {
    background: var(--color-background-dark);
    box-shadow: var(--shadow-xl-dark);
  }
  .ai-modal__handle {
    background: linear-gradient(to bottom, var(--color-gray-800), var(--color-background-dark));
    border-bottom-color: var(--color-border-dark);
  }
  .ai-modal__preview {
    background: var(--color-gray-800);
    border-color: var(--color-border-dark);
  }
}
@media (max-width: 640px) {
  .ai-modal {
    width: calc(100vw - var(--space-4) * 2);
    margin: var(--space-4);
  }
}
/**
 * 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);
  }
}
@media (prefers-color-scheme: dark) {
  .cuisine-selector__search {
    background: var(--color-neutral-800);
    border-color: var(--color-neutral-600);
    color: var(--color-neutral-100);
  }
  .cuisine-selector__search:focus {
    background: var(--color-neutral-900);
    border-color: var(--color-primary-500);
  }
  .cuisine-selector__dropdown {
    background: var(--color-neutral-800);
    border-color: var(--color-neutral-600);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  }
  .cuisine-selector__option {
    color: var(--color-neutral-100);
  }
  .cuisine-selector__option:hover {
    background: var(--color-neutral-700);
    color: var(--color-primary-400);
  }
  .cuisine-selector__option--selected {
    background: var(--color-primary-900);
    color: var(--color-primary-300);
  }
  .cuisine-selector__add-custom {
    background: var(--color-neutral-900);
    border-top-color: var(--color-neutral-600);
  }
  .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);
  }
  .cuisine-selector__tag__remove {
    background: var(--color-primary-500);
  }
  .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;
  }
}
.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;
  }
}
.draggable-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100vh;
  background: #0f172a;
  color: #ffffff;
  z-index: 1030;
  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 rgba(255, 255, 255, 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 rgba(255, 255, 255, 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 !important;
    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: rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  box-shadow: 0 8px 0 rgba(255, 255, 255, 0.3), 0 -8px 0 rgba(255, 255, 255, 0.3);
}
.draggable-sidebar--floating .draggable-sidebar__handle {
  display: none;
}
.draggable-sidebar__handle:hover {
  background: rgba(255, 255, 255, 0.1);
}
.draggable-sidebar__handle:focus {
  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 rgba(255, 255, 255, 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 {
  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: transparent;
  border: 1px solid rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.draggable-sidebar__toggle:focus {
  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(37, 99, 235, 0.05);
  border-radius: 3px;
}
.draggable-sidebar__nav::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 3px;
}
.draggable-sidebar__nav::-webkit-scrollbar-thumb:hover {
  background: rgb(83.7142857143, 132.4285714286, 239.2857142857);
}
.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: rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transform: translateX(4px);
}
.draggable-sidebar__nav-item:focus {
  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 rgba(255, 255, 255, 0.1);
  margin-top: auto;
}
.draggable-sidebar__help-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s;
  padding: 0.5rem 0.75rem;
  border-radius: 0.75rem;
}
.draggable-sidebar__help-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}
.draggable-sidebar__help-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.draggable-sidebar__help-btn i {
  font-size: 1.125rem;
  flex-shrink: 0;
}
.draggable-sidebar__help-btn span {
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  overflow: hidden;
}
.draggable-sidebar__footer-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.05);
}
.draggable-sidebar__user:focus {
  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 (min-width: 769px) and (max-width: 927px) {
  .draggable-sidebar {
    left: 0;
    width: 80px !important;
    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: 1029;
  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 {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.sidebar-fab:active {
  transform: scale(0.95);
}
@media (min-width: 927px) {
  .sidebar-fab {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .draggable-sidebar {
    transition: none;
  }
  .draggable-sidebar * {
    transition: none !important;
    animation: none !important;
  }
}
@media (prefers-contrast: high) {
  .draggable-sidebar {
    border: 2px solid #ffffff;
  }
  .draggable-sidebar__nav-item {
    border: 1px solid transparent;
  }
  .draggable-sidebar__nav-item:focus {
    border-color: #ffffff;
  }
  .draggable-sidebar__nav-item--active {
    border-color: #3b82f6;
  }
}
.draggable-sidebar__float-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.draggable-sidebar__float-btn:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.draggable-sidebar__collapse-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}
.draggable-sidebar__collapse-btn:focus {
  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(37, 99, 235, 0.1);
  border: 2px dashed #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #2563eb;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 1028;
}
.dock-zone.visible {
  opacity: 1;
}
.dock-zone--left {
  top: 0;
  left: 0;
  width: 100px;
  height: 100vh;
  background: linear-gradient(to right, rgba(37, 99, 235, 0.2), transparent);
}
.dock-zone--right {
  top: 0;
  right: 0;
  width: 100px;
  height: 100vh;
  background: linear-gradient(to left, rgba(37, 99, 235, 0.2), transparent);
}
.dock-zone--top {
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to bottom, rgba(37, 99, 235, 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 (max-width: 768px) {
  .admin-main {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
  }
  .admin-main.sidebar-docked-left, .admin-main.sidebar-docked-right, .admin-main.sidebar-collapsed {
    margin-left: 0;
    margin-right: 0;
  }
}
@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;
  }
}

[data-theme=light] .draggable-sidebar {
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}
[data-theme=light] .draggable-sidebar__header {
  border-bottom-color: #e2e8f0;
}
[data-theme=light] .draggable-sidebar__nav-item {
  color: #475569;
}
[data-theme=light] .draggable-sidebar__nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
}
[data-theme=light] .draggable-sidebar__nav-item--active {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}
[data-theme=light] .draggable-sidebar__footer {
  border-top-color: #e2e8f0;
}
[data-theme=light] .draggable-sidebar__user:hover {
  background: #f8fafc;
}

.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: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
@media (max-width: 768px) {
  .menu-editor-page .menu-editor-header {
    padding: 0.75rem 1rem;
  }
}

.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-page .menu-editor-header__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e0;
}

.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: 1024px) {
  .menu-editor-page .menu-editor-container {
    flex-direction: column;
    height: auto;
  }
}

.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: 1024px) {
  .menu-editor-page .menu-panel {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    max-height: 400px;
  }
}
@media (max-width: 768px) {
  .menu-editor-page .menu-panel {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    transform: translateX(-100%);
    max-height: 100vh;
  }
  .menu-editor-page .menu-panel.mobile-visible {
    transform: translateX(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-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: 1024px) {
  .menu-editor-page .preview-panel {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    height: 500px;
  }
}

.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);
}
@media (max-width: 640px) {
  .menu-editor-page .preview-frame .preview-content {
    padding: 1rem;
  }
}

.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;
  align-items: center;
  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: #cbd5e0;
  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: #cbd5e0;
}

.menu-editor-page .category-name {
  flex: 1;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .category-count {
  font-size: 0.75rem;
  color: #a0aec0;
  margin-right: 0.5rem;
}

.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: #cbd5e0;
  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__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: 1024px) {
  .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__actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  justify-content: flex-end;
}

.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-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: #cbd5e0;
  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 1fr;
  gap: 1rem;
}
@media (max-width: 640px) {
  .menu-editor-page .form-row {
    grid-template-columns: 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: #cbd5e0;
  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: #cbd5e0;
  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 auto;
  gap: 1rem;
}
@media (max-width: 640px) {
  .menu-editor-page .variation-item__content {
    grid-template-columns: 1fr;
  }
}
.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: #cbd5e0;
  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-upload__preview {
  position: relative;
  background: #212937;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.menu-editor-page .image-upload__preview:hover {
  border-color: #3b82f6;
  background: rgb(36.825, 45.7522727273, 61.375);
}
.menu-editor-page .image-upload__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-editor-page .image-upload__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 2rem;
}
.menu-editor-page .image-upload__placeholder i {
  font-size: 3rem;
  color: #a0aec0;
  margin-bottom: 1rem;
}
.menu-editor-page .image-upload__placeholder p {
  color: #cbd5e0;
  margin-bottom: 0.5rem;
}
.menu-editor-page .image-upload__placeholder span {
  font-size: 0.75rem;
}

.menu-editor-page .image-upload__actions {
  display: flex;
  gap: 1rem;
  margin-top: 0.75rem;
  justify-content: center;
}

.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: #cbd5e0;
  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: #3b82f6;
  color: #ffffff;
}
.menu-editor-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);
}
.menu-editor-page .btn--primary:active {
  transform: translateY(0);
}
.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: #cbd5e0;
}
.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: #cbd5e0;
  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: none;
}
@media (max-width: 768px) {
  .menu-editor-page .btn-icon--mobile {
    display: inline-flex;
  }
}

.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-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.menu-editor-page .modal-close {
  background: none;
  border: none;
  color: #cbd5e0;
  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: 1.5rem;
  right: 1.5rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
@media (max-width: 640px) {
  .menu-editor-page .toast-container {
    right: 1rem;
    left: 1rem;
  }
}

.menu-editor-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;
}
.menu-editor-page .toast--success {
  border-color: #10b981;
}
.menu-editor-page .toast--success .toast__icon {
  color: #10b981;
}
.menu-editor-page .toast--error {
  border-color: #ef4444;
}
.menu-editor-page .toast--error .toast__icon {
  color: #ef4444;
}
.menu-editor-page .toast--warning {
  border-color: #f59e0b;
}
.menu-editor-page .toast--warning .toast__icon {
  color: #f59e0b;
}

.menu-editor-page .toast__icon {
  font-size: 1.25rem;
}

.menu-editor-page .toast__message {
  flex: 1;
  color: #f7fafc;
  font-size: 0.875rem;
}

.menu-editor-page .toast__close {
  background: none;
  border: none;
  color: #cbd5e0;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
}
.menu-editor-page .toast__close:hover {
  color: #f7fafc;
}

@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: #cbd5e0;
  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: 2rem;
  color: #1e293b;
}
.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%;
}

.customers-page {
  background: #0f1419;
  min-height: 100vh;
  color: #f7fafc;
}

.customers-page .admin-main {
  transition: margin-left 250ms ease-in-out;
  background: #0f1419;
}
.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 {
  padding: 1.5rem 2rem;
  background: #1a1f2e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 768px) {
  .customers-page .customers-controls {
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
}

.customers-page .customers-controls__left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.customers-page .customers-controls__right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.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-page .view-toggle {
  display: flex;
  background: #212937;
  border-radius: 0.75rem;
  padding: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.customers-page .view-toggle__btn {
  padding: 0.5rem 0.75rem;
  background: transparent;
  border: none;
  color: #cbd5e0;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
}
.customers-page .view-toggle__btn:hover {
  color: #f7fafc;
}
.customers-page .view-toggle__btn--active {
  background: #3b82f6;
  color: #ffffff;
}
.customers-page .view-toggle__btn--active:hover {
  background: #2563eb;
  color: #ffffff;
}

.customers-page .sort-select {
  padding: 0.5rem 2.5rem 0.5rem 1rem;
  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;
}
.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;
}

.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__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);
}

.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__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 .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--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: 36px;
  height: 36px;
  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: 700px;
}
.customers-page .modal-content--xlarge {
  max-width: 900px;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.customers-page .modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.customers-page .modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #f7fafc;
  margin: 0;
}

.customers-page .modal-close {
  background: none;
  border: none;
  color: #cbd5e0;
  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;
}
.customers-page .modal-close:hover {
  background: #212937;
  color: #f7fafc;
}

.customers-page .modal-body {
  padding: 1.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: 1fr 1fr;
  gap: 1rem;
}

@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 .checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.customers-page .checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.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;
}

.analytics-page {
  background: #0f1419;
  min-height: 100vh;
  color: #f3f4f6;
}

.analytics-page .analytics-main {
  padding: 1.5rem;
}

@media (max-width: 767px) {
  .analytics-page .analytics-main {
    padding: 1rem;
  }
}
.analytics-page .analytics-header {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}

.analytics-page .analytics-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 639px) {
  .analytics-page .analytics-header__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}
.analytics-page .analytics-header__title-section {
  flex: 1;
}

.analytics-page .analytics-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #f3f4f6;
}

@media (max-width: 639px) {
  .analytics-page .analytics-header__title {
    font-size: 1.25rem;
  }
}
.analytics-page .analytics-header__subtitle {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}

.analytics-page .analytics-header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 639px) {
  .analytics-page .analytics-header__actions {
    flex-wrap: wrap;
  }
}
.analytics-page .date-range-selector {
  position: relative;
}

.analytics-page .date-range-selector__trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.analytics-page .date-range-selector__trigger:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}
.analytics-page .date-range-selector__trigger i:last-child {
  font-size: 0.75rem;
  transition: transform 250ms ease-in-out;
}
.analytics-page .date-range-selector__trigger[aria-expanded=true] i:last-child {
  transform: rotate(180deg);
}

.analytics-page .date-range-selector__dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  min-width: 200px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 10;
}
.analytics-page .date-range-selector__dropdown[hidden] {
  display: none;
}

.analytics-page .date-range-option {
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background 150ms ease-in-out;
  color: #f3f4f6;
  font-size: 0.875rem;
}
.analytics-page .date-range-option:first-child {
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}
.analytics-page .date-range-option:last-child {
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
}
.analytics-page .date-range-option:hover {
  background: rgba(59, 130, 246, 0.1);
}
.analytics-page .date-range-option--active {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  font-weight: 500;
}

.analytics-page .kpi-section {
  margin-bottom: 1.5rem;
}

.analytics-page .kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

@media (max-width: 639px) {
  .analytics-page .kpi-grid {
    grid-template-columns: 1fr;
  }
}
.analytics-page .kpi-card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #334155;
  position: relative;
  overflow: hidden;
  transition: all 350ms ease-in-out;
}
.analytics-page .kpi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.analytics-page .kpi-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.analytics-page .kpi-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.analytics-page .kpi-card--revenue .analytics-page .kpi-card__icon {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.analytics-page .kpi-card--reservations .analytics-page .kpi-card__icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.analytics-page .kpi-card--avg-check .analytics-page .kpi-card__icon {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.analytics-page .kpi-card--occupancy .analytics-page .kpi-card__icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.analytics-page .kpi-card__menu {
  background: none;
  border: none;
  color: #9ca3af;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 250ms ease-in-out;
}
.analytics-page .kpi-card__menu:hover {
  color: #f3f4f6;
}

.analytics-page .kpi-card__body {
  margin-bottom: 0.75rem;
}

.analytics-page .kpi-card__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin: 0 0 0.5rem 0;
}

.analytics-page .kpi-card__value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
}

.analytics-page .kpi-card__trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
}
.analytics-page .kpi-card__trend--up {
  color: #10b981;
}
.analytics-page .kpi-card__trend--up i {
  font-size: 0.75rem;
}
.analytics-page .kpi-card__trend--down {
  color: #ef4444;
}
.analytics-page .kpi-card__trend--down i {
  font-size: 0.75rem;
}

.analytics-page .kpi-card__trend-text {
  color: #9ca3af;
  margin-left: 0.25rem;
}

.analytics-page .kpi-card__sparkline {
  height: 40px;
  margin: 0 -1.25rem -1.25rem;
  background: linear-gradient(to top, rgba(59, 130, 246, 0.05), transparent);
  border-top: 2px solid rgba(59, 130, 246, 0.3);
}

.analytics-page .kpi-card__progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 0.75rem;
}

.analytics-page .kpi-card__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #3b82f6);
  border-radius: 9999px;
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-page .charts-section {
  margin-bottom: 1.5rem;
}

.analytics-page .charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 1rem;
}

@media (max-width: 639px) {
  .analytics-page .charts-grid {
    grid-template-columns: 1fr;
  }
}
.analytics-page .chart-card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #334155;
  min-height: 350px;
}
.analytics-page .chart-card--large {
  grid-column: 1/-1;
}

@media (min-width: 1280px) {
  .analytics-page .chart-card--large {
    grid-column: span 2;
  }
}
.analytics-page .chart-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.analytics-page .chart-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
  color: #f3f4f6;
}

.analytics-page .chart-card__controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.analytics-page .chart-card__info,
.analytics-page .chart-card__fullscreen {
  background: none;
  border: none;
  color: #9ca3af;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 250ms ease-in-out;
}
.analytics-page .chart-card__info:hover,
.analytics-page .chart-card__fullscreen:hover {
  color: #3b82f6;
}

.analytics-page .chart-card__body {
  position: relative;
  height: 300px;
}
.analytics-page .chart-card__body canvas {
  max-width: 100%;
  height: 100% !important;
}

.analytics-page .chart-card__legend {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #334155;
  flex-wrap: wrap;
}

.analytics-page .chart-toggle {
  display: flex;
  gap: 0;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  overflow: hidden;
}

.analytics-page .chart-toggle__btn {
  background: #0f1419;
  border: none;
  color: #9ca3af;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.analytics-page .chart-toggle__btn:not(:last-child) {
  border-right: 1px solid #334155;
}
.analytics-page .chart-toggle__btn:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.analytics-page .chart-toggle__btn--active {
  background: #3b82f6;
  color: #ffffff;
}
.analytics-page .chart-toggle__btn--active:hover {
  background: #2563eb;
}

.analytics-page .metrics-section {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
}

.analytics-page .metrics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #334155;
}

@media (max-width: 639px) {
  .analytics-page .metrics-header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
}
.analytics-page .metrics-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #f3f4f6;
}

.analytics-page .metrics-tabs {
  display: flex;
  gap: 0.25rem;
  background: #0f1419;
  padding: 2px;
  border-radius: 0.75rem;
}

@media (max-width: 639px) {
  .analytics-page .metrics-tabs {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}
.analytics-page .metrics-tab {
  padding: 0.5rem 1rem;
  background: none;
  border: none;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: all 250ms ease-in-out;
}
.analytics-page .metrics-tab:hover {
  color: #f3f4f6;
  background: rgba(59, 130, 246, 0.05);
}
.analytics-page .metrics-tab--active {
  background: #3b82f6;
  color: #ffffff;
}
.analytics-page .metrics-tab--active:hover {
  background: #2563eb;
}

.analytics-page .metrics-panel {
  padding-top: 1rem;
}

.analytics-page .metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
}

@media (max-width: 639px) {
  .analytics-page .metrics-grid {
    grid-template-columns: 1fr;
  }
}
.analytics-page .metric-item {
  background: #0f1419;
  border-radius: 0.75rem;
  padding: 1rem;
  border: 1px solid #334155;
  transition: all 350ms ease-in-out;
}
.analytics-page .metric-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
}

.analytics-page .metric-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.analytics-page .metric-item__name {
  font-weight: 600;
  color: #f3f4f6;
}

.analytics-page .metric-item__role {
  font-size: 0.75rem;
  color: #9ca3af;
  background: rgba(59, 130, 246, 0.1);
  padding: 2px 0.5rem;
  border-radius: 0.5rem;
}

.analytics-page .metric-item__stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.analytics-page .metric-item__progress {
  margin-top: 0.75rem;
}

.analytics-page .metric-stat {
  flex: 1;
}

.analytics-page .metric-stat__label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-bottom: 0.25rem;
}

.analytics-page .metric-stat__value {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f3f4f6;
}

.analytics-page .progress-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  overflow: hidden;
}

.analytics-page .progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #3b82f6);
  border-radius: 9999px;
  transition: width 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-page .progress-label {
  display: block;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.25rem;
  text-align: right;
}

.analytics-page .reports-section {
  margin-bottom: 1.5rem;
}

.analytics-page .reports-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.analytics-page .reports-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #f3f4f6;
}

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

@media (max-width: 639px) {
  .analytics-page .reports-grid {
    grid-template-columns: 1fr;
  }
}
.analytics-page .report-card {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #334155;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 350ms ease-in-out;
}
.analytics-page .report-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-color: rgba(59, 130, 246, 0.3);
}

.analytics-page .report-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.analytics-page .report-card__content {
  flex: 1;
}

.analytics-page .report-card__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: #f3f4f6;
}

.analytics-page .report-card__date {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 0;
}

.analytics-page .report-card__actions {
  display: flex;
  gap: 0.25rem;
}

.analytics-page .report-card__action {
  background: none;
  border: none;
  color: #9ca3af;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
}
.analytics-page .report-card__action:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.analytics-page .export-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

@media (max-width: 639px) {
  .analytics-page .export-options {
    grid-template-columns: 1fr;
  }
}
.analytics-page .export-option {
  cursor: pointer;
}

.analytics-page .export-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.analytics-page .export-option__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #0f1419;
  border: 2px solid #334155;
  border-radius: 0.75rem;
  transition: all 250ms ease-in-out;
}
.analytics-page .export-option__content i {
  font-size: 1.875rem;
  color: #9ca3af;
}
.analytics-page .export-option__content span {
  font-size: 0.875rem;
  color: #f3f4f6;
}

input[type=radio]:checked + .analytics-page .export-option__content {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
}
input[type=radio]:checked + .analytics-page .export-option__content i {
  color: #3b82f6;
}

.analytics-page .export-option:hover .analytics-page .export-option__content {
  border-color: rgba(59, 130, 246, 0.5);
}

.analytics-page .btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}

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

.settings-panel[data-tab=widget] {
  background: #0f1419 !important;
  padding: 0 !important;
}

.widget-settings-revolutionary {
  width: 100%;
  padding: 0.75rem;
  background: #0f1419;
  min-height: 100vh;
  color: #f7fafc;
}
@media (min-width: 640px) {
  .widget-settings-revolutionary {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .widget-settings-revolutionary {
    padding: 2rem;
  }
}
.widget-settings-revolutionary * {
  color: #f7fafc !important;
}
.widget-settings-revolutionary label, .widget-settings-revolutionary p, .widget-settings-revolutionary span, .widget-settings-revolutionary div {
  color: #f7fafc !important;
}
.widget-settings-revolutionary small, .widget-settings-revolutionary .form-hint, .widget-settings-revolutionary .hint {
  color: #cbd5e0 !important;
  font-size: 0.875rem !important;
}
.widget-settings-revolutionary .widget-features__card,
.widget-settings-revolutionary .widget-feature-card,
.widget-settings-revolutionary .feature-card {
  background: #212937 !important;
  border: 2px solid rgba(255, 255, 255, 0.08) !important;
}
.widget-settings-revolutionary .widget-features__card *,
.widget-settings-revolutionary .widget-feature-card *,
.widget-settings-revolutionary .feature-card * {
  color: #f7fafc !important;
}

.widget-hero {
  padding: 1rem;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1f2e;
}
@media (min-width: 768px) {
  .widget-hero {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .widget-hero {
    padding: 2rem;
  }
}
.widget-hero__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 768px) {
  .widget-hero__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}
@media (min-width: 1024px) {
  .widget-hero__title {
    font-size: 1.875rem;
  }
}
.widget-hero__title i {
  color: #F49609;
  font-size: 1.125rem;
}
@media (min-width: 768px) {
  .widget-hero__title i {
    font-size: 1.25rem;
  }
}
.widget-hero__subtitle {
  font-size: 0.875rem;
  color: #cbd5e0;
  margin-bottom: 1rem;
  line-height: 1.75;
}
@media (min-width: 768px) {
  .widget-hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
}
.widget-hero__stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
@media (min-width: 768px) {
  .widget-hero__stats {
    gap: 2rem;
  }
}
.widget-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
@media (min-width: 768px) {
  .widget-hero__stat {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
  }
}
.widget-hero__stat-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: #F49609;
  display: block;
}
@media (min-width: 768px) {
  .widget-hero__stat-number {
    font-size: 1.5rem;
  }
}
.widget-hero__stat-label {
  font-size: 0.75rem;
  color: #cbd5e0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
@media (min-width: 768px) {
  .widget-hero__stat-label {
    font-size: 0.875rem;
  }
}

.widget-templates-modern {
  margin-bottom: 0;
  background: #0f1419;
  padding: 1rem;
}
@media (min-width: 768px) {
  .widget-templates-modern {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .widget-templates-modern {
    padding: 2rem;
  }
}
.widget-templates-modern__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.widget-templates-modern__header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-templates-modern__header .view-toggle {
  display: flex;
  gap: 0.5rem;
  background: transparent;
  padding: 0;
}
.widget-templates-modern__header .view-toggle button {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #cbd5e0;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  font-weight: 500;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-templates-modern__header .view-toggle button:hover {
  border-color: #F49609;
  color: #F49609;
  background: rgba(244, 150, 9, 0.1);
}
.widget-templates-modern__header .view-toggle button.active {
  background: #F49609;
  color: #ffffff;
  border-color: #F49609;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.widget-templates-modern__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .widget-templates-modern__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
@media (min-width: 1024px) {
  .widget-templates-modern__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
.widget-templates-modern__grid--list {
  grid-template-columns: 1fr;
}

.template-card-modern {
  position: relative;
  background: #212937;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
}
.template-card-modern:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 150, 9, 0.5);
  background: #2a2d3a;
}
.template-card-modern--active {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.05);
}
.template-card-modern__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.5rem 1rem;
  background: #F49609;
  color: #ffffff;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  display: none;
}
.template-card-modern--active .template-card-modern__badge {
  display: block;
}
.template-card-modern__preview {
  height: 140px;
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.template-card-modern__preview:has(.mock-widget--banner) {
  padding-left: 0;
  padding-right: 0;
  align-items: flex-end;
}
.template-card-modern__preview .mock-widget {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #F49609;
  border: 2px solid #F49609;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 150ms ease-in-out;
}
.template-card-modern__preview .mock-widget:hover {
  background: rgba(244, 150, 9, 0.1);
  border-color: #1d4ed8;
  color: #1d4ed8;
  transform: translateY(-2px);
}
.template-card-modern__preview .mock-widget--elegant {
  background: linear-gradient(135deg, #F49609 0%, rgb(194.814229249, 119.7628458498, 7.185770751) 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.template-card-modern__preview .mock-widget--elegant:hover {
  background: linear-gradient(135deg, rgb(246.7648221344, 160.7529644269, 31.7351778656) 0%, #F49609 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4);
}
.template-card-modern__preview .mock-widget--banner {
  background: #F49609;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  width: 100%;
  justify-content: center;
}
.template-card-modern__preview .mock-widget--banner:hover {
  background: rgb(246.7648221344, 160.7529644269, 31.7351778656);
  transform: none;
}
.template-card-modern__content {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.template-card-modern__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}
.template-card-modern__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f7fafc;
  margin: 0;
}
.template-card-modern__icon {
  width: 32px;
  height: 32px;
  background: #0f1419;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f7fafc;
  font-size: 0.875rem;
  transition: all 150ms ease-in-out;
}
.template-card-modern__icon:hover {
  background: #2a2d3a;
  border-color: #F49609;
  color: #F49609;
}
.template-card-modern__description {
  font-size: 0.875rem;
  color: #cbd5e0;
  line-height: 1.75;
  margin-bottom: 0.75rem;
  flex: 1;
}
.template-card-modern__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}
.template-card-modern__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  background: rgba(15, 20, 25, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 0.75rem;
  color: #cbd5e0;
  font-weight: 500;
}
.template-card-modern__feature i {
  color: #F49609;
  font-size: 0.75rem;
}
.template-card-modern__action {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: #cbd5e0;
  border-radius: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  margin-top: auto;
}
.template-card-modern__action:hover {
  border-color: #F49609;
  color: #F49609;
  background: rgba(244, 150, 9, 0.1);
}
.template-card-modern--active .template-card-modern__action {
  background: #F49609;
  color: #ffffff;
  border-color: #F49609;
}

.widget-customization-modern,
.widget-customization {
  background: #0f1419;
  padding: 1rem;
}
@media (min-width: 768px) {
  .widget-customization-modern,
  .widget-customization {
    padding: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .widget-customization-modern,
  .widget-customization {
    padding: 2rem;
  }
}
.widget-customization-modern .customization-column-left,
.widget-customization .customization-column-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.widget-customization-modern .customization-column-right,
.widget-customization .customization-column-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.widget-customization-left {
  background: #212937;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-customization-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.widget-customization-right .widget-preview-card {
  background: #212937;
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.widget-form-group {
  margin-bottom: 1.25rem;
}
.widget-form-group label {
  display: block;
  font-size: 1rem !important;
  font-weight: 600;
  color: #f7fafc !important;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-form-group label i {
  color: #F49609;
  font-size: 1.125rem;
}
.widget-form-group input[type=text],
.widget-form-group input[type=email],
.widget-form-group input[type=url],
.widget-form-group input[type=color],
.widget-form-group select,
.widget-form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  font-size: 1rem !important;
  color: #f7fafc !important;
  background: #212937;
  transition: all 250ms ease-in-out;
  font-family: var(--font-family-primary);
}
.widget-form-group input[type=text]::placeholder,
.widget-form-group input[type=email]::placeholder,
.widget-form-group input[type=url]::placeholder,
.widget-form-group input[type=color]::placeholder,
.widget-form-group select::placeholder,
.widget-form-group textarea::placeholder {
  color: #cbd5e0 !important;
}
.widget-form-group input[type=text]:hover,
.widget-form-group input[type=email]:hover,
.widget-form-group input[type=url]:hover,
.widget-form-group input[type=color]:hover,
.widget-form-group select:hover,
.widget-form-group textarea:hover {
  border-color: rgba(244, 150, 9, 0.5);
}
.widget-form-group input[type=text]:focus,
.widget-form-group input[type=email]:focus,
.widget-form-group input[type=url]:focus,
.widget-form-group input[type=color]:focus,
.widget-form-group select:focus,
.widget-form-group textarea:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.2);
  background: rgba(33, 41, 55, 0.8);
}
.widget-form-group .form-hint {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem !important;
  color: #cbd5e0 !important;
  line-height: 1.75;
}

.widget-section-title {
  font-size: 1.25rem !important;
  font-weight: 700;
  color: #f7fafc !important;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 768px) {
  .widget-section-title {
    font-size: 1.5rem !important;
  }
}
.widget-section-title i {
  color: #F49609;
  font-size: 1.25rem;
}

.color-input-wrapper {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.color-input-wrapper input[type=color] {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  cursor: pointer;
  background: #212937;
  padding: 2px;
}
.color-input-wrapper input[type=text] {
  flex: 1;
  font-family: var(--font-family-mono);
  text-transform: uppercase;
}

.button-text-suggestions {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.button-text-suggestions__label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  color: #cbd5e0;
  font-weight: 500;
}
.button-text-suggestions__chip {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  background: rgba(15, 20, 25, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  font-size: 0.75rem;
  color: #cbd5e0;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.button-text-suggestions__chip:hover {
  background: #2a2d3a;
  border-color: #F49609;
  color: #F49609;
}
.button-text-suggestions__chip--recommended {
  border-color: rgba(244, 150, 9, 0.5);
  background: rgba(244, 150, 9, 0.1);
  color: #F49609;
}

.customization-panel {
  background: #212937;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.customization-panel__section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.customization-panel__section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.customization-panel__section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.customization-panel__section-title i {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.1), rgba(217, 49, 81, 0.1));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #F49609;
  font-size: 0.875rem;
}

.form-control-modern {
  margin-bottom: 1rem;
}
.form-control-modern label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #f7fafc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}
.form-control-modern label .required {
  color: #D93151;
}
.form-control-modern input[type=text],
.form-control-modern input[type=email],
.form-control-modern input[type=url],
.form-control-modern select,
.form-control-modern textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #f7fafc;
  background: rgba(15, 20, 25, 0.5);
  transition: all 250ms ease-in-out;
  font-family: var(--font-family-primary);
}
.form-control-modern input[type=text]::placeholder,
.form-control-modern input[type=email]::placeholder,
.form-control-modern input[type=url]::placeholder,
.form-control-modern select::placeholder,
.form-control-modern textarea::placeholder {
  color: #a0aec0;
}
.form-control-modern input[type=text]:hover,
.form-control-modern input[type=email]:hover,
.form-control-modern input[type=url]:hover,
.form-control-modern select:hover,
.form-control-modern textarea:hover {
  border-color: rgba(244, 150, 9, 0.3);
}
.form-control-modern input[type=text]:focus,
.form-control-modern input[type=email]:focus,
.form-control-modern input[type=url]:focus,
.form-control-modern select:focus,
.form-control-modern textarea:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
  background: #212937;
}
.form-control-modern input[type=text]:disabled,
.form-control-modern input[type=email]:disabled,
.form-control-modern input[type=url]:disabled,
.form-control-modern select:disabled,
.form-control-modern textarea:disabled {
  background: rgba(15, 20, 25, 0.8);
  cursor: not-allowed;
  opacity: 0.5;
}
.form-control-modern .hint {
  display: block;
  margin-top: 0.375rem;
  font-size: 0.75rem;
  color: #a0aec0;
  line-height: 1.75;
}
.form-control-modern--error input, .form-control-modern--error select, .form-control-modern--error textarea {
  border-color: #ef4444;
}
.form-control-modern--error .hint {
  color: #ef4444;
}

.widget-language-selector {
  margin-bottom: 1.5rem;
}
.widget-language-selector label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #f7fafc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-language-selector label i {
  color: #F49609;
}
.widget-language-selector label .label-hint {
  color: #cbd5e0;
  font-weight: 400;
  font-size: 0.875rem;
}
.widget-language-selector__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
  .widget-language-selector__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 640px) {
  .widget-language-selector__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .widget-language-selector__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.widget-language-selector__option {
  padding: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #212937;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-align: center;
  min-height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.widget-language-selector__option:hover {
  background: #2a2d3a;
  border-color: rgba(244, 150, 9, 0.3);
}
.widget-language-selector__option.active {
  background: rgba(244, 150, 9, 0.1);
  border-color: #F49609;
}
.widget-language-selector__option .widget-language-selector__flag {
  font-size: 1.25rem;
  line-height: 1;
}
.widget-language-selector__option .widget-language-selector__code {
  font-size: 10px;
  font-weight: 500;
  color: #cbd5e0;
  text-transform: uppercase;
  line-height: 1;
}

.widget-features {
  margin-bottom: 1.5rem;
}
.widget-features__section-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f7fafc !important;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-features__section-title i {
  color: #F49609;
}
.widget-features__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .widget-features__grid {
    grid-template-columns: 1fr;
  }
}
.widget-features__card {
  padding: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #212937 !important;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  position: relative;
}
.widget-features__card * {
  color: #f7fafc !important;
}
.widget-features__card:hover {
  background: #2a2d3a !important;
  border-color: #F49609;
}
.widget-features__card.active, .widget-features__card.checked {
  background: rgba(244, 150, 9, 0.15) !important;
  border-color: #F49609;
}
.widget-features__card label {
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #f7fafc !important;
}
.widget-features__card input[type=checkbox] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #F49609;
}
.widget-features__card-content {
  flex: 1;
}
.widget-features__card-title {
  font-weight: 600;
  color: #f7fafc !important;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem !important;
}
.widget-features__card-title i {
  color: #F49609;
}
.widget-features__card-description {
  font-size: 0.875rem !important;
  color: #cbd5e0 !important;
  line-height: 1.75;
}
.widget-features__card-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: rgba(244, 150, 9, 0.2);
  color: #F49609 !important;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 0.5rem;
}

.feature-toggle {
  padding: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  background: #212937 !important;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.feature-toggle * {
  color: #f7fafc !important;
}
.feature-toggle:hover {
  background: #2a2d3a !important;
  border-color: #F49609;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.15);
}
.feature-toggle input[type=checkbox] {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: #F49609;
  cursor: pointer;
  flex-shrink: 0;
}
.feature-toggle label {
  cursor: pointer;
  flex: 1;
  font-size: 1rem !important;
  font-weight: 600;
  color: #f7fafc !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.feature-toggle .feature-desc {
  display: block;
  font-size: 0.875rem !important;
  font-weight: 400;
  color: #cbd5e0 !important;
  line-height: 1.75;
  margin-top: 0.25rem;
}
.feature-toggle--recommended {
  border-color: rgba(244, 150, 9, 0.4);
  background: linear-gradient(135deg, #212937, rgba(244, 150, 9, 0.05)) !important;
}
.feature-toggle--recommended::after {
  content: "⭐ Recomendado";
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(244, 150, 9, 0.2);
  color: #F49609 !important;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
}
.feature-toggle.active,
.feature-toggle input[type=checkbox]:checked ~ label {
  color: #f7fafc !important;
}
.feature-toggle input[type=checkbox]:checked ~ label {
  color: #f7fafc !important;
}
.feature-toggle-container {
  background: #212937 !important;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.color-picker-modern {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.color-picker-modern input[type=color] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 48px;
  height: 48px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 0.5rem;
  overflow: hidden;
}
.color-picker-modern input[type=color]::-webkit-color-swatch-wrapper {
  padding: 0;
}
.color-picker-modern input[type=color]::-webkit-color-swatch {
  border: 3px solid #212937;
  border-radius: 0.5rem;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 2px 6px rgba(0, 0, 0, 0.5);
}
.color-picker-modern input[type=text] {
  flex: 1;
  font-family: var(--font-family-mono);
  text-transform: uppercase;
}

.live-preview-panel {
  position: sticky;
  top: 1rem;
  background: #212937;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: fit-content;
}
.live-preview-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.live-preview-panel__header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #f7fafc;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-preview-panel__header h3 .pulse-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.live-preview-panel__device-toggle {
  display: flex;
  gap: 0.25rem;
  background: rgba(15, 20, 25, 0.5);
  padding: 0.25rem;
  border-radius: 0.375rem;
}
.live-preview-panel__device-toggle button {
  padding: 0.375rem;
  border: none;
  background: transparent;
  color: #cbd5e0;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.live-preview-panel__device-toggle button:hover {
  color: #f7fafc;
}
.live-preview-panel__device-toggle button.active {
  background: #2a2d3a;
  color: #F49609;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.live-preview-panel__mockup {
  background: rgba(15, 20, 25, 0.5);
  border-radius: 0.5rem;
  padding: 1rem;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.live-preview-panel__mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: rgba(26, 31, 46, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.live-preview-panel__mockup::after {
  content: "";
  position: absolute;
  top: 12px;
  left: 12px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 16px 0 0 #ffbd2e, 32px 0 0 #28ca42;
}
.live-preview-panel__mockup .widget-preview-live {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}

@media (max-width: 768px) {
  .live-preview-panel {
    position: relative;
    top: 0;
  }
}
.widget-preview-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.widget-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc !important;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-section-title i {
  color: #F49609;
}

.widget-preview-container {
  background: #0f1419;
  border-radius: 0.75rem;
  padding: 2rem;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-preview-button-container {
  margin-bottom: 1rem;
}
.widget-preview-button-container #widgetPreviewBtn {
  background: #334155;
  color: #f1f5f9;
  border: 1.5px solid hsla(0, 0%, 100%, 0.12);
}
.widget-preview-button-container #widgetPreviewBtn:hover {
  background: #475569;
  color: #ffffff;
  border-color: #F49609;
  transform: translateY(-1px);
}
.widget-preview-button-container #widgetPreviewBtn:active {
  transform: translateY(0);
  background: #334155;
}

.widget-preview-mockup {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.widget-preview-browser {
  background: #1a1f2e;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.2);
}
.widget-preview-browser__bar {
  background: rgb(20.475, 24.4125, 36.225);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.widget-preview-browser__buttons {
  display: flex;
  gap: 0.5rem;
}
.widget-preview-browser__buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.widget-preview-browser__buttons span:nth-child(1) {
  background: #ff5f57;
}
.widget-preview-browser__buttons span:nth-child(2) {
  background: #ffbd2e;
}
.widget-preview-browser__buttons span:nth-child(3) {
  background: #28ca42;
}
.widget-preview-browser__url {
  flex: 1;
  background: rgba(15, 20, 25, 0.5);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  color: #a0aec0;
  text-align: center;
}
.widget-preview-browser__content {
  background: #212937;
  padding: 2rem;
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-preview-placeholder {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  color: #a0aec0;
  font-size: 0.875rem;
  font-style: italic;
}

.widget-preview-widget {
  position: absolute;
  z-index: 2;
  animation: fadeInUp 0.3s ease-out;
}
.widget-preview-widget--bottom-center {
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.widget-preview-widget--bottom-right {
  bottom: 2rem;
  right: 2rem;
}
.widget-preview-widget--bottom-left {
  bottom: 2rem;
  left: 2rem;
}
.widget-preview-widget--top {
  top: 0;
  left: 0;
  width: 100%;
}
.widget-preview-widget--bottom {
  bottom: 0;
  left: 0;
  width: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.widget-preview-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #ffffff;
  border: none;
  border-radius: 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  box-shadow: 0 8px 24px rgba(244, 150, 9, 0.5), 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  min-width: 280px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  backdrop-filter: blur(10px);
  line-height: 1.2;
}
.widget-preview-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(244, 150, 9, 0.6), 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
}
.widget-preview-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4), 0 3px 8px rgba(0, 0, 0, 0.3);
}
.widget-preview-button i {
  font-size: 1.25rem;
  color: #ffffff;
  flex-shrink: 0;
}
.widget-preview-button span {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
}

.booking-widget-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  animation: fadeIn 0.2s ease-out;
}

.booking-widget-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.booking-widget-preview-content {
  background: #212937;
  border-radius: 1rem;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.booking-widget-preview-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(15, 20, 25, 0.8);
  color: #f7fafc;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 150ms ease-in-out;
}
.booking-widget-preview-close:hover {
  background: #F49609;
  color: #ffffff;
  transform: rotate(90deg);
}
.booking-widget-preview-close i {
  font-size: 1.125rem;
}

.booking-widget-preview-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #1a1f2e;
}
.booking-widget-preview-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f7fafc;
}
.booking-widget-preview-header p {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
  color: #cbd5e0;
}

.booking-widget-preview-body {
  padding: 1.5rem;
  background: #212937;
  max-height: 70vh;
  overflow-y: auto;
}

.booking-form-preview h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.booking-form-preview h3 i {
  color: #F49609;
}
.booking-form-preview .form-group {
  margin-bottom: 1.25rem;
}
.booking-form-preview .form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #f7fafc;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.booking-form-preview .form-group label i {
  color: #F49609;
  width: 16px;
}
.booking-form-preview .form-group input,
.booking-form-preview .form-group select,
.booking-form-preview .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: #1a1f2e;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  font-size: 1rem;
  color: #f7fafc;
  font-family: var(--font-family-primary);
  transition: all 150ms ease-in-out;
}
.booking-form-preview .form-group input:focus,
.booking-form-preview .form-group select:focus,
.booking-form-preview .form-group textarea:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.booking-form-preview .form-group input::placeholder,
.booking-form-preview .form-group select::placeholder,
.booking-form-preview .form-group textarea::placeholder {
  color: #a0aec0;
}
.booking-form-preview .form-group input:disabled,
.booking-form-preview .form-group select:disabled,
.booking-form-preview .form-group textarea:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.booking-form-preview .form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.booking-form-preview .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 480px) {
  .booking-form-preview .form-row {
    grid-template-columns: 1fr;
  }
}
.booking-form-preview .booking-submit-btn {
  width: 100%;
  padding: 1rem;
  background: #F49609;
  color: #ffffff;
  border: none;
  border-radius: 0.75rem;
  font-size: 1.125rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  transition: all 150ms ease-in-out;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.booking-form-preview .booking-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(244, 150, 9, 0.4);
}
.booking-form-preview .booking-submit-btn i {
  font-size: 1.25rem;
}
.booking-form-preview .booking-footer-text {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.booking-form-preview .booking-footer-text i {
  color: #F49609;
}

.widget-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  pointer-events: none;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
.widget-preview-modal.hidden {
  display: none;
  opacity: 0;
}
.widget-preview-modal__dialog {
  position: absolute;
  pointer-events: auto;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
}
.widget-preview-modal__dialog--minimized {
  max-height: auto;
}
.widget-preview-modal__dialog--minimized .widget-preview-modal__body {
  display: none;
}
.widget-preview-modal__header {
  background: #2d3748;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #475569;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move;
  user-select: none;
}
.widget-preview-modal__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f7fafc;
}
.widget-preview-modal__title i {
  color: #F49609;
  font-size: 1.25rem;
}
.widget-preview-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-preview-modal__minimize {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
}
.widget-preview-modal__minimize:hover {
  background: #374151;
  border-color: #F49609;
  color: #F49609;
}
.widget-preview-modal__minimize i {
  font-size: 0.875rem;
}
.widget-preview-modal__close {
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-in-out;
}
.widget-preview-modal__close:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
}
.widget-preview-modal__close i {
  font-size: 1rem;
}
.widget-preview-modal__body {
  padding: 1.5rem;
  background: #1e293b;
  overflow-y: auto;
  flex: 1;
}

.widget-preview-browser {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.widget-preview-browser__bar {
  background: #e5e7eb;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.widget-preview-browser__buttons {
  display: flex;
  gap: 0.5rem;
}
.widget-preview-browser__buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #9ca3af;
}
.widget-preview-browser__buttons span:nth-child(1) {
  background: #ef4444;
}
.widget-preview-browser__buttons span:nth-child(2) {
  background: #f59e0b;
}
.widget-preview-browser__buttons span:nth-child(3) {
  background: #10b981;
}
.widget-preview-browser__url {
  flex: 1;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}
.widget-preview-browser__content {
  position: relative;
  min-height: 500px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem;
}

.widget-preview-placeholder {
  text-align: center;
  padding: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.125rem;
  font-style: italic;
}

.widget-preview-widget {
  position: absolute;
  z-index: 10;
}
.widget-preview-widget--bottom-center {
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.widget-preview-widget--bottom-left {
  bottom: 1.5rem;
  left: 1.5rem;
}
.widget-preview-widget--bottom-right {
  bottom: 1.5rem;
  right: 1.5rem;
}
.widget-preview-widget--top-center {
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
}
.widget-preview-widget--top-left {
  top: 1.5rem;
  left: 1.5rem;
}
.widget-preview-widget--top-right {
  top: 1.5rem;
  right: 1.5rem;
}

.widget-preview-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: #F49609;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 250ms ease-in-out;
  animation: gentle-pulse 2s ease-in-out infinite;
}
.widget-preview-button i {
  font-size: 1.125rem;
}
.widget-preview-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  animation: none;
}

@keyframes gentle-pulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 0 8px rgba(244, 150, 9, 0.15);
  }
}
@media (max-width: 768px) {
  .widget-preview-modal {
    width: 95%;
    max-width: 95%;
  }
  .widget-preview-modal__dialog {
    max-height: 95vh;
  }
  .widget-preview-modal__body {
    padding: 1rem;
  }
  .widget-preview-browser__content {
    min-height: 400px;
    padding: 1rem;
  }
  .widget-preview-placeholder {
    padding: 1.5rem;
    font-size: 1rem;
  }
}
.widget-embed-section {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}

.widget-embed-instructions {
  font-size: 1rem;
  color: #cbd5e0 !important;
  margin-bottom: 1rem;
  line-height: 1.75;
}
.widget-embed-instructions code {
  background: rgba(244, 150, 9, 0.1);
  color: #F49609;
  padding: 2px 6px;
  border-radius: 0.375rem;
  font-family: var(--font-family-mono);
  font-size: 0.875rem;
}

.widget-embed-code-wrapper {
  position: relative;
  background: #0f1419;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  overflow: hidden;
}

.widget-embed-code {
  margin: 0;
  padding: 1.25rem;
  background: transparent;
  overflow-x: auto;
  font-family: var(--font-family-mono);
  font-size: 0.875rem;
  line-height: 1.75;
  color: #f7fafc !important;
}
.widget-embed-code code {
  color: #f7fafc !important;
}

.widget-embed-copy {
  font-size: 0.875rem !important;
  padding: 0.25rem 0.75rem !important;
  width: auto !important;
  max-width: fit-content;
}

.widget-embed {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
}
.widget-embed__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f7fafc;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-embed__title i {
  color: #F49609;
}
.widget-embed__description {
  font-size: 1rem;
  color: #cbd5e0;
  margin-bottom: 1.5rem;
  line-height: 1.75;
}
.widget-embed .code-wrapper {
  position: relative;
  margin-bottom: 1rem;
}
.widget-embed .code-wrapper pre {
  background: rgba(15, 20, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  padding: 1rem;
  overflow-x: auto;
  font-family: var(--font-family-mono);
  font-size: 0.875rem;
  line-height: 1.75;
  color: #f7fafc;
}
.widget-embed .code-wrapper .copy-button {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #212937;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.375rem;
  color: #cbd5e0;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.widget-embed .code-wrapper .copy-button:hover {
  background: #2a2d3a;
  border-color: #F49609;
  color: #F49609;
}
.widget-embed .code-wrapper .copy-button.copied {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.widget-embed-note {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(244, 150, 9, 0.1);
  border: 1px solid rgba(244, 150, 9, 0.3);
  border-radius: 0.5rem;
}
.widget-embed-note div {
  color: #f7fafc;
  font-size: 0.875rem;
  line-height: 1.75;
}
.widget-embed-note div i {
  color: #F49609;
  margin-right: 0.5rem;
}

.widget-actions {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
}
@media (min-width: 768px) {
  .widget-actions {
    flex-direction: row;
  }
}
.widget-actions .btn-generate-code,
.widget-actions .btn-save-settings {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  text-align: center;
}
.widget-actions .btn-generate-code {
  background: linear-gradient(135deg, #F49609, #D93151);
  border: none;
  color: #ffffff;
}
.widget-actions .btn-generate-code:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.widget-actions .btn-save-settings {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5e0;
}
.widget-actions .btn-save-settings:hover {
  background: #2a2d3a;
  border-color: #F49609;
  color: #F49609;
}

.widget-sticky-save {
  position: fixed !important;
  top: 6.5rem !important;
  bottom: auto !important;
  right: 2rem !important;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
@media (max-width: 768px) {
  .widget-sticky-save {
    top: 5.5rem;
    right: 1rem;
    left: 1rem;
    align-items: stretch;
  }
}
.widget-sticky-save--visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.widget-sticky-save__indicator {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .widget-sticky-save__indicator {
    justify-content: center;
  }
}
.widget-sticky-save__indicator::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #f59e0b;
  border-radius: 50%;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.widget-sticky-save button {
  background: linear-gradient(135deg, #F49609, #D93151);
  color: #ffffff;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px rgba(244, 150, 9, 0.3), 0 4px 10px rgba(217, 49, 81, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-width: 180px;
}
@media (max-width: 768px) {
  .widget-sticky-save button {
    min-width: auto;
    width: 100%;
  }
}
.widget-sticky-save button i {
  font-size: 1.125rem;
  transition: transform 0.2s ease;
}
.widget-sticky-save button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(244, 150, 9, 0.4), 0 6px 12px rgba(217, 49, 81, 0.3);
}
.widget-sticky-save button:hover i {
  transform: scale(1.1);
}
.widget-sticky-save button:active {
  transform: translateY(0);
}
.widget-sticky-save button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
.widget-toast {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  max-width: 400px;
  color: #ffffff;
  font-weight: 500;
  transform: translateY(-100px);
  opacity: 0;
  transition: all 0.3s ease-out;
}
.widget-toast--show {
  transform: translateY(0);
  opacity: 1;
}
.widget-toast--success {
  background: #10b981;
}
.widget-toast--error {
  background: #ef4444;
}
.widget-toast--info {
  background: #3b82f6;
}
@media (max-width: 768px) {
  .widget-toast {
    right: 1rem;
    left: 1rem;
    max-width: none;
  }
}

.widget-advanced-styling {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.widget-advanced-styling__header {
  background: #2d3748;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #475569;
  cursor: pointer;
  transition: background 250ms ease-in-out;
}
.widget-advanced-styling__header:hover {
  background: #374151;
}
.widget-advanced-styling__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.widget-advanced-styling__title i {
  color: #F49609;
  font-size: 1rem;
}
.widget-advanced-styling__toggle {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.125rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 250ms ease-in-out;
}
.widget-advanced-styling__toggle:hover {
  color: #ffffff;
  transform: scale(1.1);
}
.widget-advanced-styling__toggle[aria-expanded=true] i {
  transform: rotate(180deg);
}
.widget-advanced-styling__toggle i {
  transition: transform 250ms ease-in-out;
}
.widget-advanced-styling__content {
  padding: 1.25rem;
  background: #1e293b;
}

.widget-form-group {
  margin-bottom: 1.25rem;
}
.widget-form-group label, .widget-form-group .widget-label-main {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
}
.widget-form-group label i, .widget-form-group .widget-label-main i {
  margin-right: 0.5rem;
  color: #F49609;
}
.widget-form-group--half {
  flex: 1;
  min-width: 0;
}

.widget-styling-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (max-width: 768px) {
  .widget-styling-row {
    flex-direction: column;
    gap: 0;
  }
}

.widget-toggle-group {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.widget-toggle-btn {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem 1rem;
  background: #374151;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.widget-toggle-btn i {
  font-size: 1rem;
  color: #94a3b8;
}
.widget-toggle-btn:hover {
  background: #475569;
  border-color: #F49609;
  color: #ffffff;
}
.widget-toggle-btn:hover i {
  color: #F49609;
}
.widget-toggle-btn.active {
  background: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  color: #ffffff;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.widget-toggle-btn.active i {
  color: #F49609;
}

.color-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.color-input-wrapper input[type=color] {
  width: 60px;
  height: 40px;
  border: 2px solid #475569;
  border-radius: 0.5rem;
  cursor: pointer;
  background: #1e293b;
  transition: border-color 250ms ease-in-out;
}
.color-input-wrapper input[type=color]:hover {
  border-color: #F49609;
}
.color-input-wrapper input[type=color]:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.color-input-wrapper input[type=text] {
  flex: 1;
  padding: 0.75rem;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 0.5rem;
  color: #ffffff;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  transition: border-color 250ms ease-in-out;
}
.color-input-wrapper input[type=text]:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.color-input-wrapper input[type=text]::placeholder {
  color: #64748b;
}

.widget-number-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.widget-number-input-wrapper input[type=number] {
  width: 100%;
  padding: 0.75rem;
  padding-right: 45px;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  transition: border-color 250ms ease-in-out;
}
.widget-number-input-wrapper input[type=number]:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.widget-number-input-wrapper__unit {
  position: absolute;
  right: 0.75rem;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  pointer-events: none;
}

.widget-radius-control {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem;
}
.widget-radius-control input[type=range] {
  flex: 1;
  height: 6px;
  background: #374151;
  border-radius: 999px;
  outline: none;
  -webkit-appearance: none;
}
.widget-radius-control input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #F49609;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease-in-out;
}
.widget-radius-control input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.widget-radius-control input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #F49609;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform 150ms ease-in-out;
}
.widget-radius-control input[type=range]::-moz-range-thumb:hover {
  transform: scale(1.2);
}
.widget-radius-control__value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.widget-radius-control__value input[type=number] {
  width: 70px;
  padding: 0.5rem;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  text-align: center;
}
.widget-radius-control__value input[type=number]:focus {
  outline: none;
  border-color: #F49609;
}

.widget-radius-presets {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.widget-radius-preset {
  flex: 1;
  padding: 0.75rem;
  background: #374151;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.widget-radius-preset:hover {
  background: #475569;
  border-color: #F49609;
  transform: translateY(-2px);
}
.widget-radius-preset.active {
  background: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.widget-radius-preset__shape {
  width: 40px;
  height: 24px;
  background: #F49609;
  transition: border-radius 250ms ease-in-out;
}
.widget-radius-preset__shape--square {
  border-radius: 0;
}
.widget-radius-preset__shape--rounded {
  border-radius: 8px;
}
.widget-radius-preset__shape--pill {
  border-radius: 999px;
}
.widget-radius-preset__label {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

.widget-gradient-settings {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-gradient-direction {
  display: flex;
  gap: 0.5rem;
}

.widget-gradient-direction-btn {
  flex: 1;
  padding: 0.75rem;
  background: #374151;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.widget-gradient-direction-btn i {
  font-size: 1.125rem;
  color: #94a3b8;
}
.widget-gradient-direction-btn span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #cbd5e1 !important;
}
.widget-gradient-direction-btn:hover {
  background: #475569;
  border-color: #F49609;
}
.widget-gradient-direction-btn:hover i {
  color: #F49609;
}
.widget-gradient-direction-btn.active {
  background: rgba(244, 150, 9, 0.15);
  border-color: #F49609;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.widget-gradient-direction-btn.active i, .widget-gradient-direction-btn.active span {
  color: #ffffff !important;
}

.widget-gradient-colors {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.widget-gradient-color-item {
  padding: 1rem;
  background: #374151;
  border-radius: 0.75rem;
  border: 1px solid #475569;
}
.widget-gradient-color-item label {
  margin-bottom: 0.5rem;
  color: #ffffff !important;
  font-size: 0.875rem;
  font-weight: 600;
}

.widget-custom-templates {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.widget-custom-templates__header {
  background: #2d3748;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #475569;
}
@media (max-width: 768px) {
  .widget-custom-templates__header {
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
}
.widget-custom-templates__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.widget-custom-templates__title i {
  color: #F49609;
  font-size: 1rem;
}
.widget-custom-templates__content {
  padding: 1.25rem;
  background: #1e293b;
}
.widget-custom-templates__empty {
  padding: 1.5rem;
  text-align: center;
  color: #94a3b8 !important;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.widget-custom-templates__empty i {
  color: #3b82f6;
  font-size: 1rem;
}
.widget-custom-templates__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.widget-custom-template-card {
  background: #374151;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 250ms ease-in-out;
}
.widget-custom-template-card:hover {
  border-color: #F49609;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.widget-custom-template-card__preview {
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: #1e293b;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-custom-template-card__preview-button {
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.widget-custom-template-card__preview-button:hover {
  transform: scale(1.05);
}
.widget-custom-template-card__content {
  margin-bottom: 0.75rem;
}
.widget-custom-template-card__name {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff !important;
  margin: 0 0 0.5rem 0;
}
.widget-custom-template-card__description {
  font-size: 0.875rem;
  color: #94a3b8 !important;
  margin: 0;
  line-height: 1.5;
}
.widget-custom-template-card__actions {
  display: flex;
  gap: 0.5rem;
}

.widget-template-card {
  background: #374151;
  border: 2px solid #475569;
  border-radius: 0.75rem;
  padding: 1rem;
  transition: all 250ms ease-in-out;
  cursor: pointer;
}
.widget-template-card:hover {
  border-color: #F49609;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.widget-template-card__preview {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: #1e293b;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.widget-template-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff !important;
  margin-bottom: 0.5rem;
}
.widget-template-card__description {
  font-size: 0.75rem;
  color: #94a3b8 !important;
  margin-bottom: 0.75rem;
}
.widget-template-card__actions {
  display: flex;
  gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.widget-customization,
.widget-customization-modern {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  gap: 1rem;
  grid-template-columns: none !important;
}
.widget-customization > *,
.widget-customization-modern > * {
  width: 100% !important;
  max-width: 100% !important;
}

@media (max-width: 1800px) {
  .widget-settings-revolutionary {
    padding: 0.5rem !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  .widget-templates-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  .widget-templates-grid .template-card-modern {
    width: 100% !important;
    margin: 0 !important;
  }
  .widget-customization {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem !important;
    grid-template-columns: unset !important;
    flex-direction: column !important;
  }
  .widget-customization .form-row {
    display: block !important;
    grid-template-columns: unset !important;
  }
  .widget-customization .form-row > * {
    width: 100% !important;
    margin-bottom: 0.75rem !important;
  }
  .widget-customization > * {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .widget-customization .widget-form-group {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 1rem !important;
    float: none !important;
    grid-column: unset !important;
  }
  .widget-customization .widget-form-group label {
    display: block !important;
    width: 100% !important;
  }
  .widget-customization .widget-form-group input[type=text],
  .widget-customization .widget-form-group input[type=color],
  .widget-customization .widget-form-group select {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .widget-customization .color-input-wrapper {
    display: flex !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .widget-customization .color-input-wrapper input[type=color] {
    width: 60px !important;
    flex-shrink: 0 !important;
  }
  .widget-customization .color-input-wrapper input[type=text] {
    flex: 1 !important;
  }
  .button-text-suggestions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    margin-top: 0.5rem !important;
  }
  .button-text-suggestions__label {
    width: 100% !important;
    margin-bottom: 0.25rem !important;
  }
  .button-text-suggestions__chip {
    flex: 1 1 calc(50% - 0.5rem) !important;
    min-width: 120px !important;
    font-size: 0.75rem !important;
    padding: 0.5rem !important;
  }
  .widget-language-selector {
    width: 100% !important;
  }
  .widget-language-selector__grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }
  .widget-language-selector__option {
    padding: 0.5rem !important;
    min-height: 80px !important;
  }
  .widget-language-selector__option .widget-language-selector__flag {
    font-size: 1.25rem !important;
  }
  .widget-language-selector__option .widget-language-selector__name {
    font-size: 0.75rem !important;
    display: none !important;
  }
  .widget-language-selector__option .widget-language-selector__code {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
  }
  .widget-features__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .widget-features .feature-toggle {
    width: 100% !important;
    padding: 0.75rem !important;
  }
  .widget-booking-options__grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .widget-booking-options .option-toggle {
    width: 100% !important;
  }
  .widget-save-top {
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0.75rem !important;
    background: #0f1419 !important;
    border-top: 1px solid #334155 !important;
    z-index: 1000 !important;
  }
  .widget-save-top button {
    width: 100% !important;
    padding: 1rem !important;
    font-size: 1rem !important;
  }
  .widget-sticky-save {
    display: none !important;
  }
  .widget-embed-section {
    padding: 0.75rem !important;
  }
  .widget-embed-section .embed-code-container {
    padding: 0.75rem !important;
    font-size: 0.75rem !important;
  }
  .widget-embed-section #copyEmbedCode {
    width: 100% !important;
    margin-top: 0.75rem !important;
  }
}
@media (min-width: 480px) and (max-width: 1800px) {
  .widget-language-selector__grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .widget-templates-grid {
    grid-template-columns: 1fr !important;
  }
}
@media (min-width: 1801px) {
  .widget-customization {
    display: flex !important;
    max-width: 100% !important;
    padding: 1.5rem !important;
  }
  .widget-customization .form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
  }
  .widget-customization > * {
    display: initial !important;
    width: initial !important;
    max-width: initial !important;
  }
  .widget-customization .widget-form-group {
    display: initial !important;
    width: initial !important;
    max-width: initial !important;
  }
  .widget-templates-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .widget-language-selector__grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}
@media (min-width: 1900px) {
  .widget-templates-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  .widget-language-selector__grid {
    grid-template-columns: repeat(6, 1fr) !important;
  }
  .widget-language-selector__grid .widget-language-selector__name {
    display: block !important;
  }
}
@media (min-width: 1px) {
  .widget-customization-modern,
  .widget-customization {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }
}
.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.75rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #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);
  opacity: 0;
  transform: translateX(100%);
  transition: all 250ms ease-in-out;
  pointer-events: auto;
  position: relative;
  min-width: 300px;
}
.toast--show {
  opacity: 1;
  transform: translateX(0);
}
.toast--success {
  border-color: #10b981;
  background: color-mix(in srgb, #10b981 5%, #ffffff);
}
.toast--success .toast__icon {
  color: #10b981;
}
.toast--error {
  border-color: #ef4444;
  background: color-mix(in srgb, #ef4444 5%, #ffffff);
}
.toast--error .toast__icon {
  color: #ef4444;
}
.toast--warning {
  border-color: #f59e0b;
  background: color-mix(in srgb, #f59e0b 5%, #ffffff);
}
.toast--warning .toast__icon {
  color: #f59e0b;
}
.toast--info {
  border-color: #2563eb;
  background: color-mix(in srgb, #2563eb 5%, #ffffff);
}
.toast--info .toast__icon {
  color: #2563eb;
}

.toast__icon {
  flex-shrink: 0;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5em;
  height: 1.5em;
}

.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;
    }
  }
}
body.widget-demo,
html:has(.widget-demo) {
  background: transparent !important;
  background-color: transparent !important;
}

.widget-demo {
  font-family: var(--font-family-primary);
  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(244, 150, 9, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(217, 49, 81, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}
.widget-demo__container {
  position: relative;
  z-index: 1;
  max-width: 850px;
  max-height: 85vh;
  margin: 0 auto;
  background: rgba(20, 25, 35, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  padding-top: clamp(3rem, 5vw, 4rem);
  box-shadow: none;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #F49609 rgba(30, 41, 59, 0.4);
}
.widget-demo__container::-webkit-scrollbar {
  width: 8px;
}
.widget-demo__container::-webkit-scrollbar-track {
  background: rgba(30, 41, 59, 0.4);
  border-radius: 0.375rem;
}
.widget-demo__container::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border-radius: 0.375rem;
  transition: all 250ms ease-in-out;
}
.widget-demo__container::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #FFA726 0%, #FF5677 100%);
}
@media (max-width: 639px) {
  .widget-demo__container {
    border-radius: 1rem;
    padding: 1rem;
  }
}
.widget-demo__header {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.widget-demo__header::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  animation: pulse 4s ease-in-out infinite;
}
.widget-demo__title {
  position: relative;
  font-size: clamp(1.5rem, 5vw, 2.25rem);
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  filter: drop-shadow(0 2px 10px rgba(244, 150, 9, 0.3));
  width: 100%;
}
.widget-demo__subtitle {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.8);
  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: rgba(71, 85, 105, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 250ms ease-in-out;
  overflow: visible;
}
.widget-demo__menu:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}
.widget-demo__cart {
  position: sticky;
  top: 1rem;
  align-self: start;
}
@media (max-width: 1023px) {
  .widget-demo__cart {
    position: static;
  }
}
.widget-demo__info {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.1) 0%, rgba(217, 49, 81, 0.1) 100%);
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-left: 4px solid #F49609;
  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.15);
}
.widget-demo__info-title {
  color: #F49609;
  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(244, 150, 9, 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, #F49609 0%, #D93151 100%);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(244, 150, 9, 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-tabs {
  display: flex;
  background: rgba(245, 245, 247, 0.1);
  padding: 1rem;
  gap: 0.75rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  color: #1e293b;
}

button.widget-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(224, 224, 229, 0.8);
  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: none;
  height: 3rem;
}
button.widget-tab:not(.active) {
  color: #1e293b !important;
}
button.widget-tab:not(.active) i {
  font-size: 1.25rem;
  color: #1e293b !important;
  transition: all 150ms ease-in-out ease;
}
button.widget-tab:not(.active) span {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1e293b !important;
}
button.widget-tab.active {
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
button.widget-tab.active i {
  color: #ffffff !important;
  transform: scale(1.05);
}
button.widget-tab.active span {
  color: #ffffff !important;
}
button.widget-tab:hover:not(.active) {
  background: rgb(255, 255, 255);
  border-color: #F49609;
  transform: translateY(0);
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.1);
  color: #1e293b !important;
}
button.widget-tab:hover:not(.active) i {
  transform: scale(1.1);
  color: #F49609 !important;
}
button.widget-tab:hover:not(.active) span {
  color: #1e293b !important;
}
button.widget-tab:focus {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  button.widget-tab {
    padding: 0.75rem 0.5rem;
    font-size: 0.875rem;
    flex-direction: column;
    gap: 0.25rem;
  }
  button.widget-tab i {
    font-size: 1.125rem;
  }
  button.widget-tab span {
    font-size: 0.625rem;
    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;
  }
}

.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 #F49609;
  outline-offset: 3px;
  border-color: #F49609;
}
.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: linear-gradient(145deg, rgba(51, 65, 85, 0.4), rgba(30, 41, 59, 0.6));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  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.1);
}
.booking-widget__type-option label::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(244, 150, 9, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}
.booking-widget__type-option label:hover {
  border-color: rgba(244, 150, 9, 0.4);
  background: linear-gradient(145deg, rgba(51, 65, 85, 0.6), rgba(30, 41, 59, 0.8));
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}
.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, #2D2E88 0%, #D93151 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(45, 46, 136, 0.4);
  opacity: 0;
  transform: scale(0.8);
  transition: all 250ms ease-in-out;
}

.reservation-form {
  margin-bottom: clamp(2rem, 5vw, 3rem);
  animation: fadeInUp 0.5s ease-out;
}
.reservation-form--hidden {
  display: none;
}
.reservation-form__container {
  background: rgba(71, 85, 105, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2rem);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: all 250ms ease-in-out;
  overflow: visible;
}
.reservation-form__container:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.reservation-form__title {
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  color: #ffffff;
  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, #F49609 0%, #D93151 100%);
  border-radius: 50%;
}
.reservation-form__section-title {
  margin-top: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  color: rgba(255, 255, 255, 0.95);
  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__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.25rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  letter-spacing: 0.01em;
}
.reservation-form__required {
  color: #D93151;
  font-size: 0.875rem;
}
.reservation-form__input, .reservation-form__select {
  width: 100%;
  padding: clamp(0.5rem, 2vw, 0.75rem);
  border: 2px solid rgba(226, 232, 240, 0.2);
  border-radius: 0.75rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  background: rgba(51, 65, 85, 0.8);
  color: #ffffff;
  font-family: var(--font-family-primary);
  font-weight: 500;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.reservation-form__input:focus, .reservation-form__select:focus {
  outline: none;
  border-color: #F49609;
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.reservation-form__input::placeholder, .reservation-form__select::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}
.reservation-form__input::-webkit-calendar-picker-indicator, .reservation-form__select::-webkit-calendar-picker-indicator {
  filter: invert(1);
  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.2);
  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.2);
}
.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='%23F49609' 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(226, 232, 240, 0.2);
  border-radius: 0.75rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  resize: vertical;
  background: rgba(51, 65, 85, 0.8);
  color: #ffffff;
  font-family: var(--font-family-primary);
  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.2);
}
.reservation-form__textarea:hover {
  border-color: rgba(244, 150, 9, 0.3);
  background: rgba(51, 65, 85, 0.9);
}
.reservation-form__textarea:focus {
  outline: none;
  border-color: #F49609;
  background: rgba(71, 85, 105, 0.9);
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.1), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}
.reservation-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
  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(244, 150, 9, 0.1) 0%, rgba(217, 49, 81, 0.1) 100%);
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-left: 4px solid #F49609;
  padding: 0.75rem;
  border-radius: 0.75rem;
  margin-bottom: clamp(1rem, 3vw, 1.5rem);
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.1);
}
.reservation-form__info-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.reservation-form__button {
  width: 100%;
  padding: clamp(0.75rem, 3vw, 1rem);
  margin-top: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  color: #ffffff;
  border: none;
  border-radius: 1rem;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 0 20px rgba(244, 150, 9, 0.2);
  position: relative;
  overflow: hidden;
  will-change: transform;
}
.reservation-form__button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s;
}
.reservation-form__button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25), 0 0 30px rgba(244, 150, 9, 0.4);
}
.reservation-form__button:hover::before {
  left: 100%;
}
.reservation-form__button:active {
  transform: translateY(-1px);
}
.reservation-form__button:focus-visible {
  outline: 4px solid rgba(45, 46, 136, 0.5);
  outline-offset: 4px;
}
.reservation-form__button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.reservation-form__button:disabled:hover::before {
  left: -100%;
}
.reservation-form__confirmation {
  padding: 2rem;
  text-align: center;
  background: #ffffff;
  border-radius: 0.75rem;
  animation: fadeInScale 0.6s ease-out;
}
@container (min-width: 640px) {
  .reservation-form__confirmation {
    padding: 3rem;
  }
}
.reservation-form__confirmation-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1;
  animation: bounceIn 0.8s ease-out;
  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: #ffffff;
}
.menu-selection__title {
  color: #ffffff;
  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(71, 85, 105, 0.3);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.menu-selection__filter-label {
  color: rgba(255, 255, 255, 0.9);
  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: rgba(51, 65, 85, 0.5);
  border: 2px solid rgba(100, 116, 139, 0.5);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  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(71, 85, 105, 0.8);
  border-color: rgba(244, 150, 9, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}
.menu-selection__filter-tag--active {
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border-color: #F49609;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
}
.menu-selection__filter-tag:focus-visible {
  outline: 3px solid rgba(244, 150, 9, 0.5);
  outline-offset: 2px;
}
.menu-selection__categories {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 4vw, 2rem);
}
.menu-selection__category-title {
  color: #ffffff;
  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, #F49609 0%, #D93151 100%);
  border-radius: 50%;
}
.menu-selection__items-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.875rem, 2vw, 1rem);
  font-weight: 400;
  margin-left: auto;
}

.menu-category {
  color: #ffffff;
}
.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);
}
.menu-category__title {
  color: #ffffff;
  font-size: clamp(1.25rem, 3.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.menu-category__items {
  display: grid;
  gap: 1rem;
}

.menu-search {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
  margin-bottom: clamp(1rem, 3vw, 1.25rem);
}
.menu-search__container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.menu-search__icon {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: color 0.3s ease;
}
.menu-search__input {
  flex: 1;
  width: 100%;
  padding: clamp(0.75rem, 2vw, 1rem) clamp(2.5rem, 5vw, 3rem);
  background: #334155;
  border: 2px solid rgba(244, 150, 9, 0.2);
  border-radius: 1rem;
  color: #ffffff;
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}
.menu-search__input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.menu-search__input:focus {
  border-color: #F49609;
  background: #334155;
  box-shadow: 0 0 0 4px rgba(244, 150, 9, 0.1);
}
.menu-search__input:focus ~ .menu-search__icon {
  color: #F49609;
}
.menu-search__input:not(:placeholder-shown) {
  border-color: #F49609;
}
.menu-search__clear {
  position: absolute;
  right: 0.75rem;
  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: 50%;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-search__clear:hover {
  background: rgba(244, 150, 9, 0.2);
  border-color: #F49609;
  color: #F49609;
  transform: scale(1.1);
}
.menu-search__clear:active {
  transform: scale(0.95);
}
.menu-search__clear svg {
  width: 16px;
  height: 16px;
}
.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) {
  .menu-search {
    top: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .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: rgba(71, 85, 105, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  transition: all 250ms ease-in-out;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}
.menu-item:hover {
  background: rgba(71, 85, 105, 0.6);
  border-color: rgba(244, 150, 9, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.menu-item--selected {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.15), rgba(217, 49, 81, 0.1));
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2), 0 4px 20px rgba(0, 0, 0, 0.15);
}
.menu-item--selected::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(244, 150, 9, 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, #F49609, #D93151);
  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(244, 150, 9, 0.4);
  animation: checkmark-bounce 0.3s ease;
}
.menu-item--selected:hover {
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.2), rgba(217, 49, 81, 0.15));
  border-color: #F49609;
  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.15) !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: #ffffff;
  font-weight: 700;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.menu-item__description {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(0.875rem, 2vw, 1rem);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}
.menu-item__price {
  color: #F49609;
  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(51, 65, 85, 0.6);
  border: 1px solid rgba(100, 116, 139, 0.4);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  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, #F49609 0%, #D93151 100%);
  color: #ffffff;
}
.menu-item__badge--new {
  background: linear-gradient(135deg, #2D2E88 0%, #D93151 100%);
  color: #ffffff;
}
.menu-item--selected {
  border-color: #F49609;
  border-width: 2px;
  box-shadow: 0 0 20px rgba(244, 150, 9, 0.3), inset 0 0 20px rgba(244, 150, 9, 0.05);
  background: rgba(71, 85, 105, 0.7);
}
.menu-item--selected:hover {
  border-color: #FFA726;
  box-shadow: 0 0 30px rgba(244, 150, 9, 0.5), inset 0 0 30px rgba(244, 150, 9, 0.08);
}
.menu-item--voice-selected {
  border-color: #F49609;
  border-width: 3px;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.15), rgba(217, 49, 81, 0.1));
  box-shadow: 0 0 30px rgba(244, 150, 9, 0.6), inset 0 0 30px rgba(244, 150, 9, 0.1);
  animation: voice-item-pulse 1s ease-in-out 2;
  transform: scale(1.02);
  z-index: 10;
}
@media (prefers-reduced-motion: reduce) {
  .menu-item--voice-selected {
    animation: none;
    transform: none;
  }
}
.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, #F49609 0%, #D93151 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(244, 150, 9, 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(255, 167, 38, 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(244, 150, 9, 0.5);
}
.menu-item__add-btn:active {
  transform: translateY(0) scale(0.98);
}
.menu-item__add-btn:focus-visible {
  outline: 3px solid rgba(244, 150, 9, 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: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.5rem;
  background: rgba(51, 65, 85, 0.6);
  border: 2px solid rgba(244, 150, 9, 0.3);
  border-radius: 0.75rem;
  backdrop-filter: blur(10px);
}
.menu-item__quantity-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, #F49609 0%, #D93151 100%);
  border: none;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  box-shadow: 0 2px 8px rgba(244, 150, 9, 0.3);
}
.menu-item__quantity-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.5);
}
.menu-item__quantity-btn:active {
  transform: scale(0.95);
}
.menu-item__quantity-btn:focus-visible {
  outline: 3px solid rgba(244, 150, 9, 0.6);
  outline-offset: 2px;
}
.menu-item__quantity-btn--decrease {
  background: linear-gradient(135deg, rgba(217, 49, 81, 0.8) 0%, rgba(255, 86, 119, 0.8) 100%);
  box-shadow: 0 2px 8px rgba(217, 49, 81, 0.3);
}
.menu-item__quantity-btn--decrease:hover {
  box-shadow: 0 4px 16px rgba(217, 49, 81, 0.5);
}
.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: #F49609;
  min-width: 40px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@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(244, 150, 9, 0.6), inset 0 0 30px rgba(244, 150, 9, 0.1);
    transform: scale(1.02);
  }
  50% {
    box-shadow: 0 0 50px rgba(244, 150, 9, 0.9), inset 0 0 50px rgba(244, 150, 9, 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.15);
  }
  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.15);
  }
}
@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: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  margin-bottom: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(244, 150, 9, 0.15);
  transition: all 0.3s ease;
}
.menu-selection__category:hover {
  border-color: rgba(244, 150, 9, 0.3);
  box-shadow: 0 4px 20px rgba(244, 150, 9, 0.1);
}
.menu-selection__category-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.08) 0%, rgba(217, 49, 81, 0.06) 100%);
  border-bottom: 1px solid rgba(244, 150, 9, 0.15);
}
.menu-selection__category-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}
.menu-selection__category-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  flex: 1;
}
.menu-selection__category-count {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50%;
}
.menu-selection__items {
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(244, 150, 9, 0.3) rgba(255, 255, 255, 0.05);
}
.menu-selection__items::-webkit-scrollbar {
  width: 8px;
}
.menu-selection__items::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
}
.menu-selection__items::-webkit-scrollbar-thumb {
  background: rgba(244, 150, 9, 0.3);
  border-radius: 0.5rem;
}
.menu-selection__items::-webkit-scrollbar-thumb:hover {
  background: rgba(244, 150, 9, 0.5);
}

@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: rgba(20, 25, 35, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}
.dine-in-preorder__header {
  margin-bottom: 1rem;
}
.dine-in-preorder__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}
.dine-in-preorder__subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.dine-in-preorder__empty {
  padding: 1.5rem 1rem;
  text-align: center;
}
.dine-in-preorder__empty-text {
  font-size: 1rem;
  color: #64748b;
  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(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__item:hover {
  background: rgba(255, 255, 255, 0.08);
}
.dine-in-preorder__item-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}
.dine-in-preorder__item-name {
  font-size: 1rem;
  color: #ffffff;
  font-weight: 500;
}
.dine-in-preorder__item-quantity {
  font-size: 0.875rem;
  color: #F49609;
  font-weight: 600;
}
.dine-in-preorder__item-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(217, 49, 81, 0.2);
  border: none;
  border-radius: 0.375rem;
  color: #D93151;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__item-remove:hover {
  background: #D93151;
  color: #ffffff;
  transform: scale(1.1);
}
.dine-in-preorder__item-remove:focus-visible {
  outline: 2px solid #D93151;
  outline-offset: 2px;
}
.dine-in-preorder__footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.dine-in-preorder__note {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}
.dine-in-preorder__clear {
  padding: 0.5rem 1rem;
  background: rgba(217, 49, 81, 0.2);
  border: 1px solid rgba(217, 49, 81, 0.3);
  border-radius: 0.5rem;
  color: #D93151;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.dine-in-preorder__clear:hover {
  background: #D93151;
  color: #ffffff;
  border-color: #D93151;
}
.dine-in-preorder__clear:focus-visible {
  outline: 2px solid #D93151;
  outline-offset: 2px;
}

.takeout-cart {
  background: rgba(20, 25, 35, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  padding: 1rem;
}
.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: #ffffff;
  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, #F49609 0%, #D93151 100%);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
}
.takeout-cart__clear {
  padding: 0.5rem 0.75rem;
  background: rgba(217, 49, 81, 0.15);
  border: 1px solid rgba(217, 49, 81, 0.3);
  border-radius: 0.5rem;
  color: #D93151;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.takeout-cart__clear:hover {
  background: #D93151;
  color: #ffffff;
  border-color: #D93151;
}
.takeout-cart__clear:focus-visible {
  outline: 2px solid #D93151;
  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: 300px;
}
.takeout-cart__empty-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  opacity: 0.3;
  filter: grayscale(100%);
}
.takeout-cart__empty-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 0.5rem 0;
}
.takeout-cart__empty-subtitle {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  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(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
}
.takeout-cart__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(244, 150, 9, 0.3);
}
.takeout-cart__item-name {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 500;
}
.takeout-cart__item-quantity {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  min-width: 30px;
  text-align: center;
}
.takeout-cart__item-price {
  font-size: 0.875rem;
  color: #F49609;
  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(217, 49, 81, 0.2);
  border: 1px solid rgba(217, 49, 81, 0.3);
  border-radius: 0.375rem;
  color: #D93151;
  font-size: 1rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.takeout-cart__item-remove:hover {
  background: #D93151;
  color: #ffffff;
  border-color: #D93151;
  transform: scale(1.1);
}
.takeout-cart__item-remove:focus-visible {
  outline: 2px solid #D93151;
  outline-offset: 2px;
}
.takeout-cart__footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 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: rgba(255, 255, 255, 0.8);
}
.takeout-cart__total {
  font-size: 1.125rem;
  font-weight: 700;
  color: #ffffff;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.takeout-cart__checkout {
  margin-top: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #F49609 0%, #D93151 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(244, 150, 9, 0.4);
}
.takeout-cart__checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(244, 150, 9, 0.6);
}
.takeout-cart__checkout:active {
  transform: translateY(0);
}
.takeout-cart__checkout:focus-visible {
  outline: 3px solid rgba(244, 150, 9, 0.5);
  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: var(--font-family-primary);
  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;
}

/**
 * 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 {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-left: 4px solid;
  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;
  min-height: 60px;
  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-color: #10b981;
  background: black;
}
.toast--error {
  border-left-color: #ef4444;
  background: rgb(94.881773399, 8.118226601, 8.118226601);
}
.toast--warning {
  border-left-color: #f59e0b;
  background: rgb(25.4566929134, 16.3799212598, 1.0433070866);
}
.toast--info {
  border-left-color: #3b82f6;
  background: rgb(3.3146341463, 29.4634146341, 72.1853658537);
}
@media (prefers-contrast: high) {
  .toast {
    background: #000000;
    border: 2px solid #ffffff;
    border-left-width: 4px;
  }
}

.toast__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;
}
.toast--success .toast__icon {
  background: rgba(52, 211, 153, 0.3);
  color: #34d399;
}
.toast--error .toast__icon {
  background: rgba(248, 113, 113, 0.3);
  color: #f87171;
}
.toast--warning .toast__icon {
  background: rgba(251, 191, 36, 0.3);
  color: #fbbf24;
}
.toast--info .toast__icon {
  background: rgba(96, 165, 250, 0.3);
  color: #60a5fa;
}

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

.toast__message {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 500;
  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 {
  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.375rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}
.toast__close svg {
  width: 16px;
  height: 16px;
}
.toast__close:hover {
  background: rgba(255, 255, 255, 0.15);
  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: 2px 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;
    }
  }
}
/**
 * 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;
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  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: #0f172a;
  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;
  gap: 0.4rem;
  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%;
  flex-shrink: 0;
  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;
  gap: 0.4rem;
}
.floor-plan-canvas .table-element .guest-badge .badge-name {
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.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 .guest-badge:hover .badge-detail-popover {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.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(.guest-badge:hover), .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 .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;
}

.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;
  max-height: 500px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}
.floor-modal-reservations::-webkit-scrollbar {
  width: 6px;
}
.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: #fff;
  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__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 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;
  margin-bottom: var(--spacing-xs);
  text-align: left;
}

.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;
  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: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.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__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--spacing-sm);
}

.floor-modal-card__time {
  font-size: var(--font-size-sm);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  font-weight: var(--font-weight-medium);
}
.floor-modal-card__time i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.floor-modal-card__party {
  font-size: var(--font-size-sm);
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}
.floor-modal-card__party i {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
}

.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;
  transition: transform 0.2s ease;
  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;
}

.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--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 {
  margin-top: 0.25rem;
}
.dropdown-option--action i:first-child {
  width: 16px;
  text-align: center;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.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;
}
@media (min-width: 1400px) {
  .floor-plan-canvas {
    -ms-touch-action: none !important;
    touch-action: none !important;
  }
}
@media (max-width: 1399px) {
  .floor-plan-canvas {
    touch-action: pan-y;
  }
  .floor-plan-canvas.two-finger-active {
    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 * {
  touch-action: none !important;
}

.command-controller {
  display: none;
  position: fixed;
  bottom: 100px;
  left: 30px;
  width: 140px;
  height: 140px;
  z-index: 9000;
  touch-action: none;
  user-select: none;
  opacity: 0.7;
  transition: opacity 200ms ease-out, transform 200ms ease-out;
}
@media (max-width: 1399px) and (pointer: coarse) {
  .command-controller {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (hover: none) and (pointer: coarse) {
  .command-controller {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
.command-controller:hover, .command-controller.active {
  opacity: 1;
}
.command-controller.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}
.command-controller__center {
  position: absolute;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-brand-purple, #2D2E88), rgb(32.320441989, 33.0386740331, 97.679558011));
  border: 3px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 1.25rem;
  cursor: grab;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
}
.command-controller__center:active {
  cursor: grabbing;
  transform: scale(0.95);
}
.command-controller__center.dragging {
  cursor: grabbing;
  box-shadow: 0 8px 24px rgba(45, 46, 136, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.command-controller__center i {
  pointer-events: none;
}
.command-controller__modifier {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  margin: 0;
  outline: none;
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(45, 46, 136, 0.12) !important;
  background-color: rgba(45, 46, 136, 0.12) !important;
  border: none !important;
  color: #111827 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  font-size: 1rem;
  cursor: pointer;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 150ms ease-out;
  overflow: visible !important;
}
.command-controller__modifier::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  border: 2px solid rgba(45, 46, 136, 0.3) !important;
  z-index: -1 !important;
  pointer-events: none !important;
}
.command-controller__modifier[data-modifier=shift] {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.command-controller__modifier[data-modifier=alt] {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}
.command-controller__modifier[data-modifier=cmd] {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.command-controller__modifier[data-modifier=ctrl] {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.command-controller__modifier .modifier-symbol {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
}
.command-controller__modifier .modifier-label {
  font-size: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.7;
  margin-top: 1px;
}
.command-controller__modifier.held {
  color: white !important;
}
.command-controller__modifier.held::before {
  background: var(--color-brand-purple, #2D2E88) !important;
  box-shadow: 0 4px 16px rgba(45, 46, 136, 0.5) !important;
}
.command-controller__modifier.held[data-modifier=shift] {
  transform: scale(1.15) translateX(-50%);
}
.command-controller__modifier.held[data-modifier=alt] {
  transform: scale(1.15) translateY(-50%);
}
.command-controller__modifier.held[data-modifier=cmd] {
  transform: scale(1.15) translateX(-50%);
}
.command-controller__modifier.held[data-modifier=ctrl] {
  transform: scale(1.15) translateY(-50%);
}
.command-controller__modifier.held .modifier-symbol,
.command-controller__modifier.held .modifier-label {
  color: white !important;
}
.command-controller__modifier.locked {
  color: white !important;
}
.command-controller__modifier.locked::before {
  background: var(--color-brand-purple, #2D2E88) !important;
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4) !important;
}
.command-controller__modifier.locked .modifier-symbol,
.command-controller__modifier.locked .modifier-label {
  color: white !important;
}
.command-controller__modifier.locked::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background: var(--color-brand-pink, #D93151);
  border-radius: 50%;
  border: 2px solid white;
}
.command-controller__modifier.held.locked::before {
  background: linear-gradient(145deg, var(--color-brand-orange, #F49609), var(--color-brand-purple, #2D2E88)) !important;
}
.command-controller__modifier.held.locked .modifier-symbol,
.command-controller__modifier.held.locked .modifier-label {
  color: white !important;
}
.command-controller__modifier:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.3);
}
.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;
}

.transform-handle {
  position: absolute;
  width: 8px;
  height: 8px;
  background: #fff;
  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;
}
.transform-handle:hover {
  transform: scale(1.3);
  box-shadow: 0 0 8px rgba(244, 150, 9, 0.5);
}
.transform-handle.handle-nw {
  top: -4px;
  left: -4px;
  cursor: nwse-resize;
}
.transform-handle.handle-ne {
  top: -4px;
  right: -4px;
  cursor: nesw-resize;
}
.transform-handle.handle-se {
  bottom: -4px;
  right: -4px;
  cursor: nwse-resize;
}
.transform-handle.handle-sw {
  bottom: -4px;
  left: -4px;
  cursor: nesw-resize;
}
.transform-handle.handle-n {
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}
.transform-handle.handle-e {
  top: 50%;
  right: -4px;
  transform: translateY(-50%);
  cursor: ew-resize;
}
.transform-handle.handle-s {
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  cursor: ns-resize;
}
.transform-handle.handle-w {
  top: 50%;
  left: -4px;
  transform: translateY(-50%);
  cursor: ew-resize;
}

.table-element.selected:not(.dragging):not(.is-transforming):not(.is-rotating) .transform-handle {
  opacity: 1;
  pointer-events: all;
}

.rotation-handle {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: #fff;
  border: 2px solid #f49609;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 200ms ease-in-out, transform 150ms ease-in-out;
  cursor: grab;
  z-index: 5;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rotation-handle::before {
  content: "↻";
  font-size: 16px;
  color: #f49609;
  font-weight: bold;
  line-height: 1;
}
.rotation-handle:hover {
  transform: translateX(-50%) scale(1.2);
  box-shadow: 0 0 12px rgba(244, 150, 9, 0.6);
}
.rotation-handle:active {
  cursor: grabbing;
}

.rotation-handle-line {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 20px;
  background: transparent;
  border-left: 2px dotted rgba(244, 150, 9, 0.5);
  opacity: 0;
  transition: opacity 200ms ease-in-out;
  pointer-events: none;
  z-index: 15;
}

.table-element.selected:not(.dragging):not(.is-transforming):not(.is-rotating) .rotation-handle,
.table-element.selected:not(.dragging):not(.is-transforming):not(.is-rotating) .rotation-handle-line {
  opacity: 1;
  pointer-events: all;
}

.table-element.is-transforming .rotation-handle,
.table-element.is-transforming .rotation-handle-line,
.table-element.is-rotating .rotation-handle,
.table-element.is-rotating .rotation-handle-line {
  opacity: 0;
  pointer-events: none;
}

.table-seat {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: all;
  z-index: 5;
  transition: transform 150ms ease-in-out, opacity 150ms ease-in-out;
  animation: seatAppear 300ms ease-out;
  cursor: pointer;
}
.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: #334155;
}
.table-seat[data-status=empty] .seat-cushion {
  fill: rgb(70, 89, 117);
}
.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.selected .seat-icon {
  filter: drop-shadow(0 0 4px rgba(244, 150, 9, 0.8));
}
.table-seat.selected .seat-back {
  fill: #f49609;
}
.table-seat.selected .seat-cushion {
  fill: hsl(36, 92.89%, 59.61%);
}

.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: #334155;
  transition: fill 150ms ease-in-out;
}
.seat-icon .seat-cushion {
  fill: rgb(70, 89, 117);
  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);
  }
}
.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;
}

.group-tables-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.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: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

#tab-group .modal-form-section:first-child {
  padding-bottom: 0.5rem;
}

.color-option {
  width: 48px;
  height: 48px;
  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 {
  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 {
  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;
}

.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 {
  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-bottom: 1px solid #334155;
  padding: 1.25rem 1.5rem;
}

.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--seated {
  background: #3b82f6 !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;
}

@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;
}
.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 {
  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;
}

.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: 1rem;
  right: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.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;
}

.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;
}

.floor-plan-canvas {
  flex: 1;
  position: relative;
  background: #0f172a;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(51, 65, 85, 0.2) 39px, rgba(51, 65, 85, 0.2) 40px), repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(51, 65, 85, 0.2) 39px, rgba(51, 65, 85, 0.2) 40px);
  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: #fff;
  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 #fff;
  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 #fff;
  }
  .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: #fff;
  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 {
  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: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 {
  background-color: #1e293b;
  border-color: #334155;
  color: #fff;
}

.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: #fff;
  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 #000;
    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: #f8fafc;
  overflow: hidden;
  min-height: 500px;
}

.floor-plan-canvas .canvas-grid {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 5000px;
  min-height: 5000px;
  background-image: radial-gradient(circle, #e2e8f0 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.3;
  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: #fff !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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
}

.tag--warning {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.tag--info {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

.calendar {
  background: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
}

.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: #fff;
  font-weight: 700;
}

.calendar__date--selected .calendar__reservation-count {
  background: #fff;
  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: #fff;
  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: #fff;
  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 {
  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 {
  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: #fff;
  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 {
  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: #fff;
  transform: translateX(4px);
}

.draggable-sidebar__nav-item:focus {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
  color: #fff;
}

.draggable-sidebar__nav-item--active {
  background: rgba(59, 130, 246, 0.15);
  color: #fff;
}

.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: #fff;
  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: #fff;
}

.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 {
  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: 926px) {
  .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: #fff;
  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 {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.sidebar-fab:active {
  transform: scale(0.95);
}

@media (min-width: 927px) {
  .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 #fff;
  }
  .draggable-sidebar__nav-item {
    border: 1px solid rgba(0, 0, 0, 0);
  }
  .draggable-sidebar__nav-item:focus {
    border-color: #fff;
  }
  .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: #fff;
  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 {
  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: #fff;
  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 {
  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: 926px) {
  .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;
  }
}
[data-theme=light] .draggable-sidebar {
  background: #fff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
}

[data-theme=light] .draggable-sidebar__header {
  border-bottom-color: #e2e8f0;
}

[data-theme=light] .draggable-sidebar__nav-item {
  color: #475569;
}

[data-theme=light] .draggable-sidebar__nav-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

[data-theme=light] .draggable-sidebar__nav-item--active {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

[data-theme=light] .draggable-sidebar__footer {
  border-top-color: #e2e8f0;
}

[data-theme=light] .draggable-sidebar__user:hover {
  background: #f8fafc;
}

.setup-guide-widget {
  position: fixed;
  width: 420px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.02);
  z-index: 2000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
  -webkit-font-smoothing: antialiased;
}

.setup-guide-widget.is-dragging {
  cursor: grabbing;
  opacity: 0.85;
  transform: scale(0.98);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 15px 30px -8px rgba(0, 0, 0, 0.15);
  transition: none;
}

.setup-guide-widget.is-dragging * {
  user-select: none !important;
  pointer-events: none !important;
}

.setup-guide-widget.is-minimized .widget-content {
  display: none;
}

.setup-guide-widget.is-minimized .widget-progress {
  border-bottom: none;
  padding-bottom: 20px;
  border-radius: 0 0 16px 16px;
}

.setup-guide-widget.is-minimized .widget-header {
  border-bottom: 1px solid var(--border-light, #f0f0f2);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #e2e8f0;
  cursor: grab;
  user-select: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  border-radius: 16px 16px 0 0;
}

.widget-header:active {
  cursor: grabbing;
}

.widget-title {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  color: #1e293b;
  letter-spacing: -0.01em;
}

.widget-actions {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.widget-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  color: #64748b;
  transition: all 0.15s ease;
}

.widget-btn:hover {
  background: var(--bg-hover, rgba(0, 0, 0, 0.04));
  color: #1e293b;
}

.widget-btn:active {
  transform: scale(0.95);
}

.widget-btn i {
  font-size: 12px;
}

.widget-progress {
  padding: 16px 24px;
  border-bottom: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.progress-bar {
  height: 6px;
  background: #f1f5f9;
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(102, 126, 234, 0.4);
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.progress-text {
  font-size: 13px;
  color: #f1f5f9;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.widget-content {
  max-height: 420px;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0.25rem 0.25rem 0.25rem;
}

.widget-content::-webkit-scrollbar {
  width: 6px;
}

.widget-content::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.widget-content::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 100px;
}

.widget-content::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.setup-step {
  border-bottom: 1px solid #f8fafc;
  transition: all 0.2s ease;
}

.setup-step:last-child {
  border-bottom: none;
}

.setup-step.completed .step-status {
  color: #10b981;
}

.setup-step.completed .step-title {
  color: #94a3b8;
}

.step-header {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 16px 24px 16px 28px;
  background: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  text-align: left;
  gap: 12px;
}

.step-header:hover {
  background: rgba(0, 0, 0, 0.02);
}

.step-header:active {
  background: rgba(0, 0, 0, 0.04);
}

.step-header:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: -2px;
  border-radius: 8px;
}

.step-status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #cbd5e1;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
  margin-right: 0;
}

.step-title {
  flex: 1;
  font-size: 14px;
  font-weight: 500;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

.step-chevron {
  color: #cbd5e1;
  font-size: 10px;
  transition: transform 0.2s ease;
  margin-left: auto;
  flex-shrink: 0;
}

.step-expanded .step-chevron {
  transform: rotate(180deg);
}

.step-tasks {
  padding: 0 24px 16px 64px;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.task-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  margin: 4px 0;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
  gap: 12px;
}

.task-item:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateX(2px);
}

.task-item:active {
  transform: translateX(0);
}

.task-item.completed .task-checkbox {
  color: #667eea;
}

.task-item.completed .task-label {
  color: #94a3b8;
  text-decoration: line-through;
}

.task-checkbox {
  width: 18px;
  height: 18px;
  color: #cbd5e1;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.task-label {
  font-size: 13px;
  color: #f1f5f9;
  letter-spacing: -0.01em;
  transition: all 0.2s ease;
}

@media (prefers-color-scheme: dark) {
  .setup-guide-widget {
    background: #1a1b23;
    border-color: hsla(0, 0%, 100%, 0.08);
    box-shadow: 0 5px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2), 0 0 0 1px hsla(0, 0%, 100%, 0.05);
  }
  .widget-header,
  .widget-progress,
  .setup-step {
    border-color: hsla(0, 0%, 100%, 0.08);
  }
  .widget-title {
    color: #f0f0f2;
  }
  .widget-btn {
    color: #9ca3af;
  }
  .widget-btn:hover {
    background: hsla(0, 0%, 100%, 0.08);
    color: #f0f0f2;
  }
  .step-status {
    color: #e2e8f0;
  }
  .step-chevron {
    color: #e2e8f0;
  }
  .task-checkbox {
    color: #e2e8f0;
  }
  .step-title {
    color: #fff;
  }
  .task-label {
    color: #f1f5f9;
  }
  .progress-text {
    color: #f1f5f9;
  }
  .progress-bar {
    background: #2a2b36;
  }
  .step-header:hover {
    background: hsla(0, 0%, 100%, 0.04);
  }
  .task-item:hover {
    background: hsla(0, 0%, 100%, 0.04);
  }
}
@media (max-width: 480px) {
  .setup-guide-widget {
    width: calc(100vw - 32px);
    max-width: 420px;
    right: 16px !important;
    top: 16px !important;
  }
}
.ai-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ai-modal--show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-modal--active {
  opacity: 1;
}

.ai-modal__handle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: #1e293b;
  border-bottom: 1px solid #e2e8f0;
  cursor: grab;
  user-select: none;
}

.ai-modal__handle:active {
  cursor: grabbing;
}

.ai-modal__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.ai-modal__close {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.ai-modal__close:hover {
  background: #ef4444;
  color: #fff;
}

.ai-modal__close:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.ai-modal__body {
  background: #0f172a;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  width: 90vw;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ai-modal__preview {
  padding: 1.5rem;
  color: #fff;
  line-height: 1.6;
  font-size: 0.9375rem;
  background: #1e293b;
  border-radius: 0.5rem;
  margin: 1.5rem;
  min-height: 120px;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.ai-modal__actions {
  padding: 1rem 1.5rem;
  background: #1e293b;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

[data-theme=dark] .ai-modal__handle {
  background: #334155;
}

[data-theme=dark] .ai-modal__body {
  background: #1e293b;
}

[data-theme=dark] .ai-modal__preview {
  background: #334155;
  color: #fff;
}

[data-theme=dark] .ai-modal__actions {
  background: #334155;
}

@media (max-width: 768px) {
  .ai-modal__body {
    width: 95vw;
    max-height: 90vh;
  }
  .ai-modal__preview {
    margin: 1rem;
    padding: 1rem;
  }
  .ai-modal__actions {
    flex-direction: column-reverse;
  }
  .ai-modal__actions .btn {
    width: 100%;
  }
}
.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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
  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: #fff;
}

.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: #fff;
  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: #fff;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.2s ease;
}

.cuisine-selector__remove:hover {
  background: hsla(0, 0%, 100%, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.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: $gray-900;
  --color-text-secondary: $gray-500;
  --color-border-light: $gray-200;
  --color-success: $success-color;
  --color-error: $error-color;
  --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(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 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;
}

button:not(.btn):not(.admin-header__dropdown-item),
input[type=button]:not(.btn):not(.admin-header__dropdown-item),
input[type=submit]:not(.btn):not(.admin-header__dropdown-item),
input[type=reset]:not(.btn):not(.admin-header__dropdown-item) {
  background: none !important;
  border: none !important;
  padding: 0 !important;
  font: inherit !important;
  cursor: pointer;
  outline: inherit !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
}

html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #1e293b;
  background: #fff;
  -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: 0 0 auto !important;
    max-height: 100vh !important;
    overflow: hidden;
    touch-action: pan-y !important;
  }
  body.floor-plan-page .floor-plan-canvas {
    max-height: 100vh !important;
  }
}
@media (min-width: 1400px) {
  html.floor-plan-page,
  body.floor-plan-page {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    overscroll-behavior: none;
  }
  body.floor-plan-page .admin-dashboard {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
  }
  body.floor-plan-page .admin-main {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  body.floor-plan-page .admin-content {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  body.floor-plan-page .floor-plan-container {
    flex: 1;
    overflow: hidden;
    min-height: 0;
  }
  body.floor-plan-page .designer-wrapper {
    flex: 1;
    overflow: hidden;
    min-height: 0;
  }
  body.floor-plan-page .canvas-container {
    flex: 1;
    overflow: hidden;
    min-height: 0;
  }
  body.floor-plan-page .floor-plan-canvas {
    min-height: auto;
  }
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #1e293b;
  background: #fff;
  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 {
  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: #000 !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: 300px !important;
  max-width: 500px !important;
  background: #1e293b !important;
  border-radius: 0.75rem !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5) !important;
  border-left: 4px solid #2563eb !important;
  overflow: hidden !important;
  animation: slideIn 0.4s 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:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6) !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: 1rem !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.875rem !important;
  font-weight: 500 !important;
  line-height: 1.5 !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;
}

@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;
}

.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;
}

.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-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 {
  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: inline-flex;
  align-items: center;
  gap: 0.75rem;
  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);
  min-width: 250px;
}

.floor-plan-selector__trigger i {
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.floor-plan-selector__trigger i.floor-plan-selector__arrow {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-left: auto;
  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;
  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;
}

/* 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: inline-flex;
  align-items: center;
  gap: 0.75rem;
  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);
  min-width: 250px;
}

.floor-plan-selector__trigger i {
  color: #94a3b8;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.floor-plan-selector__trigger i.floor-plan-selector__arrow {
  color: #94a3b8;
  font-size: 0.75rem;
  margin-left: auto;
  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;
  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 {
  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;
}

@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,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:hover,
  #sidebar.draggable-sidebar--bottom-sheet-expanded .draggable-sidebar__nav-item:focus {
    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--occupied .table-shape {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}
.table-element.table--turning-soon .table-shape {
  border-color: #F49609;
  box-shadow: 0 0 0 2px rgba(244, 150, 9, 0.2);
  animation: pulse-table 2s ease-in-out infinite;
}
.table-element.table--available .table-shape {
  border-color: #10b981;
}

@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);
  }
}
@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-bottom: 1px solid #334155;
  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__icon {
  font-size: 1.125rem;
}
.availability-bar__title {
  font-weight: 600;
  font-size: 0.875rem;
  color: #e2e8f0;
}
.availability-bar__stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-left: auto;
  margin-right: 0.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__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;
  transition: transform 0.2s ease;
}
.availability-bar__details {
  border-top: 1px solid #334155;
  padding: 1rem 1.5rem;
  background: #0f172a;
}
.availability-bar__details[hidden] {
  display: none;
}
.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;
}
.availability-bar__pulse-meter {
  flex: 1;
  height: 0.375rem;
  background: #334155;
  border-radius: 0.25rem;
  overflow: hidden;
}
.availability-bar__pulse-fill {
  height: 100%;
  background: #10b981;
  border-radius: 0.25rem;
  transition: width 0.5s ease;
}
.availability-bar__pulse-text {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 500;
  white-space: nowrap;
}
.availability-bar__pulse {
  display: flex;
  align-items: center;
  gap: 1rem;
}

@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);
  }
}
.debug-clear-cart {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.5rem 1rem;
  background: #D93151;
  color: #ffffff;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
}
.debug-clear-cart:hover {
  background: rgb(190.1278688525, 35.0721311475, 64.606557377);
  transform: translateY(-1px);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.debug-clear-cart:active {
  transform: translateY(0);
}
.debug-clear-cart:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 2px;
}
@media (max-width: 768px) {
  .debug-clear-cart {
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
  }
}

.debug-console {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 99999;
}
@media (max-width: 768px) {
  .debug-console {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}

.debug-toggle {
  background: #ef4444;
  color: #ffffff;
  border: none;
  padding: 1rem 1.25rem;
  border-radius: 50%;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.debug-toggle:hover {
  background: rgb(235.7842364532, 30.4157635468, 30.4157635468);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}
.debug-toggle:active {
  transform: translateY(0);
}
.debug-toggle:focus-visible {
  outline: 3px solid #F49609;
  outline-offset: 3px;
}
@media (max-width: 768px) {
  .debug-toggle {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
}

.debug-panel {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 1.25rem;
  width: 90vw;
  max-width: 500px;
  height: 300px;
  background: #0f172a;
  color: #10b981;
  border: 2px solid #10b981;
  border-radius: 0.75rem;
  padding: 1rem;
  overflow-y: auto;
  font-family: var(--font-family-mono);
  font-size: 0.75rem;
  line-height: 1.4;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  white-space: pre-wrap;
  word-break: break-word;
}
.debug-panel::-webkit-scrollbar {
  width: 8px;
}
.debug-panel::-webkit-scrollbar-track {
  background: rgb(8.2894736842, 12.7105263158, 23.2105263158);
  border-radius: 0.375rem;
}
.debug-panel::-webkit-scrollbar-thumb {
  background: #10b981;
  border-radius: 0.375rem;
}
.debug-panel::-webkit-scrollbar-thumb:hover {
  background: rgb(20.0597014925, 231.9402985075, 161.7313432836);
}
@media (max-width: 768px) {
  .debug-panel {
    right: 0.75rem;
    width: 95vw;
    max-width: none;
    height: 250px;
    font-size: 11px;
  }
}
@media (prefers-contrast: high) {
  .debug-panel {
    border-width: 3px;
    color: #ffffff;
  }
}

.debug-console[aria-hidden=true] .debug-panel {
  display: none;
}

.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.7);
  backdrop-filter: blur(4px);
}

.booking-modal-content {
  position: relative;
  background: var(--color-background);
  border-radius: var(--radius-xl);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.booking-modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.25);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--color-background);
  transition: all var(--duration-fast) ease;
  z-index: 1;
}
.booking-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(90deg);
}

.booking-modal-header {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-600));
  color: var(--color-background);
  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: var(--color-background);
}

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

/* 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 {
  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 {
  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);
}

/* 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;
  position: relative;
}
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;
}
button.booking-tab.not-available .takeout-tooltip {
  position: absolute;
  bottom: 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.not-available .takeout-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1F2937;
}
button.booking-tab.not-available .takeout-tooltip.show {
  opacity: 1;
  visibility: visible;
}
button.booking-tab.not-available:hover .takeout-tooltip, button.booking-tab.not-available:focus .takeout-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Tab Panels */
.booking-tab-panels {
  background: var(--color-background);
}

.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);
}

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

.booking-form .btn-primary,
.booking-form .btn-secondary {
  padding: var(--space-5) var(--space-8) !important;
  border-radius: var(--radius-lg) !important;
  font-size: var(--font-size-lg) !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: 52px;
}

.booking-form .btn-primary {
  background: transparent !important;
  color: #1e40af !important;
  box-shadow: none !important;
  font-weight: 700 !important;
}
.booking-form .btn-primary i {
  color: #1e40af !important;
}
.booking-form .btn-primary:hover:not(:disabled) {
  color: #1d4ed8 !important;
  transform: none;
  box-shadow: none;
}
.booking-form .btn-primary:hover:not(:disabled) i {
  color: #1d4ed8 !important;
}
.booking-form .btn-primary:active:not(:disabled) {
  transform: none;
}

.booking-form .btn-secondary {
  background: transparent !important;
  color: var(--color-text-primary) !important;
  border: none !important;
}
.booking-form .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 button {
  display: block !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:hover button {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.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%;
  }
  .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-header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-1);
  }
  .booking-menu-item-price {
    font-size: var(--font-size-base);
  }
}
/* Menu Section within Booking/Takeout tabs */
.booking-menu-section,
.takeout-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: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: var(--space-6);
  min-height: 200px;
  /* 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: var(--color-background);
  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 - Force always visible */
.btn-modal-add-to-cart {
  background: linear-gradient(135deg, #2D2E88 0%, rgb(57.679558011, 58.9613259669, 174.320441989) 100%) !important;
  color: white !important;
  border: 2px solid #2D2E88 !important;
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  font-size: var(--font-size-base) !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  display: block !important;
  text-align: center;
  width: 100% !important;
  margin-top: var(--space-3) !important;
  min-height: 44px !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  z-index: 100 !important;
  box-shadow: 0 2px 8px rgba(45, 46, 136, 0.25) !important;
  pointer-events: auto !important;
}
.btn-modal-add-to-cart i {
  font-size: var(--font-size-base);
  color: white !important;
  margin-right: var(--space-2);
}
.btn-modal-add-to-cart:hover {
  background: linear-gradient(135deg, rgb(38.6602209945, 39.5193370166, 116.8397790055) 0%, #2D2E88 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(45, 46, 136, 0.4) !important;
  border-color: rgb(38.6602209945, 39.5193370166, 116.8397790055) !important;
}
.btn-modal-add-to-cart:active {
  transform: translateY(0) !important;
}
.btn-modal-add-to-cart.added {
  background: linear-gradient(135deg, #10b981 0%, rgb(20.0597014925, 231.9402985075, 161.7313432836) 100%) !important;
  border-color: #10b981 !important;
}

.booking-menu-item .btn-modal-add-to-cart {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Cart Item with Actions */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--color-background);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-3);
  border: 1px solid var(--color-border);
}
.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;
  gap: var(--space-3);
}

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

.btn-remove-item {
  background: transparent;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: var(--space-2);
  transition: all var(--duration-fast) ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.btn-remove-item i {
  font-size: var(--font-size-base);
}
.btn-remove-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(234.9802955665, 21.0197044335, 21.0197044335);
  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 {
    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: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  max-height: none !important;
  background: linear-gradient(135deg, #2D2E88 0%, rgb(57.679558011, 58.9613259669, 174.320441989) 100%) !important;
  color: #ffffff !important;
  border: 2px solid #2D2E88 !important;
  border-radius: var(--radius-lg) !important;
  padding: var(--space-3) var(--space-5) !important;
  margin-top: var(--space-3) !important;
  font-size: var(--font-size-base) !important;
  font-weight: 700 !important;
  text-align: center !important;
  align-items: center !important;
  justify-content: center !important;
  gap: var(--space-2) !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  position: relative !important;
  z-index: 100 !important;
  box-shadow: 0 2px 8px rgba(45, 46, 136, 0.25) !important;
  transform: none !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !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;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !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 {
  display: none !important;
}
.menu-item.search-highlight .menu-item-name mark,
.menu-item.search-highlight .menu-item-description mark {
  background-color: rgba(245, 158, 11, 0.3);
  color: inherit;
  padding: 0 2px;
  border-radius: 2px;
}

.menu-section.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;
  gap: 4px;
  padding: 8px 4px;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.15s ease;
  min-height: 36px;
  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.75rem;
  color: #1e293b;
}
.booking-slots-grid .booking-slot-btn .booking-slot-status,
.booking-slot-btn .booking-slot-status {
  font-size: 9px;
  font-weight: 500;
  padding: 1px 4px;
  border-radius: 0.25rem;
  background: rgba(0, 0, 0, 0.05);
}
.booking-slots-grid .booking-slot-btn:hover:not(:disabled),
.booking-slot-btn:hover:not(:disabled) {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.05);
}
.booking-slots-grid .booking-slot-btn:focus:not(:disabled),
.booking-slot-btn:focus:not(:disabled) {
  outline: none;
  border-color: #2563eb;
  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-color: #1e40af;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}
.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 .booking-slot-status,
.booking-slot-btn.selected .booking-slot-status {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty,
.booking-slot-btn.booking-slot--plenty {
  border-color: rgba(16, 185, 129, 0.4);
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty .booking-slot-status,
.booking-slot-btn.booking-slot--plenty .booking-slot-status {
  color: #047857;
  background: rgba(16, 185, 129, 0.1);
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty:hover:not(:disabled),
.booking-slot-btn.booking-slot--plenty:hover:not(:disabled) {
  border-color: #10b981;
  background: rgba(16, 185, 129, 0.05);
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty.selected,
.booking-slot-btn.booking-slot--plenty.selected {
  background: #10b981;
  border-color: #059669;
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty.selected .booking-slot-time,
.booking-slots-grid .booking-slot-btn.booking-slot--plenty.selected .booking-slot-status,
.booking-slot-btn.booking-slot--plenty.selected .booking-slot-time,
.booking-slot-btn.booking-slot--plenty.selected .booking-slot-status {
  color: #fff;
}
.booking-slots-grid .booking-slot-btn.booking-slot--plenty.selected .booking-slot-status,
.booking-slot-btn.booking-slot--plenty.selected .booking-slot-status {
  background: rgba(255, 255, 255, 0.2);
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited,
.booking-slot-btn.booking-slot--limited {
  border-color: rgba(245, 158, 11, 0.4);
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited .booking-slot-status,
.booking-slot-btn.booking-slot--limited .booking-slot-status {
  color: #b45309;
  background: rgba(245, 158, 11, 0.15);
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited:hover:not(:disabled),
.booking-slot-btn.booking-slot--limited:hover:not(:disabled) {
  border-color: #f59e0b;
  background: rgba(245, 158, 11, 0.05);
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited.selected,
.booking-slot-btn.booking-slot--limited.selected {
  background: #f59e0b;
  border-color: #d97706;
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited.selected .booking-slot-time,
.booking-slots-grid .booking-slot-btn.booking-slot--limited.selected .booking-slot-status,
.booking-slot-btn.booking-slot--limited.selected .booking-slot-time,
.booking-slot-btn.booking-slot--limited.selected .booking-slot-status {
  color: #fff;
}
.booking-slots-grid .booking-slot-btn.booking-slot--limited.selected .booking-slot-status,
.booking-slot-btn.booking-slot--limited.selected .booking-slot-status {
  background: rgba(255, 255, 255, 0.2);
}
.booking-slots-grid .booking-slot-btn.booking-slot--last,
.booking-slot-btn.booking-slot--last {
  border-color: rgba(239, 68, 68, 0.4);
  animation: subtlePulse 2s ease-in-out infinite;
}
.booking-slots-grid .booking-slot-btn.booking-slot--last .booking-slot-status,
.booking-slot-btn.booking-slot--last .booking-slot-status {
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.15);
  font-weight: 700;
}
.booking-slots-grid .booking-slot-btn.booking-slot--last:hover:not(:disabled),
.booking-slot-btn.booking-slot--last:hover:not(:disabled) {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.booking-slots-grid .booking-slot-btn.booking-slot--last.selected,
.booking-slot-btn.booking-slot--last.selected {
  background: #ef4444;
  border-color: #dc2626;
  animation: none;
}
.booking-slots-grid .booking-slot-btn.booking-slot--last.selected .booking-slot-time,
.booking-slots-grid .booking-slot-btn.booking-slot--last.selected .booking-slot-status,
.booking-slot-btn.booking-slot--last.selected .booking-slot-time,
.booking-slot-btn.booking-slot--last.selected .booking-slot-status {
  color: #fff;
}
.booking-slots-grid .booking-slot-btn.booking-slot--last.selected .booking-slot-status,
.booking-slot-btn.booking-slot--last.selected .booking-slot-status {
  background: rgba(255, 255, 255, 0.2);
}
.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;
}

/* ===================================
   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 */
.booking-slot-btn {
  position: relative;
}
.booking-slot-btn::before {
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.booking-slot-btn.booking-slot--plenty::before {
  background: #10b981;
  opacity: 1;
}
.booking-slot-btn.booking-slot--limited::before {
  background: #f59e0b;
  opacity: 1;
}
.booking-slot-btn.booking-slot--last::before {
  background: #ef4444;
  opacity: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .booking-slot-btn.booking-slot--last::before {
    animation: pulseDot 1.5s ease-in-out infinite;
  }
}
.booking-slot-btn.booking-slot--none::before {
  background: var(--color-text-muted);
  opacity: 0.5;
}
.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::before {
    animation: none;
    transition: none;
  }
  .alt-time-btn--last {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
  }
  .booking-slot--last::before {
    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;
  }
}
/* Restaurant Card Components */
/* Compact, elegant cards optimized for scanning and quick decisions */
.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: var(--space-6);
  margin: var(--space-8) 0;
}

.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 */
}
.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__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: var(--space-4) !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;
}

/* ===================================
   STANDARD LISTING CARDS
   =================================== */
.restaurant-card.standard-listing {
  border: 1px solid var(--color-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 {
  background: transparent;
  color: var(--color-primary-600) !important;
  border: 1px solid var(--color-primary-600);
  padding: 0.5rem 1.25rem;
  border-radius: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: auto;
}
.restaurant-card.standard-listing .btn-send-request 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) {
  border-color: var(--color-primary-700);
  color: var(--color-primary-700) !important;
}
.restaurant-card.standard-listing .btn-send-request:hover:not(:disabled) i {
  color: var(--color-primary-700) !important;
  transform: translateX(0.125rem);
}
.restaurant-card.standard-listing .btn-send-request:active:not(:disabled) {
  transform: scale(0.98);
}
.restaurant-card.standard-listing .request-note {
  display: none;
}

/* ===================================
   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;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  min-height: 0;
}

.card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  width: 100%;
  text-align: center;
}
.card-header .restaurant-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  line-height: 1.3;
}
.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: wrap;
  justify-content: center;
  gap: 0.625rem;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  width: 100%;
}
.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.875rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  text-align: center;
}

/* 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;
}

/* ===================================
   PHOTO CURSOR FOLLOWER
   =================================== */
.photo-cursor-follower {
  position: fixed;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}
.photo-cursor-follower i {
  font-size: var(--font-size-xl);
  color: var(--color-background);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.photo-cursor-follower.visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

@media (prefers-color-scheme: dark) {
  .photo-cursor-follower {
    background: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
  }
}
.card-image-wrapper {
  cursor: pointer;
  position: relative;
  transition: transform 0.3s ease;
}
@media (hover: hover) {
  .card-image-wrapper:hover {
    transform: scale(1.02);
  }
}
@media (hover: none) {
  .card-image-wrapper {
    -webkit-tap-highlight-color: rgba(102, 126, 234, 0.2);
  }
  .card-image-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-image-wrapper:active::after {
    opacity: 1;
  }
}

/* ===================================
   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);
  }
}
.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;
}
.btn-write-review i {
  font-size: 1rem;
  transition: color 0.2s ease;
}
.btn-write-review:hover {
  background: #f59e0b !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}
.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: all 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;
  transition: transform var(--duration-fast) ease;
  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;
  }
}
/* 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;
}

.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 {
  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 (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;
  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;
}
.sticky-search-toggle .toggle-label i {
  color: #2563eb;
  font-size: 1.125rem;
}
.sticky-search-toggle .toggle-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e40af;
  color: #fff;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.3);
}
.sticky-search-toggle .toggle-icon.expanded {
  transform: rotate(180deg);
}

.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: 1fr 1fr 1fr auto auto;
    gap: 0.75rem;
    margin-top: 0;
    align-items: center;
  }
}

@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;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}
.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);
}
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);
  }
}
/**
 * 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: 240px;
  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);
}

/* 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);
  }
}
/* Photo Modal - Click-triggered, Senior Designer Approach */
.restaurant-photo-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  pointer-events: none;
}

/* Modal card - floating, elegant */
.restaurant-photo-modal .modal-card {
  position: relative;
  background: white;
  border-radius: var(--border-radius-2xl, 20px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  width: 700px;
  max-width: calc(100vw - 3rem);
  opacity: 0;
  transform: scale(0.92) translateY(30px);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.restaurant-photo-modal .modal-card.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: all;
}

/* Modal header */
.restaurant-photo-modal .modal-card .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border-light);
}
.restaurant-photo-modal .modal-card .modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.restaurant-photo-modal .modal-card .modal-header h3 i {
  color: white;
  background: var(--color-primary);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.restaurant-photo-modal .modal-card .modal-header .close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: var(--border-radius-full, 50%);
  color: white;
  font-size: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.restaurant-photo-modal .modal-card .modal-header .close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  transform: rotate(90deg);
}

/* Modal body */
.restaurant-photo-modal .modal-card .modal-body {
  padding: 0;
  max-height: calc(80vh - 80px);
  overflow: hidden;
}
.restaurant-photo-modal .modal-card .modal-body iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.restaurant-photo-modal .modal-card .modal-body .loading-photos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--color-text-secondary);
}
.restaurant-photo-modal .modal-card .modal-body .loading-photos i {
  margin-right: 0.75rem;
  animation: spin 1s linear infinite;
}

/* Photo Carousel */
.photo-carousel {
  position: relative;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  background: #000;
}

.carousel-images {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: #1a1a1a;
  font-size: 1.25rem;
}
.carousel-btn:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.carousel-btn.prev {
  left: 1rem;
}
.carousel-btn.next {
  right: 1rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0;
  background: var(--color-background-secondary);
}
.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--color-border-light);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-dots .dot.active {
  background: var(--color-primary);
  width: 28px;
  border-radius: 5px;
}
.carousel-dots .dot:hover {
  background: var(--color-primary);
  opacity: 0.7;
}

.photo-disclaimer {
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  background: var(--color-background-secondary);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.photo-disclaimer i {
  color: var(--color-primary);
}

/* Maps Preview */
.maps-preview {
  padding: 3rem 2rem;
  text-align: center;
}

.maps-icon-large {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.restaurant-name-large {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 0.5rem 0;
}

.neighborhood-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin: 0 0 2rem 0;
}

.maps-actions {
  margin-bottom: 2rem;
}

.btn-view-maps-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}
.btn-view-maps-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
}

.maps-hint {
  font-size: 0.875rem;
  color: var(--color-text-tertiary);
  margin: 1rem 0 0 0;
}

.preview-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border-light);
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.feature-item i {
  font-size: 1.5rem;
  color: var(--color-primary);
}
.feature-item span {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* Footer */
.restaurant-photo-modal .modal-card .modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--color-background-secondary);
  border-bottom-left-radius: var(--border-radius-2xl, 20px);
  border-bottom-right-radius: var(--border-radius-2xl, 20px);
}
.restaurant-photo-modal .modal-card .modal-footer .map-attribution {
  font-size: 0.75rem;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.restaurant-photo-modal .modal-card .modal-footer .map-attribution i {
  color: var(--color-primary);
}
.restaurant-photo-modal .modal-card .modal-footer a {
  font-size: 0.875rem;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
}
.restaurant-photo-modal .modal-card .modal-footer a:hover {
  text-decoration: underline;
}

/* Click outside to close */
.restaurant-photo-modal .modal-backdrop {
  position: absolute;
  inset: 0;
  cursor: pointer;
}

/* Spin animation */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/* Responsive */
@media (max-width: 768px) {
  .restaurant-photo-modal {
    padding: 1rem;
  }
  .restaurant-photo-modal .modal-card {
    max-height: 90vh;
    border-radius: var(--border-radius-xl, 16px);
  }
  .restaurant-photo-modal .modal-card .modal-header {
    padding: 1rem 1.5rem;
  }
  .restaurant-photo-modal .modal-card .modal-body iframe {
    height: 400px;
  }
  .restaurant-photo-modal .modal-card .modal-footer {
    padding: 1rem 1.5rem;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .restaurant-card .card-image-wrapper.gradient-placeholder {
    min-height: 200px;
  }
  .restaurant-card .card-image-wrapper.gradient-placeholder .cuisine-icon {
    font-size: 3rem;
  }
  .preview-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .maps-preview {
    padding: 2rem 1.5rem;
  }
  .restaurant-name-large {
    font-size: 1.5rem;
  }
  .carousel-container {
    height: 350px;
  }
  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  .carousel-btn.prev {
    left: 0.5rem;
  }
  .carousel-btn.next {
    right: 0.5rem;
  }
}
/**
 * Multi-Location Settings Styles
 * Venue/location management for Enterprise subscriptions
 */
.locations-upgrade-section {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.locations-upgrade-card {
  max-width: 520px;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(244, 150, 9, 0.1) 0%, rgba(45, 46, 136, 0.1) 100%);
  border: 2px solid rgba(244, 150, 9, 0.3);
  border-radius: 1rem;
}
.locations-upgrade-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #F49609 0%, #d97706 100%);
  border-radius: 50%;
  margin-bottom: 1.5rem;
}
.locations-upgrade-card__icon i {
  font-size: 2.25rem;
  color: #ffffff;
}
.locations-upgrade-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem 0;
}
.locations-upgrade-card__description {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.75;
  margin: 0 0 1.5rem 0;
}
.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;
}

.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;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 0.75rem;
}
.locations-limit-message i {
  color: #3b82f6;
  font-size: 1.125rem;
}
.locations-limit-message p {
  margin: 0;
  font-size: 0.875rem;
  color: #cbd5e1;
}
.locations-limit-message p a {
  color: #3b82f6;
  text-decoration: underline;
}
.locations-limit-message p a:hover {
  color: #60a5fa;
}

.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;
}
.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 {
  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 {
  background: #334155;
  color: #f1f5f9;
}
.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: #10b981;
  font-size: 1rem;
}
.locations-dialog__pricing-note {
  margin: 1rem 0 0 0;
  font-size: 0.75rem;
  color: #64748b;
  font-style: italic;
}
.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__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 {
  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: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .venue-switcher__current {
    max-width: 120px;
  }
}
.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__option-name {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.venue-switcher__option-badge {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 2px 0.25rem;
  background: var(--color-success, #10b981);
  color: #ffffff;
  border-radius: 0.25rem;
}
.venue-switcher__option-check {
  color: var(--color-primary-500, #2563eb);
  font-size: 0.875rem;
}
.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;
  }
}
@media (max-width: 640px) {
  .venue-switcher {
    margin-left: 0.5rem;
  }
  .venue-switcher__trigger {
    padding: 0.375rem 0.5rem;
  }
  .venue-switcher__current {
    max-width: 100px;
    font-size: 0.75rem;
  }
  .venue-switcher__dropdown {
    min-width: 200px;
    left: auto;
    right: 0;
  }
}
/**
 * Setup Progress Tracker Widget
 * Floating, draggable, collapsible setup progress tracker
 * Uses unique tf-setup-tracker prefix to avoid conflicts
 */
.tf-setup-tracker {
  position: fixed;
  z-index: 9999;
  width: 320px;
  background: var(--card-bg, #1a1f2e);
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  border-radius: var(--radius-lg, 12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tf-setup-tracker--dragging {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
  cursor: grabbing;
  user-select: none;
}
.tf-setup-tracker--minimized {
  width: auto;
  min-width: 200px;
}
.tf-setup-tracker--complete {
  background: var(--success-bg, #0a3622);
  border-color: var(--success, #22c55e);
}
.tf-setup-tracker--closing {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
}

.tf-setup-tracker__header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm, 8px);
  padding: var(--spacing-md, 12px);
  background: var(--card-header-bg, rgba(255, 255, 255, 0.03));
  border-bottom: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
  cursor: grab;
}
.tf-setup-tracker__header:active {
  cursor: grabbing;
}

.tf-setup-tracker__drag {
  color: var(--text-muted, rgba(255, 255, 255, 0.4));
  font-size: 0.875rem;
}
.tf-setup-tracker__drag:hover {
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
}

.tf-setup-tracker__title {
  flex: 1;
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.tf-setup-tracker__count {
  font-size: 0.75rem;
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.1));
  padding: 2px 8px;
  border-radius: var(--radius-sm, 4px);
}

.tf-setup-tracker__btns {
  display: flex;
  gap: 4px;
}

.tf-setup-tracker__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm, 4px);
  color: var(--text-muted, rgba(255, 255, 255, 0.5));
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.tf-setup-tracker__btn:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.1));
  color: var(--text-primary, #fff);
}
.tf-setup-tracker__btn:focus-visible {
  outline: 2px solid var(--primary, #3b82f6);
  outline-offset: 2px;
}

.tf-setup-tracker__bar {
  padding: var(--spacing-sm, 8px) var(--spacing-md, 12px);
}

.tf-setup-tracker__bar-track {
  height: 4px;
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.1));
  border-radius: 2px;
  overflow: hidden;
}

.tf-setup-tracker__bar-fill {
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--primary, #3b82f6), var(--primary-light, #60a5fa));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.tf-setup-tracker__list {
  padding: var(--spacing-xs, 4px) var(--spacing-sm, 8px) var(--spacing-sm, 8px);
}

.tf-setup-tracker__item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm, 8px);
  padding: var(--spacing-sm, 10px) var(--spacing-sm, 8px);
  margin-bottom: 2px;
  background: transparent;
  border-radius: var(--radius-md, 8px);
  text-decoration: none;
  color: var(--text-primary, #fff);
  transition: background-color 0.15s ease;
}
.tf-setup-tracker__item:hover {
  background: var(--bg-hover, rgba(255, 255, 255, 0.05));
}
.tf-setup-tracker__item:focus-visible {
  outline: 2px solid var(--primary, #3b82f6);
  outline-offset: -2px;
}
.tf-setup-tracker__item--done .tf-setup-tracker__label {
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
}
.tf-setup-tracker__item--done .tf-setup-tracker__status {
  color: var(--success, #22c55e);
}
.tf-setup-tracker__item--done .tf-setup-tracker__icon {
  background: var(--success-bg, rgba(34, 197, 94, 0.15));
  color: var(--success, #22c55e);
}

.tf-setup-tracker__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--bg-tertiary, rgba(255, 255, 255, 0.08));
  border-radius: var(--radius-md, 8px);
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  font-size: 0.875rem;
  flex-shrink: 0;
}

.tf-setup-tracker__label {
  flex: 1;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary, #fff);
}

.tf-setup-tracker__status {
  font-size: 1rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.3));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tf-setup-tracker__circle {
  display: block;
}
.tf-setup-tracker__circle--progress .tf-setup-tracker__circle-fill {
  transition: stroke-dashoffset 0.3s ease;
}
.tf-setup-tracker__circle--empty {
  opacity: 0.5;
}

.tf-setup-tracker__complete {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm, 8px);
  padding: var(--spacing-lg, 20px);
  color: var(--success, #22c55e);
  font-weight: 600;
}
.tf-setup-tracker__complete i {
  font-size: 1.25rem;
}

.onboarding-welcome {
  margin-bottom: var(--spacing-lg, 24px);
  padding: var(--spacing-lg, 24px);
  background: linear-gradient(135deg, var(--primary-dark, #1e3a5f) 0%, var(--card-bg, #1a1f2e) 100%);
  border: 1px solid var(--primary, #3b82f6);
  border-radius: var(--radius-lg, 12px);
}
.onboarding-welcome .welcome-content {
  text-align: center;
}
.onboarding-welcome .welcome-content h2 {
  margin: 0 0 var(--spacing-sm, 8px);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary, #fff);
}
.onboarding-welcome .welcome-content p {
  margin: 0 0 var(--spacing-md, 16px);
  font-size: 1rem;
  color: var(--text-secondary, rgba(255, 255, 255, 0.8));
  opacity: 1;
}
.onboarding-welcome .btn-dismiss {
  padding: var(--spacing-sm, 8px) var(--spacing-lg, 24px);
  background: var(--primary, #3b82f6);
  border: none;
  border-radius: var(--radius-md, 8px);
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.onboarding-welcome .btn-dismiss:hover {
  background: var(--primary-hover, #2563eb);
}

@media (max-width: 480px) {
  .tf-setup-tracker {
    width: calc(100vw - 32px);
    right: 16px !important;
    left: 16px !important;
  }
}
body.landing-page {
  font-family: "Inter", -apple-system, sans-serif;
  background: #ffffff;
  overflow-x: hidden;
  /* 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 date icon */
  /* Style custom dropdowns in filter row to match other inputs */
  /* Voice Search Button */
  /* 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 */
}
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;
}
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: 2rem;
  align-items: center;
  padding: 0 !important;
  flex: initial !important;
}
body.landing-page .nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
body.landing-page .nav-link:hover {
  color: #ffd700;
}
body.landing-page .nav-business {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease;
}
body.landing-page .nav-business:hover {
  transform: translateY(-2px);
}
body.landing-page .video-hero {
  position: relative;
  height: 60vh;
  min-height: 500px;
  margin-top: 60px;
  overflow: visible; /* Changed to visible so dropdowns can extend beyond */
  display: flex;
  align-items: center;
  justify-content: center;
}
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-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
  z-index: 1;
}
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);
  backdrop-filter: blur(20px);
  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-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-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  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(input[type=date]) .search-icon {
  right: 0.8rem;
  pointer-events: none;
  margin-top: 8px;
}
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-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 .quick-filters {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}
body.landing-page .filter-chip {
  padding: 0.4rem 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}
body.landing-page .filter-chip:hover {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}
body.landing-page .filter-chip.active {
  background: #667eea;
  color: white;
  border-color: #667eea;
}
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(350px, 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;
}
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;
}
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;
}
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(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}
@media (max-width: 1024px) {
  body.landing-page .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
  }
}
@media (max-width: 640px) {
  body.landing-page .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}
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;
}
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;
}
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-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;
}
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;
  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.85);
  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.75);
}

/* 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: 768px) {
  .hero-title {
    font-size: 2.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;
  }
  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: 50px;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
  }
  .quick-filters {
    justify-content: center;
  }
  .features-section {
    display: none;
  }
}
@media (max-width: 968px) {
  .hero-search {
    display: none;
  }
}
/* =================================
   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 {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.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: "Playfair Display", serif;
}

.metric-card__label {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 0.75rem;
}

.metric-card__trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 50%;
}
.metric-card__trend--up {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}
.metric-card__trend--up i::before {
  content: "";
}
.metric-card__trend--down {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.metric-card__trend--down i::before {
  content: "";
}

.quick-actions {
  background: #1e293b;
  color: #f8fafc;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}

.quick-actions__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 1rem;
}

.quick-actions__grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

@container content-area (min-width: 800px) {
  .quick-actions__grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
.quick-actions__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 0.75rem;
  background: #1e293b;
  border-radius: 0.75rem;
  text-decoration: none;
  color: #f8fafc;
  transition: all 0.2s;
  border: 2px solid #334155;
  min-height: 100px;
  font-weight: 500;
}
.quick-actions__item:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.quick-actions__item:hover i {
  transform: scale(1.1);
  color: #3b82f6;
}
.quick-actions__item:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}
.quick-actions__item i {
  font-size: 1.5rem;
  transition: transform 0.2s;
  color: #f8fafc;
}
.quick-actions__item span {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: #f8fafc;
}

.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__time {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 500;
}

.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;
  }
  .admin-main.sidebar-collapsed.sidebar-docked-left {
    margin-left: 80px;
  }
  .admin-main.sidebar-collapsed.sidebar-docked-right {
    margin-right: 80px;
  }
  .admin-main.sidebar-docked-right {
    margin-left: 0;
    margin-right: 280px;
  }
  .admin-main.sidebar-docked-right.sidebar-collapsed {
    margin-right: 80px;
  }
  .admin-main.sidebar-floating {
    margin-left: 0;
    margin-right: 0;
  }
}
@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: 0;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .admin-header {
    padding: 1rem 1.5rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.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: #2563eb;
  text-decoration: none;
}

.admin-header__breadcrumb a:hover {
  text-decoration: underline;
}

.admin-header__breadcrumb a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  border-radius: 0.375rem;
}

.admin-header__right {
  display: flex;
  align-items: center;
  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-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #f8fafc;
  white-space: nowrap;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 767px) {
  .admin-header__user-name {
    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-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);
  }
}
.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;
}

/**
 * Marketing Hub Styles
 * Tab navigation, campaign lists, stats cards, and marketing-specific components
 */
.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: 0.5rem;
  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: transparent;
  border: 2px solid transparent;
  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: rgba(45, 46, 136, 0.1);
  border-color: rgba(45, 46, 136, 0.3);
  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.25rem;
  }
  .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: var(--font-family-primary);
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem 0;
}
.marketing-panel__info p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.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: #94a3b8;
  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;
}

.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__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-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(45, 46, 136, 0.2), rgba(45, 46, 136, 0.1));
  border-radius: 50%;
  margin-bottom: 1.25rem;
}
.empty-state__icon i {
  font-size: 1.875rem;
  color: #2D2E88;
}
.empty-state__title {
  font-family: var(--font-family-primary);
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.75rem 0;
}
.empty-state__description {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 400px;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.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: 1.25rem;
}
.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;
}

.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: var(--font-family-primary);
  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: var(--font-family-primary);
  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: var(--font-family-primary);
  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: var(--font-family-primary);
  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: var(--font-family-primary);
  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);
}

.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-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: var(--font-family-primary);
  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;
}

.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;
  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: 1.25rem;
}

.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;
}

.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;
  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-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;
}
.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;
}

.email-canvas.drag-over {
  background: rgba(45, 46, 136, 0.05);
  border: 2px dashed #2D2E88;
}

@media (max-width: 1023px) {
  .email-builder__panel--left,
  .email-builder__panel--right {
    width: 240px;
  }
}
@media (max-width: 767px) {
  .email-builder__toolbar {
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
  }
  .email-builder__panel--left {
    width: 200px;
  }
  .email-builder__panel--right {
    display: none;
  }
}
@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);
  }
}
.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 table {
  width: 100%;
  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;
  }
  .analytics-table thead th,
  .analytics-table tbody td {
    padding: 0.75rem 0.5rem;
  }
  .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;
}

/**
 * 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: 50%;
  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);
}
.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, #64748b, #94a3b8);
  box-shadow: 0 2px 8px rgba(100, 116, 139, 0.3);
}
.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__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;
  transform-style: preserve-3d;
  transition: transform 250ms ease-in-out;
}
.widget-promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  animation: mesh-move 8s ease-in-out infinite;
  pointer-events: none;
}
.widget-promo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  pointer-events: none;
}
.widget-promo-banner:hover {
  transform: scale(1.02) rotateX(2deg);
}

.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 {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  text-decoration: none;
}
.widget-promo-banner__cta:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.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;
  }
}
@keyframes mesh-move {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(10%, -5%);
  }
  66% {
    transform: translate(-5%, 10%);
  }
}
@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;
  }
}
@media (prefers-color-scheme: dark) {
  .widget-promo-card {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-color: #334155;
  }
  .widget-promo-card__header {
    background: rgba(15, 23, 42, 0.8);
    border-bottom-color: rgba(51, 65, 85, 0.5);
  }
  .widget-promo-card__info h4 {
    color: #f1f5f9;
  }
  .widget-promo-card__schedule {
    color: #94a3b8;
  }
  .widget-promo-card__stats {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.5) 0%, rgba(30, 41, 59, 0.5) 100%);
    border-top-color: #334155;
  }
  .widget-promo-card__stat {
    background: #1e293b;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  }
  .widget-promo-card__stat .stat-value {
    color: #f1f5f9;
  }
  .widget-promo-card__stat .stat-label {
    color: #64748b;
  }
}
.modal.promo-modal {
  z-index: 1100 !important;
}

.promo-modal .modal-backdrop {
  z-index: 1099 !important;
}
.promo-modal .modal-dialog {
  max-width: 1200px;
  width: 90%;
}
.promo-modal .modal-body {
  height: 70vh;
  max-height: 700px;
  min-height: 500px;
  padding: 0;
  overflow: hidden;
}

.promo-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.promo-modal .modal-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.promo-modal .modal-close {
  position: static;
  margin: 0;
}

.promo-builder {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem;
  height: 100%;
  width: 100%;
}
.promo-builder .promo-builder__preview-section {
  width: 340px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.promo-builder .promo-builder__form-section {
  flex: 1;
  min-width: 0;
  overflow-y: auto;
}
@media (max-width: 1024px) {
  .promo-builder {
    flex-direction: column;
  }
  .promo-builder .promo-builder__preview-section {
    width: 100%;
    max-height: 300px;
  }
}
.promo-builder--preview-hidden .promo-builder__preview-section {
  display: none;
}
.promo-builder--preview-hidden .promo-builder__form-section {
  max-width: 800px;
  margin: 0 auto;
}

.promo-builder__preview-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  overflow-y: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 100%;
}

.promo-builder__preview {
  background: #0f172a;
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  position: relative;
  touch-action: none;
  transition: box-shadow 150ms ease-in-out;
}
.promo-builder__preview:hover {
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
}
.promo-builder__preview:active {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.promo-builder__section-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}
.promo-builder__section-title i {
  color: #2563eb;
  font-size: 1.125rem;
}

.promo-builder__form-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  padding: 0.25rem 1rem 1rem 0;
  background: transparent;
  max-height: 100%;
}
.promo-builder__form-section::-webkit-scrollbar {
  width: 8px;
}
.promo-builder__form-section::-webkit-scrollbar-track {
  background: rgba(226, 232, 240, 0.3);
  border-radius: 50%;
}
.promo-builder__form-section::-webkit-scrollbar-thumb {
  background: #94a3b8;
  border-radius: 50%;
}
.promo-builder__form-section::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}

.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;
  }
  .promo-builder {
    display: block;
    page-break-inside: avoid;
  }
}
/**
 * Create Widget Promo Page
 * Admin theme styled, mobile-first design
 */
.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;
  gap: 0.75rem;
}
@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;
}
@media (min-width: 1024px) {
  .promo-creator {
    display: grid;
    grid-template-columns: 450px 1fr;
    align-items: start;
  }
}

.promo-creator__preview {
  order: 1;
}
@media (min-width: 1024px) {
  .promo-creator__preview {
    position: sticky;
    top: 1rem;
    order: 0;
  }
}

.promo-preview-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}
.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;
  }
}

.promo-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-section {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 1.25rem;
  transition: all 250ms ease-in-out;
}
.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;
}

.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;
  transform-style: preserve-3d;
  transition: transform 250ms ease-in-out;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.widget-promo-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%), radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%);
  animation: mesh-move 8s ease-in-out infinite;
  pointer-events: none;
}
.widget-promo-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
  pointer-events: none;
}
.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 {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  transition: all 150ms ease-in-out;
  cursor: pointer;
  text-decoration: none;
}
.widget-promo-banner__cta:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

@keyframes mesh-move {
  0%, 100% {
    transform: translate(0, 0);
  }
  33% {
    transform: translate(10%, -5%);
  }
  66% {
    transform: translate(-5%, 10%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .widget-promo-banner,
  .form-section {
    transition: none;
    animation: none;
  }
  .widget-promo-banner::before {
    animation: none;
  }
}
@media print {
  .page-actions,
  .promo-creator__preview {
    display: none;
  }
  .promo-creator {
    grid-template-columns: 1fr;
  }
}
/**
 * AI Campaign Builder Styles
 * WCAG AA Compliant - Minimum 4.5:1 contrast ratio
 */
.ai-generation-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.ai-generation-card {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  padding: 2.5rem;
}

.ai-generation__icon {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1.5rem;
}
.ai-generation__icon i {
  animation: spin 2s linear infinite;
}

.ai-generation-card h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 2rem;
  font-family: "Playfair Display", serif;
}

.ai-generation__progress {
  margin: 2rem 0;
}

.progress-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}
.progress-step i {
  font-size: 1.25rem;
  color: #94A3B8;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}
.progress-step span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #CBD5E1;
  text-align: left;
  line-height: 1.5;
}
.progress-step--active {
  background: rgba(244, 150, 9, 0.08);
  border-color: rgba(244, 150, 9, 0.3);
}
.progress-step--active i {
  color: #2563eb;
}
.progress-step--active span {
  color: #F1F5F9;
  font-weight: 600;
}
.progress-step--complete i {
  color: #10b981;
}
.progress-step--complete span {
  color: #E2E8F0;
}

.ai-generation__note {
  font-size: 0.875rem;
  color: #94A3B8;
  margin-top: 1.5rem;
  font-style: italic;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 640px) {
  .ai-generation-card {
    padding: 1.5rem;
  }
  .ai-generation-card h2 {
    font-size: 1.25rem;
  }
  .progress-step {
    padding: 0.5rem 0.75rem;
  }
  .progress-step i {
    font-size: 1rem;
  }
  .progress-step span {
    font-size: 0.875rem;
  }
}
@media (prefers-contrast: high) {
  .progress-step {
    border-width: 2px;
    border-color: currentColor;
  }
  .progress-step span {
    color: #FFFFFF;
    font-weight: 600;
  }
  .ai-generation-card h2 {
    text-shadow: 0 0 1px currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-generation__icon i {
    animation: none;
  }
  .progress-step {
    transition: none;
  }
}
/**
 * Email Builder Page Styles
 * Campaign management and drag-and-drop email builder
 */
.email-builder-page {
  background: #0f172a;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.email-builder {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: #0f172a;
}

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

.email-builder__toolbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.email-builder__toolbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.email-builder__toolbar-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-right: 0.75rem;
  border-right: 1px solid #334155;
}

.email-builder__back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #cbd5e1;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 150ms ease-in-out;
  font-size: 0.875rem;
}
.email-builder__back-btn:hover {
  background: #334155;
  color: #ffffff;
}
.email-builder__back-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.email-builder__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.email-builder__campaign-name {
  background: #334155;
  border: 1px solid #475569;
  color: #ffffff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transition: all 150ms ease-in-out;
  min-width: 250px;
}
.email-builder__campaign-name:hover {
  border-color: #64748b;
}
.email-builder__campaign-name:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #1e293b;
}
.email-builder__campaign-name::placeholder {
  color: #94a3b8;
}

.campaign-actions {
  position: relative;
}

.campaign-actions__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.campaign-actions__trigger:hover {
  background: #334155;
  border-color: #64748b;
  color: #ffffff;
}
.campaign-actions__trigger:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.campaign-actions__trigger[aria-expanded=true] {
  background: #334155;
  border-color: #2563eb;
  color: #ffffff;
}

.campaign-actions__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  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), 0 0 0 1px rgba(0, 0, 0, 0.05);
  min-width: 220px;
  padding: 0.5rem;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 150ms ease-in-out;
}
.campaign-actions__menu[aria-hidden=false] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.campaign-actions__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: transparent;
  border: none;
  border-radius: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  text-align: left;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.campaign-actions__item i {
  width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: color 150ms ease-in-out;
}
.campaign-actions__item span {
  flex: 1;
}
.campaign-actions__item kbd {
  padding: 2px 6px;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-family: var(--font-family-mono);
  color: #94a3b8;
}
.campaign-actions__item:hover {
  background: #334155;
  color: #ffffff;
}
.campaign-actions__item:hover i {
  color: #2563eb;
}
.campaign-actions__item:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: -2px;
}
.campaign-actions__item--danger {
  color: #ef4444;
}
.campaign-actions__item--danger i {
  color: #ef4444;
}
.campaign-actions__item--danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
.campaign-actions__item--danger:hover i {
  color: #f87171;
}

.campaign-actions__divider {
  height: 1px;
  background: #334155;
  margin: 0.5rem 0;
}

.autosave-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #334155;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  transition: all 150ms ease-in-out;
}
.autosave-indicator i {
  font-size: 8px;
  color: #10b981;
  transition: color 150ms ease-in-out;
}
.autosave-indicator[data-status=saving] i {
  color: #f59e0b;
  animation: pulse 1.5s ease-in-out infinite;
}
.autosave-indicator[data-status=error] {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #f87171;
}
.autosave-indicator[data-status=error] i {
  color: #ef4444;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}
.email-builder__workspace {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.email-builder__panel {
  display: flex;
  flex-direction: column;
  background: #1e293b;
  border-right: 1px solid #334155;
  overflow: hidden;
}
.email-builder__panel--left {
  width: 280px;
  flex-shrink: 0;
}
@media (max-width: 1024px) {
  .email-builder__panel--left {
    width: 240px;
  }
}
.email-builder__panel--center {
  flex: 1;
  border-left: none;
  border-right: none;
}
.email-builder__panel--right {
  width: 320px;
  flex-shrink: 0;
  border-right: none;
}
@media (max-width: 1024px) {
  .email-builder__panel--right {
    width: 280px;
  }
}

.email-builder__panel-header {
  padding: 1rem;
  border-bottom: 1px solid #334155;
}
.email-builder__panel-header h3 {
  margin: 0 0 0.25rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
}
.email-builder__panel-header p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.75rem;
}

.email-builder__panel-footer {
  margin-top: auto;
  padding: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.email-builder__panel-footer .btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}
.email-builder__panel-footer .btn:hover:not(:disabled) {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: #ffffff;
  transform: translateY(-1px);
}

.media-library-dialog .modal__content {
  background: #1e293b !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.media-library-dialog .modal__header {
  background: #0f172a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.media-library-dialog .modal__body {
  background: #1e293b;
}

.media-library__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  padding: 1.25rem;
}

.media-library__item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: grab;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-user-drag: element;
  -webkit-user-select: none;
}
.media-library__item:hover {
  border-color: #3b82f6;
  transform: translateY(-4px);
}
.media-library__item:active {
  cursor: grabbing;
}
.media-library__item img {
  pointer-events: none;
  -webkit-user-drag: none;
}
.media-library__item > div {
  pointer-events: none;
}

.campaign-library-modal {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
}
.campaign-library-modal[style*="display: none"] {
  display: none !important;
}

.campaign-library-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.2s ease-out;
}

.campaign-library-modal__dialog {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: #1e293b;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  animation: slideInUp 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.campaign-library-modal__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  border-bottom: 1px solid #334155;
  flex-wrap: wrap;
}
.campaign-library-modal__header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}
.campaign-library-modal__header h2 i {
  color: #2563eb;
}

.campaign-library-modal__header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  margin-left: auto;
}
@media (max-width: 768px) {
  .campaign-library-modal__header-actions {
    width: 100%;
  }
}

.campaign-library-modal__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #94a3b8;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  flex-shrink: 0;
}
.campaign-library-modal__close:hover {
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}
.campaign-library-modal__close:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.search-box {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.search-box i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  background: #334155;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  transition: all 150ms ease-in-out;
}
.search-box input::placeholder {
  color: #94a3b8;
}
.search-box input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
  background: #1e293b;
}

.campaign-library-modal__filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #334155;
  overflow-x: auto;
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  white-space: nowrap;
}
.filter-btn i {
  font-size: 0.875rem;
}
.filter-btn:hover {
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}
.filter-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
.filter-btn--active {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
}
.filter-btn--active:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.campaign-library-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.campaign-library-modal__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  color: #94a3b8;
}
.campaign-library-modal__loading i {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  animation: spin 1s linear infinite;
}
.campaign-library-modal__loading p {
  margin: 0;
  font-size: 1rem;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.campaigns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.campaign-card {
  background: #334155;
  border: 1px solid #475569;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.campaign-card:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}
.campaign-card:focus-within {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.campaign-card__thumbnail {
  width: 100%;
  height: 180px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 1.875rem;
  border-bottom: 1px solid #475569;
}

.campaign-card__content {
  padding: 1rem;
}

.campaign-card__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.campaign-card__name {
  margin: 0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
}

.campaign-card__status {
  padding: 0.25rem 0.5rem;
  border-radius: 0.375rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.campaign-card__status--draft {
  background: rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}
.campaign-card__status--scheduled {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
}
.campaign-card__status--sent {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.campaign-card__meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 0.75rem;
}
.campaign-card__meta i {
  font-size: 10px;
}

.campaign-library-modal__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem;
  text-align: center;
}
.campaign-library-modal__empty i {
  font-size: 3rem;
  color: #475569;
  margin-bottom: 1rem;
}
.campaign-library-modal__empty h3 {
  margin: 0 0 0.5rem;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 600;
}
.campaign-library-modal__empty p {
  margin: 0 0 1.5rem;
  color: #94a3b8;
  font-size: 1rem;
}

.email-builder-page .btn--primary {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.email-builder-page .btn--primary:hover:not(:disabled) {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008);
}
.email-builder-page .btn--secondary {
  background: #334155;
  border-color: #475569;
  color: #ffffff;
}
.email-builder-page .btn--secondary:hover:not(:disabled) {
  background: #475569;
  border-color: #64748b;
}
.email-builder-page .btn--danger {
  background: #ef4444;
  border-color: #ef4444;
  color: #ffffff;
}
.email-builder-page .btn--danger:hover:not(:disabled) {
  background: #dc2626;
  border-color: #dc2626;
}
.email-builder-page .btn--sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  min-height: 32px;
}
.email-builder-page .btn--block {
  width: 100%;
  justify-content: center;
}

#mediaLibraryBtn i {
  font-size: 1rem;
}

.modal--restore-draft .modal__content {
  background: #1e293b;
  border-color: #334155;
}
.modal--restore-draft .modal__header {
  background: #0f172a;
  border-bottom: 1px solid #334155;
  padding: 1.25rem 1.5rem;
}
.modal--restore-draft .modal__header .modal__title {
  color: #ffffff;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal--restore-draft .modal__header .modal__title i {
  color: #F49609;
}
.modal--restore-draft .modal__body {
  padding: 1.5rem;
  background: #1e293b;
}
.modal--restore-draft .restore-draft__message {
  color: #cbd5e1;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.5;
}
.modal--restore-draft .restore-draft__message strong {
  color: #ffffff;
  font-weight: 600;
}
.modal--restore-draft .restore-draft__timestamp {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}
.modal--restore-draft .modal__footer {
  background: #1e293b;
  border-top: 1px solid #334155;
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}

@media (max-width: 1024px) {
  .email-builder__workspace .email-builder__panel--right {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: translateX(100%);
    transition: transform 250ms ease-in-out;
  }
  .email-builder__workspace .email-builder__panel--right.is-open {
    transform: translateX(0);
  }
}
@media (max-width: 768px) {
  .campaigns-grid {
    grid-template-columns: 1fr;
  }
  .campaign-library-modal__dialog {
    width: 95%;
    max-height: 95vh;
  }
  .campaign-library-modal__header {
    padding: 1rem;
  }
  .campaign-library-modal__body {
    padding: 1rem;
  }
}
/**
 * Settings Page Styles
 * Professional settings interface for TableFlow admin
 */
.settings-page {
  background: #0f172a;
  min-height: 100vh;
}
.settings-page .settings-section {
  background: #1e293b;
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.settings-page .settings-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 1rem 0;
}
.settings-page .settings-section__title i {
  color: #F49609;
}
.settings-page .settings-section__desc {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0 0 1.5rem 0;
}
.settings-page .settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}
@media (max-width: 639px) {
  .settings-page .settings-grid {
    grid-template-columns: 1fr;
  }
}

.form-group--full {
  grid-column: 1/-1;
}

.settings-page .form-group .phone-input-group {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}
.settings-page .form-group .phone-input-group .form-select {
  flex: 0 0 auto;
  width: 140px;
  min-width: 140px;
}
.settings-page .form-group .phone-input-group .form-select--small {
  width: 140px;
  min-width: 140px;
}
.settings-page .form-group .phone-input-group .form-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 639px) {
  .settings-page .form-group .phone-input-group {
    flex-direction: row;
    gap: 0.5rem;
  }
  .settings-page .form-group .phone-input-group .form-select {
    width: 120px;
    min-width: 120px;
  }
}

.language-selector {
  position: relative;
  width: 100%;
}
.language-selector__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.language-selector__header:hover {
  border-color: #3b82f6;
  background: #1e293b;
}
.language-selector.open .language-selector__header {
  border-color: #3b82f6;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-color: transparent;
}
.language-selector__count {
  flex: 1;
  color: #f3f4f6;
  font-size: 0.875rem;
}
.language-selector__count #languageCount {
  font-weight: 600;
  color: #3b82f6;
}
.language-selector__toggle {
  background: none;
  border: none;
  padding: 0;
  color: #64748b;
  cursor: pointer;
  transition: transform 150ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.language-selector.open .language-selector__toggle {
  transform: rotate(180deg);
}
.language-selector__toggle:hover {
  color: #3b82f6;
}
.language-selector__options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid #3b82f6;
  border-top: none;
  border-bottom-left-radius: 0.75rem;
  border-bottom-right-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.language-selector__options[hidden] {
  display: none;
}
.language-selector__options::-webkit-scrollbar {
  width: 8px;
}
.language-selector__options::-webkit-scrollbar-track {
  background: #0f1419;
  border-radius: 0.375rem;
}
.language-selector__options::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 0.375rem;
}
.language-selector__options::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.language-selector__option {
  padding: 0.75rem 1rem;
  transition: all 150ms ease-in-out;
  cursor: pointer;
}
.language-selector__option:hover {
  background: #334155;
}
.language-selector__option input[type=checkbox] {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 0.75rem;
  cursor: pointer;
  accent-color: #3b82f6;
  vertical-align: middle;
}
.language-selector__option label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  cursor: pointer;
  margin: 0;
  width: 100%;
}
.language-selector__option label:hover {
  color: #ffffff;
}
.language-selector__option .language-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 0.5rem;
  color: #3b82f6;
  font-size: 0.875rem;
}
.language-selector__option input[type=checkbox]:checked + label {
  color: #3b82f6;
  font-weight: 500;
}
.language-selector__option input[type=checkbox]:checked + label .language-icon {
  background: rgba(59, 130, 246, 0.2);
}
.language-selector.open .language-selector__options {
  display: block;
}

.file-upload-area {
  width: 100%;
}
.file-upload-area .file-input {
  display: none;
}
.file-upload-area .file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: #0f172a;
  border: 2px dashed rgba(244, 150, 9, 0.3);
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
  min-height: 180px;
}
.file-upload-area .file-upload-label i {
  font-size: 3rem;
  color: #F49609;
  opacity: 0.7;
  transition: all 150ms ease-in-out;
}
.file-upload-area .file-upload-label span {
  font-size: 1rem;
  font-weight: 500;
  color: #e2e8f0;
  text-align: center;
}
.file-upload-area .file-upload-label small.form-hint {
  font-size: 0.75rem;
  color: #94a3b8;
  text-align: center;
}
.file-upload-area .file-upload-label:hover {
  border-color: #F49609;
  background: rgba(244, 150, 9, 0.05);
}
.file-upload-area .file-upload-label:hover i {
  opacity: 1;
  transform: translateY(-4px);
}
.file-upload-area .file-upload-label:active {
  transform: scale(0.98);
}

.image-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: 0.75rem;
}
.image-preview img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.image-preview .btn {
  min-width: 120px;
}
.image-preview--hidden {
  display: none;
}

.gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: 0.75rem;
}
.gallery-preview--hidden {
  display: none;
}

.gallery-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #0f172a;
}
.gallery-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 150ms ease-in-out;
}
.gallery-preview-item:hover img {
  transform: scale(1.05);
}
.gallery-preview-item:hover .gallery-preview-item__remove {
  opacity: 1;
}
.gallery-preview-item__remove {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.9);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 0.75rem;
  cursor: pointer;
  opacity: 0;
  transition: all 150ms ease-in-out;
}
.gallery-preview-item__remove:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.form-hint {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.25rem;
  line-height: 1.5;
}

.settings-page .form-group .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1rem;
}
.settings-page .form-group .form-label i {
  color: #F49609;
  width: 20px;
  text-align: center;
}
.settings-page .form-group .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #0f172a;
  border: 2px solid rgba(37, 99, 235, 0.2);
  border-radius: 0.5rem;
  color: #f1f5f9;
  font-size: 0.875rem;
  transition: all 150ms ease-in-out;
}
.settings-page .form-group .form-input::placeholder {
  color: #64748b;
}
.settings-page .form-group .form-input:focus {
  outline: none;
  border-color: #F49609;
  background: #1e293b;
  box-shadow: 0 0 0 3px rgba(244, 150, 9, 0.1);
}
.settings-page .form-group .form-input:hover:not(:focus) {
  border-color: rgba(244, 150, 9, 0.4);
}

@media (max-width: 767px) {
  .settings-page .settings-section {
    padding: 1.25rem;
  }
}
@media (max-width: 639px) {
  .settings-page .settings-section {
    padding: 1rem;
  }
  .settings-page .settings-section__title {
    font-size: 1.125rem;
  }
  .settings-page .file-upload-label {
    padding: 1.5rem 1rem;
    min-height: 150px;
  }
  .settings-page .file-upload-label i {
    font-size: 2rem;
  }
  .gallery-preview {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
  }
}
.settings-page .settings-main {
  padding: 1.5rem;
}
@media (max-width: 767px) {
  .settings-page .settings-main {
    padding: 1rem;
  }
}
.settings-page .settings-header {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}
.settings-page .settings-header__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
@media (max-width: 639px) {
  .settings-page .settings-header__content {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}
.settings-page .settings-header__title-section {
  flex: 1;
}
.settings-page .settings-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #f3f4f6;
}
@media (max-width: 639px) {
  .settings-page .settings-header__title {
    font-size: 1.25rem;
  }
}
.settings-page .settings-header__subtitle {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}
.settings-page .settings-header__actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 639px) {
  .settings-page .settings-header__actions {
    flex-direction: column;
    width: 100%;
  }
  .settings-page .settings-header__actions .btn {
    width: 100%;
  }
}
.settings-page .settings-tabs {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem;
  background: #1e293b;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.settings-page .settings-tabs::-webkit-scrollbar {
  height: 6px;
}
.settings-page .settings-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
}
.settings-page .settings-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
}
.settings-page .settings-tabs::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
.settings-page .settings-tab {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 9999px;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  text-decoration: none;
}
.settings-page .settings-tab i {
  font-size: 1.125rem;
  transition: all 250ms ease-in-out;
}
.settings-page .settings-tab:hover {
  background: rgba(244, 150, 9, 0.15);
  color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.settings-page .settings-tab:hover i {
  color: #F49609;
}
.settings-page .settings-tab--active {
  background: #F49609;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(244, 150, 9, 0.4);
  transform: scale(1.05);
}
.settings-page .settings-tab--active i {
  color: #FFD700;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
  transform: scale(1.1);
}
.settings-page .settings-tab--active:hover {
  background: color-mix(in srgb, #F49609 90%, #ffffff);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 150, 9, 0.5);
}
.settings-page .settings-tab--active:hover i {
  filter: drop-shadow(0 0 12px rgb(255, 215, 0));
}
@media (max-width: 639px) {
  .settings-page .settings-tab {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .settings-page .settings-tab span {
    display: none;
  }
  .settings-page .settings-tab i {
    font-size: 1.25rem;
  }
}
.settings-page .settings-content {
  min-height: 400px;
}
.settings-page .settings-panel {
  animation: fadeInUp 0.3s ease-out;
}
.settings-page .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #f3f4f6;
  margin-bottom: 0.5rem;
}
.settings-page .form-input,
.settings-page .form-select,
.settings-page .form-textarea {
  width: 100%;
  padding: 0.75rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  transition: all 250ms ease-in-out;
}
.settings-page .form-input:focus,
.settings-page .form-select:focus,
.settings-page .form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.settings-page .form-input:disabled,
.settings-page .form-select:disabled,
.settings-page .form-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.settings-page .form-input::placeholder,
.settings-page .form-select::placeholder,
.settings-page .form-textarea::placeholder {
  color: #9ca3af;
}
.settings-page .form-textarea {
  resize: vertical;
  min-height: 80px;
}
.settings-page .form-select {
  cursor: pointer;
  color-scheme: dark;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%239ca3af' viewBox='0 0 20 20'%3E%3Cpath d='M7 7l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 20px;
  padding-right: 2.5rem;
}
.settings-page .form-select--sm {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.75rem;
  margin-top: 1em;
  margin-bottom: 1em;
}
.settings-page .form-select option {
  background-color: #1e293b;
  color: #f3f4f6;
}
.settings-page .form-select optgroup {
  background-color: #0f1419;
  color: #9ca3af;
  font-weight: 600;
}
.settings-page .dropdown-search-wrapper {
  position: relative;
  margin-bottom: 0.5rem;
}
.settings-page .dropdown-search-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  padding-right: 2.5rem;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  transition: all 250ms ease-in-out;
}
.settings-page .dropdown-search-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.settings-page .dropdown-search-input::placeholder {
  color: #64748b;
}
.settings-page .dropdown-search-icon {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}
.settings-page .custom-dropdown-wrapper {
  position: relative;
  width: 100%;
}
.settings-page .custom-dropdown-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.settings-page .custom-dropdown-display:hover {
  border-color: #3b82f6;
  background: #1e293b;
}
.custom-dropdown-wrapper.open .settings-page .custom-dropdown-display {
  border-color: #3b82f6;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.settings-page .custom-dropdown-value {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.settings-page .custom-dropdown-arrow {
  margin-left: 0.5rem;
  color: #64748b;
  transition: transform 150ms ease-in-out;
}
.custom-dropdown-wrapper.open .settings-page .custom-dropdown-arrow {
  transform: rotate(180deg);
}
.settings-page .custom-dropdown-list {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  background: #1e293b;
  border: 1px solid #3b82f6;
  border-bottom: none;
  border-radius: 0.75rem 0.75rem 0 0;
  box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  max-height: 400px;
  overflow: hidden;
}
.settings-page .custom-dropdown-list .dropdown-search-wrapper {
  margin: 0;
  padding: 0.75rem;
  border-bottom: 1px solid #334155;
}
.settings-page .custom-dropdown-options {
  max-height: 350px;
  overflow-y: auto;
  padding: 0.5rem 0;
}
.settings-page .custom-dropdown-options::-webkit-scrollbar {
  width: 8px;
}
.settings-page .custom-dropdown-options::-webkit-scrollbar-track {
  background: #0f1419;
}
.settings-page .custom-dropdown-options::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 0.5rem;
}
.settings-page .custom-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
.settings-page .custom-dropdown-optgroup {
  margin: 0.5rem 0;
}
.settings-page .custom-dropdown-optgroup:first-child {
  margin-top: 0;
}
.settings-page .custom-dropdown-optgroup:last-child {
  margin-bottom: 0;
}
.settings-page .custom-dropdown-optgroup-label {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #0f1419;
}
.settings-page .custom-dropdown-option {
  padding: 0.75rem 1rem;
  color: #f3f4f6;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 150ms ease-in-out;
}
.settings-page .custom-dropdown-option:hover {
  background: #334155;
  color: #ffffff;
}
.settings-page .custom-dropdown-option.selected {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
  font-weight: 500;
}
.settings-page .custom-dropdown-option.selected:hover {
  background: rgba(59, 130, 246, 0.3);
}
.settings-page .custom-dropdown-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.settings-page .input-group {
  display: flex;
  align-items: center;
}
.settings-page .input-group .form-input {
  border-radius: 0 0.75rem 0.75rem 0;
}
.settings-page .input-group .input-addon {
  padding: 0.75rem;
  background: #334155;
  border: 1px solid #334155;
  border-right: 0;
  color: #9ca3af;
  font-size: 0.875rem;
  border-radius: 0.75rem 0 0 0.75rem;
}
.settings-page .input-group .input-addon:last-child {
  border-radius: 0 0.75rem 0.75rem 0;
  border-right: 1px solid #334155;
  border-left: 0;
}
.settings-page .input-group .input-prefix {
  padding: 0.75rem;
  background: #334155;
  border: 1px solid #475569;
  border-right: 0;
  color: #cbd5e1;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 0.75rem 0 0 0.75rem;
  white-space: nowrap;
}
.settings-page .hours-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.settings-page .hours-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 639px) {
  .settings-page .hours-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
}
.settings-page .hours-day {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #f3f4f6;
}
.settings-page .hours-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.settings-page .hours-time span {
  color: #9ca3af;
  font-size: 0.875rem;
}
.settings-page .time-input {
  flex: 1;
  padding: 0.5rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: #f3f4f6;
  font-size: 0.875rem;
}
.settings-page .time-input:focus {
  outline: none;
  border-color: #3b82f6;
}
.settings-page .switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
  flex-shrink: 0;
}
.settings-page .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.settings-page .switch input:checked + .switch-slider {
  background: #3b82f6;
}
.settings-page .switch input:checked + .switch-slider::before {
  transform: translateX(24px);
}
.settings-page .switch input:focus + .switch-slider {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.settings-page .switch-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #334155;
  transition: all 250ms ease-in-out;
  border-radius: 9999px;
}
.settings-page .switch-slider::before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: #ffffff;
  transition: all 250ms ease-in-out;
  border-radius: 50%;
}
.settings-page .toggle-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.settings-page .toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #0f1419;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  margin-bottom: 1.5rem;
  transition: all 250ms ease-in-out;
}
.settings-page .toggle-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}
.settings-page .toggle-content {
  flex: 1;
}
.settings-page .toggle-content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #f3f4f6;
  margin: 0 0 0.25rem 0;
}
.settings-page .toggle-content p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}
.settings-page .payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}
.settings-page .payment-option {
  cursor: pointer;
  position: relative;
}
.settings-page .payment-option input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.settings-page .payment-option input[type=radio]:checked + .payment-option__content {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.settings-page .payment-option:hover .payment-option__content {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-2px);
}
.settings-page .payment-option__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 1rem;
  transition: all 250ms ease-in-out;
  text-align: center;
}
.settings-page .payment-icon {
  font-size: 36px;
  color: #64748b;
  transition: color 250ms ease-in-out;
}
.payment-option input[type=radio]:checked + .payment-option__content .settings-page .payment-icon {
  color: #3b82f6;
}
.settings-page .payment-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
.settings-page .payment-status {
  font-size: 0.875rem;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.settings-page .payment-status--connected {
  color: #10b981;
  font-weight: 500;
}
.settings-page .payment-status--connected i {
  color: #10b981;
}
.settings-page .integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.settings-page .integration-card {
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
  transition: all 350ms ease-in-out;
}
.settings-page .integration-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  border-color: rgba(244, 150, 9, 0.4);
}
.settings-page .integration-card--connected {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
}
.settings-page .integration-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(244, 150, 9, 0.12);
  border-radius: 1rem;
  font-size: 32px;
  color: #F49609;
}
.settings-page .integration-card__name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 0.5rem 0;
}
.settings-page .integration-card__desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}
.settings-page .integration-card__status {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  color: #10b981;
  font-weight: 500;
}
.settings-page .integration-card__status--disconnected {
  color: #94a3b8;
  font-weight: 400;
}
.settings-page .integration-card .btn--primary {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.settings-page .integration-card .btn--primary:hover {
  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);
}
.settings-page .integration-card .btn--primary:active {
  transform: translateY(0);
}
.settings-page .api-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.settings-page .api-key-display .api-key-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
@media (max-width: 639px) {
  .settings-page .api-key-display .api-key-wrapper {
    flex-direction: column;
  }
  .settings-page .api-key-display .api-key-wrapper .btn {
    width: 100%;
  }
}
.settings-page .api-key-display .api-key {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  letter-spacing: 0.05em;
}
.settings-page .api-webhooks h3 {
  font-size: 1rem;
  font-weight: 500;
  color: #f3f4f6;
  margin: 0 0 0.75rem 0;
}
.settings-page .webhook-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.settings-page .webhook-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
}
.settings-page .webhook-url {
  font-family: "SF Mono", Monaco, "Cascadia Code", "Roboto Mono", Consolas, "Courier New", monospace;
  font-size: 0.875rem;
  color: #f3f4f6;
}
.settings-page .webhook-delete {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  padding: 0.5rem;
  transition: opacity 250ms ease-in-out;
}
.settings-page .webhook-delete:hover {
  opacity: 0.8;
}
.settings-page .users-toolbar {
  margin-bottom: 1rem;
}
.settings-page .users-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.settings-page .user-item {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  transition: all 250ms ease-in-out;
}
.settings-page .user-item:hover {
  border-color: rgba(59, 130, 246, 0.3);
}
.settings-page .user-item--invited {
  opacity: 0.7;
}
@media (max-width: 767px) {
  .settings-page .user-item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
  .settings-page .user-item .user-role,
  .settings-page .user-item .user-status,
  .settings-page .user-item .user-actions {
    grid-column: 1/-1;
    margin-top: 0.75rem;
  }
}
.settings-page .user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  overflow: hidden;
}
.settings-page .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.settings-page .user-avatar--placeholder {
  background: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db !important;
  font-size: 1.25rem;
}
.settings-page .avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff !important;
}
.settings-page .avatar-placeholder--purple {
  background: linear-gradient(135deg, #9333ea, #7c3aed);
}
.settings-page .avatar-placeholder--green {
  background: linear-gradient(135deg, #10b981, #059669);
}
.settings-page .avatar-placeholder--blue {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}
.settings-page .avatar-placeholder--orange {
  background: linear-gradient(135deg, #F49609, #ea580c);
}
.settings-page .user-info .user-name {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0;
}
.settings-page .user-info .user-email {
  font-size: 0.875rem;
  color: #d1d5db !important;
  margin: 0;
}
.settings-page .user-role {
  position: relative;
  z-index: 100 !important;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.settings-page .user-role .form-select {
  position: relative;
  z-index: 100 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  min-width: 120px;
}
.settings-page .user-status {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.settings-page .user-actions {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.settings-page .user-card__name {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff !important;
  margin: 0 0 0.25rem 0;
}
.settings-page .user-card__email {
  font-size: 0.875rem;
  color: #d1d5db !important;
  margin: 0;
}
.settings-page .user-card__initials {
  color: #ffffff !important;
  font-weight: 700;
}
.settings-page .user-card__status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}
.settings-page .user-card__status-badge--active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399 !important;
}
.settings-page .user-card__status-badge--inactive {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171 !important;
}
.settings-page .user-card__status-badge--pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24 !important;
}
.settings-page .user-actions {
  display: flex;
  gap: 0.5rem;
}
.settings-page .two-factor-actions,
.settings-page .backup-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 639px) {
  .settings-page .two-factor-actions,
  .settings-page .backup-actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}
.settings-page .backups-empty-state,
.settings-page .backups-list__empty {
  color: #94a3b8;
  font-size: 1rem;
  text-align: left;
  padding: 0.5rem 1rem 1.5rem 1rem;
  margin: 0;
}
.settings-page .backups-list:empty::before,
.settings-page .backups-list > p {
  color: #94a3b8;
  font-size: 1rem;
  text-align: left;
  padding: 0.5rem 1rem 1.5rem 1rem;
  margin: 0;
  display: block;
}
.settings-page .icon-btn,
.settings-page .btn-icon {
  background: none;
  border: none;
  color: #d1d5db !important;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 250ms ease-in-out;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
  margin-top: 0.5em;
}
.settings-page .icon-btn i,
.settings-page .btn-icon i {
  color: #d1d5db !important;
  font-size: 1rem;
}
.settings-page .icon-btn:hover,
.settings-page .btn-icon:hover {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6 !important;
}
.settings-page .icon-btn:hover i,
.settings-page .btn-icon:hover i {
  color: #3b82f6 !important;
}
.settings-page .icon-btn--danger,
.settings-page .btn-icon--danger {
  color: #ef4444 !important;
}
.settings-page .icon-btn--danger i,
.settings-page .btn-icon--danger i {
  color: #ef4444 !important;
}
.settings-page .icon-btn--danger:hover,
.settings-page .btn-icon--danger:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171 !important;
}
.settings-page .icon-btn--danger:hover i,
.settings-page .btn-icon--danger:hover i {
  color: #f87171 !important;
}
.settings-page .status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}
.settings-page .status-badge--active {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399 !important;
}
.settings-page .status-badge--inactive {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171 !important;
}
.settings-page .status-badge--warning {
  background: rgba(244, 150, 9, 0.2);
  color: #F49609 !important;
}
.settings-page .status-badge--pending {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24 !important;
}
.settings-page .two-factor-status {
  background: #1e293b;
  border: 1px solid rgba(244, 150, 9, 0.2);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.settings-page .two-factor-status .status-description {
  margin-top: 0.75rem;
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}
.settings-page .two-factor-setup {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
@media (max-width: 639px) {
  .settings-page .two-factor-setup {
    padding: 1rem;
  }
}
.settings-page .setup-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.settings-page .setup-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.settings-page .setup-step .step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #3b82f6;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.settings-page .setup-step .step-content {
  flex: 1;
}
.settings-page .setup-step .step-content h4 {
  margin: 0 0 0.5rem 0;
  color: #0f172a;
  font-size: 1.125rem;
  font-weight: 600;
}
.settings-page .setup-step .step-content p {
  margin: 0 0 0.75rem 0;
  color: #475569;
  font-size: 0.875rem;
  line-height: 1.6;
}
.settings-page .app-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 639px) {
  .settings-page .app-suggestions {
    flex-direction: column;
  }
}
.settings-page .app-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  color: #334155;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 250ms ease-in-out;
}
.settings-page .app-link:hover {
  background: #f1f5f9;
  border-color: #3b82f6;
  color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.settings-page .app-link i {
  font-size: 1rem;
}
.settings-page .qr-code-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 0.75rem;
  margin: 1rem 0;
}
.settings-page .qr-code {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.settings-page .qr-code img {
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.settings-page .manual-entry {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
}
.settings-page .manual-entry .form-label {
  margin-bottom: 0.5rem;
  color: #334155;
  font-size: 0.875rem;
  font-weight: 500;
}
.settings-page .secret-key-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.settings-page .secret-key-display code {
  flex: 1;
  padding: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  color: #0f172a;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  letter-spacing: 1px;
  word-break: break-all;
}
.settings-page .secret-key-display .btn-copy {
  padding: 0.5rem;
  background: #e2e8f0;
  border: none;
  border-radius: 0.5rem;
  color: #334155;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.settings-page .secret-key-display .btn-copy:hover {
  background: #3b82f6;
  color: #ffffff;
}
.settings-page .secret-key-display .btn-copy i {
  font-size: 0.875rem;
}
.settings-page .verification-input {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}
@media (max-width: 639px) {
  .settings-page .verification-input {
    flex-direction: column;
  }
}
.settings-page .verification-input .verification-code {
  flex: 1;
  max-width: 200px;
  padding: 0.75rem;
  font-size: 1.125rem;
  text-align: center;
  letter-spacing: 4px;
  font-family: "Courier New", monospace;
  font-weight: 700;
  background: rgb(31, 41, 55);
  border: 1px solid rgba(75, 85, 99, 0.3);
  color: #f3f4f6;
}
.settings-page .verification-input .verification-code::placeholder {
  color: #ffffff;
  opacity: 0.7;
  letter-spacing: 4px;
  font-weight: 400;
}
.settings-page .verification-input .verification-code:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
  background: rgba(31, 41, 55, 0.7);
  border-color: #2563eb;
}
.settings-page .verification-input .verification-code:focus::placeholder {
  color: #64748b;
}
@media (max-width: 639px) {
  .settings-page .verification-input .verification-code {
    max-width: 100%;
  }
}
.settings-page .backup-codes-section {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
@media (max-width: 639px) {
  .settings-page .backup-codes-section {
    padding: 1rem;
  }
}
.settings-page .backup-codes-section .alert {
  margin-bottom: 1.5rem;
}
.settings-page .backup-codes-section .alert--warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 0.75rem;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
}
.settings-page .backup-codes-section .alert--warning i {
  color: #fbbf24 !important;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.settings-page .backup-codes-section .alert--warning .alert-warning-title {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.settings-page .backup-codes-section .alert--warning .alert-warning-text {
  color: #f3f4f6 !important;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.settings-page .backup-codes-section .alert--warning .alert-warning-text span {
  color: #f3f4f6 !important;
}
.settings-page .backup-codes-section .alert--warning .alert-warning-text strong {
  color: #fbbf24 !important;
  font-weight: 700;
}
.settings-page .backup-codes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.settings-page .backup-codes-grid .backup-code {
  padding: 0.75rem;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 0.875rem;
  font-weight: 500;
  color: #0f172a;
  letter-spacing: 1px;
}
.settings-page .backup-codes-grid .backup-code.used {
  background: #e2e8f0;
  color: #64748b;
  text-decoration: line-through;
}
.settings-page .qr-placeholder-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #64748b;
  text-align: center;
}
.settings-page .qr-placeholder-message i {
  color: #94a3b8;
}
.settings-page .qr-placeholder-message p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  color: #475569;
}
.settings-page .qr-placeholder-message small {
  color: #64748b;
  font-size: 0.75rem;
}
.settings-page .table-wrapper {
  overflow-x: auto;
}
.settings-page .settings-table {
  width: 100%;
  border-collapse: collapse;
}
.settings-page .settings-table th,
.settings-page .settings-table td {
  padding: 0.75rem;
  text-align: left;
  font-size: 0.875rem;
}
.settings-page .settings-table thead th {
  background: #1e293b;
  color: #f8fafc;
  font-weight: 600;
  border-bottom: 2px solid #334155;
}
.settings-page .settings-table tbody td {
  border-bottom: 1px solid #334155;
  color: #cbd5e1;
}
.settings-page .permissions-table {
  overflow-x: auto;
}
.settings-page .permissions-table table {
  width: 100%;
  border-collapse: collapse;
}
.settings-page .permissions-table th,
.settings-page .permissions-table td {
  padding: 0.75rem;
  text-align: left;
  font-size: 0.875rem;
}
.settings-page .permissions-table th {
  background: #0f1419;
  color: #f3f4f6;
  font-weight: 500;
  border-bottom: 2px solid #334155;
}
.settings-page .permissions-table td {
  border-bottom: 1px solid #334155;
  color: #9ca3af;
}
.settings-page .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  color: #f3f4f6;
}
.settings-page .checkbox-label input[type=checkbox] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.settings-page .settings-panel .alert {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid transparent;
}
.settings-page .settings-panel .alert--warning {
  background: color-mix(in srgb, var(--color-warning) 10%, transparent);
  border-color: color-mix(in srgb, var(--color-warning) 30%, transparent);
}
.settings-page .settings-panel .alert--warning i {
  color: var(--color-warning);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.settings-page .settings-panel .alert--warning .alert-warning-title {
  color: #f8fafc;
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.5rem;
}
.settings-page .settings-panel .alert--warning .alert-warning-text {
  color: #e2e8f0;
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
}
.settings-page .settings-panel .alert--warning .alert-warning-text span {
  color: #e2e8f0;
}
.settings-page .settings-panel .alert--warning .alert-warning-text strong {
  color: var(--color-warning);
  font-weight: 700;
}
.settings-page .settings-panel .alert--spaced {
  margin-bottom: 1.5rem;
}

.export-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
@media (max-width: 639px) {
  .export-options {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 374px) {
  .export-options {
    grid-template-columns: 1fr;
  }
}

.settings-page .export-option-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #0f1419;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  color: #f3f4f6;
  cursor: pointer;
  transition: all 250ms ease-in-out;
}
.settings-page .export-option-btn i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #F49609;
}
.settings-page .export-option-btn span {
  font-size: 0.875rem;
  font-weight: 500;
}
.settings-page .export-option-btn:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.settings-page .export-option-btn:active {
  transform: translateY(0);
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 250ms ease-in-out;
  position: relative;
}
.radio-label input[type=radio] {
  width: 20px;
  height: 20px;
  margin: 0;
  cursor: pointer;
  accent-color: #3b82f6;
}
.radio-label span {
  color: #f3f4f6;
  font-size: 0.875rem;
  font-weight: 500;
}
.radio-label:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.05);
}
.radio-label input[type=radio]:checked ~ span {
  color: #3b82f6;
}
.radio-label:has(input[type=radio]:checked) {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-config-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.payment-config-modal__content {
  background: #3b4557;
  border: 3px solid #3b82f6;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.payment-config-modal__header {
  background: #475569;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #3b82f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.payment-config-modal__header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}
.payment-config-modal__close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 1;
  transition: color 250ms ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}
.payment-config-modal__close:hover {
  color: #ffffff;
}
.payment-config-modal__body {
  padding: 1.5rem;
}
.payment-config-modal__instructions {
  background: #475569;
  border: 2px solid #3b82f6;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.payment-config-modal__instructions h3 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #bfdbfe;
}
.payment-config-modal__instructions ol {
  margin: 0 0 0.75rem 0;
  padding-left: 1.25rem;
  color: #cbd5e1;
}
.payment-config-modal__instructions ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.payment-config-modal__instructions ol li a {
  color: #3b82f6;
  text-decoration: underline;
}
.payment-config-modal__instructions ol li a:hover {
  color: rgb(107.7609756098, 161.0975609756, 248.2390243902);
}
.payment-config-modal__instructions p {
  margin: 1rem 0 0 0;
  padding: 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border-left: 3px solid #3b82f6;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
}
.payment-config-modal__instructions p strong {
  color: #ffffff;
  font-weight: 600;
}
.payment-config-modal__form-group {
  margin-bottom: 1.25rem;
}
.payment-config-modal__form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.payment-config-modal__form-group input {
  width: 100%;
  padding: 0.75rem;
  background: #1e293b;
  border: 2px solid #475569;
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  font-family: "Courier New", monospace;
  transition: border-color 250ms ease-in-out;
}
.payment-config-modal__form-group input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.payment-config-modal__form-group input::placeholder {
  color: #64748b;
}
.payment-config-modal__form-group small {
  display: block;
  margin-top: 0.5rem;
  color: #94a3b8;
  font-size: 0.75rem;
  font-style: italic;
}
.payment-config-modal__status {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.payment-config-modal__status.success {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  border: 1px solid #10b981;
}
.payment-config-modal__status.error {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid #ef4444;
}
.payment-config-modal__footer {
  background: #475569;
  border-top: 2px solid #3b82f6;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
}
@media (max-width: 639px) {
  .payment-config-modal__footer {
    flex-direction: column-reverse;
  }
}
.payment-config-modal__btn-cancel, .payment-config-modal__btn-connect {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 250ms ease-in-out;
  cursor: pointer;
  border: 2px solid transparent;
}
@media (max-width: 639px) {
  .payment-config-modal__btn-cancel, .payment-config-modal__btn-connect {
    width: 100%;
  }
}
.payment-config-modal__btn-cancel {
  background: #64748b;
  border-color: #64748b;
  color: #ffffff;
}
.payment-config-modal__btn-cancel:hover {
  background: #475569;
  border-color: #475569;
}
.payment-config-modal__btn-connect {
  background: #F49609;
  border-color: #F49609;
  color: #ffffff;
}
.payment-config-modal__btn-connect:hover {
  background: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  border-color: rgb(204.6513833992, 125.8102766798, 7.5486166008);
  box-shadow: 0 4px 12px rgba(244, 150, 9, 0.3);
  transform: translateY(-1px);
}
.payment-config-modal__btn-connect:active {
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.time-input,
input[data-time-24h=true] {
  font-feature-settings: "tnum";
  letter-spacing: 0.05em;
  width: auto;
  min-width: 120px;
}
.time-input::placeholder,
input[data-time-24h=true]::placeholder {
  font-size: 0.875rem;
  opacity: 0.5;
}

.gradient-position-control {
  margin-top: 0.5rem;
}

.gradient-position-label {
  font-size: 0.875rem;
  color: #64748b;
}

.gradient-button-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.range-input-full {
  width: 100%;
}

.form-actions-end {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.address-lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .address-lines-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .address-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1024px) {
  .address-grid {
    grid-template-columns: 2fr 1.5fr 1.5fr 2fr;
  }
  .address-grid .form-group:nth-child(1) {
    grid-column: span 1;
  }
  .address-grid .form-group:nth-child(2) {
    grid-column: span 1;
  }
  .address-grid .form-group:nth-child(3) {
    grid-column: span 1;
  }
  .address-grid .form-group:nth-child(4) {
    grid-column: span 1;
  }
}

.coordinates-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
}
@media (min-width: 640px) {
  .coordinates-group {
    grid-template-columns: 1fr 1fr auto;
  }
}
.coordinates-group .form-group {
  margin-bottom: 0;
}
.coordinates-group button[type=button] {
  white-space: nowrap;
}
@media (max-width: 639px) {
  .coordinates-group button[type=button] {
    width: 100%;
    margin-top: 0.75rem;
  }
}

#country {
  max-height: 400px;
  overflow-y: auto;
}
#country optgroup {
  font-weight: 600;
  color: #64748b;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
}
#country optgroup option {
  font-weight: 400;
  color: #1e293b;
  padding-left: 1rem;
}

.email-info-box {
  margin: 2rem 0;
  background: #dbeafe;
  border: 1px solid #93c5fd;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
}
.email-info-box i {
  color: #3b82f6;
  font-size: 20px;
  flex-shrink: 0;
}
.email-info-box > div {
  flex: 1;
}
.email-info-box strong {
  color: #1e40af;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.email-info-box p {
  color: #1e3a8a;
  margin: 0;
  line-height: 1.5;
  font-size: 0.875rem;
}

.sms-warning-box {
  margin: 2rem 0;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 0.5rem;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
}
.sms-warning-box i {
  color: #f59e0b;
  font-size: 20px;
  flex-shrink: 0;
}
.sms-warning-box > div {
  flex: 1;
}
.sms-warning-box strong {
  color: #92400e;
  display: block;
  margin-bottom: 0.25rem;
  font-weight: 600;
}
.sms-warning-box p {
  color: #78350f;
  margin: 0;
  line-height: 1.5;
  font-size: 0.875rem;
}

.settings-accordion {
  margin-top: 1.5rem;
}
.settings-accordion summary {
  cursor: pointer;
  padding: 0.75rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  user-select: none;
}
.settings-accordion summary i {
  transition: transform 0.2s ease;
}
.settings-accordion summary strong {
  font-weight: 600;
}
.settings-accordion[open] summary i {
  transform: rotate(90deg);
}
.settings-accordion > div {
  padding: 1.25rem;
  border: 1px solid #e2e8f0;
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  background: #f8fafc;
}

.alert {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.75rem;
}
.alert--success {
  background: #d1fae5;
  border: 1px solid #6ee7b7;
}
.alert--success i {
  color: #059669;
}
.alert--error {
  background: #fee2e2;
  border: 1px solid #fca5a5;
}
.alert--error i {
  color: #dc2626;
}
.alert--warning {
  background: #fef3c7;
  border: 1px solid #fbbf24;
}
.alert--warning i {
  color: #f59e0b;
}

.button-group {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.button-group .btn {
  flex: 0 1 auto;
  min-width: auto;
}

.form-input-static {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 0.75rem;
  background: #f1f5f9;
  border-radius: 0.5rem;
  color: #475569;
}
.form-input-static i {
  margin-right: 0.5rem;
}

.form-group--button-bottom {
  display: flex;
  align-items: flex-end;
}
.form-group--button-bottom .btn {
  width: 100%;
}

.tags-input-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.tags-input-container:focus-within {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-input {
  flex: 1;
  min-width: 150px;
  background: transparent;
  border: none;
  color: #f8fafc;
  font-size: 1rem;
  padding: 0.25rem 0;
}
.tags-input:focus {
  outline: none;
}
.tags-input::placeholder {
  color: #64748b;
}

.settings-page .keyword-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  background: linear-gradient(135deg, #2563eb, #64748b);
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 500;
  animation: tagFadeIn 0.2s ease-out;
}
.settings-page .keyword-tag__text {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.settings-page .keyword-tag__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease;
}
.settings-page .keyword-tag__remove:hover {
  background: rgba(255, 255, 255, 0.3);
}
.settings-page .keyword-tag__remove i {
  font-size: 10px;
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.settings-page .form-group .form-input,
.settings-page .form-group .form-select,
.settings-page .form-group .form-textarea,
.settings-page .settings-section .form-input,
.settings-page .settings-section .form-select,
.settings-page .settings-section .form-textarea,
.settings-page .settings-grid .form-input,
.settings-page .settings-grid .form-select,
.settings-page .settings-grid .form-textarea {
  background: #0f172a;
  background-color: #0f172a;
  border: 1px solid #334155;
  color: #f8fafc;
}
.settings-page .language-selector__header {
  background: #0f172a;
  border-color: #334155;
}
.settings-page .custom-dropdown-display {
  background: #0f172a;
  border-color: #334155;
}

.reservations-container {
  padding: 2rem;
  background: #0f172a;
  min-height: calc(100vh - 4rem);
}

@media (max-width: 767px) {
  .reservations-container {
    padding: 1rem;
  }
}
.reservations-header {
  background: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}

.reservations-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
  .reservations-header__top {
    flex-direction: column;
  }
}
.reservations-header__info {
  flex: 1;
}

.reservations-header__date {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reservations-header__day {
  font-size: 1rem;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reservations-header__full-date {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}

.reservations-header__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.reservations-header__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.reservations-header__stat i {
  font-size: 1.125rem;
  color: #94a3b8;
}

.reservations-header__stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
}

.reservations-header__stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reservations-header__stat--confirmed i {
  color: #10b981;
}

.reservations-header__stat--pending i {
  color: #f59e0b;
}

.reservations-header__stat--seated i {
  color: #3b82f6;
}

.reservations-header__actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 639px) {
  .reservations-header__actions {
    width: 100%;
  }
  .reservations-header__actions .btn {
    flex: 1;
  }
}
.reservations-header__date-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}

.reservations-header__date-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__date-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
  transform: translateY(-1px);
}

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

.reservations-header__calendar {
  min-width: 200px;
}

.reservations-header__calendar-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__calendar-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
}

.reservations-header__calendar-btn i {
  color: #3b82f6;
}

.reservations-header__today-btn {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #3b82f6;
  color: #3b82f6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__today-btn:hover {
  background: #3b82f6;
  color: #ffffff;
}

.reservations-controls {
  background: #1e293b;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .reservations-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.reservations-controls__filters {
  display: flex;
  gap: 1rem;
  flex: 1;
  flex-wrap: wrap;
}

.reservations-controls__view {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reservations-controls__view-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 600;
}

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

.filter-group__label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

.filter-group__select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b92a8' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.filter-group__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-group__select:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.filter-group--search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.filter-group--search i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.filter-group__search {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.filter-group__search::placeholder {
  color: #94a3b8;
}

.filter-group__search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.view-switcher {
  display: flex;
  background: #1e293b;
  border-radius: 8px;
  padding: 2px;
  border: 1px solid #334155;
}

.view-switcher__btn {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.view-switcher__btn:hover:not(.view-switcher__btn--active) {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
}

.view-switcher__btn--active {
  background: #1e293b;
  color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-switcher__btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 0.75rem;
  background: rgba(20, 25, 31, 0.95);
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: tooltipFade 0.2s ease-in;
}

.view-switcher__btn[title]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid rgba(0, 0, 0, 0);
  border-top-color: rgba(20, 25, 31, 0.95);
  margin-bottom: -5px;
  pointer-events: none;
  z-index: 1001;
  animation: tooltipFade 0.2s ease-in;
}

.reservations-display {
  background: #1e293b;
  border-radius: 12px;
  border: 1px solid #334155;
  min-height: 500px;
  overflow: hidden;
}

.reservations-timeline {
  height: calc(100vh - 280px);
  overflow: hidden;
  background: #0f172a;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 100%;
  gap: 0;
}

.timeline-axis {
  background: linear-gradient(180deg, rgba(15, 18, 23, 0.98) 0%, rgba(18, 22, 28, 0.95) 100%);
  border-right: 1px solid hsla(0, 0%, 100%, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.timeline-axis__current {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
}

.timeline-axis__now {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.timeline-axis__time {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
}

.timeline-axis__slots {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.timeline-axis__slots::-webkit-scrollbar {
  width: 3px;
}

.timeline-axis__slots::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.timeline-axis__slots::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 3px;
}

.time-slot-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.875rem 0.75rem;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  margin-bottom: 0.25rem;
}

.time-slot-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: #3b82f6;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.time-slot-btn:hover {
  background: hsla(0, 0%, 100%, 0.03);
  color: #f1f5f9;
}

.time-slot-btn--active {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
}

.time-slot-btn--active::before {
  height: 70%;
}

.time-slot-btn--active .time-slot-btn__hour {
  font-weight: 600;
}

.time-slot-btn--has-items .time-slot-btn__indicator {
  background: #334155;
  color: #f1f5f9;
  font-weight: 600;
}

.time-slot-btn__hour {
  font-size: 0.8125rem;
  font-weight: 500;
}

.time-slot-btn__indicator {
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border-radius: 12px;
  font-size: 0.6875rem;
  transition: all 0.15s ease;
}

.pulse {
  display: block;
  width: 8px;
  height: 8px;
  background: #3b82f6;
  border-radius: 50%;
  position: relative;
}

.pulse::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  border: 2px solid #3b82f6;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
  }
}
.timeline-main {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.timeline-content-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(180deg, rgba(20, 25, 31, 0.98) 0%, rgba(22, 27, 34, 0.95) 100%);
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
}

.timeline-content-header__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
}

.timeline-content-header__stats {
  display: flex;
  gap: 0.75rem;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background: hsla(0, 0%, 100%, 0.03);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  border-radius: 16px;
  font-size: 0.75rem;
}

.stat-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.stat-pill__text {
  color: #94a3b8;
}

.stat-pill--confirmed .stat-pill__dot {
  background: #10b981;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.5);
}

.stat-pill--pending .stat-pill__dot {
  background: #f59e0b;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.5);
}

.stat-pill--seated .stat-pill__dot {
  background: #3b82f6;
  box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.stat-pill--waitlist .stat-pill__dot {
  background: #2D2E88;
  box-shadow: 0 0 6px rgba(168, 85, 247, 0.5);
}

.timeline-grid {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
  align-content: start;
}

.timeline-grid::-webkit-scrollbar {
  width: 6px;
}

.timeline-grid::-webkit-scrollbar-track {
  background: hsla(0, 0%, 100%, 0.02);
}

.timeline-grid::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}

.timeline-grid::-webkit-scrollbar-thumb:hover {
  background: hsla(0, 0%, 100%, 0.12);
}

.res-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.res-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.res-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: hsla(0, 0%, 100%, 0.1);
}

.res-card:hover::before {
  opacity: 1;
}

.res-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.04);
}

.res-card__menu {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #94a3b8;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.res-card__menu:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: #f1f5f9;
}

.res-card__body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.res-card__name {
  margin: 0 0 0.25rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #f1f5f9;
}

.res-card__time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 400;
}

.res-card__time i {
  font-size: 0.75rem;
  opacity: 0.7;
}

.res-card__details {
  display: flex;
  gap: 1rem;
  padding-top: 0.5rem;
}

.res-card__contact {
  display: flex;
  gap: 0.5rem;
  padding-top: 0.5rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  color: #e2e8f0;
}

.detail-item i {
  font-size: 0.75rem;
  opacity: 0.6;
}

.res-card__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.375rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}
.res-card__info i {
  font-size: 0.75rem;
  opacity: 0.5;
  min-width: 14px;
}
.res-card__info span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsla(0, 0%, 100%, 0.03);
  border: 1px solid hsla(0, 0%, 100%, 0.06);
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
}

.contact-btn:hover {
  background: hsla(0, 0%, 100%, 0.06);
  border-color: hsla(0, 0%, 100%, 0.1);
  color: #f1f5f9;
}

.res-card__timer {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
  border-radius: 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  width: fit-content;
}

.res-card__timer i {
  font-size: 0.75rem;
}

.res-card__footer {
  padding: 0 1.25rem 1.25rem;
}

.res-card__action {
  width: 100%;
  padding: 0.625rem 1rem;
  border-radius: 10px;
  border: none;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.res-card__action i {
  font-size: 0.75rem;
}

.res-card__action--seat {
  background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
  color: #ffffff;
}

.res-card__action--seat:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.res-card__action--confirm {
  background: linear-gradient(135deg, #10b981 0%, rgb(26.4935064935, 153.5064935065, 73.2467532468) 100%);
  color: #ffffff;
}

.res-card__action--confirm:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.res-card__action--complete {
  background: linear-gradient(135deg, #2D2E88 0%, rgb(25.9806629834, 26.5580110497, 78.5193370166) 100%);
  color: #ffffff;
  border: none;
}

.res-card__action--complete:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(45, 46, 136, 0.4);
}

.res-card__action--complete:disabled,
.res-card__action--complete[disabled] {
  background: #334155;
  color: #94a3b8;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  opacity: 0.7;
}

.res-card__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 3rem;
  color: hsla(0, 0%, 100%, 0.3);
  cursor: pointer;
  transition: all 0.15s ease;
}

.res-card__empty i {
  font-size: 2rem;
}

.res-card__empty:hover {
  color: hsla(0, 0%, 100%, 0.5);
}

.res-card--empty {
  border-style: dashed;
  background: rgba(0, 0, 0, 0);
}

.res-card--empty:hover {
  border-color: hsla(0, 0%, 100%, 0.15);
  background: hsla(0, 0%, 100%, 0.02);
}

.reservations-container {
  padding: 2rem;
  background: #0f172a;
  min-height: calc(100vh - 4rem);
}

@media (max-width: 767px) {
  .reservations-container {
    padding: 1rem;
  }
}
.reservations-header {
  background: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}

.reservations-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1023px) {
  .reservations-header__top {
    flex-direction: column;
  }
}
.reservations-header__info {
  flex: 1;
}

.reservations-header__date {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 1rem;
}

.reservations-header__day {
  font-size: 1rem;
  font-weight: 600;
  color: #3b82f6;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reservations-header__full-date {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f1f5f9;
}

.reservations-header__stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.reservations-header__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
}

.reservations-header__stat i {
  font-size: 1.125rem;
  color: #94a3b8;
}

.reservations-header__stat-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
}

.reservations-header__stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reservations-header__stat--confirmed i {
  color: #10b981;
}

.reservations-header__stat--pending i {
  color: #f59e0b;
}

.reservations-header__stat--seated i {
  color: #3b82f6;
}

.reservations-header__actions {
  display: flex;
  gap: 1rem;
}

@media (max-width: 639px) {
  .reservations-header__actions {
    width: 100%;
  }
  .reservations-header__actions .btn {
    flex: 1;
  }
}
.reservations-header__date-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}

.reservations-header__date-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__date-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
  transform: translateY(-1px);
}

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

.reservations-header__calendar {
  min-width: 200px;
}

.reservations-header__calendar-btn {
  width: 100%;
  padding: 0.5rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__calendar-btn:hover {
  background: rgba(37, 99, 235, 0.1);
  border-color: #3b82f6;
}

.reservations-header__calendar-btn i {
  color: #3b82f6;
}

.reservations-header__today-btn {
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0);
  border: 1px solid #3b82f6;
  color: #3b82f6;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.reservations-header__today-btn:hover {
  background: #3b82f6;
  color: #ffffff;
}

.reservations-controls {
  background: #1e293b;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .reservations-controls {
    flex-direction: column;
    align-items: stretch;
  }
}
.reservations-controls__filters {
  display: flex;
  gap: 1rem;
  flex: 1;
  flex-wrap: wrap;
}

.reservations-controls__view {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.reservations-controls__view-label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 600;
}

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

.filter-group__label {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 500;
}

.filter-group__select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b92a8' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.5rem center;
  background-size: 1rem;
}

.filter-group__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.filter-group__select:hover {
  background-color: rgba(37, 99, 235, 0.1);
}

.filter-group--search {
  position: relative;
  flex: 1;
  min-width: 200px;
}

.filter-group--search i {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.filter-group__search {
  width: 100%;
  padding: 0.5rem 2.5rem 0.5rem 0.75rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 6px;
  color: #f1f5f9;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.filter-group__search::placeholder {
  color: #94a3b8;
}

.filter-group__search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.view-switcher {
  display: flex;
  background: #1e293b;
  border-radius: 8px;
  padding: 2px;
  border: 1px solid #334155;
}

.view-switcher__btn {
  width: 36px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 6px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.view-switcher__btn:hover:not(.view-switcher__btn--active) {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
}

.view-switcher__btn--active {
  background: #1e293b;
  color: #3b82f6;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.view-switcher__btn[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem 0.75rem;
  background: rgba(20, 25, 31, 0.95);
  color: #f1f5f9;
  border: 1px solid #334155;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1000;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: tooltipFade 0.2s ease-in;
}

.view-switcher__btn[title]:hover::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid rgba(0, 0, 0, 0);
  border-top-color: rgba(20, 25, 31, 0.95);
  margin-bottom: -5px;
  pointer-events: none;
  z-index: 1001;
  animation: tooltipFade 0.2s ease-in;
}

.reservations-display {
  background: #1e293b;
  border-radius: 12px;
  border: 1px solid #334155;
  min-height: 500px;
  overflow: hidden;
}

.reservations-timeline {
  height: calc(100vh - 280px);
  overflow: hidden;
  background: #0f172a;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 140px 1fr;
  height: 100%;
  gap: 0;
}

.timeline-axis {
  background: linear-gradient(180deg, rgba(15, 18, 23, 0.98) 0%, rgba(18, 22, 28, 0.95) 100%);
  border-right: 1px solid hsla(0, 0%, 100%, 0.04);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.timeline-axis__current {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
  text-align: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, transparent 100%);
}

.timeline-axis__now {
  display: block;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.timeline-axis__time {
  display: block;
  font-size: 1.125rem;
  font-weight: 600;
  color: #f1f5f9;
}

.timeline-axis__slots {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
}

.timeline-axis__slots::-webkit-scrollbar {
  width: 3px;
}

.timeline-axis__slots::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0);
}

.timeline-axis__slots::-webkit-scrollbar-thumb {
  background: hsla(0, 0%, 100%, 0.1);
  border-radius: 3px;
}

.time-slot-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.875rem 0.75rem;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  margin-bottom: 0.25rem;
}

.time-slot-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: #3b82f6;
  border-radius: 2px;
  transition: height 0.2s ease;
}

.time-slot-btn:hover {
  background: hsla(0, 0%, 100%, 0.03);
  color: #f1f5f9;
}

.time-slot-btn--active {
  background: rgba(37, 99, 235, 0.1);
  color: #3b82f6;
}

.time-slot-btn--active::before {
  height: 70%;
}

.time-slot-btn--active .time-slot-btn__hour {
  font-weight: 600;
}

.time-slot-btn--has-items .time-slot-btn__indicator {
  background: #334155;
  color: #f1f5f9;
  font-weight: 600;
}

.reservation-block {
  position: absolute;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.reservation-block:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.reservation-block--confirmed {
  border-left: 3px solid #10b981;
}

.reservation-block--pending {
  border-left: 3px solid #f59e0b;
}

.reservation-block--seated {
  border-left: 3px solid #60a5fa;
}

.reservation-block--completed {
  border-left: 3px solid #818cf8;
}

.reservation-block--cancelled {
  border-left: 3px solid #ef4444;
  opacity: 0.6;
}

.reservation-block__time {
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.25rem;
}

.reservation-block__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.reservation-block__details {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  gap: 0.75rem;
}

.reservation-block__details i {
  font-size: 0.625rem;
}

.reservations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.reservations-list {
  padding: 0;
}

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

.reservations-table thead {
  background: #1e293b;
  border-bottom: 1px solid #334155;
}

.reservations-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.reservations-table tbody tr {
  border-bottom: 1px solid #334155;
  transition: background-color 0.2s ease;
}

.reservations-table tbody tr:hover {
  background: rgba(37, 99, 235, 0.1);
}

.reservations-table td {
  padding: 1rem 1.5rem;
  color: #f1f5f9;
  font-size: 0.875rem;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  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: 44px;
}

.btn--primary {
  background: linear-gradient(135deg, #3b82f6, #3b82f6);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #3b82f6, #3b82f6);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(37, 99, 235, 0.45), inset 0 1px 0 hsla(0, 0%, 100%, 0.15);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px 0 rgba(37, 99, 235, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.btn--primary:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25), 0 4px 14px 0 rgba(37, 99, 235, 0.35);
}

.btn--secondary {
  background: #334155;
  color: #f1f5f9;
  border: 1.5px solid hsla(0, 0%, 100%, 0.12);
}

body:not(.campaign-creation-page) .btn--secondary:hover {
  background: hsla(0, 0%, 100%, 0.12);
  border-color: hsla(0, 0%, 100%, 0.2);
  transform: translateY(-1px);
}

.btn--secondary:active {
  transform: translateY(0);
  background: hsla(0, 0%, 100%, 0.06);
}

.btn--secondary:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(0, 0%, 100%, 0.1);
}

.btn--ghost {
  background: rgba(0, 0, 0, 0);
  color: #94a3b8;
  border: 1.5px solid rgba(0, 0, 0, 0);
}

.btn--ghost:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: #f1f5f9;
}

.btn--ghost:focus {
  outline: none;
  box-shadow: 0 0 0 3px hsla(0, 0%, 100%, 0.05);
}

.btn--success {
  background: linear-gradient(135deg, #10b981, #10b981);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(34, 197, 94, 0.35), inset 0 1px 0 hsla(0, 0%, 100%, 0.1);
}

.btn--success:hover {
  background: linear-gradient(135deg, #10b981, #10b981);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px 0 rgba(34, 197, 94, 0.45), inset 0 1px 0 hsla(0, 0%, 100%, 0.15);
}

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

.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-height: 36px;
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  min-height: 52px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn--loading {
  color: rgba(0, 0, 0, 0);
}

.btn--loading::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  margin: auto;
  border: 2px solid rgba(0, 0, 0, 0);
  border-radius: 50%;
  border-top-color: #fff;
  animation: button-loading-spinner 1s ease infinite;
}

.btn i {
  font-size: 1rem;
}

@keyframes button-loading-spinner {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge--confirmed {
  background: rgba(34, 197, 94, 0.2);
  color: #10b981;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge--pending {
  background: rgba(251, 191, 36, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge--seated {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.status-badge--completed {
  background: rgba(129, 140, 248, 0.2);
  color: #818cf8;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.status-badge--cancelled {
  background: rgba(248, 113, 113, 0.2);
  color: #ef4444;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.reservation-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 639px) {
  .reservation-form .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.reservation-form .form-group {
  margin-bottom: 0;
  position: relative;
}

.reservation-form .form-group label {
  display: block;
  margin-bottom: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.reservation-form .form-group label .required,
.reservation-form .form-group label:after {
  color: #f59e0b;
  font-weight: 700;
  margin-left: 2px;
}

.reservation-form .form-group input,
.reservation-form .form-group select,
.reservation-form .form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(15, 20, 25, 0.5);
  border: 1.5px solid #334155;
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reservation-form .form-group input:hover,
.reservation-form .form-group select:hover,
.reservation-form .form-group textarea:hover {
  background: rgba(15, 20, 25, 0.7);
  border-color: hsla(0, 0%, 100%, 0.12);
}

.reservation-form .form-group input:focus,
.reservation-form .form-group select:focus,
.reservation-form .form-group textarea:focus {
  outline: none;
  background: rgba(15, 20, 25, 0.9);
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.reservation-form .form-group input::placeholder,
.reservation-form .form-group select::placeholder,
.reservation-form .form-group textarea::placeholder {
  color: rgba(156, 163, 175, 0.5);
  font-weight: 400;
}

.reservation-form .form-group input.is-valid,
.reservation-form .form-group select.is-valid,
.reservation-form .form-group textarea.is-valid {
  border-color: #10b981;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2310b981' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
}

.reservation-form .form-group input.is-invalid,
.reservation-form .form-group select.is-invalid,
.reservation-form .form-group textarea.is-invalid {
  border-color: #ef4444;
}

.reservation-form .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%238b92a8' viewBox='0 0 20 20'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.reservation-form .form-group textarea {
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  line-height: 1.5;
}

.reservation-form .form-group.has-icon input {
  padding-left: 2.75rem;
}

.reservation-form .form-group.has-icon .form-icon {
  position: absolute;
  left: 1rem;
  top: 2.625rem;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.2s;
}

.reservation-form .form-group.has-icon input:focus ~ .form-icon {
  color: #3b82f6;
}

.reservation-form .form-group input[type=date] {
  cursor: pointer;
  position: relative;
}

.reservation-form .form-group input[type=date]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  border-radius: 4px;
  padding: 4px;
  background: hsla(0, 0%, 100%, 0.1);
  transition: background 0.2s;
}

.reservation-form .form-group input[type=date]::-webkit-calendar-picker-indicator:hover {
  background: hsla(0, 0%, 100%, 0.15);
}

.reservation-form .form-text {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 0.375rem;
}

.reservation-form .form-error {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.375rem;
  display: none;
}

.is-invalid ~ .reservation-form .form-error {
  display: block;
}

.reservation-form .party-size-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.reservation-form .party-size-custom {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(15, 20, 25, 0.5);
  border: 1.5px solid #334155;
  border-radius: 12px;
  color: #f1f5f9;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slideIn 0.3s ease-out;
}

.reservation-form .party-size-custom:hover {
  background: rgba(15, 20, 25, 0.7);
  border-color: hsla(0, 0%, 100%, 0.12);
}

.reservation-form .party-size-custom:focus {
  outline: none;
  background: rgba(15, 20, 25, 0.9);
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.reservation-form .party-size-custom::placeholder {
  color: rgba(156, 163, 175, 0.5);
  font-weight: 400;
}

.reservation-form .party-size-custom::-webkit-outer-spin-button,
.reservation-form .party-size-custom::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.reservation-form .party-size-custom[type=number] {
  -moz-appearance: textfield;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 1023px) {
  .reservations-container {
    padding: 1.5rem;
  }
  .timeline-header__times {
    overflow-x: auto;
    min-width: 800px;
  }
  .timeline-body {
    overflow-x: auto;
    min-width: 800px;
  }
}
@media (max-width: 767px) {
  .reservations-header__stats {
    gap: 1rem;
  }
  .reservations-header__stat-value {
    font-size: 1.125rem;
  }
  .reservations-controls__filters {
    flex-direction: column;
  }
  .filter-group {
    width: 100%;
  }
  .filter-group__select,
  .filter-group__search {
    width: 100%;
  }
}
@media (max-width: 639px) {
  .reservations-header__full-date {
    font-size: 1.25rem;
  }
  .reservations-header__date-nav {
    flex-wrap: wrap;
  }
  .reservations-header__calendar {
    min-width: 100%;
    order: -1;
    margin-bottom: 1rem;
  }
  .reservations-grid {
    grid-template-columns: 1fr;
  }
}
@keyframes tooltipFade {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
.res-card__menu-wrapper {
  position: relative;
}

.res-card__dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  background: #1e293b;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  margin-top: 8px;
  padding: 8px;
}

.res-card__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.res-card__dropdown .dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0);
  border: none;
  color: #f1f5f9;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.res-card__dropdown .dropdown-item i {
  width: 16px;
  text-align: center;
  opacity: 0.7;
}

.res-card__dropdown .dropdown-item:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: #fff;
}

.res-card__dropdown .dropdown-item:hover i {
  opacity: 1;
}

.res-card__dropdown .dropdown-item--danger {
  color: #ef4444;
}

.res-card__dropdown .dropdown-item--danger:hover {
  background: rgba(248, 113, 113, 0.1);
  color: #ff6b6b;
}

.res-card__dropdown .dropdown-divider {
  height: 1px;
  background: #334155;
  margin: 8px 0;
  border: none;
}

.status-badge {
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-badge--confirmed {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge--pending {
  background: rgba(251, 191, 36, 0.15);
  color: #fde047;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-badge--seated {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.status-badge--completed {
  background: rgba(129, 140, 248, 0.15);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.3);
}

.status-badge--cancelled {
  background: rgba(248, 113, 113, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.status-badge--waitlist {
  background: rgba(251, 146, 60, 0.2);
  color: #fed7aa;
  border: 1px solid rgba(251, 146, 60, 0.4);
  font-weight: 700;
}

.res-card--waitlist .res-card__header {
  background: rgba(251, 146, 60, 0.05);
}

.res-card--waitlist::before {
  background: linear-gradient(90deg, #F49609, #f97316);
  opacity: 0.8;
}

.res-card--waitlist .status-badge--waitlist {
  box-shadow: 0 2px 4px rgba(251, 146, 60, 0.2);
}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  min-width: 300px;
  max-width: 400px;
  background: #1e293b;
  border: 1px solid hsla(0, 0%, 100%, 0.1);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification__content {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  color: #f1f5f9;
  font-size: 14px;
}

.notification__content i {
  font-size: 20px;
}

.notification--success {
  border-left: 4px solid #10b981;
}

.notification--success i {
  color: #10b981;
}

.notification--error {
  border-left: 4px solid #ef4444;
}

.notification--error i {
  color: #ef4444;
}

.notification--info {
  border-left: 4px solid #60a5fa;
}

.notification--info i {
  color: #60a5fa;
}

.modal__dialog--small {
  max-width: 400px;
}

.reservation-summary {
  background: hsla(0, 0%, 100%, 0.03);
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 12px;
  margin: 16px 0;
  font-size: 14px;
  line-height: 1.6;
}

.text-warning {
  color: #f59e0b;
  font-size: 13px;
  margin-top: 16px;
}

.text-warning i {
  margin-right: 8px;
}

.menu-upload-page {
  background: #0f172a;
  min-height: 100vh;
}

.menu-upload-page .admin-main {
  transition: margin-left 0.3s ease;
}

.menu-upload-page .admin-main.sidebar-collapsed.sidebar-docked-left {
  margin-left: 80px !important;
}

.menu-upload-page .admin-main.sidebar-floating {
  margin-left: 0 !important;
}

.menu-upload-page .upload-header {
  background: #0f172a;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid #334155;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}
.menu-upload-page .upload-header__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header__top {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
}
.menu-upload-page .upload-header__info {
  flex: 1;
  min-width: 0;
}

.menu-upload-page .upload-header__badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 16px;
  margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header__badge {
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    margin-bottom: 0.5rem;
  }
}
.menu-upload-page .upload-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header__title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .upload-header__title {
    font-size: 1.125rem;
  }
}
.menu-upload-page .upload-header__subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0;
  line-height: 1.5;
  max-width: 100%;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header__subtitle {
    font-size: 0.875rem;
    line-height: 1.4;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .upload-header__subtitle {
    font-size: 0.8125rem;
  }
}
.menu-upload-page .upload-header__actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-header__actions {
    justify-content: stretch;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .upload-header__actions {
    flex-direction: column;
    gap: 0.5rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .upload-header__actions .btn {
    flex: 1;
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .upload-header__actions .btn {
    width: 100%;
  }
}
.menu-upload-page .menu-upload-container {
  width: 100%;
  max-width: 100%;
  padding: 2rem;
  transition: all 0.3s ease;
}

.sidebar-docked-left .menu-upload-page .menu-upload-container {
  margin-left: 0;
}

.sidebar-collapsed .menu-upload-page .menu-upload-container {
  margin-left: 0;
}

@media (max-width: 768px) {
  .menu-upload-page .menu-upload-container {
    padding: 1rem;
  }
}
@media (max-width: 640px) {
  .menu-upload-page .menu-upload-container {
    padding: 0.75rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .menu-upload-container {
    padding: 0.5rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header {
    padding: 0.75rem;
    gap: 0.75rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header__left {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header__title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__title {
    font-size: 1.25rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header__breadcrumb {
    justify-content: center;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__breadcrumb {
    font-size: 0.875rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header__right {
    width: 100%;
    justify-content: center;
    gap: 1rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__right {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .admin-header__search {
    flex: 1;
    max-width: 300px;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__search {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__user {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
}
@media (max-width: 480px) {
  .menu-upload-page .admin-header__notifications {
    order: -1;
  }
}
.menu-upload-page .upload-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  background: #0f172a;
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.menu-upload-page .upload-steps::before {
  content: "";
  position: absolute;
  top: 40px;
  left: 20%;
  right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #3b82f6 20%, #3b82f6 80%, transparent 100%);
}

@media (max-width: 768px) {
  .menu-upload-page .upload-steps {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem;
  }
  .menu-upload-page .upload-steps::before {
    display: none;
  }
}
@media (max-width: 640px) {
  .menu-upload-page .upload-steps {
    padding: 1rem;
  }
}
.menu-upload-page .upload-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.menu-upload-page .upload-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 50%;
  font-size: 1.25rem;
  font-weight: 700;
  color: #cbd5e1;
  margin: 0 auto 1rem;
  transition: all 0.3s;
}

.menu-upload-page .upload-step__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 0.5rem;
}

.menu-upload-page .upload-step__desc {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin: 0;
}

.menu-upload-page .upload-step--active .upload-step__number {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.menu-upload-page .upload-step--active .upload-step__title {
  color: #3b82f6;
}

.menu-upload-page .upload-area {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 1024px) {
  .menu-upload-page .upload-area {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .upload-area {
    gap: 0.75rem;
  }
}
.menu-upload-page .upload-zone {
  background: #1e293b;
  border: 2px dashed #334155;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
  padding: 2rem 1.5rem;
  flex: 1;
  max-width: 500px;
}

@media (max-width: 1024px) {
  .menu-upload-page .upload-zone {
    max-width: 100%;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .menu-upload-page .upload-zone {
    padding: 1.5rem 1rem;
  }
}
.menu-upload-page .upload-zone:hover,
.menu-upload-page .upload-zone--highlight {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.menu-upload-page .upload-zone:hover .upload-zone__icon,
.menu-upload-page .upload-zone--highlight .upload-zone__icon {
  transform: scale(1.1);
}

.menu-upload-page .upload-zone__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.menu-upload-page .upload-zone__content {
  text-align: center;
  z-index: 1;
}

.menu-upload-page .upload-zone__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #2563eb 0%, #2D2E88 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
  transition: transform 0.3s;
}

.menu-upload-page .upload-zone__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.75rem;
}

.menu-upload-page .upload-zone__text {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0 0 1.5rem;
}

.menu-upload-page .upload-zone__formats {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.menu-upload-page .upload-zone__format {
  padding: 0.375rem 0.75rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

.menu-upload-page .upload-zone__buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 640px) {
  .menu-upload-page .upload-zone__buttons {
    flex-direction: column;
    align-items: center;
  }
  .menu-upload-page .upload-zone__buttons .upload-zone__btn {
    width: 100%;
    max-width: 200px;
  }
}
.menu-upload-page .upload-zone__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  color: #f8fafc;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.menu-upload-page .upload-zone__btn i {
  font-size: 1rem;
}

.menu-upload-page .upload-zone__btn:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  transform: translateY(-2px);
}

.menu-upload-page .upload-zone__btn--camera {
  border-color: rgba(245, 158, 11, 0.3);
}

.menu-upload-page .upload-zone__btn--camera i {
  color: #f59e0b;
}

.menu-upload-page .upload-zone__btn--camera:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
}

.menu-upload-page .upload-zone__btn--gallery {
  border-color: rgba(16, 185, 129, 0.3);
}

.menu-upload-page .upload-zone__btn--gallery i {
  color: #10b981;
}

.menu-upload-page .upload-zone__btn--gallery:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
}

.menu-upload-page .menu-preview {
  flex: 1;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .menu-upload-page .menu-preview {
    max-width: 100%;
    width: 100%;
  }
}
.menu-upload-page .menu-preview__device {
  width: 100%;
  flex: 1;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
}

.menu-upload-page .menu-preview__screen {
  background: #1e293b;
  border-radius: 0.75rem;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .menu-upload-page .menu-preview__screen {
    padding: 1rem;
  }
}
.menu-upload-page .menu-preview__header {
  text-align: center;
  margin-bottom: 2rem;
}

.menu-upload-page .menu-preview__header h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0;
}

.menu-upload-page .menu-preview__categories {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-upload-page .menu-category {
  background: hsla(0, 0%, 100%, 0.03);
  border: 1px solid #334155;
  padding: 1rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s;
}

.menu-upload-page .menu-category:hover {
  background: hsla(0, 0%, 100%, 0.05);
  border-color: rgba(59, 130, 246, 0.5);
}

.menu-upload-page .menu-category h5 {
  font-size: 1rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-upload-page .menu-category h5::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #cbd5e1;
  border-radius: 50%;
}

.menu-upload-page .menu-category__count {
  padding: 0.25rem 0.5rem;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #3b82f6;
}

.menu-upload-page .menu-category--filled {
  background: rgba(59, 130, 246, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.menu-upload-page .menu-category--filled h5::before {
  background: #10b981;
}

.menu-upload-page .menu-features {
  padding: 1.5rem;
  background: #1e293b;
  border-radius: 1rem;
  margin-top: auto;
}

.menu-upload-page .menu-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: hsla(0, 0%, 100%, 0.03);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  transition: all 0.3s;
}

.menu-upload-page .menu-feature:last-child {
  margin-bottom: 0;
}

.menu-upload-page .menu-feature i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.875rem;
}

.menu-upload-page .menu-feature span {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .menu-feature--active {
  background: rgba(16, 185, 129, 0.1);
}

.menu-upload-page .menu-feature--active i {
  background: #10b981;
  color: #ffffff;
}

.menu-upload-page .menu-feature--active span {
  color: #f8fafc;
  font-weight: 500;
}

.menu-upload-page .processing-status {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.menu-upload-page .processing-status--visible {
  display: flex;
}

.menu-upload-page .processing-status__content {
  text-align: center;
  max-width: 400px;
  padding: 3rem;
}

.menu-upload-page .processing-status__spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border: 3px solid #334155;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.menu-upload-page .processing-status__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem;
}

.menu-upload-page .processing-status__text {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0 0 2rem;
}

.menu-upload-page .processing-status__steps {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: left;
}

.menu-upload-page .processing-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
}

.menu-upload-page .processing-step:last-child {
  margin-bottom: 0;
}

.menu-upload-page .processing-step i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .processing-step span {
  flex: 1;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .processing-step--active {
  background: rgba(59, 130, 246, 0.1);
}

.menu-upload-page .processing-step--active i {
  background: #3b82f6;
  color: #ffffff;
}

.menu-upload-page .processing-step--active span {
  color: #f8fafc;
  font-weight: 500;
}

.menu-upload-page .processing-step--complete {
  background: rgba(16, 185, 129, 0.1);
}

.menu-upload-page .processing-step--complete i {
  background: #10b981;
  color: #ffffff;
}

.menu-upload-page .processing-step--complete span {
  color: #f8fafc;
}

.menu-upload-page .upload-success {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.menu-upload-page .upload-success--visible {
  display: flex;
}

.menu-upload-page .upload-success__content {
  text-align: center;
  max-width: 400px;
  padding: 3rem;
}

.menu-upload-page .upload-success__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  background: linear-gradient(135deg, #10b981, #10b981);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #ffffff;
}

.menu-upload-page .upload-success__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem;
}

.menu-upload-page .upload-success__text {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0 0 2rem;
  line-height: 1.5;
}

.menu-upload-page .upload-success__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.menu-upload-page .notification {
  position: fixed;
  top: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateX(500px);
  transition: transform 0.4s;
  z-index: 10000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.menu-upload-page .notification--visible {
  transform: translateX(0);
}

.menu-upload-page .notification--error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.menu-upload-page .notification--error i {
  color: #ef4444;
}

.menu-upload-page .notification--success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.menu-upload-page .notification--success i {
  color: #10b981;
}

.menu-upload-page .notification i {
  font-size: 1.25rem;
}

.menu-upload-page .notification span {
  flex: 1;
  font-weight: 500;
  color: #f8fafc;
}

.menu-upload-page .previous-uploads-section {
  margin-top: 3rem;
}

.menu-upload-page .previous-uploads-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 2rem;
}

@media (max-width: 768px) {
  .menu-upload-page .previous-uploads-header {
    flex-direction: column;
    align-items: stretch;
  }
}
.menu-upload-page .previous-uploads-header__left {
  flex: 1;
}

.menu-upload-page .previous-uploads-header__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.5rem;
}

.menu-upload-page .previous-uploads-header__subtitle {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0;
}

.menu-upload-page .previous-uploads-header__right {
  flex-shrink: 0;
}

.menu-upload-page .previous-uploads-header__stats {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .menu-upload-page .previous-uploads-header__stats {
    flex-direction: column;
    gap: 1rem;
  }
}
.menu-upload-page .upload-stat {
  text-align: center;
  padding: 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  min-width: 100px;
}

.menu-upload-page .upload-stat__value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.25rem;
}

.menu-upload-page .upload-stat__label {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .upload-stat--success {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.05);
}

.menu-upload-page .upload-stat--success .upload-stat__value {
  color: #10b981;
}

.menu-upload-page .upload-stat--pending {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

.menu-upload-page .upload-stat--pending .upload-stat__value {
  color: #f59e0b;
}

.menu-upload-page .upload-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  gap: 2rem;
}

@media (max-width: 768px) {
  .menu-upload-page .upload-filters {
    flex-direction: column;
    align-items: stretch;
  }
}
.menu-upload-page .upload-filters__left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex: 1;
}

@media (max-width: 640px) {
  .menu-upload-page .upload-filters__left {
    flex-direction: column;
    align-items: stretch;
  }
}
.menu-upload-page .upload-filters__right {
  flex-shrink: 0;
}

.menu-upload-page .filter-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.menu-upload-page .filter-group__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #cbd5e1;
  white-space: nowrap;
}

.menu-upload-page .filter-group__select {
  padding: 0.5rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #f8fafc;
  font-size: 0.875rem;
  min-width: 140px;
  cursor: pointer;
}

.menu-upload-page .filter-group__select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-upload-page .filter-group__search {
  padding: 0.5rem 1rem 0.5rem 2.5rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #f8fafc;
  font-size: 0.875rem;
  min-width: 200px;
  position: relative;
}

.menu-upload-page .filter-group__search:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.menu-upload-page .filter-group__search::placeholder {
  color: #a0aec0;
}

.menu-upload-page .filter-group--search {
  position: relative;
}

.menu-upload-page .filter-group--search i {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
  pointer-events: none;
}

.menu-upload-page .view-switcher {
  display: flex;
  gap: 0.25rem;
  background: #1e293b;
  padding: 0.25rem;
  border-radius: 0.5rem;
  border: 1px solid #334155;
}

.menu-upload-page .view-switcher__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-radius: 0.25rem;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-upload-page .view-switcher__btn:hover {
  color: #f8fafc;
  background: hsla(0, 0%, 100%, 0.05);
}

.menu-upload-page .view-switcher__btn--active {
  background: #3b82f6;
  color: #ffffff;
}

.menu-upload-page .view-switcher__btn--active:hover {
  background: #3b82f6;
  color: #ffffff;
}

.menu-upload-page .uploads-display {
  min-height: 400px;
}

.menu-upload-page .uploads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.menu-upload-page .uploads-list {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  overflow: hidden;
}

.menu-upload-page .uploads-list.d-none {
  display: none;
}

.menu-upload-page .uploads-table {
  width: 100%;
  border-collapse: collapse;
}

.menu-upload-page .uploads-table th,
.menu-upload-page .uploads-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #334155;
}

.menu-upload-page .uploads-table th {
  background: #1e293b;
  font-weight: 600;
  color: #f8fafc;
  font-size: 0.875rem;
}

.menu-upload-page .uploads-table td {
  color: #cbd5e1;
  font-size: 0.875rem;
}

.menu-upload-page .uploads-table tr:hover {
  background: hsla(0, 0%, 100%, 0.02);
}

.menu-upload-page .upload-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s;
  position: relative;
}

.menu-upload-page .upload-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(59, 130, 246, 0.3);
}

.menu-upload-page .upload-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.menu-upload-page .upload-card__status {
  flex: 1;
}

.menu-upload-page .upload-card__menu {
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.menu-upload-page .upload-card__menu:hover {
  background: hsla(0, 0%, 100%, 0.05);
  color: #f8fafc;
}

.menu-upload-page .upload-card__body {
  margin-bottom: 1.5rem;
}

.menu-upload-page .upload-card__preview {
  width: 48px;
  height: 48px;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  color: #cbd5e1;
}

.menu-upload-page .upload-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0 0 1rem;
}

.menu-upload-page .upload-card__details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.menu-upload-page .upload-card__processing-time,
.menu-upload-page .upload-card__progress {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
}

.menu-upload-page .upload-card__footer {
  display: flex;
  gap: 0.75rem;
}

.menu-upload-page .upload-card__action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  color: #cbd5e1;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
  justify-content: center;
}

.menu-upload-page .upload-card__action:hover {
  background: rgba(59, 130, 246, 0.1);
  border-color: #3b82f6;
  color: #3b82f6;
}

.menu-upload-page .upload-card__action--edit:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #10b981;
}

.menu-upload-page .upload-card__action--cancel:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #ef4444;
}

.menu-upload-page .upload-card--add-new {
  border: 2px dashed #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  cursor: pointer;
  transition: all 0.3s;
}

.menu-upload-page .upload-card--add-new:hover {
  border-color: #3b82f6;
  background: rgba(59, 130, 246, 0.05);
}

.menu-upload-page .upload-card__add-content {
  text-align: center;
  color: #cbd5e1;
}

.menu-upload-page .upload-card__add-content i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: block;
}

.menu-upload-page .upload-card__add-content span {
  font-weight: 500;
}

.menu-upload-page .detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .detail-item i {
  width: 16px;
  color: #a0aec0;
}

.menu-upload-page .status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.menu-upload-page .status-badge--success {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.menu-upload-page .status-badge--processing {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.menu-upload-page .status-badge--failed {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.menu-upload-page .progress-bar {
  width: 100%;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.menu-upload-page .progress-bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
  border-radius: 2px;
  transition: width 0.3s;
}

.menu-upload-page .progress-text {
  font-size: 0.75rem;
  color: #a0aec0;
}

.menu-upload-page .processing-status {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.menu-upload-page .processing-status--visible {
  display: flex;
}

.menu-upload-page .processing-status__spinner {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  border: 3px solid #334155;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.menu-upload-page .processing-status__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 1rem;
  text-align: center;
}

.menu-upload-page .processing-status__text {
  font-size: 1rem;
  color: #cbd5e1;
  margin: 0 0 2rem;
  text-align: center;
}

.menu-upload-page .processing-status__steps {
  background: #1e293b;
  border-radius: 1rem;
  padding: 1.5rem;
  max-width: 400px;
  width: 100%;
}

.menu-upload-page .processing-step {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  border-radius: 0.5rem;
}

.menu-upload-page .processing-step:last-child {
  margin-bottom: 0;
}

.menu-upload-page .processing-step i {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1e293b;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .processing-step span {
  flex: 1;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.menu-upload-page .processing-step--active {
  background: rgba(59, 130, 246, 0.1);
}

.menu-upload-page .processing-step--active i {
  background: #3b82f6;
  color: #ffffff;
}

.menu-upload-page .processing-step--active span {
  color: #f8fafc;
  font-weight: 500;
}

.menu-upload-page .processing-step--complete {
  background: rgba(16, 185, 129, 0.1);
}

.menu-upload-page .processing-step--complete i {
  background: #10b981;
  color: #ffffff;
}

.menu-upload-page .processing-step--complete span {
  color: #f8fafc;
}

.menu-upload-page .upload-success {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 25, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.menu-upload-page .upload-success--visible {
  display: flex;
}

.menu-upload-page .upload-success__card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.75rem;
  max-width: 480px;
  width: 100%;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
  .menu-upload-page .upload-success__card {
    padding: 1.5rem;
    margin: 0.5rem;
  }
}
.menu-upload-page .upload-success__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #334155;
}

.menu-upload-page .upload-success__icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.15);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-upload-page .upload-success__icon i {
  font-size: 1.75rem;
  color: #10b981;
}

.menu-upload-page .upload-success__header-text {
  flex: 1;
  min-width: 0;
}

.menu-upload-page .upload-success__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.25rem;
  line-height: 1.3;
}

.menu-upload-page .upload-success__subtitle {
  font-size: 0.875rem;
  color: #94a3b8;
  margin: 0;
}

.menu-upload-page .upload-success__file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.menu-upload-page .upload-success__file-icon {
  width: 40px;
  height: 40px;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-upload-page .upload-success__file-icon i {
  font-size: 1.125rem;
  color: #ef4444;
}
.menu-upload-page .upload-success__file-icon.upload-success__file-icon--image {
  background: rgba(59, 130, 246, 0.1);
}
.menu-upload-page .upload-success__file-icon.upload-success__file-icon--image i {
  color: #3b82f6;
}
.menu-upload-page .upload-success__file-icon.upload-success__file-icon--text {
  background: rgba(245, 158, 11, 0.1);
}
.menu-upload-page .upload-success__file-icon.upload-success__file-icon--text i {
  color: #f59e0b;
}

.menu-upload-page .upload-success__file-details {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.menu-upload-page .upload-success__file-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.menu-upload-page .upload-success__file-size {
  font-size: 0.75rem;
  color: #94a3b8;
}

.menu-upload-page .upload-success__file-status {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  flex-shrink: 0;
}
.menu-upload-page .upload-success__file-status i {
  font-size: 0.625rem;
}

.menu-upload-page .upload-success__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.menu-upload-page .upload-success__action--primary {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1rem;
  background: linear-gradient(135deg, #F49609, #D93151);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}
.menu-upload-page .upload-success__action--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 150, 9, 0.3);
}
.menu-upload-page .upload-success__action--primary:focus-visible {
  outline: 2px solid #F49609;
  outline-offset: 2px;
}

.menu-upload-page .upload-success__action-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.menu-upload-page .upload-success__action-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.menu-upload-page .upload-success__action-content {
  flex: 1;
  min-width: 0;
}

.menu-upload-page .upload-success__action-title {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.125rem;
}

.menu-upload-page .upload-success__action-desc {
  display: block;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
}

.menu-upload-page .upload-success__action-arrow {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.menu-upload-page .upload-success__action--primary:hover .upload-success__action-arrow {
  transform: translateX(4px);
}

.menu-upload-page .upload-success__secondary-actions {
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 400px) {
  .menu-upload-page .upload-success__secondary-actions {
    flex-direction: column;
  }
}
.menu-upload-page .upload-success__action--secondary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}
.menu-upload-page .upload-success__action--secondary i {
  font-size: 0.875rem;
  color: #94a3b8;
}
.menu-upload-page .upload-success__action--secondary:hover {
  background: #334155;
  border-color: #64748b;
  color: #f8fafc;
}
.menu-upload-page .upload-success__action--secondary:hover i {
  color: #e2e8f0;
}
.menu-upload-page .upload-success__action--secondary:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

.menu-upload-page .upload-progress {
  text-align: center;
  padding: 2rem;
}

.menu-upload-page .upload-progress__bar {
  width: 100%;
  max-width: 400px;
  height: 4px;
  background: #334155;
  border-radius: 2px;
  margin: 0 auto 1rem;
  overflow: hidden;
}

.menu-upload-page .upload-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, #F49609, #D93151);
  transition: width 0.3s ease;
}

.menu-upload-page .upload-progress__text {
  font-size: 1rem;
  color: #e2e8f0;
  font-weight: 500;
}

.login-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: #0f172a;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: #e2e8f0;
  overflow-x: hidden;
}

.login-container {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.login-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.login-background .pattern-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
}
.login-background .gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(59, 130, 246, 0.1) 0%, transparent 50%), radial-gradient(ellipse at bottom, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-10px, -10px);
  }
}
.login-main {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.login-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  background: rgba(30, 41, 59, 0.95);
}
@media (max-width: 639px) {
  .login-card {
    padding: 1.5rem;
  }
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}
.login-header .logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.login-header .logo-wrapper .logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6, rgb(107.7609756098, 161.0975609756, 248.2390243902));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
.login-header .logo-wrapper .logo-text {
  font-size: 1.875rem;
  font-weight: 700;
  color: #e2e8f0;
  margin: 0;
}
.login-header .login-subtitle {
  color: #94a3b8;
  font-size: 0.875rem;
  margin: 0;
}

.login-form .form-group {
  display: block;
  margin-bottom: 1.25rem;
}
.login-form .form-group .form-label {
  display: block;
  color: #94a3b8;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.login-form .form-group .input-wrapper {
  position: relative;
}
.login-form .form-group .input-wrapper .input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.875rem;
  pointer-events: none;
}
.login-form .form-group .input-wrapper .form-input {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  padding-left: 2.75rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.login-form .form-group .input-wrapper .form-input::placeholder {
  color: rgb(178.6573033708, 189.3595505618, 204.3426966292);
}
.login-form .form-group .input-wrapper .form-input:focus {
  outline: none;
  border-color: #3b82f6;
  background: rgb(17.6842105263, 27.1157894737, 49.5157894737);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.login-form .form-group .input-wrapper .form-input[aria-invalid=true] {
  border-color: #ef4444;
}
.login-form .form-group .input-wrapper .toggle-password {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.5rem;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.login-form .form-group .input-wrapper .toggle-password:hover {
  color: #3b82f6;
}
.login-form .form-group .input-wrapper .toggle-password:focus {
  outline: none;
  color: #3b82f6;
}
.login-form .form-group .error-message {
  display: block;
  color: #ef4444;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}
.login-form .form-group .error-message:empty {
  display: none;
}
.login-form .form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}
.login-form .form-options .checkbox-wrapper {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.login-form .form-options .checkbox-wrapper input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}
.login-form .form-options .checkbox-wrapper input[type=checkbox]:checked + .checkbox-custom {
  background: #3b82f6;
  border-color: #3b82f6;
}
.login-form .form-options .checkbox-wrapper input[type=checkbox]:checked + .checkbox-custom::after {
  opacity: 1;
  transform: scale(1);
}
.login-form .form-options .checkbox-wrapper input[type=checkbox]:focus + .checkbox-custom {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.login-form .form-options .checkbox-wrapper .checkbox-custom {
  position: relative;
  width: 18px;
  height: 18px;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  transition: all 0.2s;
}
.login-form .form-options .checkbox-wrapper .checkbox-custom::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  opacity: 0;
  transition: all 0.2s;
}
.login-form .form-options .checkbox-wrapper .checkbox-label {
  font-size: 0.875rem;
  color: #94a3b8;
}
.login-form .form-options .forgot-link {
  color: #3b82f6;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}
.login-form .form-options .forgot-link:hover {
  color: rgb(107.7609756098, 161.0975609756, 248.2390243902);
  text-decoration: underline;
}
.login-form .btn-submit {
  position: relative;
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, rgb(83.3804878049, 145.5487804878, 247.1195121951));
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}
.login-form .btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.login-form .btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}
.login-form .btn-submit:hover:not(:disabled)::before {
  left: 100%;
}
.login-form .btn-submit:active:not(:disabled) {
  transform: translateY(0);
}
.login-form .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.login-form .btn-submit .btn-loader {
  display: none;
}
.login-form .btn-submit.loading .btn-text {
  display: none;
}
.login-form .btn-submit.loading .btn-loader {
  display: inline-block;
}
.login-form .divider {
  text-align: center;
  margin: 1.5rem 0;
  position: relative;
}
.login-form .divider span {
  background: #1e293b;
  padding: 0 0.75rem;
  color: #94a3b8;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}
.login-form .divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #334155;
}
.login-form .social-login {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.login-form .social-login .social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.login-form .social-login .social-btn i {
  font-size: 1rem;
}
.login-form .social-login .social-btn:hover {
  background: rgb(21.7105263158, 33.2894736842, 60.7894736842);
  border-color: rgb(70.125, 89.375, 116.875);
  transform: translateY(-1px);
}
.login-form .social-login .social-btn.google-btn:hover {
  border-color: #ea4335;
  color: #ea4335;
}
.login-form .social-login .social-btn.microsoft-btn:hover {
  border-color: #00a4ef;
  color: #00a4ef;
}

.security-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #334155;
  color: #94a3b8;
  font-size: 0.75rem;
}
.security-notice i {
  color: #10b981;
}

.login-footer {
  margin-top: 1.25rem;
  text-align: center;
}
.login-footer .footer-text {
  color: #94a3b8;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.login-footer .footer-text .register-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}
.login-footer .footer-text .register-link:hover {
  text-decoration: underline;
}
.login-footer .footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.login-footer .footer-links .footer-link {
  color: #94a3b8;
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s;
}
.login-footer .footer-links .footer-link:hover {
  color: #3b82f6;
}
.login-footer .footer-links .separator {
  color: #334155;
  font-size: 0.75rem;
}

.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: white;
  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: rgb(11.1512195122, 99.1219512195, 242.8487804878);
  transform: translateY(-1px);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal .modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}
.modal .modal-content {
  position: relative;
  background: rgba(30, 41, 59, 0.98);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 420px;
  width: calc(100% - 2rem);
  margin: 1rem;
  animation: modalIn 0.3s ease-out;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 10px 10px -5px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.1);
}
.modal .modal-content .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}
.modal .modal-content .modal-header h2 {
  color: #e2e8f0;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.025em;
}
.modal .modal-content .modal-header .modal-close {
  background: transparent;
  border: none;
  color: rgb(193.9859550562, 202.5393258427, 214.5140449438);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.2s;
  border-radius: 0.375rem;
}
.modal .modal-content .modal-header .modal-close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  transform: rotate(90deg);
}
.modal .modal-content .modal-header .modal-close:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.modal .modal-content .modal-body p {
  color: rgb(178.6573033708, 189.3595505618, 204.3426966292);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
.modal .modal-content .modal-body .form-group {
  margin-bottom: 1rem;
}
.modal .modal-content .modal-body .form-group label {
  display: block;
  color: rgb(163.3286516854, 176.1797752809, 194.1713483146);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.modal .modal-content .modal-body .form-group input[type=email] {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(51, 65, 85, 0.8);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  color: #e2e8f0;
  font-size: 0.9375rem;
  transition: all 0.2s;
}
.modal .modal-content .modal-body .form-group input[type=email]::placeholder {
  color: rgba(148, 163, 184, 0.5);
}
.modal .modal-content .modal-body .form-group input[type=email]:focus {
  outline: none;
  border-color: #3b82f6;
  background: #0f172a;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.1);
}
.modal .modal-content .modal-body .form-group input[type=email]:hover:not(:focus) {
  border-color: rgb(70.125, 89.375, 116.875);
}
.modal .modal-content .modal-body .btn-submit {
  width: 100%;
  background: linear-gradient(135deg, #3b82f6, rgb(98.0087804878, 154.8780487805, 247.7912195122));
  color: white;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}
.modal .modal-content .modal-body .btn-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}
.modal .modal-content .modal-body .btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3), 0 6px 6px rgba(59, 130, 246, 0.2);
}
.modal .modal-content .modal-body .btn-submit:hover:not(:disabled)::before {
  left: 100%;
}
.modal .modal-content .modal-body .btn-submit:active:not(:disabled) {
  transform: translateY(0);
}
.modal .modal-content .modal-body .btn-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3), 0 8px 16px rgba(59, 130, 246, 0.2);
}
.modal .modal-content .modal-body .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 639px) {
  .login-card {
    border-radius: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .social-login {
    grid-template-columns: 1fr;
  }
}
: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);
  --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 */
}

: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);
  --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 */
}

.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-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);
  }
}
@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);
}

.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: #000000;
    --color-background: #FFFFFF;
    --color-primary-600: #0000FF;
    --color-error: #FF0000;
    --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;
  }
}
