/* Fonts loaded via HTML link tag in public/index.html - no @import needed */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: #fff;
  /* Safari viewport height fix */
  height: 100%;
}

@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  html {
    height: -webkit-fill-available;
  }
}

body {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  /* Ensure consistent height calculation across browsers */
  min-height: 100vh;
}

/* Safari-specific body height */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}

#root {
  background-color: #fff;
}

/* Remove the vignette/fade overlay that covers the whole page */
/*
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 85%, rgba(0,0,0,0.07) 100%);
}
*/

/* Utility classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
}

.min-h-screen {
  min-height: 100vh;
}

.flex-wrap {
  flex-wrap: wrap;
}

.invisible {
  visibility: hidden;
}

.visible {
  visibility: visible;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.z-50 {
  z-index: 50;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-8 {
  gap: 2rem;
}

.p-4 {
  padding: 1rem;
}

.p-8 {
  padding: 2rem;
}

.m-4 {
  margin: 1rem;
}

.m-8 {
  margin: 2rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.bg-white {
  background-color: #fff;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.text-white {
  color: #fff;
}

.text-gray-600 {
  color: #666;
}

.text-gray-800 {
  color: #333;
}

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

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.hover\:shadow-lg:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.transition {
  transition: all 0.3s ease;
}

/* Custom animations for submenu */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInDown {
  animation: fadeInDown 0.3s ease-out;
}

/* Button styles */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Grid system */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .flex {
    flex-direction: column;
  }
  
  .container {
    padding: 0 15px;
  }
  
  /* Improve touch targets */
  button, 
  [role="button"],
  input[type="button"],
  input[type="submit"],
  input[type="reset"] {
    min-height: 44px;
    min-width: 44px;
    touch-action: manipulation;
  }
  
  /* Prevent zoom on input focus */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px;
    touch-action: manipulation;
  }
  
  /* Improve scrolling performance */
  * {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better text rendering */
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }
}

/* Additional responsive breakpoints */
@media (max-width: 480px) {
  .container {
    padding: 0.75rem 8px;
  }
  
  /* Smaller text for very small screens */
  body {
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  .container {
    padding: 0.5rem 6px;
  }
  
  /* Even smaller text for very small screens */
  body {
    font-size: 13px;
  }
}

/* Custom styles for the ECHO website */

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --color-text-primary: #333;
  --color-text-secondary: #666;
  --color-text-light: #888;
  --color-text-dark: #222;
  --color-text-black: #000;
  --color-white: #fff;
  --color-bg-white: #fff;
  --color-border-light: #e5e7eb;
  --color-border-grey: #d1d5db;
  
  /* Gradients */
  --gradient-text: linear-gradient(to bottom, #222, #aaa);
  --gradient-text-alt: linear-gradient(to bottom, #222, #aaa);
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Typography */
  --font-family-primary: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --letter-spacing-wide: 0.12em;
  --letter-spacing-wider: 0.08em;
  
  /* Transitions */
  --transition-fast: 0.2s;
  --transition-normal: 0.3s;
  --transition-slow: 0.5s;
  --easing-standard: cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Sizes */
  --logo-size: 160px;
  --button-min-height: 44px;
  --nav-button-width: 160px;
  
  /* Z-index layers */
  --z-base: 1;
  --z-dropdown: 50;
  --z-header: 100;
  --z-sidebar: 99;
  --z-modal: 1000;
  --z-overlay: 1001;
}

/* Header styles */
.header {
  background-color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

/* ===== NAVIGATION STYLES ===== */

/* Base navigation menu */
.nav-menu,
nav ul,
nav ul.nav-menu,
ul.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  padding-left: 0;
  margin: 0;
}

nav ul li {
  list-style: none;
}

/* Base button/link styles - applies to navigation elements only */
.nav-link,
.nav-menu button,
nav ul li button {
  color: #888;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  font: inherit;
  -webkit-appearance: none;
          appearance: none;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
}

/* General button and link reset - less aggressive */
button:not([style*="background"]):not([class*="btn"]):not([class*="arrow"]):not([class*="social"]),
a {
  color: #888;
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  text-decoration: none;
  font: inherit;
  -webkit-appearance: none;
          appearance: none;
}

/* Hover/focus states for navigation elements */
.nav-link:hover,
.nav-link:focus,
.nav-menu button:hover,
.nav-menu button:focus,
nav ul li button:hover,
nav ul li button:focus {
  color: #222;
}

/* General link hover */
a:hover,
a:focus {
  color: #222;
}

/* Submenu dropdown container */
.nav-menu ul {
  position: relative;
  background: none;
  box-shadow: none;
  border: none;
  padding: 0.5rem 0;
}

.nav-menu ul::after {
  content: none;
  display: none;
}

/* Override for form submit button to allow custom borders */
.submit-request-button {
  border: 1px solid transparent !important;
  background: linear-gradient(to bottom, #222, #aaa) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Homepage hero with image, stark top line, and bottom fade */
.homepage-hero {
  width: 100%;
  height: calc(100vh * 14 / 16);
  position: relative;
  z-index: 0;
  margin-bottom: 0;
  margin-top: 0;
  /* Fade out at bottom using a mask - Moved to separate element */
  /* -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%); */
}

@media (max-width: 900px) {
  .homepage-hero {
    height: calc(100vh * 14 / 16);
  }
}
@media (max-width: 600px) {
  .homepage-hero {
    height: calc(100vh * 14 / 16);
  }
}

/* Section styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #333;
}

/* Card styles */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #333;
}

.card-text {
  color: #666;
  line-height: 1.6;
}

/* Footer styles */
.footer {
  background-color: #333;
  color: white;
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: #fff;
}

.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #555;
  color: #ccc;
}

/* About and Contact page styles */
.about-page,
.contact-page {
  padding: 2rem 0;
  min-height: 80vh;
}

.about-header,
.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h1,
.contact-header h1 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.about-header p,
.contact-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

.about-content,
.contact-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3rem;
  gap: 3rem;
  align-items: start;
}

.about-image {
  text-align: center;
}

.about-text h2 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.about-text p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-info {
  margin-bottom: 3rem;
}

.contact-info h2 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.contact-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.contact-item h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-item p {
  color: #666;
  margin-bottom: 0.5rem;
}

.contact-form-section {
  margin-top: 3rem;
}

.contact-form-section h2 {
  color: #333;
  margin-bottom: 2rem;
  font-size: 1.5rem;
  text-align: center;
}

/* Responsive design for About and Contact pages */
@media (max-width: 768px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .about-header h1,
  .contact-header h1 {
    font-size: 2rem;
  }
  
  .about-header p,
  .contact-header p {
    font-size: 1rem;
  }
  
  .contact-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Contact form styles */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: border-color 0.3s ease;
}

.form-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

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

.menu-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  transition: box-shadow 0.3s ease;
}

.menu-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-item-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.menu-item-content {
  flex: 1 1;
}

.menu-item-title {
  font-weight: bold;
  margin-bottom: 0.25rem;
  color: #333;
}

.menu-item-description {
  color: #666;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
}

.menu-item-price {
  font-weight: bold;
  color: #3b82f6;
}

/* Responsive design */
@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ===== SUBMENU BUTTON STYLES ===== */

.submenu-btn {
  font-size: 16px;
  font-size: var(--font-size-base);
  color: #888;
  color: var(--color-text-light);
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  text-align: right;
  width: 100%;
  font-weight: 400;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.12em;
  letter-spacing: var(--letter-spacing-wide);
  padding: 0.25rem 0;
  padding: var(--spacing-xs) 0;
  cursor: pointer;
  transition: color 0.2s;
  transition: color var(--transition-fast);
  -webkit-appearance: none;
          appearance: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: var(--font-family-primary);
  white-space: nowrap;
  transform: none;
}

.submenu-btn:hover,
.submenu-btn:focus,
.submenu-btn:active,
.submenu-btn:focus-visible {
  color: #222;
  color: var(--color-text-dark);
}

/* ===== MAIN MENU BUTTON STYLES ===== */

.mainmenu-btn {
  /* Fallback for browsers that don't support background-clip: text */
  color: #888;
  color: var(--color-text-light);
  background: linear-gradient(to bottom, #222, #aaa);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid transparent;
  box-shadow: none;
  outline: none;
  text-align: center;
  font-size: 16px;
  font-size: var(--font-size-base);
  font-weight: 400;
  font-weight: var(--font-weight-normal);
  letter-spacing: 0.12em;
  letter-spacing: var(--letter-spacing-wide);
  padding: 0;
  cursor: pointer;
  transition: all 0.2s, border 0.2s;
  transition: all var(--transition-fast), border var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: var(--font-family-primary);
  z-index: 100;
  z-index: var(--z-header);
  position: relative;
  width: 160px;
  width: var(--nav-button-width);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: none;
  white-space: nowrap;
}

/* Browser support check for background-clip: text */
@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .mainmenu-btn {
    color: transparent;
  }
}

.mainmenu-btn:hover {
  /* Fallback color */
  color: #222;
  color: var(--color-text-dark);
  background: #222;
  background: var(--color-text-dark);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid #222;
  border: 1px solid var(--color-text-dark);
  z-index: 10;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .mainmenu-btn:hover {
    color: transparent;
}
}


.vignette-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 85%, rgba(0,0,0,0.07) 100%);
}

body {
  font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: #333;
  color: var(--color-text-primary);
  background-color: #fff;
  background-color: var(--color-bg-white);
  /* Ensure consistent box-sizing across all browsers */
  box-sizing: border-box;
}

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

/* ===== BROWSER-SPECIFIC OVERRIDES FOR CONSISTENT SIZING ===== */

/* Safari-specific fixes */
@supports (-webkit-appearance: none) and (not (-moz-appearance: none)) {
  /* Safari sometimes adds extra spacing to flexbox containers */
  .app-container,
  .app-root {
    -webkit-box-sizing: border-box;
  }
  
  /* Safari viewport height normalization */
  html {
    height: -webkit-fill-available;
  }
  
  body {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
}

/* Firefox-specific fixes */
@supports (-moz-appearance: none) {
  /* Firefox calculates vh slightly differently */
  body {
    min-height: 100vh;
  }
  
  /* Normalize flexbox behavior */
  .app-root,
  .app-container {
    -moz-box-sizing: border-box;
  }
}

/* Chrome/Edge-specific fixes */
@supports (not (-webkit-appearance: none)) and (not (-moz-appearance: none)) {
  /* Chromium browsers handle scrollbars differently */
  html {
    scrollbar-gutter: stable;
  }
}

/* Universal viewport fix - add small buffer for scrollbar differences */
@media screen and (min-width: 769px) {
  :root {
    --scrollbar-width: 0px;
  }
  
  /* Detect if scrollbar is visible */
  @media (hover: hover) and (pointer: fine) {
    :root {
      --scrollbar-width: 15px; /* Standard scrollbar width on desktop browsers */
    }
  }
}

.app-root {
  position: relative;
  min-height: 100vh;
  background: transparent;
}
/* App container max-width moved to fixed header above */

/* Header */
.app-header {
  text-align: center;
  margin-bottom: 2rem;
}

/* Header nav row for logo and nav */
.header-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 0;
  margin-top: 0;
  margin-left: 0;
  position: relative;
  height: 100%;
  width: 100%;
}

/* Nav list uses responsive gap, no fixed gap */
.nav-list {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  margin-left: auto;
}

/* Mobile nav switch: stack items, reduce padding, show hamburger */
@media (max-width: 600px) {
  .header-nav-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
}

/* Navigation */
.nav-bar {
  display: flex;
  justify-content: flex-end;
  position: relative;
  width: auto;
  height: auto;
  align-self: flex-end;
  margin: 0;
  margin-left: auto;
  padding: 0;
  /* Removed overflow-x: auto to allow submenu dropdowns to overflow */
}
/* Main website navigation - not admin sidebar */
.nav-bar .nav-item,
.nav-list .nav-item {
  position: relative;
  text-align: center;
  white-space: nowrap; /* Prevent wrapping of nav item text */
  display: flex;
  justify-content: center;
  align-items: center;
  /* Reset any admin styles that might affect this */
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  padding-bottom: calc((100vh / 16) / 8) !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  transform: none !important;
  border: none !important;
}

.mainmenu-btn, .nav-link, .nav-menu button {
  white-space: nowrap; /* Prevent wrapping of button text */
}

/* Submenu dropdown */
.submenu-dropdown {
  position: absolute;
  top: 100%;
  left: auto;
  right: 0;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0.5rem 0 !important;
  min-width: 115px;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0) translateZ(0);
  transition: opacity 0.5s cubic-bezier(0.4,0,0.2,1), transform 0.5s cubic-bezier(0.4,0,0.2,1), visibility 0.5s;
  white-space: nowrap;
  /* Performance hint for browsers */
  will-change: opacity, transform;
}
.submenu-dropdown.submenu-open {
  will-change: auto;
}
.submenu-dropdown.submenu-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Specific alignment for FOOD submenu (index 1) */
.nav-list li:nth-child(2) .submenu-dropdown {
  left: auto;
  right: 0;
  transform: translateY(0);
}
.nav-list li:nth-child(2) .submenu-dropdown.submenu-open {
  transform: translateY(0);
}

/* Specific alignment for EVENTS submenu (index 2) */
.nav-list li:nth-child(3) .submenu-dropdown {
  left: auto;
  right: 0;
  transform: translateY(0);
}
.nav-list li:nth-child(3) .submenu-dropdown.submenu-open {
  transform: translateY(0);
}
.submenu-dropdown::after {
  content: "";
  position: absolute;
  top: 15%;
  right: -10px;
  width: 1px;
  height: 70%;
  background: #888;
  border-radius: 1px;
  pointer-events: none;
  z-index: 1;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.submenu-dropdown.submenu-open::after {
  transform: scaleY(1);
}

.submenu-short-line::after {
  top: 20%;
  height: 60%;
}

/* Optimized animation using GPU-accelerated properties */
@keyframes submenuFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px) translateZ(0);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

.submenu-dropdown .submenu-btn {
  opacity: 0;
  transform: translateY(16px);
}
.submenu-dropdown.submenu-open li:nth-child(1) .submenu-btn {
  animation: submenuFadeIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.03s;
}
.submenu-dropdown.submenu-open li:nth-child(2) .submenu-btn {
  animation: submenuFadeIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.18s;
}
.submenu-dropdown.submenu-open li:nth-child(3) .submenu-btn {
  animation: submenuFadeIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.33s;
}
.submenu-dropdown.submenu-open li:nth-child(4) .submenu-btn {
  animation: submenuFadeIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.48s;
}
.submenu-dropdown.submenu-open li:nth-child(5) .submenu-btn {
  animation: submenuFadeIn 0.3s cubic-bezier(0.4,0,0.2,1) forwards;
  animation-delay: 0.63s;
}

.soft-fade-border {
  width: 160px !important;
  max-width: 160px !important;
  height: 160px !important;
  display: block;
  margin: 0;
  /* Cross-browser mask support */
  -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  mask-image: radial-gradient(circle, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  background: none !important;
  /* Performance optimizations */
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

.nav-item.submenu-active,
.nav-item:hover,
.nav-item:focus {
  z-index: 20;
  position: relative;
}

.nav-item.submenu-active > .mainmenu-btn {
  background: #222 !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  border: 1px solid #222 !important;
}

.nav-item.submenu-active .mainmenu-btn {
  z-index: 100;
  position: relative;
}

iframe {
  height: 2000px !important;
}

/* Consolidated desktop responsive layout (768px-1200px) */
@media (max-width: 1200px) and (min-width: 769px) {
  .header-nav-row {
    grid-template-columns: 1fr auto 1fr;
    gap: clamp(1rem, 2vw, 2rem);
  }
}

@media (max-width: 900px) and (min-width: 769px) {
  .homepage-hero {
    padding: 2rem 1rem;
  }
  .app-container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) and (min-width: 601px) {
  .header-nav-row {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
  }
}

@media (max-width: 600px) {
  .homepage-hero {
    padding: 1rem 0.5rem;
  }
  .header-nav-row {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  .nav-item {
    text-align: center;
  }
  .mainmenu-btn {
    padding: 0;
    font-size: 13px;
  }
  .submenu-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
    border-left: 2px solid #e0e0e0;
  }
  .submenu-btn {
    text-align: left;
    padding: 0.5rem 0;
    font-size: 14px;
  }
  .app-container {
    padding: 0 12px;
  }
  .homepage-hero {
    padding: 0.5rem;
  }
  .hero h1 {
    font-size: 1.5rem;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .card-content {
    padding: 1rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .menu-item {
    margin-bottom: 1rem;
  }
  .menu-item-image {
    height: 200px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-form {
    padding: 1rem;
  }
  .form-textarea {
    min-height: 100px;
  }
  button, 
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  .social-icons {
    gap: 1rem;
  }
  .social-icons button {
    padding: 0.5rem;
  }
  .social-icons img {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .homepage-hero {
    min-height: 60vw;
    max-height: 160px;
    aspect-ratio: 16/12;
  }
  
  .header-nav-row {
    gap: 0.75rem;
  }
  
  .mainmenu-btn {
    font-size: 0.85rem;
    padding: 0;
  }
  
  
  .app-container {
    padding: 0 8px;
  }
  
  /* Extra small mobile adjustments */
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .card-content {
    padding: 0.75rem;
  }
  
  .card-title {
    font-size: 1rem;
  }
  
  /* Mobile spacing adjustments */
  .section {
    padding: 2rem 0;
  }
  
  .footer {
    padding: 2rem 0 1rem;
  }
}

/* Mobile-specific navigation improvements */
@media (max-width: 600px) {
  /* Hide desktop submenu line on mobile */
  .submenu-dropdown::after {
    display: none;
  }
  
  /* Mobile submenu animations */
  .submenu-dropdown {
    transition: all 0.3s ease;
    max-height: 0;
    overflow: hidden;
  }
  
  .submenu-dropdown.submenu-open {
    max-height: 200px;
  }
  
  /* Mobile submenu button animations */
  .submenu-dropdown .submenu-btn {
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  /* Mobile touch feedback - removed for mainmenu-btn to prevent persistent selection */
  .submenu-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
  }
  
  /* Mobile social media positioning */
  .social-media-icons {
    position: static;
    justify-content: center;
    margin-top: 1rem;
    gap: 20px;
  }
  
  /* Mobile grey line and gradient adjustments */
  .header-nav-row .grey-line {
    display: none;
  }
  
  .header-nav-row .white-gradient {
    display: none;
  }
}

/* Mobile landscape orientation */
@media (max-width: 900px) and (orientation: landscape) {
  .homepage-hero {
    min-height: 40vw;
    max-height: 200px;
  }
  
  .header-nav-row {
    flex-direction: row;
    gap: 2rem;
  }
  
  .nav-list {
    flex-direction: row;
  }
}

/* High DPI mobile devices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .soft-fade-border {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Mobile accessibility improvements */
@media (max-width: 600px) {
  /* Ensure sufficient color contrast */
  .mainmenu-btn,
  .submenu-btn {
    color: #333 !important;
  }
  
  .mainmenu-btn:hover,
  .submenu-btn:hover {
    color: #000 !important;
  }
  
  /* Improve focus indicators for touch devices - removed outline for mainmenu-btn */
  .submenu-btn:focus {
    outline: 2px solid #3b82f6;
    outline-offset: 2px;
  }
  
  /* Reduce motion for users who prefer it */
  @media (prefers-reduced-motion: reduce) {
    .submenu-dropdown,
    .mainmenu-btn,
    .submenu-btn {
      transition: none;
    }
    
    .submenu-dropdown .submenu-btn {
      animation: none;
    }
  }
}

/* ===== ADDITIONAL MOBILE IMPROVEMENTS ===== */

/* Prevent zoom on form inputs in iOS */
@media (max-width: 600px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  textarea,
  select {
    font-size: 16px !important;
  }
}

/* Mobile performance optimizations */
@media (max-width: 600px) {
  /* Reduce animations for better performance */
  .submenu-dropdown {
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  
  /* Optimize images for mobile */
  img {
    max-width: 100%;
    height: auto;
  }
  
  /* Reduce box shadows for better performance */
  .card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  .card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }
}

/* Mobile touch improvements */
@media (max-width: 600px) {
  /* Improve touch scrolling */
  .app-root {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better touch targets for all interactive elements */
  a, button, input, select, textarea {
    min-height: 44px;
    min-width: 44px;
  }
  
  /* Prevent text selection on buttons */
  button {
    -webkit-user-select: none;
    user-select: none;
  }
  
  /* Improve tap highlight */
  button, a {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
  }
}

/* Mobile-specific loading states */
@media (max-width: 600px) {
  /* Optimize loading animations for mobile */
  @keyframes mobilePulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }
  
  .loading {
    animation: mobilePulse 1.5s ease-in-out infinite;
  }
}

/* Mobile orientation handling */
@media (max-width: 600px) and (orientation: portrait) {
  .homepage-hero {
    min-height: 50vh;
  }
}

@media (max-width: 600px) and (orientation: landscape) {
  .homepage-hero {
    min-height: 30vh;
  }
  
  .header-nav-row {
    flex-direction: row;
    gap: 1rem;
  }
  
  .nav-list {
    flex-direction: row;
  }
}

/* Mobile dark mode support */
@media (prefers-color-scheme: dark) {
  /* Add dark mode styles if needed in the future */
}

/* Mobile battery optimization */
@media (max-width: 600px) {
  /* Reduce unnecessary animations when battery is low */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
}

.logo-circle-bg {
  width: 190px;
  height: 190px;
  min-width: 190px;
  min-height: 190px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

/* Force sidebar to stay visible and not fade */
.sidebar-no-fade {
  opacity: 1 !important;
  transition: none !important;
}

/* More specific override for sidebar */
div[class*="sidebar-no-fade"] {
  opacity: 1 !important;
  transition: none !important;
}

/* Cocktail title gradient */
.cocktail-title {
  background: linear-gradient(to bottom, #222, #aaa) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Sidebar text gradient on hover */
.sidebar-text-gradient {
  background: linear-gradient(to bottom, #555, #999) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}

/* Sidebar SVG gradient on hover */
.sidebar-svg-gradient {
  filter: brightness(0) saturate(0) opacity(0.55) drop-shadow(0 1px 2px rgba(0,0,0,0.1)) !important;
}

/* ===== MOBILE RESPONSIVE DESIGN ===== */

/* ===== LAYOUT COMPONENT STYLES ===== */

/* Dropdown and Home component slide animations - GPU optimized */
@keyframes slideInLeft {
  from {
    transform: translateX(-100%) translateZ(0);
  }
  to {
    transform: translateX(0) translateZ(0);
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%) translateZ(0);
  }
  to {
    transform: translateX(0) translateZ(0);
  }
}

/* Header gradient backgrounds */
.header-gradient-above {
  position: absolute;
  top: -25px;
  left: 0;
  height: calc(33% + 25px);
  background: transparent;
  z-index: 4;
  width: 100%;
}

.header-white-section {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
  z-index: 3;
  width: 100%;
}

.header-shadow-section {
  position: absolute;
  top: 66%;
  left: 0;
  height: 60px;
  background: transparent;
  z-index: 2;
  width: 100%;
}

/* Social media icons container */
.social-icons-container {
  position: fixed;
  top: 7px;
  right: 64px; /* 64px padding from right edge */
  display: flex;
  gap: 50px;
  z-index: 10000;
}

/* Social media button styles */
.social-button {
  background: none;
  border: none;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  z-index: 10000;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-button:hover {
  transform: scale(1.1);
}

.social-button img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(100%) invert(47%) sepia(5%) saturate(0%) hue-rotate(0deg);
  transition: all 0.2s ease;
}

.social-button:hover img {
  filter: brightness(0) saturate(100%) invert(13%) sepia(0%) saturate(0%) hue-rotate(0deg);
}

/* Logo container styles */
.logo-container {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  position: relative;
  z-index: 10;
  margin: 0;
  width: auto;
  height: calc(100vh / 16);
  flex-shrink: 0;
  order: -1;
  align-self: flex-end;
}

.logo-button {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.logo-image {
  width: auto;
  height: calc(100vh / 16);
  display: block;
  object-fit: contain;
}

/* Navigation center container */
.nav-center-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  padding-left: 700px;
  padding-right: 100px;
  z-index: 10;
}

.nav-center-container.small-screen {
  left: 0;
  right: 0;
  width: 100%;
  padding-left: 700px;
  padding-right: 100px;
}

/* Right column container */
.right-column-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 2rem;
  position: relative;
  z-index: 6;
}

/* Dropdown menu styles */
.dropdown-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-shadow: none;
  /* Performance optimization */
  will-change: opacity;
}

.dropdown-content {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 4vw, 28px);
  align-items: center;
  justify-content: center;
  animation: slideInRight 0.3s ease-out;
  min-height: 100vh;
  width: 100%;
  /* GPU acceleration */
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
}

.dropdown-button {
  /* Fallback color */
  color: #888;
  background: linear-gradient(to bottom, #555, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid transparent;
  border-radius: 0;
  box-shadow: none;
  outline: none;
  text-align: center;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  padding: clamp(0.8rem, 2vw, 1.2rem) clamp(2.5rem, 7vw, 5rem);
  cursor: pointer;
  transition: all 0.2s, border 0.2s;
  -webkit-transition: all 0.2s, border 0.2s;
  -moz-transition: all 0.2s, border 0.2s;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-family: Montserrat, "Helvetica Neue", Helvetica, Arial, sans-serif;
  z-index: 100;
  position: relative;
  min-height: 60px;
  width: 200px;
  touch-action: manipulation;
  display: flex;
  align-items: center;
  justify-content: center;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .dropdown-button {
    color: transparent;
  }
}

.dropdown-button:hover {
  color: #222;
  background: #222;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid #222;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .dropdown-button:hover {
    color: transparent;
  }
}

.dropdown-button:active {
  color: #000;
  background: #000;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  border: 1px solid #000;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) or (-webkit-background-clip: text) {
  .dropdown-button:active {
    color: transparent;
  }
}

/* Mobile header styles */
.mobile-header {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgb(255, 255, 255);
  padding: 10px 0px 0px;
  box-shadow: none;
}

.mobile-home-button {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0px;
  border-radius: 12px;
  transition: 0.2s;
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  margin-left: 10px;
}

.mobile-dropdown-button {
  cursor: pointer;
  transition: transform 0.3s;
  transform: rotate(0deg);
  min-height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
}

.mobile-dropdown-button img {
  width: 32px;
  height: 32px;
  filter: brightness(0) saturate(0) opacity(0.6);
}

/* Mobile logo image */
.mobile-logo-image {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

/* Mobile content margin */
.mobile-content-margin {
  margin-top: 116px; /* 96px logo height + 20px padding */
}

/* App container styles - Header above hero */
.app-container {
  position: relative;
  width: 100%;
  height: calc(100vh / 16);
  max-width: 100%;
  margin: 0;
  padding-left: calc(100vh / 32);
  padding-right: calc((100vh / 16) / 4);
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  box-sizing: border-box;
  z-index: 100;
}

.header-nav-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
  height: 100%;
  gap: 0;
  box-sizing: border-box;
}

/* App root styles */
.app-root {
  position: relative;
  z-index: 1;
}

/* Home component positioning */
.home-component {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

/* Logo image hidden */
.logo-image-hidden {
  display: none;
}

/* Logo circle background */
.logo-circle-bg-relative {
  position: relative;
}

/* Logo canvas */
.logo-canvas {
  width: 160px !important;
  height: auto !important;
  min-width: 160px !important;
  max-width: 160px;
  display: block;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Navigation bar */
.nav-bar-no-margin {
  margin-bottom: 0;
}

/* Navigation list with responsive gap */
.nav-list-gap {
  gap: 20px;
}

/* Fixed 30px gap between navigation buttons */
.nav-list {
  gap: 30px;
}

.nav-list-no-gap {
  gap: 30px;
}

/* Navigation item relative */
.nav-item-relative {
  position: relative;
}

/* Responsive button widths - simplified breakpoints for desktop */
@media (max-width: 1200px) {
  .mainmenu-btn {
    font-size: clamp(10px, 1.3vw, 16px);
  }
}

/* Hide scrollbars on mobile */
@media (max-width: 1024px) {
  /* Hide scrollbar for Chrome, Safari and Opera */
  *::-webkit-scrollbar {
    display: none;
  }
  
  /* Hide scrollbar for IE, Edge and Firefox */
  * {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }
}
.inventory-name-input {
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  caret-color: #333;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-name-input:focus,
.inventory-name-input:active {
  background-color: transparent;
  border: none;
  outline: none;
  box-shadow: none;
}

.inventory-table th,
.inventory-table td,
.inventory-data-cell {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-currency-input {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 2px;
  width: 100%;
}

.inventory-currency-input .currency-prefix {
  font-size: 0.85rem;
  color: #4b5563;
  padding-left: 0.1rem;
}

.inventory-currency-input .currency-input-field {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  text-align: right;
  font-size: 0.9rem;
  color: #1f2933;
  padding: 0.15rem 0.1rem 0.15rem 0;
  -moz-appearance: textfield;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-currency-input .currency-input-field::-webkit-outer-spin-button,
.inventory-currency-input .currency-input-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inventory-currency-input .currency-input-field:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.inventory-currency-input.currency-readonly .currency-input-field {
  background: transparent;
  color: #1f2933;
  cursor: default;
}

.inventory-currency-input.currency-readonly .currency-input-field:disabled {
  opacity: 1;
}

.inventory-currency-input.currency-empty {
  min-height: 1.75rem;
}

.sort-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sort-toolbar .sort-btn {
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  color: #4b5563;
  border-radius: 9999px;
  padding: 0.2rem 0.75rem;
  font-size: 0.75rem;
  cursor: pointer;
}

.sort-toolbar .sort-btn.active {
  border-color: #9ca3af;
  color: #111827;
  background: #e5e7eb;
}

.sort-toolbar .sort-btn.active::after {
  content: attr(data-direction);
  font-size: 0.65rem;
  margin-left: 0.25rem;
  text-transform: uppercase;
}

.inventory-converter-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 0.85rem 1rem;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 520px;
}

.inventory-converter-card .converter-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.converter-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111827;
  margin: 0;
}

.converter-subtitle {
  font-size: 0.7rem;
  color: #6b7280;
  margin: 0.1rem 0 0 0;
}

.converter-select {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 180px;
}

.converter-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
}

.converter-select select {
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: #111827;
}

.converter-fields {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.converter-field {
  flex: 1 1;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.converter-input-wrapper {
  display: flex;
  align-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 0.65rem;
  background: #fff;
  padding: 0.2rem 0.5rem;
  gap: 0.35rem;
}

.converter-input-wrapper input {
  flex: 1 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.95rem;
  color: #1f2933;
  text-align: right;
}

.converter-input-wrapper.converter-output input {
  font-weight: 600;
}

.converter-unit {
  font-size: 0.75rem;
  color: #6b7280;
}

.converter-hint {
  font-size: 0.7rem;
  color: #9ca3af;
  margin: 0;
}

.inventory-size-input {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 2px;
}

.inventory-size-input .size-input-field {
  border: none;
  background: transparent;
  outline: none;
  text-align: right;
  font-size: 0.9rem;
  color: #1f2933;
  width: 100%;
  padding: 0.15rem 0;
  -moz-appearance: textfield;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-size-input .size-input-field::-webkit-outer-spin-button,
.inventory-size-input .size-input-field::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.inventory-size-input .size-input-field:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.inventory-size-input .size-suffix {
  font-size: 0.85rem;
  text-transform: lowercase;
  color: #111;
  margin-left: 0.35rem;
  padding-right: 0.25rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-unit-toggle .unit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.4rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.8rem;
  color: #4b5563;
  cursor: pointer;
  background: #f9fafb;
  transition: background 0.15s ease, color 0.15s ease;
}

.inventory-unit-toggle .unit-pill input {
  accent-color: #9ca3af;
}

.inventory-unit-toggle .unit-pill.active {
  background: #e5e7eb;
  color: #111827;
}

.inventory-unit-toggle .unit-pill.active input {
  accent-color: #6b7280;
}

.inventory-country-input {
  width: 100%;
}

.inventory-country-input-field {
  width: 100%;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  outline: none;
  background: transparent;
  text-transform: uppercase;
  padding: 0.15rem 0.1rem 0.15rem 0;
  font-size: 0.9rem;
  color: #1f2933;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-country-input-field::placeholder {
  text-transform: none;
  color: #9ca3af;
}

.inventory-country-input-field:focus {
  border-bottom-color: #4b5563;
}

.delete-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.delete-modal-content {
  background: white;
  border-radius: 0.75rem;
  padding: 1.5rem;
  width: 320px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.delete-warning,
.delete-question {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: #111827;
}

.delete-warning {
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.delete-question {
  margin-bottom: 1.25rem;
  color: #6b7280;
}

.delete-modal-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.delete-modal-actions button {
  border: none;
  border-radius: 9999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.delete-modal-actions button.primary {
  background: #f87171;
  color: white;
}

.delete-modal-actions button:last-child {
  background: #f3f4f6;
  color: #374151;
}

.inventory-edit-button {
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #f7f7f7;
  color: #555;
  font-size: 0.75rem;
  font-weight: 600;
}

.inventory-edit-button:hover {
  background: #e5e7eb;
}

.inventory-edit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Recipes builder */
.recipes-tab {
  border: 1px solid #d4d4d4;
  background: #f5f5f5;
  color: #1f2933;
  padding: 0.4rem 1.75rem;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.recipes-tab.active {
  background: #d4d4d4;
  color: #111;
}

.recipes-tab-white {
  background: white;
  color: #999;
  border: none;
  padding: 0.4rem 1.75rem;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: relative;
  z-index: 1002;
  pointer-events: auto !important;
  cursor: pointer;
}

.recipes-tab-white.active,
.recipes-tab.recipes-tab-white.active,
button.recipes-tab.recipes-tab-white.active {
  background: white !important;
  color: #000 !important;
  border: none !important;
}

.recipes-tab-white:hover:not(.active) {
  color: #000 !important;
}

.recipes-primary-btn {
  background: white;
  color: #000;
  padding: 0.3rem 1.25rem;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  border: 1px solid #e0e0e0;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  width: 160px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipes-primary-btn:hover {
  background: #000;
  color: white;
  border: 1px solid #000;
}

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

.recipes-danger-btn {
  background: white;
  color: #000;
  padding: 0.3rem 1.5rem;
  border-radius: 0;
  font-size: 0.75rem;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  border: 1px solid #e0e0e0;
  width: 160px;
  height: 40px;
  box-sizing: border-box;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recipes-danger-btn:hover {
  background: #000;
  color: white;
  border: 1px solid #000;
}

.recipes-danger-btn:hover {
  background: #000;
  color: white;
  border: 1px solid #000;
}

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

.recipe-actions {
  display: flex;
  gap: 0.75rem;
}

.recipes-saved-select {
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0.35rem 0.75rem;
  background: #fdfdfd;
  min-width: 220px;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.recipes-search-label {
  width: 140px;
  display: inline-block;
  box-sizing: border-box;
}

.recipes-search-input {
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0.35rem 0.75rem;
  background: #fdfdfd;
  min-width: 220px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.recipes-search-input:focus {
  outline: none;
  border-color: #888;
  background: #fff;
}

.recipes-list-container {
  margin-top: 1.5rem;
}

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

.recipe-card {
  border: 8px solid;
  border-radius: 0;
  background: #e5e5e5;
  background-color: #e5e5e5; /* Default fallback */
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  container-type: size;
}

/* Allow premix cards to override background color */
.recipe-card-premix {
  background: #e5e5e5 !important;
  background: var(--premix-bg-color, #e5e5e5) !important;
  background-color: #e5e5e5 !important;
  background-color: var(--premix-bg-color, #e5e5e5) !important;
}

.recipe-card:hover {
  border: 1px solid #000;
  box-shadow: none;
}

.recipe-card:hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 0;
}

.recipe-card-image {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #d4d4d4;
  background-color: #d4d4d4; /* Default fallback */
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.recipe-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-card-image-placeholder {
  width: 100%;
  height: 100%;
  background: #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.recipe-card-image-placeholder::after {
  content: '';
  width: 40%;
  height: 40%;
  border: 2px solid #999;
  border-radius: 4px;
}

.recipe-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: transparent;
  z-index: 2;
  align-items: center;
  text-align: center;
}

.recipe-card-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 100%);
  mix-blend-mode: multiply;
  z-index: 0;
}

@media (min-width: 768px) {
  .recipe-card-content::before {
    height: 80px;
  }
}

.recipe-card-title,
.recipe-card-cost,
.recipe-card-volume {
  position: relative;
  z-index: 1;
}

.recipe-card-title {
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.recipe-card-cost {
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.recipe-card-volume {
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  color: #fff;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.recipe-builder-card {
  position: relative;
  border: 12px solid transparent;
  outline: 1px solid transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 1.5rem;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 2;
}

.recipe-builder-header {
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0;
}

.recipe-title-section {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.recipe-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: #4b5563;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.recipe-title-input {
  border: 2px solid #666666;
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-size: 1.25rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  width: min(360px, 100%);
  background: white;
}

.recipe-input {
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  background: #fff;
  width: 100%;
  font-size: 0.85rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.recipe-textarea {
  border: 1px solid #d4d4d4;
  border-radius: 8px;
  padding: 0.65rem;
  width: 100%;
  background: #fff;
  font-size: 0.85rem;
}

.recipe-layout-grid {
  display: grid;
  grid-template-columns: 240px 1fr 280px;
  grid-gap: 1.25rem;
  gap: 1.25rem;
  align-items: stretch;
}

.recipe-layout-grid.no-side-panel {
  grid-template-columns: 240px 1fr;
}

.recipe-layout-grid.recipe-layout-with-batch {
  grid-template-columns: 240px 1fr 240px;
}

.recipe-layout-grid.recipe-layout-with-batch.no-side-panel {
  grid-template-columns: 240px 1fr 240px;
}

.recipe-media-panel,
.recipe-table-panel,
.recipe-side-panel,
.recipe-info-card,
.recipe-batch-card {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.recipe-media-panel {
  min-height: 0;
}

.recipe-media-placeholder {
  background: #ededed;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 1;
}

.recipe-media-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recipe-media-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #4b5563;
  padding: 1rem;
  text-align: center;
}

.recipe-media-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1 1;
  min-height: 0;
}

.recipe-media-inputs textarea {
  flex: 1 1;
  resize: none;
}

.recipe-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: white;
  border-radius: 0;
  overflow: hidden;
}

.recipe-table th {
  background-color: #d0d0d0 !important;
  color: #000 !important;
  background: #f0f0f0;
  font-size: 0.7rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.45rem;
}

.recipe-table td {
  padding: 0.35rem;
  border-top: 1px solid #e2e8f0;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.fraction-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 0.35rem;
  gap: 0.35rem;
}

.fraction-whole {
  text-align: right;
}

.recipes-remove-row {
  border: none;
  background: transparent;
  font-size: 1.2rem;
  color: #ef4444;
}

.recipes-add-row {
  border: 1px dashed #b0b0b0;
  background: transparent;
  width: 100%;
  padding: 0.5rem;
  border-radius: 0;
  color: #2d2d2d;
}

.ingredient-selector {
  position: relative;
}

.ingredient-input {
  padding-right: 2.5rem;
}

.ingredient-dropdown {
  position: absolute;
  inset: calc(100% + 2px) 0 auto 0;
  background: #fff;
  border: 1px solid #d4d4d4;
  max-height: 220px;
  overflow-y: auto;
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.ingredient-option {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0.35rem 0.5rem;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 0.8rem;
  color: #111;
}

.ingredient-option:hover {
  background: #f5f5f5;
}

.ingredient-name {
  font-weight: 600;
}

.ingredient-sheet {
  font-size: 0.7rem;
  color: #6b6b6b;
  text-transform: uppercase;
}

.ingredient-empty {
  padding: 0.5rem;
  font-size: 0.8rem;
  color: #9ca3af;
  text-align: center;
}

.recipe-info-card h3,
.recipe-batch-card h3 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
}

.batch-row {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.recipe-batch-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.recipe-batch-title {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #111;
  text-align: center;
  background: #f0f0f0;
  padding: 0.5rem;
  border: 1px solid #e0e0e0;
}

.recipe-batch-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border: none;
  table-layout: fixed;
  overflow: visible;
}

.recipe-batch-table thead {
  background: #d0d0d0 !important;
  overflow: visible;
}

.recipe-batch-table thead tr {
  height: 50.23px;
  overflow: visible;
  background: #d0d0d0 !important;
}

.recipe-batch-table thead th {
  height: 50.23px;
  vertical-align: middle;
}

.recipe-batch-table tfoot {
  background: #d0d0d0 !important;
  border-top: none;
}

.recipe-batch-table tfoot tr:last-child {
  border-top: none;
}

.recipe-batch-table tfoot tr:first-child td:first-child {
  border-left: none !important;
}

.recipe-batch-table tfoot tr:first-child td:last-child {
  border-right: none !important;
}

.recipe-batch-table tfoot tr:last-child td {
  border-left: none !important;
  border-right: none !important;
}

.recipe-batch-table th,
.recipe-batch-table td {
  padding: 0.5rem;
  border-right: 1px solid #e5e7eb;
  border-left: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  border-top: none;
  font-size: 0.85rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  height: 43.88px;
  vertical-align: middle;
}

.recipe-batch-table th:first-child,
.recipe-batch-table td:first-child {
  width: 40%;
  text-align: center;
}

.recipe-batch-table thead tr th:first-child {
  border-left: none !important;
}

.recipe-batch-table thead tr th:last-child {
  border-right: none !important;
}

.recipe-batch-table th:nth-child(2),
.recipe-batch-table td:nth-child(2) {
  width: 20%;
  text-align: center;
}

.recipe-batch-table th:nth-child(2) {
  border-right: none;
  border-left: none;
  text-align: center !important;
  overflow: visible !important;
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  letter-spacing: 0 !important;
  width: auto !important;
  min-width: -webkit-fit-content;
  min-width: fit-content;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  transform: translateX(-4px);
}

.recipe-batch-table th:last-child,
.recipe-batch-table td:last-child {
  width: 40%;
  text-align: center;
  border-right: none;
}

.recipe-batch-table thead th:last-child {
  border-right: none !important;
}

.recipe-batch-table th {
  background: #f0f0f0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

.recipe-batch-table tbody td {
  background: white;
}

.recipe-batch-table tfoot td {
  background: #f0f0f0;
  font-weight: 600;
  border: none !important;
}

.recipe-batch-table thead th {
  border: none !important;
}

.recipe-batch-checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #000;
}

.recipe-batch-input-row {
  padding: 0.5rem !important;
  border-left: none !important;
  border-right: none !important;
  background-color: #d0d0d0 !important;
}

.recipe-batch-input-row td {
  border-left: none !important;
  border-right: none !important;
}

.recipe-batch-input-group {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.recipe-batch-size-input {
  width: 100px;
  text-align: right;
  padding: 0.35rem 0.5rem;
  border: none;
}

.recipe-batch-unit-select {
  width: 60px;
  padding: 0.35rem 0.5rem;
  border: none;
}

.recipe-notes-panel {
  background: #fdfdfd;
  border: 1px solid #e0e0e0;
  border-radius: 0;
  padding: 1rem;
}

.recipe-color-picker-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.recipe-color-button {
  border: 1px solid #000 !important;
  border-radius: 8px;
  background-color: white !important;
  background: white !important;
  padding: 0.5rem;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.recipe-color-button:hover {
  border-color: #888;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recipe-color-swatch-display {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
}

.recipe-color-swatches-popup {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  background: white;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
}

.recipe-color-swatches {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-template-rows: repeat(6, 1fr);
  grid-gap: 2px;
  gap: 2px;
  width: 300px;
}

.recipe-color-swatch {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  transition: all 0.15s ease;
}

.recipe-color-swatch:hover {
  transform: scale(1.1);
  border-color: #888;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.recipe-color-swatch.active {
  border-color: #1f1f1f;
  border-width: 3px;
  box-shadow: 0 0 0 2px rgba(31, 31, 31, 0.2);
}

.recipe-details-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

.recipe-type-picker {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  position: relative;
}

.recipe-type-label-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.recipe-type-label-row .inventory-ice-edit-btn {
  height: auto;
  min-width: auto;
  width: auto;
  padding: 0;
  position: relative;
  top: -4px;
}

.recipe-type-select-wrapper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.recipe-type-display-box {
  border: 2px solid #666666;
  border-radius: 0;
  background: white;
  padding: 0.5rem 0.75rem;
  height: 40px;
  width: 160px;
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  flex-shrink: 0;
  overflow: hidden;
}

.recipe-garnish-input {
  width: 160px;
  font-size: 0.85rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  border: 2px solid #666666;
  border-radius: 0;
  background: white;
  padding: 0.5rem 0.75rem;
  height: 40px;
  box-sizing: border-box;
  flex-shrink: 0;
  cursor: text;
}

.recipe-garnish-input:focus {
  outline: none;
  border-color: #999;
}

.recipe-type-display-text {
  font-size: 0.85rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #111;
  flex: 1 1;
}

.recipe-type-select-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  font-size: 0.85rem;
}

.recipe-type-select-hidden:focus {
  opacity: 1;
  z-index: 10;
}

.recipe-type-select {
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #fff;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  min-width: 140px;
  cursor: pointer;
}

.recipe-builder-card {
  position: relative;
}

@media (max-width: 1200px) {
  .recipe-layout-grid {
    grid-template-columns: 1fr;
  }
}

.inventory-select {
  border: none;
  border-radius: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 1.5rem;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-select:focus {
  outline: none;
  box-shadow: none;
}

.inventory-select.fake-select-button,
.inventory-ice-edit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  background: transparent;
  border: none;
  position: relative;
}

.inventory-select-wrapper,
.inventory-ice-edit-btn {
  position: relative;
  width: 100%;
  border: 1px solid transparent;
  display: inline-block;
}

.inventory-select-wrapper::after,
.inventory-ice-edit-btn::after {
  content: '▾';
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #555;
  font-size: 0.75rem;
}

.inventory-header-cell {
  position: relative;
  overflow: visible;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.inventory-editor-popover {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  overflow: visible;
  width: 220px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  z-index: 20;
}

.inventory-editor-popover .flex.items-center.justify-between.mb-2 > span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}

.inventory-editor-options {
  max-height: 150px;
  overflow-y: auto;
  border: 1px solid #f1f1f1;
  border-radius: 0.375rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.inventory-editor-option {
  font-size: 0.75rem;
  color: #555;
  padding: 0.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.inventory-editor-option span {
  font-size: 0.75rem;
  font-weight: 600;
  color: #555;
}

.inventory-editor-empty {
  font-size: 0.7rem;
  color: #b1b1b1;
  text-align: center;
  padding: 0.5rem 0;
}

.inventory-editor-option button {
  width: 1.5rem;
  height: 1.5rem;
  border: 1px solid #d1d5db;
  border-radius: 9999px;
  background: #f7f7f7;
  font-weight: 600;
  font-size: 0.8rem;
  line-height: 1;
  cursor: pointer;
}

.inventory-editor-move {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.inventory-editor-move button {
  width: 1.25rem;
  height: 1.25rem;
  font-size: 0.65rem;
}

.inventory-editor-option button:hover {
  background: #f1f1f1;
}

.inventory-editor-option button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.editor-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.inventory-sort-button,
.inventory-editor-popover .inventory-sort-button,
.editor-actions .inventory-sort-button,
.inventory-editor-popover .editor-actions .inventory-sort-button {
  border: none !important;
  border-radius: 0 !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  font-family: inherit !important;
  padding: 0 !important;
  background: transparent !important;
  color: #374151 !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
  text-align: center !important;
  letter-spacing: 0 !important;
}

.inventory-sort-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.inventory-editor-close,
.inventory-editor-popover .inventory-editor-close,
.editor-actions .inventory-editor-close,
.inventory-editor-popover .editor-actions .inventory-editor-close {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  border: none !important;
  background: transparent !important;
  cursor: pointer !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 0.25rem !important;
  color: #374151 !important;
}

.inventory-editor-close.text-gray-400,
.inventory-editor-close.hover\:text-black,
.inventory-editor-popover .inventory-editor-close.text-gray-400 {
  color: #374151 !important;
}

.inventory-editor-close:hover,
.inventory-editor-popover .inventory-editor-close:hover {
  color: #111827 !important;
}

.inventory-editor-input {
  display: flex;
  gap: 0.5rem;
}

.inventory-search-input::placeholder {
  color: #000000;
  opacity: 1;
}

.inventory-search-input:focus {
  border: 1px solid #9ca3af !important;
  box-shadow: none !important;
  outline: none !important;
}

.inventory-editor-input input {
  flex: 1 1;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
}

.inventory-editor-input button {
  width: 2rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background: #f7f7f7;
  font-weight: 600;
  cursor: pointer;
}

.inventory-editor-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
/* Admin Panel Styles */
/* Fonts loaded via HTML link tag in public/index.html - no @import needed */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  background-color: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
}

/* Loading Screen */
.loading-screen {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f8fafc;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #e2e8f0;
  border-top: 4px solid #3b82f6;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Admin App Layout */
.admin-app {
  display: flex;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100vw;
}

.admin-main {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  margin-left: 280px;
  transition: margin-left 0.3s ease;
  min-width: 0;
  width: calc(100vw - 280px);
  max-width: calc(100vw - 280px);
  border: none;
  box-shadow: none;
}

.admin-main.sidebar-closed {
  margin-left: 280px;
}

.admin-content {
  flex: 1 1;
  padding: 0;
  background-color: white;
  min-width: 0;
  overflow-x: auto;
  width: 100%;
  border: none;
  box-shadow: none;
}

/* Sidebar */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  height: 100vh;
  width: 280px;
  background-color: #f5f5f5;
  color: #333;
  transition: width 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  border-right: 1px solid #e0e0e0;
}

.sidebar.closed {
  width: 280px;
}

.sidebar-header {
  padding: 24px 24px 0 24px;
  background-color: #f5f5f5;
}

.sidebar-title {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-nav {
  padding: 16px 0;
}

.nav-section-header {
  padding: 16px 24px 8px 24px;
  font-weight: 700;
  color: #333;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 8px;
}

.sidebar .nav-item {
  display: flex;
  align-items: center;
  padding: 12px 24px 12px 48px;
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  font-family: 'Montserrat', "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sidebar .nav-item:hover {
  background-color: #e8e8e8;
  color: #000;
  transform: translateX(4px);
}

.sidebar .nav-item.active {
  background-color: #d0d0d0;
  color: #000;
  border-right: 3px solid #333;
  font-weight: 600;
}

.sidebar .nav-item-with-submenu {
  display: flex;
  flex-direction: column;
}

.sidebar .nav-item-parent {
  padding-right: 12px;
}

.sidebar .nav-item-sub {
  padding-left: 72px;
  font-size: 13px;
}

.sidebar .nav-text {
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
}

.sidebar .expand-btn {
  background: transparent;
  border: none;
  color: #333;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
  margin-left: 16px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.sidebar .expand-btn:hover {
  color: #000;
}

.sidebar .nav-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar.closed .nav-text {
  display: none;
}

/* Header */
.header {
  background: white;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  box-shadow: none;
  border: none;
}

.header-left {
  display: flex;
  align-items: center;
}



.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.user-menu:hover {
  background-color: #f1f5f9;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 14px;
}

.user-name {
  font-weight: 500;
  color: #374151;
}

.user-role {
  font-size: 12px;
  color: #6b7280;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f1f5f9;
}

/* Cards and Containers */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.card-header {
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
  background-color: #f8fafc;
}

.card-title {
  font-size: 18px;
  font-weight: 600;
  color: #1e293b;
  margin: 0;
}

.card-body {
  padding: 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background-color: #3b82f6;
  color: white;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #64748b;
  color: white;
}

.btn-secondary:hover {
  background-color: #475569;
}

.btn-success {
  background-color: #10b981;
  color: white;
}

.btn-success:hover {
  background-color: #059669;
}

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

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #d1d5db;
  color: #374151;
}

.btn-outline:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.btn-lg {
  padding: 12px 20px;
  font-size: 16px;
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #374151;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-select {
  /* Dropdown arrow removed - browser default arrow will be used */
  padding-right: 40px;
  appearance: auto; /* Use browser default styling */
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

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

.table th,
.table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.table th {
  background-color: #f8fafc;
  font-weight: 600;
  color: #374151;
  font-size: 14px;
}

.table tr:hover {
  background-color: #f8fafc;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-success {
  background-color: #dcfce7;
  color: #166534;
}

.badge-warning {
  background-color: #fef3c7;
  color: #92400e;
}

.badge-danger {
  background-color: #fee2e2;
  color: #991b1b;
}

.badge-info {
  background-color: #dbeafe;
  color: #1e40af;
}

/* Grid and Layout */
.grid {
  display: grid;
  grid-gap: 24px;
  gap: 24px;
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }

/* Responsive Design */
@media (max-width: 1024px) {
  .admin-main {
    margin-left: 80px;
  }
  
  .sidebar {
    width: 80px;
  }
  
  .sidebar.expanded {
    width: 280px;
  }
  
  .nav-text {
    display: none;
  }
  
  .sidebar.expanded .nav-text {
    display: block;
  }
}

@media (max-width: 768px) {
  .admin-main {
    margin-left: 0;
  }
  
  .sidebar {
    transform: translateX(-100%);
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .admin-content {
    padding: 16px;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Login Page */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
}

.login-card {
  background: white;
  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);
  padding: 48px;
  width: 100%;
  max-width: 400px;
}

.login-header {
  text-align: center;
  margin-bottom: 32px;
}

.login-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.login-header p {
  color: #64748b;
  font-size: 16px;
}

.login-form {
  margin-bottom: 24px;
}

.login-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 14px;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 14px; }
.text-lg { font-size: 18px; }
.font-bold { font-weight: 700; }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.p-4 { padding: 16px; }
.p-6 { padding: 24px; }

/* Additional utility classes for GalleryManager */
.h-64 { height: 16rem; }
.h-96 { height: 24rem; }
.max-w-full { max-width: 100%; }
.max-h-96 { max-height: 24rem; }
.object-contain { object-fit: contain; }
.object-cover { object-fit: cover; }
.rounded-lg { border-radius: 0.5rem; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); }
.relative { position: relative; }
.absolute { position: absolute; }
.left-4 { left: 1rem; }
.right-4 { right: 1rem; }
.top-1/2 { top: 50%; }
.transform { transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y)); }
.-translate-y-1/2 { --tw-translate-y: -50%; }
.bg-black { background-color: rgb(0 0 0); }
.bg-opacity-50 { --tw-bg-opacity: 0.5; }
.text-white { color: rgb(255 255 255); }
.p-2 { padding: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.hover\:bg-opacity-75:hover { --tw-bg-opacity: 0.75; }
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.w-16 { width: 4rem; }
.h-16 { height: 4rem; }
.overflow-hidden { overflow: hidden; }
.border-2 { border-width: 2px; }
.border-blue-500 { border-color: rgb(59 130 246); }
.border-gray-300 { border-color: rgb(209 213 219); }
.hover\:border-gray-400:hover { border-color: rgb(156 163 175); }
.scale-110 { --tw-scale-x: 1.1; --tw-scale-y: 1.1; }
.flex-wrap { flex-wrap: wrap; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.bg-black { background-color: rgb(0 0 0); }
.bg-opacity-50 { --tw-bg-opacity: 0.5; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.z-50 { z-index: 50; }
.bg-white { background-color: rgb(255 255 255); }
.max-w-md { max-width: 28rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.w-full { width: 100%; }
.p-2 { padding: 0.5rem; }
.border { border-width: 1px; }
.border-gray-300 { border-color: rgb(209 213 219); }
.rounded { border-radius: 0.25rem; }
.bg-gray-200 { background-color: rgb(229 231 235); }
.bg-blue-600 { background-color: rgb(37 99 235); }
.h-2 { height: 0.5rem; }
.duration-300 { transition-duration: 300ms; }
.alert-success { background-color: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }

/* Additional utility classes for thumbnail layout */
.max-w-full { max-width: 100%; }
.overflow-x-auto { overflow-x: auto; }
.pb-2 { padding-bottom: 0.5rem; }
.flex-shrink-0 { flex-shrink: 0; }

/* Custom height for larger image display */
.max-h-\[500px\] { max-height: 500px; }

/* Arrow button styling */
.w-12 { width: 3rem; }
.h-12 { height: 3rem; }
.gap-8 { gap: 2rem; }
.disabled\:opacity-50:disabled { opacity: 0.5; }
.disabled\:cursor-not-allowed:disabled { cursor: not-allowed; }

/* Fixed image container */
.w-\[1000px\] { width: 1000px; }
.h-\[700px\] { height: 700px; }
.bg-gray-50 { background-color: rgb(249 250 251); }
.border-2 { border-width: 2px; }
.border-dashed { border-style: dashed; }
.border-gray-200 { border-color: rgb(229 231 235); }
.max-h-full { max-height: 100%; }

.menu-table-header {
  background-color: #d0d0d0 !important;
}

.menu-table-header th {
  background-color: #d0d0d0 !important;
  color: #000 !important;
}

/* Menu Manager Action Buttons - Grey by default, black on hover */
.menu-manager-action-button {
  color: #666666 !important;
  border-color: #666666 !important;
  min-width: 200px !important;
  width: 200px !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
}

.menu-manager-action-button:hover {
  color: #000 !important;
  border-color: #000 !important;
}

/* Style file input button to match action buttons - simpler approach */
input[type="file"].menu-manager-action-button {
  color: transparent !important;
  font-size: 0 !important;
}

/* Gallery Manager */
.gallery-manager {
  background: #222;
  min-height: 100vh;
  padding: 2rem;
  color: #ffffff;
}

input[type="file"].menu-manager-action-button::-webkit-file-upload-button {
  background: transparent !important;
  color: #666666 !important;
  border: 2px solid #666666 !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  -webkit-transition: all 0.2s ease !important;
  transition: all 0.2s ease !important;
  margin-right: 0 !important;
}

input[type="file"].menu-manager-action-button::file-selector-button {
  background: transparent !important;
  color: #666666 !important;
  border: 2px solid #666666 !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  margin-right: 0 !important;
}

input[type="file"].menu-manager-action-button:hover::-webkit-file-upload-button {
  color: #000 !important;
  border-color: #000 !important;
}

input[type="file"].menu-manager-action-button:hover::file-selector-button {
  color: #000 !important;
  border-color: #000 !important;
}


/*# sourceMappingURL=main.b2cb9e2d.css.map*/