/* Login Modal Styling */
.login-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in-out;
  backdrop-filter: blur(2px);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-modal-container {
  position: relative;
  width: 90%;
  max-width: 480px;
  animation: slideUp 0.3s ease-in-out;
}

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

.login-modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 5px 10px;
  z-index: 10000;
  transition: transform 0.2s ease;
}

.login-modal-close:hover {
  transform: scale(1.2);
}

.login-modal-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15),
              0 0 1px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Reuse existing login styles */
.login-logo-section {
  text-align: center;
  margin-bottom: 24px;
}

.brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.logo-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

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

.brand-title {
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  margin: 12px 0 4px 0;
  letter-spacing: -0.5px;
}

.brand-subtitle {
  font-size: 13px;
  color: #718096;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
  background-color: #fff;
  color: #2d3748;
}

.form-input::placeholder {
  color: #a0aec0;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group.focused .form-input,
.form-group.filled .form-input {
  border-color: #667eea;
  background-color: #f7fafc;
}

.password-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 4px 8px;
  transition: transform 0.2s ease;
}

.password-toggle:hover {
  transform: scale(1.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #4a5568;
  user-select: none;
}

.remember-me input[type="checkbox"] {
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: #667eea;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background-color: #fed7d7;
  color: #c53030;
  border: 1px solid #fc8181;
}

.alert-icon {
  font-size: 16px;
  flex-shrink: 0;
}

.login-button {
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  margin-top: 8px;
}

.login-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-button.loading {
  position: relative;
  color: transparent;
}

.spinner {
  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: white;
  animation: spin 0.8s linear infinite;
}

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

.button-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* Responsive Design */
@media (max-width: 480px) {
  .login-modal-container {
    width: 95%;
  }

  .login-modal-card {
    padding: 30px 24px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .logo-image {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 20px;
  }

  .brand-subtitle {
    font-size: 12px;
  }

  .login-modal-close {
    top: -35px;
    font-size: 24px;
  }
}
/* Navbar Styles */

/* Backdrop overlay - appears when sidebar is open on mobile */
.sidebar-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 98;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Toggle button */
.navbar-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: var(--primary-gradient);
  border: 2px solid var(--text-primary);
  border-radius: 10px;
  width: 50px;
  height: 50px;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-primary);
  font-weight: bold;
  padding: 0;
  min-width: 50px;
  min-height: 50px;
  flex-direction: column;
  gap: 2px;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg);
}

.navbar-toggle .toggle-icon {
  font-size: 24px;
}

.navbar-toggle .toggle-label {
  font-size: 0.6rem;
  letter-spacing: 0.5px;
}

.navbar-toggle:hover {
  transform: perspective(600px) rotateX(5deg) rotateY(-5deg) translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 186, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}

.navbar-toggle:active {
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) translateY(2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 3px rgba(0, 0, 0, 0.3);
}

.navbar-toggle:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Sidebar navigation styles */
.sidebar-nav {
  width: 260px;
  min-height: 100vh;
  height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f9f9fc 100%);
  border-left: 2px solid var(--border-color);
  padding: 100px 0 20px 0;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 12px rgba(0, 0, 0, 0.08);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-nav.open {
  transform: translateX(0);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
}

/* Backdrop overlay when sidebar is open */
.sidebar-nav.open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: -1;
  pointer-events: auto;
}

.sidebar-nav nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 12px;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 500;
  border-radius: 10px;
  margin-bottom: 4px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent;
  position: relative;
  cursor: pointer;
}

.nav-icon {
  font-size: 1.3em;
  display: flex;
  align-items: center;
}

.nav-label {
  flex: 1;
}

.sidebar-link.admin-link {
  border-top: 2px solid #e0e0e0;
  margin-top: 8px;
  padding-top: 16px;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
  border-left-color: #6366f1;
  color: #4f46e5;
  font-weight: 600;
}

.sidebar-link.admin-link.active {
  background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
  color: white;
  border-left-color: white;
}

/* Sidebar link hover and active states with better contrast */
.sidebar-link:hover {
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  transform: translateX(8px);
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
}

.sidebar-link.active {
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
  font-weight: 600;
}

/* Auth Links Section */
.auth-links {
  border-top: 2px solid #e0e0e0;
  margin-top: 12px;
  padding-top: 12px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: -12px;
  margin-right: -12px;
  padding-left: 12px;
  padding-right: 12px;
  width: auto;
}

.user-info {
  padding: 14px 18px;
  background: linear-gradient(135deg, #f0f4ff 0%, #f8f9ff 100%);
  color: #4f46e5;
  font-weight: 600;
  border-radius: 8px;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e0e6ff;
}

.user-icon {
  font-size: 1.4em;
  flex-shrink: 0;
}

.user-details {
  flex: 1;
}

.user-name {
  font-weight: 600;
  color: #4f46e5;
}

.user-role {
  font-size: 0.8em;
  color: #7c3aed;
  text-transform: capitalize;
}

.auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  text-decoration: none;
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  background: none;
  color: inherit;
  min-height: 44px;
}

.login-btn {
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: var(--text-primary);
  border: 2px solid #f5ba4a;
}

.login-btn:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.4);
}

.login-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.register-btn {
  background: linear-gradient(90deg, #6366f1 0%, #818cf8 100%);
  color: white;
  border: 2px solid #6366f1;
}

.register-btn:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.register-btn:focus {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

.logout-btn {
  background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
  color: white;
  border: 2px solid #ef4444;
}

.logout-btn:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.logout-btn:focus {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 800px) {
  .navbar-toggle {
    width: 48px;
    height: 48px;
    font-size: 26px;
    top: 18px;
    right: 18px;
    min-width: 48px;
    min-height: 48px;
  }

  .sidebar-nav {
    width: 100vw;
    min-height: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    right: 0;
    left: 0;
    border-left: none;
    border-top: 2px solid var(--border-color);
    padding: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: scaleY(0);
    transform-origin: top;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .sidebar-nav.open {
    transform: scaleY(1);
    opacity: 1;
    pointer-events: auto;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  }

  .sidebar-nav nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
    padding: 8px;
  }

  .sidebar-link {
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 4px;
    font-size: 0.95em;
    border-left: 4px solid transparent;
    border-bottom: none;
  }

  .sidebar-link:hover {
    border-left-color: var(--primary-color);
    transform: translateX(6px);
  }

  .sidebar-link.active {
    border-left-color: var(--text-primary);
  }
}

@media (max-width: 480px) {
  .navbar-toggle {
    width: 44px;
    height: 44px;
    font-size: 24px;
    min-width: 44px;
    min-height: 44px;
    top: auto;
    bottom: 20px;
  }

  .navbar-toggle .toggle-icon {
    font-size: 18px;
  }

  .navbar-toggle .toggle-label {
    font-size: 0.5rem;
  }

  .sidebar-link {
    padding: 12px 14px;
    font-size: 0.9em;
  }

  .nav-icon {
    font-size: 1.2em;
  }

  .auth-button {
    padding: 10px 14px;
    font-size: 0.9em;
  }
}
/* Breadcrumb Navigation Styles */

.breadcrumb-nav {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  padding: 12px 20px;
  margin: 0 0 24px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.15);
}

.breadcrumb-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.95rem;
}

.breadcrumb-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.breadcrumb-link:hover {
  background: rgba(35, 42, 54, 0.08);
  border-bottom-color: var(--text-primary);
  transform: translateX(2px);
}

.breadcrumb-link:focus {
  outline: 2px solid var(--text-primary);
  outline-offset: 2px;
}

.breadcrumb-home {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-separator {
  color: var(--text-primary);
  font-weight: 600;
  opacity: 0.6;
  margin: 0 4px;
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
  padding: 4px 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  display: inline-block;
}

/* Responsive Design */
@media (max-width: 768px) {
  .breadcrumb-nav {
    padding: 10px 16px;
    margin: 0 0 16px 0;
  }

  .breadcrumb-container {
    font-size: 0.9rem;
    gap: 6px;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    padding: 3px 6px;
  }

  .breadcrumb-separator {
    margin: 0 3px;
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .breadcrumb-nav {
    padding: 8px 12px;
    margin: 0 0 12px 0;
  }

  .breadcrumb-container {
    font-size: 0.85rem;
    gap: 4px;
  }

  .breadcrumb-link,
  .breadcrumb-current {
    padding: 2px 4px;
  }

  .breadcrumb-separator {
    margin: 0 2px;
    font-size: 0.8em;
  }
}
/* Workflow Tabs Styles */

.workflow-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
  width: 100%;
}

.workflow-tab {
  background: #fff;
  color: #222;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px 18px;
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
  font-size: 1.08em;
  cursor: pointer;
}

.workflow-tab:hover {
  background: #f5f5f5;
  border-color: #f5ba4a;
}

.workflow-tab.active {
  background: #f5ba4a;
  color: #232a36;
  box-shadow: 0 2px 8px rgba(255, 224, 163, 0.6);
  border-color: #f5ba4a;
}

/* Tablet Responsive Styles */
@media (max-width: 768px) {
  .workflow-tabs {
    gap: 8px;
    margin: 16px 0;
  }

  .workflow-tab {
    padding: 10px 16px;
    font-size: 0.8rem;
  }
}

/* Mobile Responsive Styles */
@media (max-width: 480px) {
  .workflow-tabs {
    display: none !important;
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 140px);
    min-height: 120px;
    overflow-y: scroll;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: #ffffff;
    gap: 3px;
    padding: 8px 6px;
    margin: 0;
    border-radius: 12px 12px 0 0;
    z-index: 51;
    flex-direction: column;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .workflow-tabs.mobile-open {
    display: flex !important;
    visibility: visible;
    opacity: 1;
  }

  .workflow-tab {
    padding: 11px 10px;
    font-size: 0.88rem;
    width: 100%;
    text-align: center;
    border-radius: 6px;
    flex-shrink: 0;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
    white-space: nowrap;
  }

  .workflow-tab:active {
    transform: scale(0.98);
    background: #f5ba4a;
  }
}

/* Home Shortcut Button (Mobile Only) */
.home-fab {
  position: fixed;
  bottom: 140px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: 2px solid var(--text-primary);
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-primary);
  font-weight: bold;
  padding: 0;
  flex-direction: column;
  gap: 2px;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg);
  text-decoration: none;
}

.home-fab .fab-icon {
  font-size: 18px;
}

.home-fab .fab-label {
  font-size: 0.5rem;
  letter-spacing: 0.5px;
}

.home-fab:hover {
  transform: perspective(600px) rotateX(5deg) rotateY(-5deg) translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 186, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}

.home-fab:active {
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) translateY(2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 3px rgba(0, 0, 0, 0.3);
}

/* Workflow Floating Button (Mobile Only) */
.workflow-fab {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  border: 2px solid var(--text-primary);
  border-radius: 8px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  font-size: 24px;
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--text-primary);
  font-weight: bold;
  padding: 0;
  flex-direction: column;
  gap: 2px;
  transform: perspective(600px) rotateX(0deg) rotateY(0deg);
}

.workflow-fab .fab-icon {
  font-size: 18px;
}

.workflow-fab .fab-label {
  font-size: 0.5rem;
  letter-spacing: 0.5px;
}

.workflow-fab:hover {
  transform: perspective(600px) rotateX(5deg) rotateY(-5deg) translateY(-3px);
  box-shadow: 0 12px 28px rgba(245, 186, 74, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -2px 6px rgba(0, 0, 0, 0.25);
}

.workflow-fab:active {
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) translateY(2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -1px 3px rgba(0, 0, 0, 0.3);
}

/* Mobile display for FAB buttons */
@media (max-width: 480px) {
  .home-fab {
    display: flex;
    width: 44px;
    height: 44px;
  }

  .home-fab .fab-icon {
    font-size: 16px;
  }

  .home-fab .fab-label {
    font-size: 0.45rem;
  }

  .workflow-fab {
    display: flex;
    width: 44px;
    height: 44px;
  }

  .workflow-fab .fab-icon {
    font-size: 16px;
  }

  .workflow-fab .fab-label {
    font-size: 0.45rem;
  }
}

/* Backdrop for mobile workflow tabs */
.workflow-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  display: none;
  touch-action: none;
}

.workflow-backdrop.active {
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  pointer-events: auto;
  display: block;
  touch-action: none;
}
.company-header {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 10;
}

.company-header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  align-items: center;
}

.company-logo-section {
  flex-shrink: 0;
}

.company-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.company-info-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.company-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #232a36;
  letter-spacing: 0.3px;
  word-wrap: break-word;
}

.company-tagline {
  margin: 0;
  font-size: 0.9rem;
  color: #232a36;
  font-style: italic;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .company-header {
    padding: 12px 16px;
    margin-bottom: 8px;
  }

  .company-header-container {
    gap: 12px;
  }

  .company-title {
    font-size: 1.25rem;
  }

  .company-tagline {
    font-size: 0.85rem;
  }

  .company-logo {
    width: 60px;
    height: 60px;
  }
}

@media (max-width: 480px) {
  .company-header {
    padding: 10px 12px;
    margin-bottom: 6px;
  }

  .company-header-container {
    gap: 10px;
  }

  .company-title {
    font-size: 1.1rem;
  }

  .company-tagline {
    font-size: 0.8rem;
  }

  .company-logo {
    width: 50px;
    height: 50px;
  }
}
/* Footer Styles */

.footer {
  background: linear-gradient(180deg, #2d3d52 0%, #1a2332 100%);
  color: #e8e8e8;
  padding: 48px 20px 0;
  margin-top: 60px;
  border-top: 2px solid rgba(245, 186, 74, 0.2);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px;
  padding-bottom: 48px;
}

/* Footer Section Styles */
.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f5ba4a;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(245, 186, 74, 0.3);
}

.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #c8c8c8;
  margin: 0 0 12px 0;
}

/* Company Info Section */
.company-footer-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
}

.contact-icon {
  font-size: 1.2em;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-link {
  color: #e8e8e8;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: #f5ba4a;
  border-bottom-color: #f5ba4a;
}

.contact-link:focus {
  outline: 2px solid #f5ba4a;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links li {
  margin: 0;
  padding: 0;
}

.footer-link {
  color: #c8c8c8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  position: relative;
}

.footer-link:hover {
  color: #f5ba4a;
  border-bottom-color: #f5ba4a;
  transform: translateX(4px);
}

.footer-link:focus {
  outline: 2px solid #f5ba4a;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Footer Bottom */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(245, 186, 74, 0.2);
  padding: 24px 20px;
  margin-top: 40px;
}

.footer-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-copyright {
  margin: 0;
  font-size: 0.9rem;
  color: #a0a0a0;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
}

.footer-legal-link {
  color: #c8c8c8;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid transparent;
}

.footer-legal-link:hover {
  color: #f5ba4a;
  border-bottom-color: #f5ba4a;
}

.footer-legal-link:focus {
  outline: 2px solid #f5ba4a;
  outline-offset: 2px;
  border-radius: 2px;
}

.separator {
  color: #5a5a5a;
}

/* Responsive Design */
@media (max-width: 768px) {
  .footer {
    padding: 40px 16px 0;
    margin-top: 40px;
  }

  .footer-container {
    gap: 32px;
    padding-bottom: 32px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .footer-heading {
    font-size: 1rem;
    margin: 0 0 10px 0;
  }

  .footer-description {
    font-size: 0.9rem;
  }

  .footer-bottom-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

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

@media (max-width: 480px) {
  .footer {
    padding: 32px 12px 0;
    margin-top: 32px;
  }

  .footer-container {
    gap: 24px;
    padding-bottom: 24px;
    grid-template-columns: 1fr;
  }

  .footer-heading {
    font-size: 0.95rem;
  }

  .footer-description {
    font-size: 0.85rem;
  }

  .footer-bottom {
    padding: 16px 12px;
  }

  .footer-copyright {
    font-size: 0.85rem;
  }

  .footer-legal {
    font-size: 0.85rem;
  }

  .contact-list li,
  .footer-links li {
    font-size: 0.85rem;
  }
}
/* Enquiry Page Styles */

.enquiry-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-family: inherit;
  color: var(--text-primary);
  animation: slideUp 0.5s ease-out;
}

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

.enquiry-container h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.enquiry-container form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.enquiry-container form > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.enquiry-container form > div.full-width {
  grid-column: 1 / -1;
}

.enquiry-container form > button[type="submit"] {
  grid-column: 1 / -1;
}

.enquiry-container label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
  display: block;
}

.enquiry-container input,
.enquiry-container textarea,
.enquiry-container select {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  background: #fff;
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  height: 44px;
  line-height: 1.4;
}

.enquiry-container textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

.enquiry-container select {
  height: 44px;
  appearance: none;
  padding-right: 30px;
}

.enquiry-container input::placeholder,
.enquiry-container textarea::placeholder {
  color: var(--text-light);
}

.enquiry-container input:focus,
.enquiry-container textarea:focus,
.enquiry-container select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  background: #fafbff;
}

.enquiry-container button[type="submit"] {
  grid-column: 1 / -1;
  background: var(--primary-gradient);
  color: var(--text-primary);
  border: none;
  padding: 14px 32px;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  margin-top: 20px;
  transition: var(--transition);
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
  letter-spacing: 0.3px;
}

.enquiry-container button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 186, 74, 0.3);
}

.enquiry-container button[type="submit"]:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .enquiry-container {
    padding: 24px 16px;
    margin: 24px auto;
  }

  .enquiry-container h2 {
    font-size: 24px;
    margin-bottom: 24px;
  }

  .enquiry-container form {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .enquiry-container form > div:last-child {
    grid-column: span 1;
  }

  .enquiry-container button[type="submit"] {
    grid-column: span 1;
  }

  .enquiry-container input,
  .enquiry-container textarea,
  .enquiry-container select {
    padding: 10px 12px;
    font-size: 16px; /* Prevents zoom on mobile */
  }
}

@media (max-width: 480px) {
  .enquiry-container {
    padding: 16px 12px;
    margin: 16px auto;
    border-radius: 8px;
  }

  .enquiry-container h2 {
    font-size: 20px;
  }

  .enquiry-container label {
    font-size: 0.9rem;
  }
}

/* Enquiries Table Styles */
.enquiries-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.enquiries-wrapper h2 {
  color: #232a36;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -0.5px;
}

.enquiries-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  table-layout: auto;
}

.enquiries-table th:nth-child(1) { width: 11%; min-width: 95px; }
.enquiries-table th:nth-child(2) { width: 11%; min-width: 95px; }
.enquiries-table th:nth-child(3) { width: 12%; min-width: 105px; }
.enquiries-table th:nth-child(4) { width: 10%; min-width: 85px; }
.enquiries-table th:nth-child(5) { width: 11%; min-width: 95px; }
.enquiries-table th:nth-child(6) { width: 10%; min-width: 85px; }
.enquiries-table th:nth-child(7) { width: 8%; min-width: 70px; }
.enquiries-table th:nth-child(8) { width: 10%; min-width: 80px; }
.enquiries-table th:nth-child(9) { width: 17%; min-width: 140px; }

.enquiries-table td:nth-child(1) { width: 11%; min-width: 95px; }
.enquiries-table td:nth-child(2) { width: 11%; min-width: 95px; }
.enquiries-table td:nth-child(3) { width: 12%; min-width: 105px; }
.enquiries-table td:nth-child(4) { width: 10%; min-width: 85px; }
.enquiries-table td:nth-child(5) { width: 11%; min-width: 95px; }
.enquiries-table td:nth-child(6) { width: 10%; min-width: 85px; }
.enquiries-table td:nth-child(7) { width: 8%; min-width: 70px; }
.enquiries-table td:nth-child(8) { width: 10%; min-width: 80px; }
.enquiries-table td:nth-child(9) { width: 17%; min-width: 140px; }

.enquiries-table thead {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  z-index: 10;
}

.enquiries-table th {
  padding: 14px 8px;
  text-align: left;
  color: #232a36;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.enquiries-table th:nth-child(1) { width: 5%; text-align: center; }
.enquiries-table th:nth-child(2) { width: 10%; }
.enquiries-table th:nth-child(3) { width: 11%; }
.enquiries-table th:nth-child(4) { width: 10%; }
.enquiries-table th:nth-child(5) { width: 9%; }
.enquiries-table th:nth-child(6) { width: 11%; }
.enquiries-table th:nth-child(7) { width: 10%; }
.enquiries-table th:nth-child(8) { width: 8%; text-align: center; }
.enquiries-table th:nth-child(9) { width: 10%; }
.enquiries-table th:nth-child(10) { width: 16%; text-align: center; min-width: 140px; }

.enquiries-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
  font-size: 13px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.enquiries-table td:nth-child(1) { width: 5%; text-align: center; }
.enquiries-table td:nth-child(2) { width: 10%; }
.enquiries-table td:nth-child(3) { width: 11%; }
.enquiries-table td:nth-child(4) { width: 10%; }
.enquiries-table td:nth-child(5) { width: 9%; }
.enquiries-table td:nth-child(6) { width: 11%; }
.enquiries-table td:nth-child(7) { width: 10%; }
.enquiries-table td:nth-child(8) { width: 8%; text-align: center; font-weight: 600; }
.enquiries-table td:nth-child(9) { width: 10%; }
.enquiries-table td:nth-child(10) { width: 16%; text-align: center; }

.serial-number {
  font-weight: 600;
  color: #f5ba4a;
  text-align: center;
}

.enquiries-table .actions-cell {
  text-align: center;
  white-space: normal;
  padding: 8px 4px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.action-btn {
  padding: 8px 12px;
  margin: 0;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: normal;
  display: block;
  width: 95%;
  line-height: 1.4;
  min-height: 32px;
}

.generate-quotation-btn {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
}

.generate-quotation-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.schedule-meeting-btn {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
}

.schedule-meeting-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* Thank You Message Styles */
.thank-you-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  min-height: 500px;
  animation: slideUp 0.5s ease-out;
}

.thank-you-icon {
  font-size: 80px;
  margin-bottom: 30px;
  animation: bounce 1s ease-in-out;
}

@keyframes bounce {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.thank-you-message h2 {
  font-size: 36px;
  color: #f5ba4a;
  margin-bottom: 15px;
  font-weight: 700;
}

.thank-you-message p {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.6;
}

.back-home-btn {
  margin-top: 30px;
  padding: 12px 40px;
  background: linear-gradient(135deg, #f5ba4a 0%, #e8a734 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 186, 74, 0.3);
}

.back-home-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 186, 74, 0.4);
}

/* Mobile Responsive Styles for Table */
@media (max-width: 768px) {
  .enquiries-wrapper {
    padding: 20px 0;
    margin: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .enquiries-wrapper h2 {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .enquiries-table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
  }

  .enquiries-table thead {
    display: table-header-group;
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  }

  .enquiries-table tbody {
    display: table-row-group;
  }

  .enquiries-table tr {
    display: table-row;
    border-bottom: 1px solid #e8e8f0;
  }

  .enquiries-table th {
    padding: 14px 10px;
    text-align: left;
    color: #232a36;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .enquiries-table td {
    display: table-cell;
    padding: 12px 8px;
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #e8e8f0;
    color: #555;
  }

  .enquiries-table td::before {
    content: none;
    display: none;
  }

  .enquiries-table tbody tr:hover {
    background-color: #f9f9fb;
  }

  .enquiries-table .actions-cell {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 4px;
    justify-content: center;
    padding: 6px 0;
  }

  .action-btn {
    padding: 6px 8px;
    font-size: 10px;
    white-space: nowrap;
    min-width: auto;
    width: auto;
    flex: 0 0 auto;
  }

  .generate-quotation-btn {
    background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
    color: #232a36;
  }

  .schedule-meeting-btn {
    background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
    color: white;
  }
}

@media (max-width: 480px) {
  .enquiries-wrapper {
    padding: 15px 10px;
  }

  .enquiries-wrapper h2 {
    font-size: 20px;
  }

  .enquiries-table {
    min-width: 100%;
    font-size: 11px;
    table-layout: auto;
  }

  .enquiries-table tr {
    padding: 12px;
  }

  .enquiries-table th {
    padding: 10px 6px;
    font-size: 11px;
  }

  .enquiries-table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .action-btn {
    padding: 8px 10px;
    font-size: 11px;
    min-width: 120px;
  }

  .enquiries-table .actions-cell {
    flex-direction: column;
  }

  .enquiries-table .actions-cell > button {
    width: 100%;
    min-width: auto;
  }
}

/* Map Modal Styles */

.view-location-btn {
  padding: 8px 8px !important;
  background: #ffffff !important;
  color: white;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  width: 40px !important;
  height: 40px !important;
}

.view-location-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.location-modal {
  max-width: 700px;
}

.location-modal .modal-header {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
}

.location-modal .modal-header h2 {
  color: #1a1a1a;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.location-info {
  background: #fffef5;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #f5ba4a;
}

.location-info p {
  margin: 8px 0;
  font-size: 14px;
  color: #333;
}

.location-info strong {
  color: #232a36;
  font-weight: 600;
}

.map-links {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.map-link-btn {
  flex: 1;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* Map Icon Styling */
.map-icon {
  vertical-align: middle;
  margin-right: 8px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.map-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.9;
}/* Menu Page Styles */

.menu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeIn 0.4s ease-out;
}

.menu-header {
  text-align: center;
  margin-bottom: 40px;
}

.menu-container h2 {
  color: var(--text-primary);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.menu-subtitle {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* Search Container */
.search-container {
  position: relative;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.search-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 15px;
  border: 1.5px solid var(--border-color);
  border-radius: 10px;
  background: white;
  color: var(--text-primary);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-weight: 500;
}

.search-input::placeholder {
  color: var(--text-light);
  font-weight: 400;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.15);
  background: #fffef5;
}

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
  width: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-clear:hover {
  color: var(--primary-color);
}

/* Category Filter Section */
.category-filter-section {
  margin-bottom: 40px;
  padding: 20px 0;
}

.category-filter-title {
  text-align: center;
  color: var(--text-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 16px 0;
  letter-spacing: -0.3px;
}

.category-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 10px;
}

.category-btn {
  padding: 10px 18px;
  background: white;
  color: var(--text-secondary);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
  transform: translateY(-2px);
}

.category-btn.active {
  background: var(--primary-gradient);
  color: var(--text-primary);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
  font-weight: 600;
}

/* Categories Grid */
.categories-grid {
  display: grid;
  gap: 40px;
}

.category-section {
  animation: slideUp 0.5s ease-out;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--primary-color);
}

.category-header h3 {
  color: var(--text-primary);
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.item-count {
  background: var(--primary-gradient);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
}

/* Items List */
.items-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.menu-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 0;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  animation: fadeInUp 0.5s ease-out;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.menu-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 12px 24px rgba(245, 186, 74, 0.2);
  transform: translateY(-6px);
}

/* Card Image Styles - REMOVED */

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 16px 16px 0 16px;
}

.card-header h4 {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  flex: 1;
  line-height: 1.4;
}

/* Prices Container */
.prices-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding: 12px 16px 16px 16px;
}

.price-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.price-option:hover {
  background: #fffef5;
  border-color: var(--primary-color);
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.1);
}

.price-label {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.price-value {
  color: var(--primary-color);
  font-size: 15px;
  font-weight: 700;
}

.no-price {
  color: var(--text-light);
  font-size: 13px;
  font-style: italic;
  padding: 12px;
}

.price-restricted {
  padding: 16px 12px;
  background: linear-gradient(135deg, rgba(255, 199, 61, 0.1) 0%, rgba(245, 186, 74, 0.05) 100%);
  border: 1.5px dashed var(--primary-color);
  border-radius: 6px;
  text-align: center;
}

.price-restricted p {
  margin: 0;
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* No Items Message */
.no-items {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.no-items p {
  font-size: 18px;
  margin: 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .items-list {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }

  .menu-container h2 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .menu-container {
    padding: 24px 16px;
  }

  .menu-container h2 {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .menu-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .search-container {
    margin-bottom: 32px;
  }

  .category-filter-title {
    font-size: 1.1rem;
    margin-bottom: 14px;
  }

  .category-buttons {
    gap: 8px;
    padding: 0 8px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .category-btn {
    padding: 8px 14px;
    font-size: 0.9rem;
    min-height: 40px;
  }

  .items-list {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
  }

  .category-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
  }

  .category-header h3 {
    font-size: 20px;
  }

  .item-count {
    padding: 5px 12px;
    font-size: 12px;
  }

  .menu-card {
    padding: 16px;
  }

  .card-header h4 {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .menu-container {
    padding: 16px 12px;
  }

  .menu-container h2 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .menu-subtitle {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .search-input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .search-container {
    margin-bottom: 24px;
  }

  .category-filter-title {
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .category-buttons {
    gap: 6px;
    padding: 0 6px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .category-btn {
    padding: 7px 12px;
    font-size: 0.85rem;
    min-height: 36px;
    border-radius: 20px;
  }

  .items-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .category-header h3 {
    font-size: 18px;
  }

  .menu-card {
    padding: 14px;
  }

  .card-header h4 {
    font-size: 15px;
  }

  .price-label {
    font-size: 11px;
  }

  .price-value {
    font-size: 14px;
  }

  .price-option {
    padding: 10px;
  }
}/* Quotation Page Styles */

.quotation-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 40px;
  background: linear-gradient(135deg, #fafbfe 0%, #f5f9ff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(80, 120, 200, 0.12);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s ease-out;
}

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

.quotation-container::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 80%);
  opacity: 0.08;
  z-index: 0;
  border-radius: 50%;
}

.quotation-container::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 80%);
  opacity: 0.06;
  z-index: 0;
  border-radius: 50%;
}

.quotation-container h2 {
  color: var(--text-primary);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.quotation-container h3 {
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 16px 0;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quotation-container h3::before {
  content: '🍲';
  font-size: 20px;
}

.quotation-container input[type="text"],
.quotation-container input[type="tel"],
.quotation-container input[type="number"],
.quotation-container input[type="date"],
.quotation-container textarea,
.quotation-container select {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.95rem;
  margin-bottom: 12px;
  background: #fff;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  font-family: inherit;
  width: 100%;
}

.quotation-container input::placeholder,
.quotation-container textarea::placeholder {
  color: var(--text-light);
}

.quotation-container input:focus,
.quotation-container textarea:focus,
.quotation-container select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  background: #fafbff;
}

.quotation-container button {
  background: var(--primary-gradient);
  color: var(--text-primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1;
}

.quotation-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 186, 74, 0.3);
}

.quotation-container button:active {
  transform: translateY(0);
}

.quotation-container button:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.quotation-container label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
  font-size: 0.95rem;
}

.quotation-container table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  position: relative;
  z-index: 1;
}

.quotation-container th,
.quotation-container td {
  border: 1px solid var(--border-color);
  padding: 14px 16px;
  text-align: left;
  font-size: 0.9rem;
}

.quotation-container th {
  background: var(--primary-gradient);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.quotation-container tbody tr {
  transition: background-color 0.2s;
}

.quotation-container tbody tr:hover {
  background-color: var(--bg-light);
}

.quotation-container tfoot td {
  font-weight: 600;
  background: var(--bg-light);
  color: var(--text-primary);
}

.quotation-container .dropdown {
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  max-height: 200px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.quotation-container .dropdown div {
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
  font-size: 0.95rem;
}

.quotation-container .dropdown div:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.quotation-customer-card {
  background: linear-gradient(135deg, #fffbe6 0%, #f5f9ff 100%);
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.15);
  padding: 20px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  color: var(--text-primary);
  border: 1.5px solid rgba(245, 186, 74, 0.3);
  display: inline-block;
  position: relative;
  z-index: 1;
}

.price-input {
  width: 75px;
  padding: 8px 6px;
  border: 1.5px solid var(--primary-color);
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(245, 186, 74, 0.15);
  height: 36px;
  box-sizing: border-box;
  background-color: #fef9f0;
}

.price-input:focus {
  outline: none;
  border-color: #f59f1d;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .quotation-container {
    padding: 24px 16px;
    margin: 24px auto;
    border-radius: 12px;
  }

  .quotation-container h2 {
    font-size: 24px;
  }

  .quotation-container h3 {
    font-size: 16px;
    margin: 20px 0 12px 0;
  }

  .quotation-container input,
  .quotation-container textarea,
  .quotation-container select {
    padding: 10px 12px;
    font-size: 16px; /* Prevents zoom on mobile */
  }

  .quotation-container th,
  .quotation-container td {
    padding: 10px 8px;
    font-size: 0.85rem;
  }

  /* Mobile Menu Items Table Styles */
  table {
    border-collapse: separate;
    border-spacing: 0 12px;
    width: 100%;
  }

  table thead {
    display: none;
  }

  table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  table tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    gap: 12px;
  }

  table tr[style*="background: #f5f5f5"] {
    background: #f5f5f5 !important;
    border-radius: 8px;
  }

  table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border: none;
    text-align: right;
  }

  table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #f5ba4a;
    text-transform: uppercase;
    font-size: 11px;
    text-align: left;
    flex: 0 0 auto;
  }

  table button {
    width: 100%;
    padding: 8px;
    margin: 0;
    font-size: 13px;
  }

  table td {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .quotation-container {
    padding: 16px 12px;
    border-radius: 8px;
  }

  .quotation-container h2 {
    font-size: 20px;
  }

  .quotation-container h3 {
    font-size: 15px;
  }

  .quotation-customer-card {
    padding: 14px;
    font-size: 0.9rem;
  }
}.create-event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.create-event-header {
  margin-bottom: 32px;
  border-bottom: 2px solid #f5ba4a;
  padding-bottom: 20px;
}

.create-event-header h1 {
  margin: 0;
  color: #232a36;
  font-size: 2em;
  font-weight: 700;
}

.create-event-header p {
  color: #666;
  font-size: 0.95em;
}

/* Form Sections */
.form-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 1024px) {
  .form-sections {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.form-section {
  background: #f9f9f9;
  padding: 24px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.section-title {
  margin: 0 0 20px 0;
  color: #232a36;
  font-size: 1.3em;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5ba4a;
}

/* Form Rows and Groups */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-row.full {
  grid-template-columns: 1fr;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
  color: #232a36;
  font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95em;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #f5ba4a;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

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

/* Menu Add Section */
.menu-add-section {
  margin-bottom: 24px;
}

.menu-add-section h3 {
  margin: 0 0 16px 0;
  color: #232a36;
  font-size: 1.1em;
  font-weight: 600;
}

.menu-dropdown {
  position: absolute;
  top: 44px;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}

.dropdown-item:hover {
  background: #f5f5f5;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item-empty {
  padding: 10px 12px;
  color: #888;
  text-align: center;
  font-size: 0.9em;
}

/* Items Table Section */
.items-table-section {
  margin-top: 24px;
}

.items-table-section h3 {
  margin: 0 0 16px 0;
  color: #232a36;
  font-size: 1.1em;
  font-weight: 600;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.items-table thead {
  background: #f5ba4a;
  color: #232a36;
  font-weight: 600;
}

.items-table th {
  padding: 12px;
  text-align: left;
  border-right: 1px solid #ddd;
  font-size: 0.9em;
}

.items-table th:last-child {
  border-right: none;
}

.items-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.9em;
}

.items-table tbody tr:hover {
  background: #f9f9f9;
}

.items-table tbody tr[style*="background: #f5f5f5"] {
  font-weight: bold;
  background: #f5f5f5 !important;
}

.remove-btn {
  background: none;
  border: none;
  color: #d32f2f;
  cursor: pointer;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.remove-btn:hover {
  background: #ffebee;
}

/* Buttons */
.button {
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-block;
}

.button:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.button-primary {
  background: #f5ba4a;
  color: #232a36;
  font-weight: 600;
}

.button-primary:not(:disabled):hover {
  background: #f5a820;
  color: #232a36;
}

.button-secondary {
  background: #ddd;
  color: #232a36;
}

.button-secondary:not(:disabled):hover {
  background: #ccc;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  .form-actions {
    flex-direction: column-reverse;
  }

  .form-actions .button {
    width: 100%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .create-event-container {
    padding: 16px;
  }

  .form-section {
    padding: 16px;
  }

  .form-sections {
    gap: 16px;
  }

  .section-title {
    font-size: 1.1em;
    margin-bottom: 16px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .items-table {
    font-size: 0.85em;
  }

  .items-table th,
  .items-table td {
    padding: 8px;
  }

  .button {
    padding: 8px 14px;
    font-size: 0.9em;
  }
}

/* Print Styles */
@media print {
  .create-event-container {
    box-shadow: none;
    border: 1px solid #ddd;
  }

  .form-actions {
    display: none;
  }
}

/* Animation for form submission */
.form-submitting {
  opacity: 0.7;
  pointer-events: none;
}

.success-message {
  padding: 16px;
  margin-bottom: 16px;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  border-radius: 6px;
  color: #2e7d32;
  font-weight: 500;
}

.error-message {
  padding: 16px;
  margin-bottom: 16px;
  background: #ffebee;
  border: 1px solid #d32f2f;
  border-radius: 6px;
  color: #c62828;
  font-weight: 500;
}
/* ViewQuotations Page Styles */

.view-quotations-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

.view-quotations-container h2 {
  color: #232a36;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  letter-spacing: -0.5px;
}

.quotations-wrapper {
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

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

.quotations-table th:nth-child(1) { width: 11%; min-width: 95px; }
.quotations-table th:nth-child(2) { width: 11%; min-width: 95px; }
.quotations-table th:nth-child(3) { width: 10%; min-width: 85px; }
.quotations-table th:nth-child(4) { width: 12%; min-width: 105px; }
.quotations-table th:nth-child(5) { width: 10%; min-width: 85px; }
.quotations-table th:nth-child(6) { width: 11%; min-width: 95px; }
.quotations-table th:nth-child(7) { width: 10%; min-width: 85px; }
.quotations-table th:nth-child(8) { width: 8%; min-width: 70px; }
.quotations-table th:nth-child(9) { width: 10%; min-width: 85px; }
.quotations-table th:nth-child(10) { width: 8%; min-width: 70px; text-align: right; }
.quotations-table th:nth-child(11) { width: 9%; min-width: 80px; }

.quotations-table td:nth-child(1) { width: 11%; min-width: 95px; }
.quotations-table td:nth-child(2) { width: 11%; min-width: 95px; }
.quotations-table td:nth-child(3) { width: 10%; min-width: 85px; }
.quotations-table td:nth-child(4) { width: 12%; min-width: 105px; }
.quotations-table td:nth-child(5) { width: 10%; min-width: 85px; }
.quotations-table td:nth-child(6) { width: 11%; min-width: 95px; }
.quotations-table td:nth-child(7) { width: 10%; min-width: 85px; }
.quotations-table td:nth-child(8) { width: 8%; min-width: 70px; }
.quotations-table td:nth-child(9) { width: 10%; min-width: 85px; }
.quotations-table td:nth-child(10) { width: 8%; min-width: 70px; text-align: right; }
.quotations-table td:nth-child(11) { width: 9%; min-width: 80px; }

.quotations-table thead {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  z-index: 10;
}

.quotations-table th {
  padding: 16px 12px;
  text-align: left;
  color: #232a36;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quotations-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
  font-size: 13px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.quotations-table tbody tr:hover {
  background-color: #f9f9fb;
  transition: background-color 0.2s ease;
}

.quotations-table ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quotations-table li {
  font-size: 12px;
  padding: 2px 0;
}

.confirm-order-btn {
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
}

.confirm-order-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.confirm-order-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #ccc;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .quotations-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .quotations-table {
    min-width: 1050px;
    table-layout: auto;
  }

  .quotations-table thead {
    display: table-header-group;
  }

  .quotations-table tbody {
    display: table-row-group;
  }

  .quotations-table tr {
    display: table-row;
    border-bottom: 1px solid #e8e8f0;
  }

  .quotations-table th {
    padding: 14px 10px;
    font-size: 12px;
  }

  .quotations-table td {
    display: table-cell;
    padding: 12px 8px;
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .quotations-table td::before {
    content: none;
    display: none;
  }

  .confirm-order-btn {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .quotations-table li {
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .view-quotations-container {
    padding: 15px 10px;
  }

  .view-quotations-container h2 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .quotations-table {
    min-width: 900px;
    font-size: 11px;
  }

  .quotations-table th {
    padding: 12px 6px;
    font-size: 11px;
  }

  .quotations-table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .confirm-order-btn {
    padding: 6px 8px;
    font-size: 10px;
  }

  .quotations-table li {
    font-size: 10px;
  }
}
/* Confirm Page Styles */

.confirm-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 40px 20px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  text-align: left;
  color: var(--text-primary);
  animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.confirm-container h2 {
  color: var(--text-primary);
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 30px;
  letter-spacing: -0.5px;
}

/* Table Wrapper - Clean Style */
.confirm-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  background: white;
}

.confirm-wrapper table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  table-layout: auto;
}

.confirm-wrapper table th:nth-child(1) { width: 10%; min-width: 80px; }
.confirm-wrapper table th:nth-child(2) { width: 12%; min-width: 100px; }
.confirm-wrapper table th:nth-child(3) { width: 10%; min-width: 85px; }
.confirm-wrapper table th:nth-child(4) { width: 12%; min-width: 100px; }
.confirm-wrapper table th:nth-child(5) { width: 10%; min-width: 85px; }
.confirm-wrapper table th:nth-child(6) { width: 12%; min-width: 95px; }
.confirm-wrapper table th:nth-child(7) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table th:nth-child(8) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table th:nth-child(9) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table th:nth-child(10) { width: 8%; min-width: 65px; }
.confirm-wrapper table th:nth-child(11) { width: 12%; min-width: 95px; }

.confirm-wrapper table td:nth-child(1) { width: 10%; min-width: 80px; }
.confirm-wrapper table td:nth-child(2) { width: 12%; min-width: 100px; }
.confirm-wrapper table td:nth-child(3) { width: 10%; min-width: 85px; }
.confirm-wrapper table td:nth-child(4) { width: 12%; min-width: 100px; }
.confirm-wrapper table td:nth-child(5) { width: 10%; min-width: 85px; }
.confirm-wrapper table td:nth-child(6) { width: 12%; min-width: 95px; }
.confirm-wrapper table td:nth-child(7) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table td:nth-child(8) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table td:nth-child(9) { width: 8%; min-width: 70px; text-align: right; }
.confirm-wrapper table td:nth-child(10) { width: 8%; min-width: 65px; }
.confirm-wrapper table td:nth-child(11) { width: 12%; min-width: 95px; }

.confirm-wrapper table thead {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  z-index: 10;
}

.confirm-wrapper table th {
  padding: 16px 12px;
  text-align: left;
  color: #232a36;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
}

.confirm-wrapper table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
  font-size: 13px;
}

.confirm-wrapper table tbody tr {
  transition: background-color 0.2s ease;
}

.confirm-wrapper table tbody tr:hover {
  background-color: #f9f9fb;
}

.confirm-wrapper table tbody tr:last-child td {
  border-bottom: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .confirm-container {
    padding: 20px 0;
    margin: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }

  .confirm-container h2 {
    font-size: 24px;
    padding: 0 15px;
  }

  /* Keep table horizontal on mobile */
  .confirm-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .confirm-wrapper table {
    min-width: 900px;
    table-layout: auto;
  }

  .confirm-wrapper table thead {
    display: table-header-group;
  }

  .confirm-wrapper table tbody {
    display: table-row-group;
  }

  .confirm-wrapper table tr {
    display: table-row;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .confirm-wrapper table td {
    display: table-cell;
    padding: 12px 8px;
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .confirm-wrapper table td:last-child {
    border-bottom: 1px solid #e8e8f0;
  }

  .confirm-wrapper table button {
    font-size: 10px;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .confirm-wrapper table td::before {
    content: none;
    display: none;
  }
}

@media (max-width: 480px) {
  .confirm-container {
    padding: 14px 0;
    margin: 14px 0;
  }

  .confirm-container h2 {
    font-size: 18px;
    margin-bottom: 16px;
    padding: 0 15px;
  }

  /* Further optimize mobile layout */
  .confirm-wrapper table {
    min-width: 800px;
  }

  .confirm-wrapper table th {
    padding: 12px 6px;
    font-size: 11px;
  }

  .confirm-wrapper table td {
    font-size: 11px;
    padding: 8px 6px;
  }

  .confirm-wrapper table button {
    font-size: 10px;
    padding: 6px 8px !important;
  }
}.pagination-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.pagination-info {
  text-align: center;
  font-size: 0.95rem;
  color: #666;
}

.pagination-info strong {
  color: #8b0000;
  font-weight: 600;
}

.pagination-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-numbers {
  display: flex;
  gap: 4px;
  align-items: center;
}

.pagination-btn {
  padding: 8px 12px;
  background: #ffffff;
  color: #8b0000;
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  min-width: 40px;
  text-align: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #ffd700;
  border-color: #ffd700;
  color: #8b0000;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f5;
}

.pagination-btn.active {
  background: #8b0000;
  color: #ffffff;
  border-color: #8b0000;
  font-weight: 700;
}

.pagination-btn.active:hover {
  background: #a00000;
  border-color: #a00000;
}

.pagination-ellipsis {
  color: #999;
  padding: 0 4px;
}

.pagination-btn-first,
.pagination-btn-last {
  font-size: 0.85rem;
}

.pagination-btn-prev,
.pagination-btn-next {
  min-width: 100px;
}

/* Responsive */
@media (max-width: 768px) {
  .pagination-container {
    padding: 16px;
    gap: 12px;
  }

  .pagination-controls {
    gap: 6px;
  }

  .pagination-numbers {
    gap: 2px;
  }

  .pagination-btn {
    padding: 6px 10px;
    font-size: 0.85rem;
    min-width: 36px;
  }

  .pagination-btn-first,
  .pagination-btn-last {
    display: none;
  }

  .pagination-btn-prev,
  .pagination-btn-next {
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .pagination-controls {
    gap: 4px;
  }

  .pagination-numbers {
    gap: 2px;
  }

  .pagination-btn {
    padding: 6px 8px;
    font-size: 0.8rem;
    min-width: 32px;
  }

  .pagination-info {
    font-size: 0.85rem;
  }
}
/* Event.css */

.event-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  animation: fadeIn 0.6s ease-out;
}

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

.event-header {
  text-align: center;
  margin-bottom: 40px;
}

.event-container h2 {
  color: #232a36;
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.event-subtitle {
  color: #666;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
}

/* Loading & No Events */
.loading,
.no-events-message {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 16px;
}

/* Event Category */
.event-category {
  margin-bottom: 50px;
  animation: slideUp 0.5s ease-out;
}

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

.category-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid #f5ba4a;
}

.category-header h3 {
  color: #232a36;
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.3px;
}

.event-count {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 13px;
  font-weight: 600;
}

/* Event Tabs */
.event-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 2px solid #e8e8f0;
  overflow-x: auto;
  padding-bottom: 0;
}

.tab-button {
  padding: 12px 24px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-button:hover {
  color: #232a36;
}

.tab-button.active {
  color: #232a36;
  border-bottom-color: #f5ba4a;
  font-weight: 600;
}

.tab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  min-width: 24px;
}

.tab-content {
  animation: fadeIn 0.3s ease-out;
}

/* Events Grid & Table */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.events-table thead {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  z-index: 10;
}

.events-table th {
  padding: 16px 12px;
  text-align: left;
  color: #232a36;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.events-table th:nth-child(1) { width: 5%; text-align: center; }
.events-table th:nth-child(2) { width: 12%; }
.events-table th:nth-child(3) { width: 15%; }
.events-table th:nth-child(4) { width: 12%; }
.events-table th:nth-child(5) { width: 12%; text-align: right; }
.events-table th:nth-child(6) { width: 12%; text-align: right; }
.events-table th:nth-child(7) { width: 12%; text-align: center; }
.events-table th:nth-child(8) { width: 20%; text-align: center; }

.events-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
  font-size: 13px;
  white-space: nowrap;
}

.events-table td:nth-child(4), .events-table td:nth-child(5) { text-align: right; }
.events-table td:nth-child(6), .events-table td:nth-child(7) { text-align: center; white-space: normal; }

.events-table tbody tr {
  transition: all 0.2s ease;
}

.events-table tbody tr:hover {
  background-color: #f9f9fb;
}

.events-table td strong {
  color: #232a36;
  font-weight: 600;
}

.amount-gold {
  color: #f5ba4a !important;
  font-weight: 600;
}

.amount-green {
  color: #1a7f37 !important;
  font-weight: 600;
}

.assign-btn {
  padding: 8px 14px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
  white-space: nowrap;
}

.assign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.view-items-btn-small {
  padding: 6px 12px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
  white-space: nowrap;
}

.view-items-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.items-row {
  background-color: #f9f9fb;
}

.items-row td {
  padding: 0;
  border: none;
}

.items-details {
  padding: 20px;
  background-color: #f9f9fb;
  border-radius: 8px;
  margin: 10px 0;
}

.items-details h5 {
  margin: 0 0 15px 0;
  color: #232a36;
  font-size: 14px;
  font-weight: 600;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 6px;
  overflow: hidden;
}

.items-table th {
  background-color: #e8e8f0;
  padding: 10px;
  text-align: left;
  color: #232a36;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
}

.items-table th:nth-child(1) { width: 5%; }
.items-table th:nth-child(2) { width: 40%; }
.items-table th:nth-child(3) { width: 12%; }
.items-table th:nth-child(4) { width: 10%; text-align: center; }
.items-table th:nth-child(5) { width: 15%; text-align: right; }
.items-table th:nth-child(6) { width: 15%; text-align: right; }

.items-table td {
  padding: 10px;
  border-bottom: 1px solid #e8e8f0;
  color: #555;
  font-size: 14px;
}

.items-table td:nth-child(1) { text-align: center; }
.items-table td:nth-child(4) { text-align: center; }
.items-table td:nth-child(5), .items-table td:nth-child(6) { text-align: right; }

.items-table tbody tr:hover {
  background-color: #f5f5f5;
}

.event-card {
  background: white;
  border: 1px solid #e8e8f0;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.event-card:hover {
  border-color: #f5ba4a;
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.15);
  transform: translateY(-4px);
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f5f5f5;
}

.event-card-header h4 {
  color: #232a36;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.event-date {
  background: #f5f5f5;
  color: #666;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* Event Info */
.event-info {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f5f5f5;
}

.event-info p {
  color: #555;
  font-size: 13px;
  margin: 8px 0;
  line-height: 1.5;
}

.event-info strong {
  color: #232a36;
  font-weight: 600;
}

/* Event Summary */
.event-summary {
  background: #f9f9fb;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  color: #666;
  font-size: 13px;
}

.summary-row strong {
  color: #232a36;
  font-weight: 600;
}

.summary-row .amount {
  color: #f5ba4a;
  font-size: 14px;
}

.summary-row.highlight {
  padding-top: 8px;
  border-top: 1px solid #e8e8f0;
  font-weight: 600;
}

.summary-row.highlight .amount {
  color: #1a7f37;
  font-size: 15px;
}

/* Items Preview */
.items-preview {
  display: flex;
  gap: 8px;
}

.view-items-btn {
  flex: 1;
  padding: 10px 12px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
}

.view-items-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.no-events {
  color: #999;
  text-align: center;
  padding: 30px 20px;
  font-style: italic;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
  .event-container {
    padding: 24px 16px;
  }

  .event-container h2 {
    font-size: 28px;
  }

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

  .category-header h3 {
    font-size: 20px;
  }

  .event-card {
    padding: 16px;
  }

  .table-wrapper {
    overflow-x: auto;
  }

  .events-table {
    min-width: 100%;
    table-layout: auto;
  }

  .events-table th, .events-table td {
    padding: 12px 8px;
    font-size: 12px;
    text-align: left;
  }

  .events-table th:nth-child(1),
  .events-table td:nth-child(1) { width: 12%; }

  .events-table th:nth-child(2),
  .events-table td:nth-child(2) { width: 15%; }

  .events-table th:nth-child(3),
  .events-table td:nth-child(3) { width: 13%; }

  .events-table th:nth-child(4),
  .events-table td:nth-child(4) { width: 13%; text-align: right; }

  .events-table th:nth-child(5),
  .events-table td:nth-child(5) { width: 13%; text-align: right; }

  .events-table th:nth-child(6),
  .events-table td:nth-child(6) { width: 14%; text-align: center; }

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

  .assign-btn {
    padding: 6px 10px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .event-container {
    padding: 16px 12px;
  }

  .event-container h2 {
    font-size: 24px;
  }

  .event-card-header {
    flex-direction: column;
    gap: 8px;
  }

  .event-date {
    width: 100%;
    text-align: center;
  }
}

.customer-details input, .customer-details textarea, .customer-details select,
.event-details input, .event-details textarea, .event-details select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.customer-details input:focus, .customer-details textarea:focus, .customer-details select:focus,
.event-details input:focus, .event-details textarea:focus, .event-details select:focus {
  border-color: #ff7e8b;
  outline: none;
}

.order-input {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  display: flex;
  gap: 10px;
  align-items: center;
}

.order-input select, .order-input input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.order-input select:focus, .order-input input:focus {
  border-color: #ff7e8b;
  outline: none;
}

.order-input button {
  background-color: #ff7e8b;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.order-input button:hover {
  background-color: #e66b7a;
}

.order-summary p {
  margin: 5px 0;
  font-weight: bold;
  color: #555;
}

.print-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  margin-bottom: 20px;
}

.print-button:hover {
  background-color: #0056b3;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

th, td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

th {
  background: #f9f9f9;
  color: #333;
  font-weight: bold;
}

tr:hover {
  background: #f5f5f5;
}

/* Status Badge Styles */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-placed {
  background-color: #e8e8e8;
  color: #666;
}

.status-preparing {
  background-color: #fff3cd;
  color: #856404;
}

.status-ready {
  background-color: #cfe2ff;
  color: #084298;
}

.status-delivered {
  background-color: #d1e7dd;
  color: #0f5132;
}

.status-confirmed {
  background-color: #d1e7dd;
  color: #0f5132;
}

.status-completed {
  background-color: #d1e7dd;
  color: #0f5132;
}

.status-pending payment {
  background-color: #f8d7da;
  color: #842029;
}

.payment-status {
  margin-top: 8px;
}

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

.payment-pending {
  background-color: #fff3cd;
  color: #856404;
}

.payment-partial {
  background-color: #fff3cd;
  color: #856404;
}

.payment-paid {
  background-color: #d1e7dd;
  color: #0f5132;
}

.payment-alert {
  font-size: 12px;
  color: #dc3545;
  margin-top: 4px;
  font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #eee;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
}

.modal-header h3 {
  margin: 0;
  color: #232a36;
  font-size: 20px;
  font-weight: 700;
}

.close-btn {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #232a36;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  opacity: 0.7;
}

.modal-body {
  padding: 24px;
}

.event-info {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  border-left: 4px solid #f5ba4a;
}

.event-info p {
  margin: 8px 0;
  color: #333;
  font-size: 14px;
}

.event-info strong {
  color: #232a36;
  font-weight: 600;
}

.payment-warning {
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 20px;
  color: #856404;
  font-size: 14px;
  font-weight: 500;
}

.team-selection {
  margin-bottom: 24px;
}

.team-selection h4 {
  margin: 0 0 16px 0;
  color: #232a36;
  font-size: 16px;
  font-weight: 600;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.team-option {
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
}

.team-option:hover {
  border-color: #f5ba4a;
  background-color: #fffbf0;
}

.team-option.selected {
  border-color: #f5ba4a;
  background: linear-gradient(135deg, rgba(245, 186, 74, 0.1) 0%, rgba(255, 199, 87, 0.1) 100%);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

.team-name {
  font-weight: 600;
  color: #232a36;
  font-size: 14px;
  margin-bottom: 4px;
}

.team-role {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.team-phone {
  font-size: 11px;
  color: #999;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px 24px;
  border-top: 1px solid #eee;
  background: #f9f9f9;
}

.cancel-btn {
  padding: 10px 24px;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.cancel-btn:hover {
  background: #f5f5f5;
}

.complete-btn {
  padding: 10px 24px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.complete-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 186, 74, 0.3);
}

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

.assign-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.assign-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.assigned-btn {
  padding: 8px 16px;
  background: #d1e7dd;
  color: #0f5132;
  border: none;
  border-radius: 6px;
  cursor: not-allowed;
  font-weight: 600;
  font-size: 13px;
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.assigned-info {
  margin-bottom: 8px;
}

.assigned-badge {
  background: #d1e7dd;
  color: #0f5132;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.complete-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.complete-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

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

.print-invoice-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #0084ff 0%, #0066dd 100%);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
}

.print-invoice-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 132, 255, 0.3);
}

/* Team Card in Modal */
.assigned-team-info {
  margin: 20px 0;
  padding: 16px;
  background: #f0f9ff;
  border-radius: 8px;
  border-left: 4px solid #0084ff;
}

.assigned-team-info h4 {
  margin: 0 0 12px 0;
  color: #232a36;
  font-size: 14px;
  font-weight: 600;
}

.team-card {
  background: white;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
}

.team-card p {
  margin: 6px 0;
  font-size: 13px;
  color: #333;
}

.team-card strong {
  color: #232a36;
  font-weight: 600;
}

/* Payment Info Section */
.payment-info {
  margin: 20px 0;
  padding: 16px;
  background: #fff3cd;
  border-radius: 8px;
  border-left: 4px solid #ffc107;
}

.payment-info h4 {
  margin: 0 0 12px 0;
  color: #856404;
  font-size: 14px;
  font-weight: 600;
}

.payment-details {
  background: white;
  padding: 12px;
  border-radius: 6px;
}

.payment-details p {
  margin: 8px 0;
  font-size: 13px;
  color: #333;
}

.payment-details strong {
  color: #232a36;
}

.payment-due {
  color: #dc3545 !important;
  font-weight: 600 !important;
}

.completion-note {
  padding: 12px;
  background: #f0f0f0;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 12px;
  color: #666;
  border-left: 3px solid #999;
}

/* Location Button and Map Modal */
.view-location-btn {
  padding: 8px 8px !important;
  background: #ffffff !important;
  color: white;
  border: 1px solid #ddd !important;
  border-radius: 50% !important;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
  width: 40px !important;
  height: 40px !important;
}

.view-location-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.location-modal {
  max-width: 700px;
}

.location-modal .modal-header {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
}

.location-modal .modal-header h2 {
  color: #1a1a1a;
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.location-info {
  background: #fffef5;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  border-left: 4px solid #f5ba4a;
}

.location-info p {
  margin: 8px 0;
  font-size: 14px;
  color: #333;
}

.location-info strong {
  color: #232a36;
  font-weight: 600;
}

.map-container {
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.map-links {
  display: flex;
  gap: 12px;
  margin: 20px 0;
}

.map-link-btn {
  flex: 1;
  padding: 12px 16px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(245, 186, 74, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.map-link-btn.directions-btn {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.2);
}

.map-link-btn.directions-btn:hover {
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

/* Mobile Responsive Styles for Tables */
@media (max-width: 768px) {
  .event-container {
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .event-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .events-table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
  }

  .events-table thead {
    display: table-header-group;
  }

  .events-table tbody {
    display: table-row-group;
  }

  .events-table tr {
    display: table-row;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .events-table td {
    display: table-cell;
    padding: 12px 8px;
    font-size: 12px;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .events-table td:last-child {
    border-bottom: 1px solid #e8e8f0;
  }

  .events-table button {
    font-size: 10px;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .events-table td::before {
    content: none;
    display: none;
  }

  .events-table .action-buttons {
    flex-direction: row;
    gap: 4px;
    width: auto;
  }

  .events-table .action-buttons button {
    width: auto;
    padding: 6px 8px;
    font-size: 10px;
    min-width: auto;
  }

  .amount-gold,
  .amount-green {
    font-weight: 600;
  }

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

  /* Mobile Styles for Nested Items Table */
  .items-table {
    border-collapse: separate;
    border-spacing: 0 8px;
    width: 100%;
  }

  .items-table thead {
    display: none;
  }

  .items-table tbody {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .items-table tr {
    display: flex;
    flex-direction: column;
    background: #f9f9f9;
    border: 1px solid #e8e8f0;
    border-radius: 8px;
    padding: 12px;
    gap: 8px;
  }

  .items-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    text-align: right;
    border: none !important;
    width: 100%;
  }

  .items-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #f5ba4a;
    text-transform: uppercase;
    font-size: 10px;
    text-align: left;
    flex: 0 0 auto;
  }

  .items-table td:nth-child(1),
  .items-table td:nth-child(4) {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .event-container {
    padding: 15px 10px;
  }

  .event-container h2 {
    font-size: 20px;
  }

  .events-table tr {
    padding: 12px;
  }

  .events-table td {
    padding: 8px 0;
    font-size: 12px;
  }

  .events-table td::before {
    min-width: 70px;
    font-size: 10px;
  }

  .events-table .action-buttons button {
    padding: 8px 10px;
    font-size: 11px;
  }
}
/* Payments Page Styles */

.payments-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.4s ease-out;
}

.payments-container h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #232a36;
  margin-bottom: 32px;
  text-align: center;
}

/* Filter Buttons */
.payment-filters {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #666;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: #f5ba4a;
  background: rgba(245, 186, 74, 0.05);
  color: #232a36;
}

.filter-btn.active {
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border-color: #f5ba4a;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* Table Wrapper */
.payments-table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payments-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.payments-table thead {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  position: sticky;
  top: 0;
  z-index: 10;
}

.payments-table th {
  padding: 16px 12px;
  text-align: left;
  font-weight: 700;
  color: #232a36;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #f5ba4a;
}

.payments-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8e8;
  font-size: 0.95rem;
  color: #232a36;
}

.payments-table tbody tr {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payments-table tbody tr:hover {
  background-color: rgba(245, 186, 74, 0.05);
}

.order-id {
  font-family: monospace;
  font-weight: 600;
  color: #6366f1;
}

.amount,
.amount-received {
  font-weight: 600;
  color: #232a36;
}

.balance-due {
  font-weight: 700;
}

.balance-due .warning {
  color: #ef4444;
  font-weight: 700;
}

.balance-due .success {
  color: #f5ba4a;
  font-weight: 700;
}

/* Status Badge */
.status-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  text-align: center;
  min-width: 80px;
}

.status-badge.pending {
  background: #fef3c7;
  color: #d97706;
  border: 1px solid #fcd34d;
}

.status-badge.partial {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #93c5fd;
}

.status-badge.paid {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

/* Action Buttons */
.add-payment-btn {
  padding: 8px 14px;
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.85rem;
  min-height: 40px;
  min-width: 120px;
}

.add-payment-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

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

.paid-badge {
  display: inline-block;
  padding: 6px 12px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem;
}

/* Payment Entry Form */
.payment-entry-form {
  margin-top: 32px;
  padding: 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #f9f9fc 100%);
  border: 2px solid #6366f1;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15);
  animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.form-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #232a36;
}

.close-btn {
  background: #ef4444;
  color: white;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 32px;
}

.close-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Order Summary */
.order-summary {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #e0e6ff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.summary-item.highlight {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
  padding: 12px 16px;
  border-radius: 6px;
  border-left: 4px solid #f59e0b;
}

.summary-item .label {
  font-weight: 600;
  color: #666;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.summary-item .value {
  font-weight: 700;
  color: #232a36;
  font-size: 1.1rem;
}

.summary-item .balance {
  color: #ef4444;
}

/* Form Content */
.form-content form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  color: #232a36;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 2px solid #e0e6ff;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.hint {
  font-size: 0.85rem;
  margin-top: 4px;
  padding: 6px 12px;
  border-radius: 4px;
  background: #f0fdf4;
}

.hint.warning {
  background: #fef2f2;
}

.hint .warning {
  color: #dc2626;
  font-weight: 600;
}

.hint .success {
  color: #f5ba4a;
  font-weight: 600;
}

/* Form Actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.submit-btn,
.cancel-btn {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 44px;
}

.submit-btn {
  background: linear-gradient(90deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.cancel-btn {
  background: #e5e7eb;
  color: #232a36;
  border: 2px solid #d1d5db;
}

.cancel-btn:hover {
  background: #d1d5db;
  transform: translateY(-2px);
}

/* No Data */
.no-data {
  text-align: center;
  padding: 60px 20px;
  color: #999;
  font-size: 1.1rem;
  background: #f9f9f9;
  border-radius: 8px;
  border: 2px dashed #e0e0e0;
}

.loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .payments-container {
    padding: 24px 16px;
  }

  .payments-container h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .payment-filters {
    gap: 8px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .payments-table {
    min-width: 100%;
    table-layout: auto;
  }

  .payments-table th,
  .payments-table td {
    padding: 10px 6px;
    font-size: 0.8rem;
    text-align: left;
  }

  .payments-table th {
    font-size: 0.75rem;
  }

  .payment-entry-form {
    padding: 16px;
  }

  .form-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .order-summary {
    grid-template-columns: 1fr;
  }

  .summary-item.highlight {
    grid-column: 1;
  }

  .form-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .payments-container {
    padding: 16px 12px;
  }

  .payments-container h1 {
    font-size: 1.4rem;
    margin-bottom: 16px;
  }

  .payment-filters {
    gap: 6px;
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .payments-table-wrapper {
    margin-bottom: 16px;
  }

  .payments-table {
    min-width: 100%;
    table-layout: auto;
  }

  .payments-table th,
  .payments-table td {
    padding: 8px 5px;
    font-size: 0.75rem;
  }

  .payments-table th {
    font-size: 0.7rem;
  }

  .order-id {
    font-size: 0.7rem;
  }

  .add-payment-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* Mobile Responsive Styles for Payments Table */
@media (max-width: 768px) {
  .payments-container {
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .payments-container h1 {
    font-size: 22px;
    margin-bottom: 20px;
    padding: 0 15px;
  }

  .payments-table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
  }

  .payments-table thead {
    display: table-header-group;
  }

  .payments-table tbody {
    display: table-row-group;
  }

  .payments-table tr {
    display: table-row;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .payments-table td {
    display: table-cell;
    padding: 10px 6px;
    font-size: 11px;
    border: none;
    border-bottom: 1px solid #e8e8f0;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .payments-table th {
    padding: 10px 6px;
    font-size: 10px;
  }

  .payments-table td:last-child {
    border-bottom: 1px solid #e8e8f0;
  }

  .payments-table button,
  .payments-table select {
    font-size: 10px;
    padding: 6px 8px;
    white-space: nowrap;
  }

  .payments-table td::before {
    content: none;
    display: none;
  }

  .add-payment-btn {
    width: auto;
    padding: 6px 8px;
    font-size: 10px;
  }

  .paid-badge {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border-radius: 4px;
    font-weight: 600;
    font-size: 10px;
  }
}
/* InstantOrder Page Styles */

.instant-order-container {
  max-width: 1000px;
  margin: 32px auto;
  padding: 48px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-family: inherit;
  animation: fadeIn 0.5s ease-out;
  overflow-x: hidden;
  box-sizing: border-box;
}

.instant-order-container h2 {
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 40px;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.5px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
  display: inline-block;
  width: 100%;
}

/* Customer Details Section */
.customer-details {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.customer-details h3 {
  color: var(--text-primary);
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(245, 186, 74, 0.2);
}

.customer-details label:not(.radio-label) {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.customer-details input,
.customer-details textarea,
.customer-details select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  margin-bottom: 12px;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.customer-details input::placeholder,
.customer-details textarea::placeholder {
  color: var(--text-light);
}

.customer-details input:focus,
.customer-details textarea:focus,
.customer-details select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  background: #fafbff;
}

/* Form Row for Multiple Fields */
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.form-row label {
  display: block;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  margin-bottom: 8px;
}

.form-row label input,
.form-row label select {
  margin-bottom: 0;
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  font-family: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  height: 44px;
  box-sizing: border-box;
}

.form-row label input:focus,
.form-row label select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  background: #fafbff;
}

/* Advanced Options */
.advanced-section {
  margin-top: 20px;
  border-top: 2px solid #f0f0f0;
  padding-top: 16px;
}

.toggle-advanced {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: 100%;
  text-align: left;
}

.toggle-advanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.advanced-fields {
  margin-top: 16px;
  padding: 16px;
  background: #fafbff;
  border-radius: 8px;
  border: 1px solid #e8e8f0;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.advanced-fields .form-row {
  margin-bottom: 12px;
}

.advanced-fields label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.advanced-fields input,
.advanced-fields select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 0.9rem;
  background: white;
  font-family: inherit;
  transition: var(--transition);
}

.advanced-fields input:focus,
.advanced-fields select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

/* Order Input Section */
.order-input {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 28px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1.5px solid var(--border-color);
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-input h3 {
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  flex: 0 0 auto;
}

.order-input select,
.order-input input {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  background: #fff;
  flex: 1;
  min-width: 150px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  height: 44px;
  box-sizing: border-box;
  line-height: 1.4;
}

/* Search Container */
.search-container {
  position: relative;
  flex: 0 1 55%;
  min-width: 250px;
}

.search-input {
  width: 100% !important;
  padding: 10px 12px !important;
  border: 1.5px solid var(--border-color) !important;
  border-radius: var(--border-radius) !important;
  font-size: 0.95rem !important;
  background: #fff !important;
  height: 100% !important;
  box-sizing: border-box !important;
  line-height: 1.4 !important;
}

.search-input::placeholder {
  color: var(--text-light);
}

.search-input:focus {
  outline: none !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1) !important;
}

/* Suggestions Dropdown */
.suggestions-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--border-radius) var(--border-radius);
  max-height: 300px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  margin-top: -2px;
}

.suggestion-item {
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border-bottom: 1px solid var(--border-color);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: #f5f5f5;
  color: var(--primary-color);
}

.suggestion-item .item-name {
  font-weight: 600;
  color: var(--text-primary);
  flex: 1;
}

.suggestion-item .item-category {
  font-size: 0.85rem;
  color: var(--text-light);
  white-space: nowrap;
}

.suggestion-item.no-match {
  cursor: default;
  justify-content: center;
  padding: 16px;
  color: var(--text-light);
  font-style: italic;
}

.suggestion-item.no-match:hover {
  background: transparent;
}

.order-input select:focus,
.order-input input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

.order-input input[type="number"] {
  width: 80px;
  min-width: 80px;
  max-width: 80px;
  flex: 0 0 80px;
  padding: 12px 8px !important;
  height: 44px !important;
  box-sizing: border-box;
  text-align: center;
  font-weight: 600;
  line-height: 1.4;
}

.order-input button {
  background: var(--primary-gradient);
  color: var(--text-primary);
  border: none;
  padding: 12px 26px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.25);
  flex: 0 0 auto;
  line-height: 1.4;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.order-input button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 186, 74, 0.3);
}

.order-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.order-input button:disabled:hover {
  transform: none;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
}

/* KOT Items Table */
.kot-items-table-container {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 32px;
  border-radius: 12px;
  margin-bottom: 32px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kot-items-table-container h3 {
  color: var(--text-primary);
  margin-bottom: 24px;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(245, 186, 74, 0.2);
}

.kot-items-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  box-sizing: border-box;
  overflow-x: auto;
}

.kot-items-table thead {
  background: linear-gradient(135deg, var(--primary-gradient));
  color: var(--text-primary);
}

.kot-items-table th {
  padding: 16px 14px;
  text-align: left;
  font-weight: 700;
  border: 1px solid var(--border-color);
  white-space: nowrap;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.kot-items-table th:nth-child(1) { width: 28%; }
.kot-items-table th:nth-child(2) { width: 18%; }
.kot-items-table th:nth-child(3) { width: 15%; }
.kot-items-table th:nth-child(4) { width: 12%; }
.kot-items-table th:nth-child(5) { width: 12%; }
.kot-items-table th:nth-child(6) { width: 15%; }

.kot-items-table td {
  padding: 14px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.95rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  height: 60px;
  vertical-align: middle;
}

.kot-items-table tbody tr:hover {
  background-color: #f9f9f9;
}

.kot-items-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

.unit-dropdown {
  padding: 10px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.unit-dropdown:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(245, 186, 74, 0.1);
}

.unit-dropdown:hover {
  border-color: var(--primary-color);
}

.qty-input {
  width: 80px;
  padding: 8px 10px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
  height: 36px;
  box-sizing: border-box;
}

.qty-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(245, 186, 74, 0.1);
}

.price-input {
  width: 75px;
  padding: 8px 6px;
  border: 1.5px solid var(--primary-color);
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(245, 186, 74, 0.15);
  height: 36px;
  box-sizing: border-box;
  background-color: #fef9f0;
}

.price-input:focus {
  outline: none;
  border-color: #f59f1d;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.2);
}

.remove-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.remove-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Order Summary Section */
.order-summary {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1.5px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.order-summary h3 {
  color: var(--text-primary);
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(245, 186, 74, 0.2);
}

.order-summary p {
  margin: 6px 0;
  padding: 4px 0;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.order-summary .summary-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.order-summary .summary-row p {
  margin: 0;
  padding: 0;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.action-buttons button,
.print-button,
.submit-button {
  background: var(--primary-gradient);
  color: var(--text-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.25);
  letter-spacing: 0.3px;
}

.action-buttons button:hover,
.print-button:hover,
.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(245, 186, 74, 0.3);
}

.instant-order-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Table Action Buttons */
.table-action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

/* Workflow and Navigation */
.navbar,
.workflow-tabs {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
  justify-content: center;
}

.workflow-tab {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  font-weight: 600;
  border-radius: var(--border-radius);
  text-decoration: none;
  padding: 10px 16px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.workflow-tab:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.1);
}

.workflow-tab.active {
  background: var(--primary-gradient);
  color: var(--text-primary);
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* Print Styles */
@media print {
  body * {
    visibility: hidden;
  }
  #kot-print, #kot-print * {
    visibility: visible;
  }
  #kot-print {
    position: absolute;
    left: 0;
    top: 0;
    width: 58mm;
    font-size: 10px;
    margin: 0;
    padding: 5px;
    background: white;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .instant-order-container {
    padding: 24px 16px;
    margin: 24px auto;
  }

  .instant-order-container h2 {
    font-size: 24px;
  }

  .customer-details,
  .order-input,
  .order-summary {
    padding: 16px;
  }

  .order-input {
    flex-direction: column;
  }

  .order-input select,
  .order-input input,
  .search-container {
    width: 100%;
  }

  .action-buttons,
  .instant-order-actions {
    flex-direction: column;
    gap: 8px;
  }

  .action-buttons button,
  .print-button,
  .submit-button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .instant-order-container {
    padding: 16px 12px;
    border-radius: 8px;
  }

  .instant-order-container h2 {
    font-size: 20px;
  }

  .customer-details,
  .order-input,
  .order-summary {
    padding: 12px;
  }
}

/* Payment Mode Radio Buttons */
.payment-mode-group {
  margin-bottom: 16px;
  width: 100%;
}

.payment-mode-label {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.radio-group {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  gap: 20px !important;
  align-items: center !important;
  padding: 8px 0 !important;
  width: 100% !important;
  flex-wrap: wrap !important;
  flex: 0 1 auto !important;
}

.radio-group > label {
  display: inline-flex !important;
  flex: 1 1 auto !important;
}

.radio-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer;
  user-select: none;
  padding: 10px 14px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  font-weight: 500;
  justify-content: center !important;
  white-space: nowrap;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.radio-label input[type="radio"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--primary-color);
}

.radio-label span {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.radio-label:hover {
  background-color: rgba(245, 186, 74, 0.1);
  border-color: var(--primary-color);
}

.radio-label input[type="radio"]:checked + span {
  color: var(--primary-color);
  font-weight: 600;
}

/* MOBILE RESPONSIVE STYLES */
@media (max-width: 768px) {
  .instant-order-container {
    max-width: 100%;
    margin: 24px auto;
    padding: 24px 16px;
    border-radius: 12px;
  }

  .instant-order-container h2 {
    font-size: 1.75rem;
    margin-bottom: 28px;
    padding-bottom: 16px;
  }

  /* Workflow Tabs - Responsive */
  .workflow-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
  }

  /* Customer Details - More Compact */
  .customer-details {
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
  }

  .customer-details h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .customer-details label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .customer-details input,
  .customer-details textarea,
  .customer-details select {
    padding: 12px 14px;
    font-size: 1rem; /* Prevents zoom on iOS */
    margin-bottom: 14px;
    border-radius: 8px;
  }

  .customer-details textarea {
    min-height: 50px;
    font-size: 1rem;
  }

  /* Form Rows - Stack on Mobile */
  .form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 12px;
  }

  .form-row label {
    margin-bottom: 0;
  }

  .form-row label input,
  .form-row label select {
    margin-bottom: 0;
  }

  /* Delivery Method - Responsive gap */
  /* This targets the delivery method inline style div with gap */
  div[style*="backgroundColor: \'#f9f9f9\'"],
  div[style*="backgroundColor: #f9f9f9"] {
    padding: 12px !important;
  }
  
  div[style*="display: \'flex\'"][style*="gap: \'20px\'"],
  div[style*="display: flex"][style*="gap: 20px"] {
    gap: 10px !important;
    flex-wrap: wrap;
  }

  /* Advanced Section */
  .advanced-section {
    margin-top: 16px;
    border-top: 1px solid #e0e0e0;
    padding-top: 12px;
  }

  .toggle-advanced {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 6px;
  }

  .advanced-fields {
    margin-top: 12px;
    padding: 12px;
    border-radius: 6px;
  }

  .advanced-fields input,
  .advanced-fields select {
    font-size: 1rem;
    padding: 10px 12px;
  }

  /* Payment Mode - Stack Radio Buttons */
  .payment-mode-group {
    margin-bottom: 12px;
  }

  .payment-mode-label {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .radio-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
  }

  .radio-label {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 8px 10px;
    font-size: 0.8rem;
    gap: 6px;
    white-space: normal;
  }

  .radio-label input[type="radio"] {
    width: 16px;
    height: 16px;
  }

  .radio-label span {
    font-size: 0.85rem;
  }

  /* Order Input Section */
  .order-input {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    margin-bottom: 20px;
  }

  .order-input h3 {
    width: 100%;
    margin-bottom: 8px;
  }

  .order-input > div,
  .order-input select,
  .order-input input {
    width: 100% !important;
  }

  .order-input select,
  .order-input input {
    padding: 12px 14px;
    font-size: 1rem;
    margin: 0;
  }

  .order-input button {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
  }

  /* KOT Items Table */
  .kot-table {
    font-size: 0.8rem;
    margin-bottom: 16px;
  }

  .kot-table thead {
    font-size: 0.75rem;
  }

  .kot-table td,
  .kot-table th {
    padding: 6px 4px;
  }

  .kot-table button {
    padding: 4px 6px;
    font-size: 0.7rem;
  }

  /* Order Summary */
  .order-summary {
    padding: 20px;
    background: #f9f9fb;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .order-summary h3 {
    font-size: 1.15rem;
    margin-bottom: 16px;
    padding-bottom: 10px;
  }

  .order-summary p {
    margin: 10px 0;
    padding: 8px 0;
  }

  .order-summary .summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 12px;
  }

  .order-summary .summary-row p {
    margin: 0;
    padding: 6px 0;
  }

  /* Action Buttons */
  .instant-order-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .instant-order-actions button {
    padding: 12px;
    font-size: 0.9rem;
    width: 100%;
  }

  .button {
    padding: 12px;
    font-size: 0.9rem;
  }

  /* Mobile KOT Items Table Styles */
  .kot-items-table-container {
    padding: 16px;
    margin-bottom: 16px;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .kot-items-table-container h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .kot-items-table {
    border-collapse: separate;
    border-spacing: 0 10px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .kot-items-table thead {
    display: none;
  }

  .kot-items-table tbody {
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
  }

  .kot-items-table tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1.5px solid #e8e8f0;
    border-radius: 10px;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    gap: 10px;
    box-sizing: border-box;
    width: 100%;
    overflow-x: hidden;
  }

  .kot-items-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border: none;
    text-align: right;
    gap: 10px;
    font-size: 0.9rem;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .kot-items-table tr > td:last-child {
    border-bottom: none;
    padding: 6px 0;
  }

  .kot-items-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #f5ba4a;
    text-transform: uppercase;
    font-size: 9px;
    text-align: left;
    flex: 0 0 50px;
    letter-spacing: 0.3px;
  }

  .kot-items-table .unit-dropdown,
  .kot-items-table .qty-input,
  .kot-items-table .remove-btn {
    width: 100%;
    padding: 8px 10px;
    margin: 0;
    font-size: 0.85rem;
    border-radius: 6px;
  }

  .kot-items-table .unit-dropdown {
    border: 1.5px solid #ddd;
    background: white;
    cursor: pointer;
  }

  .kot-items-table .qty-input {
    border: 1.5px solid #ddd;
    text-align: center;
    font-weight: 600;
  }

  .kot-items-table .remove-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff5252);
    color: white;
    border: none;
    font-weight: 600;
    padding: 8px 12px;
  }

  .kot-items-table button {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .instant-order-container {
    margin: 16px auto;
    padding: 14px 10px;
  }

  .instant-order-container h2 {
    font-size: 1.45rem;
    margin-bottom: 18px;
  }

  /* Workflow Tabs - Mobile */
  .workflow-tab {
    padding: 9px 13px;
    font-size: 0.7rem;
  }

  .customer-details {
    padding: 13px;
    margin-bottom: 13px;
  }

  .customer-details h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
  }

  .customer-details label {
    font-size: 0.8rem;
    margin-bottom: 4px;
  }

  .customer-details input,
  .customer-details textarea,
  .customer-details select {
    padding: 10px 11px;
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .form-row {
    gap: 8px;
    margin-bottom: 10px;
  }

  .toggle-advanced {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Delivery Method - Stack on very small screens */
  div[style*="display: \'flex\'"][style*="gap: \'20px\'"],
  div[style*="display: flex"][style*="gap: 20px"] {
    gap: 8px !important;
    flex-direction: column !important;
  }

  div[style*="display: \'flex\'"][style*="gap: \'20px\'"] > label,
  div[style*="display: flex"][style*="gap: 20px"] > label {
    width: 100% !important;
  }

  .radio-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .radio-label {
    width: 100%;
    padding: 10px 12px;
    font-size: 0.8rem;
    white-space: normal;
  }

  .radio-label span {
    font-size: 0.8rem;
  }

  .order-input {
    padding: 14px;
    margin-bottom: 14px;
  }

  .order-input h3 {
    width: 100%;
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .order-input > div,
  .order-input select,
  .order-input input {
    width: 100% !important;
    margin-bottom: 8px !important;
  }

  .order-input select,
  .order-input input {
    padding: 10px 12px;
    font-size: 1rem;
  }

  .order-input button {
    padding: 12px 16px;
    font-size: 0.9rem;
    width: 100%;
  }

  /* Mobile KOT Items Table - Extra Small */
  .kot-items-table-container {
    padding: 12px;
    margin-bottom: 12px;
  }

  .kot-items-table-container h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .kot-items-table {
    border-spacing: 0 8px;
  }

  .kot-items-table tr {
    padding: 12px;
    gap: 8px;
    border-radius: 8px;
  }

  .kot-items-table td {
    padding: 6px 0;
    font-size: 0.8rem;
  }

  .kot-items-table td::before {
    font-size: 8px;
    flex: 0 0 45px;
  }

  .kot-items-table .unit-dropdown,
  .kot-items-table .qty-input,
  .kot-items-table .remove-btn {
    padding: 7px 9px;
    font-size: 0.8rem;
  }

  .kot-table {
    font-size: 0.7rem;
  }

  .kot-table td,
  .kot-table th {
    padding: 4px 2px;
  }

  .order-summary {
    padding: 12px;
    font-size: 0.85rem;
  }

  .order-summary p {
    margin: 6px 0;
    padding: 4px 0;
  }

  .order-summary .summary-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

  .order-summary .summary-row p {
    margin: 0;
    padding: 3px 0;
  }

  .instant-order-actions button {
    padding: 10px;
    font-size: 0.85rem;
  }
}

/* Print styles for thermal printer */
@media print {
  body * {
    visibility: hidden;
  }
  #kot-print, #kot-print * {
    visibility: visible;
  }
  #kot-print {
    position: absolute;
    left: 0;
    top: 0;
    width: 58mm;
    font-size: 10px;
    margin: 0;
    padding: 5px;
    background: white;
    font-family: 'Courier New', monospace;
    white-space: pre-wrap;
  }
}/* Instant Order Details Page Styles */

.instant-orders-container {
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px;
  background: linear-gradient(135deg, #fafbfe 0%, #f5f9ff 100%);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(80, 120, 200, 0.12);
  font-family: inherit;
}

.instant-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.instant-orders-header h2 {
  margin: 0;
  font-size: 28px;
  color: #222;
  font-weight: 700;
}

.instant-orders-search-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.instant-orders-search-input {
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid #f5ba4a;
  font-size: 14px;
  transition: all 0.3s ease;
  min-width: 250px;
}

.instant-orders-search-input:focus {
  outline: none;
  border-color: #f59f1d;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  background-color: #fef9f0;
}

.instant-orders-print-btn {
  padding: 10px 16px;
  background: linear-gradient(135deg, #f5ba4a 0%, #f59f1d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.instant-orders-print-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 186, 74, 0.4);
}

/* Table Styles */
.instant-orders-table-wrapper {
  overflow-x: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.instant-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  font-size: 14px;
}

.instant-orders-table thead {
  background: linear-gradient(135deg, #f5ba4a 0%, #f59f1d 100%);
  color: white;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.instant-orders-table th {
  padding: 14px 12px;
  text-align: left;
  white-space: nowrap;
  border: none;
}

/* Column width optimization */
.instant-orders-table th:nth-child(1) { min-width: 70px; } /* Order ID */
.instant-orders-table th:nth-child(2) { min-width: 100px; } /* Customer Name */
.instant-orders-table th:nth-child(3) { min-width: 80px; } /* Mobile */
.instant-orders-table th:nth-child(4) { min-width: 90px; } /* Items */
.instant-orders-table th:nth-child(5) { min-width: 80px; } /* Total */
.instant-orders-table th:nth-child(6) { min-width: 70px; } /* Status */
.instant-orders-table th:nth-child(7) { min-width: 80px; } /* Order Date */
.instant-orders-table th:nth-child(8) { min-width: 150px; } /* Actions */

.instant-orders-table td {
  padding: 10px 8px;
  border-bottom: 1px solid #e8e8e8;
  color: #333;
}

.instant-orders-table tbody tr {
  transition: background-color 0.2s ease;
}

.instant-orders-table tbody tr:hover {
  background-color: #fafbfe;
}

.instant-orders-table tbody tr:last-child td {
  border-bottom: none;
}

/* Action Buttons */
.instant-order-actions {
  display: inline-flex;
  gap: 2px;
  flex-wrap: nowrap;
  align-items: center;
  width: auto;
}

.instant-order-btn {
  padding: 3px 5px;
  border: none;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  min-width: auto;
}

.instant-order-btn-print {
  background: #4CAF50;
  color: white;
}

.instant-order-btn-print:hover {
  background: #45a049;
  box-shadow: 0 2px 6px rgba(76, 175, 80, 0.3);
}

.instant-order-btn-kot {
  background: #ff9800;
  color: white;
}

.instant-order-btn-kot:hover {
  background: #e68900;
  box-shadow: 0 2px 6px rgba(255, 152, 0, 0.3);
}

.instant-order-btn-edit {
  background: #2196F3;
  color: white;
}

.instant-order-btn-edit:hover {
  background: #0b7dda;
  box-shadow: 0 2px 6px rgba(33, 150, 243, 0.3);
}

.instant-order-btn-delete {
  background: #f44336;
  color: white;
}

.instant-order-btn-delete:hover {
  background: #da190b;
  box-shadow: 0 2px 6px rgba(244, 67, 54, 0.3);
}

/* Empty State */
.instant-orders-empty {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.instant-orders-loading {
  text-align: center;
  padding: 40px 20px;
  color: #666;
  font-size: 16px;
}

.instant-orders-error {
  background: #ffebee;
  color: #c62828;
  padding: 16px;
  border-radius: 8px;
  border-left: 4px solid #c62828;
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .instant-orders-container {
    padding: 16px;
    margin: 20px auto;
  }

  .instant-orders-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .instant-orders-search-input {
    width: 100%;
    min-width: unset;
  }

  .instant-orders-table {
    font-size: 12px;
  }

  .instant-orders-table th,
  .instant-orders-table td {
    padding: 8px;
  }

  .instant-order-actions {
    flex-wrap: nowrap;
    gap: 4px;
    width: 100%;
  }

  .instant-order-btn {
    padding: 4px 5px;
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .instant-orders-container {
    padding: 12px;
    margin: 12px auto;
  }

  .instant-orders-header h2 {
    font-size: 22px;
  }

  .instant-orders-table {
    font-size: 11px;
  }

  .instant-orders-table th,
  .instant-orders-table td {
    padding: 6px 4px;
  }

  .instant-order-btn {
    padding: 3px 4px;
    font-size: 9px;
  }

  .instant-order-actions {
    gap: 2px;
  }
}
.instant-orders-table-container {
  padding: 32px;
  max-width: 1400px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.instant-orders-table-container h2 {
  color: #222;
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 700;
  padding-bottom: 16px;
  border-bottom: 3px solid #f5ba4a;
}

/* New Card-Based Layout */
.instant-orders-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.order-card {
  background: #fff;
  border: 1.5px solid #e8e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.order-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
  border-color: #f5ba4a;
}

.order-header {
  padding: 18px 24px;
  background: linear-gradient(135deg, #f9f9fb 0%, #f5f5fa 100%);
  border-bottom: 1.5px solid #e8e8f0;
  transition: all 0.3s ease;
}

.order-header:hover {
  background: linear-gradient(135deg, #f5f5fa 0%, #f0f0f8 100%);
}

.order-summary-row {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto auto auto;
  gap: 20px;
  align-items: center;
  font-size: 0.95rem;
}

.order-summary-row > div {
  display: flex;
  align-items: center;
}

.order-summary-row > div:first-child {
  font-weight: 600;
  color: #232a36;
  min-width: 150px;
}

.order-summary-row > div:nth-child(2) {
  color: #666;
  font-size: 0.85rem;
}

.order-summary-row > div:nth-child(3) {
  background: #e8f5e9;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: #2e7d32;
  font-weight: 500;
}

.order-summary-row > div:nth-child(4) {
  color: #d4a574;
  font-weight: 700;
  font-size: 1.05rem;
}

.status-badge {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-pickup {
  background: #fff3cd;
  color: #856404;
}

.status-delivery {
  background: #d1ecf1;
  color: #0c5460;
}

.status-placed,
.status-pending {
  background: #cfe2ff;
  color: #084298;
}

.status-preparing {
  background: #fce7d0;
  color: #d96e10;
}

.status-ready {
  background: #d1e7dd;
  color: #0f5132;
}

.status-delivered,
.status-completed {
  background: #d1e7dd;
  color: #0f5132;
}

/* Expanded Details */
.order-details {
  padding: 28px;
  background: #fff;
  border-top: 2px solid #f0f0f0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-bottom: 28px;
}

.detail-section {
  padding: 20px;
  background: #f9f9fb;
  border-radius: 10px;
  border-left: 4px solid #f5ba4a;
}

.detail-section h4 {
  margin: 0 0 16px 0;
  font-size: 0.95rem;
  color: #232a36;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.detail-section p {
  margin: 8px 0;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

.detail-section p strong {
  color: #232a36;
  min-width: 100px;
  display: inline-block;
}

.full-width {
  grid-column: 1 / -1;
}

.items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
}

.items-table thead {
  background: #f0f0f0;
  border-bottom: 2px solid #ddd;
}

.items-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  color: #232a36;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.items-table td {
  padding: 12px;
  border-bottom: 1px solid #e8e8f0;
  font-size: 0.9rem;
  color: #666;
}

.items-table tr:hover {
  background: #f5f5fa;
}

.order-actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid #e8e8f0;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.order-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.btn-edit {
  background: linear-gradient(135deg, #f5ba4a, #ffc757);
  color: #232a36;
}

.btn-edit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.btn-delete {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  color: #fff;
}

.btn-delete:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

.btn-close {
  background: #e8e8f0;
  color: #232a36;
}

.btn-close:hover {
  background: #d8d8e0;
}

.instant-orders-filters {
  display: flex;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  padding: 16px;
  background: #f9f9fb;
  border-radius: 10px;
  border: 1px solid #e8e8f0;
}

.instant-orders-filters button {
  padding: 10px 20px;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  background-color: #fff;
  color: #222;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.instant-orders-filters button.active {
  background: linear-gradient(135deg, #f5ba4a, #ffc757);
  color: #fff;
  border-color: #f5ba4a;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
  font-weight: 600;
}

.instant-orders-filters button:hover {
  opacity: 0.8;
}

/* Date Filter & Export Section */
.date-export-section {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
  padding: 20px;
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border-radius: 10px;
  border: 1.5px solid #bbdefb;
  flex-wrap: wrap;
  justify-content: space-between;
}

.date-inputs {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.date-inputs label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #232a36;
  font-size: 0.95rem;
}

.date-inputs input[type="date"] {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  font-size: 0.9rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.date-inputs input[type="date"]:focus {
  outline: none;
  border-color: #1e88e5;
  box-shadow: 0 0 0 3px rgba(30, 136, 229, 0.1);
}

.instant-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed;
  border: 1px solid #e8e8f0;
}

.instant-orders-table thead {
  background: linear-gradient(135deg, #f5ba4a, #ffc757);
  border-bottom: 2px solid #f5ba4a;
}

.instant-orders-table th {
  padding: 16px 14px;
  text-align: left;
  font-weight: 700;
  color: #fff;
  word-break: break-word;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.instant-orders-table th:nth-child(1) { width: 25%; }
.instant-orders-table th:nth-child(2) { width: 20%; }
.instant-orders-table th:nth-child(3) { width: 15%; }
.instant-orders-table th:nth-child(4) { width: 15%; }
.instant-orders-table th:nth-child(5) { width: 15%; }
.instant-orders-table th:nth-child(6) { width: 10%; }

.instant-orders-table td {
  padding: 14px;
  border-bottom: 1px solid #e8e8f0;
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 0.95rem;
  color: #444;
}

.instant-orders-table td:nth-child(1) { width: 25%; }
.instant-orders-table td:nth-child(2) { width: 20%; }
.instant-orders-table td:nth-child(3) { width: 15%; }
.instant-orders-table td:nth-child(4) { width: 15%; }
.instant-orders-table td:nth-child(5) { width: 15%; }
.instant-orders-table td:nth-child(6) { width: 10%; }
.instant-orders-table td:nth-child(7) { width: 10%; }
.instant-orders-table td:nth-child(8) { width: 12%; }
.instant-orders-table td:nth-child(9) { width: 16%; }

.instant-orders-table tbody tr:hover {
  background: #f9f9f9;
}

.instant-orders-table select {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1.5px solid #ddd;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.instant-orders-table button {
  padding: 8px 14px;
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(255, 107, 107, 0.2);
}

.instant-orders-table button:hover {
  background: #cc0000;
}

/* Add specific styles for Edit and Delete buttons */
.table-action-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.instant-orders-table .edit-btn {
  background: linear-gradient(135deg, #f5ba4a, #ffc757);
  color: #232a36;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
}

.instant-orders-table .edit-btn:hover {
  background: #f5a820;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

.instant-orders-table .delete-btn {
  background: linear-gradient(135deg, #ff6b6b, #ff5252);
  color: white;
}

/* Mobile Responsive Styles for Instant Orders Table */
@media (max-width: 768px) {
  .instant-orders-table-container {
    padding: 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .instant-orders-table-container h2 {
    font-size: 20px;
    margin-bottom: 15px;
    padding: 0 10px;
  }

  .instant-orders-filters {
    padding: 0 10px;
  }

  .instant-orders-table {
    min-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    margin: 0 10px;
  }

  .instant-orders-table thead {
    display: table-header-group;
    background: #f5f5f5;
    border-bottom: 2px solid #ddd;
  }

  .instant-orders-table th {
    padding: 10px 8px;
    font-size: 12px;
    word-break: break-word;
    text-align: left;
  }

  .instant-orders-table th:nth-child(1) { width: 25%; }
  .instant-orders-table th:nth-child(2) { width: 20%; }
  .instant-orders-table th:nth-child(3) { width: 15%; }
  .instant-orders-table th:nth-child(4) { width: 15%; }
  .instant-orders-table th:nth-child(5) { width: 15%; }
  .instant-orders-table th:nth-child(6) { width: 10%; }

  .instant-orders-table tbody {
    display: table-row-group;
  }

  .instant-orders-table tr {
    display: table-row;
    border-bottom: 1px solid #eee;
  }

  .instant-orders-table td {
    display: table-cell;
    padding: 10px 8px;
    font-size: 12px;
    border-bottom: 1px solid #eee;
    word-break: break-word;
    text-align: left;
  }

  .instant-orders-table td:nth-child(1) { width: 25%; }
  .instant-orders-table td:nth-child(2) { width: 20%; }
  .instant-orders-table td:nth-child(3) { width: 15%; text-align: center; }
  .instant-orders-table td:nth-child(4) { width: 15%; text-align: right; }
  .instant-orders-table td:nth-child(5) { width: 15%; text-align: center; }
  .instant-orders-table td:nth-child(6) { width: 10%; text-align: center; }

  .instant-orders-table select {
    padding: 5px 6px;
    font-size: 11px;
    width: 90%;
  }

  .instant-orders-table button {
    padding: 5px 8px;
    font-size: 11px;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .instant-orders-table-container {
    padding: 12px 0;
  }

  .instant-orders-table-container h2 {
    font-size: 18px;
    padding: 0 10px;
    margin-bottom: 12px;
  }

  .instant-orders-filters {
    padding: 0 10px;
    gap: 5px;
  }

  .instant-orders-filters button {
    padding: 6px 10px;
    font-size: 11px;
  }

  .date-export-section {
    flex-direction: column;
    padding: 12px 10px;
    gap: 10px;
  }

  .date-inputs {
    flex-direction: column;
    width: 100%;
  }

  .date-inputs label {
    width: 100%;
  }

  .date-inputs input[type="date"] {
    width: 100%;
  }

  .instant-orders-table {
    margin: 0 10px;
    min-width: 100%;
    table-layout: auto;
  }

  .instant-orders-table th {
    padding: 8px 6px;
    font-size: 11px;
  }

  .instant-orders-table td {
    padding: 8px 6px;
    font-size: 11px;
  }

  .instant-orders-table select {
    padding: 4px 5px;
    font-size: 10px;
  }

  .instant-orders-table button {
    padding: 4px 6px;
    font-size: 10px;
  }

  /* Card layout responsive */
  .order-card {
    margin-bottom: 12px;
  }

  .order-summary-row {
    padding: 12px;
    font-size: 0.9rem;
  }

  .detail-section {
    margin-bottom: 16px;
  }

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

  .order-actions button {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}
/* Scheduled Meetings Page Styles */

.scheduled-meetings-dark {
  background: linear-gradient(135deg, #f9f9fc 0%, #ffffff 100%);
  min-height: 100vh;
  color: #232a36;
  padding: 40px 20px;
  font-family: inherit;
}

.scheduled-title {
  color: #232a36;
  text-shadow: none;
  margin-bottom: 32px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.scheduled-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tab-btn {
  background: #ffffff;
  color: #232a36;
  border: 1.5px solid #e8e8f0;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tab-btn:hover {
  background: #f5f5f8;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.1);
}

.tab-btn.active {
  background: var(--primary-gradient);
  color: #232a36;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
  font-weight: 600;
}

.scheduled-table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  background: #ffffff;
}

.scheduled-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.scheduled-table th,
.scheduled-table td {
  padding: 14px 12px;
  border-bottom: 1px solid #e8e8f0;
  text-align: left;
  font-size: 0.9rem;
  color: #232a36;
}

.scheduled-table th {
  background: linear-gradient(90deg, #f9f9fc 0%, #f5f5f8 100%);
  color: #232a36;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--primary-color);
}

.scheduled-table tbody tr {
  transition: background-color 0.2s;
}

.scheduled-table tbody tr:hover {
  background: rgba(245, 186, 74, 0.05);
}

.scheduled-table tr:last-child td {
  border-bottom: none;
}

.actions-cell {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.action-btn {
  padding: 8px 14px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

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

.action-btn.call {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
}

.action-btn.mail {
  background: #e8e8f0;
  color: #232a36;
}

.action-btn.complete {
  background: var(--primary-gradient);
  color: #232a36;
  font-weight: 600;
}

.action-btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .scheduled-meetings-dark {
    padding: 32px 16px;
  }

  .scheduled-title {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .scheduled-meetings-dark {
    padding: 24px 12px;
  }

  .scheduled-title {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
  }

  .scheduled-table {
    min-width: 900px;
    table-layout: fixed;
  }

  .scheduled-table th,
  .scheduled-table td {
    padding: 10px 8px;
    font-size: 0.85rem;
    text-align: left;
  }

  .scheduled-table th:nth-child(1),
  .scheduled-table td:nth-child(1) { width: 18%; }

  .scheduled-table th:nth-child(2),
  .scheduled-table td:nth-child(2) { width: 18%; }

  .scheduled-table th:nth-child(3),
  .scheduled-table td:nth-child(3) { width: 16%; }

  .scheduled-table th:nth-child(4),
  .scheduled-table td:nth-child(4) { width: 16%; text-align: right; }

  .scheduled-table th:nth-child(5),
  .scheduled-table td:nth-child(5) { width: 16%; text-align: center; }

  .scheduled-table th:nth-child(6),
  .scheduled-table td:nth-child(6) { width: 16%; text-align: center; }

  .actions-cell {
    flex-direction: column;
    gap: 6px;
  }

  .action-btn {
    width: 100%;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .scheduled-meetings-dark {
    padding: 16px 8px;
  }

  .scheduled-title {
    font-size: 18px;
  }

  .scheduled-table th,
  .scheduled-table td {
    padding: 8px 6px;
    font-size: 0.75rem;
  }

  .tab-btn {
    padding: 8px 14px;
    font-size: 0.65rem;
  }

  .action-btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}

/* Mobile Responsive Styles for Meetings Table */
@media (max-width: 768px) {
  .scheduled-meetings-dark {
    padding: 20px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .scheduled-title {
    font-size: 22px;
    padding: 0 15px;
  }

  .scheduled-table {
    min-width: 1000px;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .scheduled-table thead {
    display: table-header-group;
  }

  .scheduled-table tbody {
    display: table-row-group;
  }

  .scheduled-table tr {
    display: table-row;
    padding: 0;
    background: none;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .scheduled-table td {
    display: table-cell;
    padding: 12px 8px;
    font-size: 12px;
    color: #232a36;
    border: none;
    border-bottom: 1px solid #e8e8f0;
  }

  .scheduled-table td:last-child {
    border-bottom: 1px solid #e8e8f0;
  }

  .scheduled-table td::before {
    content: none;
    display: none;
  }

  .scheduled-table .actions-cell {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
  }

  .scheduled-table .actions-cell::before {
    display: none;
  }

  .action-btn {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
    flex: 1;
    min-width: 80px;
  }
}

@media (max-width: 480px) {
  .scheduled-meetings-dark {
    padding: 15px 10px;
  }

  .scheduled-title {
    font-size: 20px;
  }

  .scheduled-table tr {
    padding: 12px;
  }

  .scheduled-table td {
    padding: 8px 0;
    font-size: 12px;
  }

  .scheduled-table td::before {
    min-width: 70px;
    font-size: 10px;
  }

  .action-btn {
    padding: 8px 10px;
    font-size: 11px;
    min-width: 70px;
  }
}
.staff-permissions-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px;
}

.staff-permissions-container h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 30px;
  text-align: center;
}

.permissions-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Staff List Section */
.staff-list-section {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 20px;
  border-right: 1px solid #e0e0e0;
  max-height: 100vh;
  overflow-y: auto;
}

.staff-list-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.staff-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.staff-item {
  padding: 15px;
  background: white;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.staff-item:hover {
  border-color: #f5ba4a;
  background: #fafafa;
  transform: translateX(4px);
}

.staff-item.selected {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  border-color: #f5ba4a;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
}

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

.staff-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.staff-email {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-bottom: 4px;
}

.staff-role {
  font-size: 0.7rem;
  background: rgba(245, 186, 74, 0.1);
  color: #f5ba4a;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  font-weight: 600;
}

.no-staff {
  text-align: center;
  color: #999;
  padding: 30px 10px;
  font-size: 0.9rem;
}

/* Permissions Section */
.permissions-section {
  padding: 40px;
  overflow-y: auto;
  max-height: 100vh;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loading {
  text-align: center;
  color: #666;
  padding: 40px;
  font-size: 1.1rem;
}

.select-staff-message {
  padding: 80px 40px;
  text-align: center;
}

.empty-state h4 {
  font-size: 1.3rem;
  color: #666;
  margin-bottom: 10px;
}

.empty-state p {
  color: #999;
  font-size: 0.95rem;
}

/* Permission Categories */
.permissions-categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.permission-category {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  background: white;
  transition: all 0.3s ease;
}

.permission-category:hover {
  border-color: #f5ba4a;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.1);
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: linear-gradient(135deg, #fafafa 0%, #f9f9fb 100%);
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

.category-header:hover {
  background: linear-gradient(135deg, #f5f5f5 0%, #f0f0f0 100%);
}

.category-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: #1a1a1a;
  flex: 1;
}

.category-icon {
  font-size: 1.3rem;
}

.category-stats {
  display: flex;
  align-items: center;
  gap: 15px;
}

.permission-count {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.toggle-icon {
  font-size: 0.7rem;
  color: #999;
  transition: transform 0.3s ease;
  display: inline-block;
}

.toggle-icon.expanded {
  transform: rotate(90deg);
}

/* Category Permissions */
.category-permissions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  padding: 20px;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  animation: expandDown 0.3s ease;
}

@keyframes expandDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 1000px;
  }
}

.permission-item {
  padding: 16px;
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.permission-item:hover {
  border-color: #f5ba4a;
  background: #fffef5;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.1);
  transform: translateY(-2px);
}

.permission-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.permission-label input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #f5ba4a;
  margin-top: 2px;
  flex-shrink: 0;
}

.permission-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.permission-text strong {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 0.95rem;
}

.permission-text small {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.3;
  font-weight: 400;
}

/* Permissions Actions */
.permissions-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.save-btn {
  padding: 14px 40px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #1a1a1a;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.2);
}

.save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 186, 74, 0.3);
}

.save-btn:active:not(:disabled) {
  transform: translateY(0);
}

.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.info-text {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}

/* Scrollbar Styling */
.permissions-section::-webkit-scrollbar,
.staff-list-section::-webkit-scrollbar {
  width: 6px;
}

.permissions-section::-webkit-scrollbar-track,
.staff-list-section::-webkit-scrollbar-track {
  background: #f0f0f0;
}

.permissions-section::-webkit-scrollbar-thumb,
.staff-list-section::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.permissions-section::-webkit-scrollbar-thumb:hover,
.staff-list-section::-webkit-scrollbar-thumb:hover {
  background: #a0a0a0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .permissions-layout {
    grid-template-columns: 250px 1fr;
  }

  .category-permissions {
    grid-template-columns: 1fr;
  }

  .permissions-section {
    padding: 30px;
  }
}

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

  .staff-list-section {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    max-height: 200px;
  }

  .staff-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 15px;
  }

  .staff-item {
    min-width: 200px;
  }

  .permissions-section {
    padding: 20px;
  }

  .category-permissions {
    grid-template-columns: 1fr;
  }
}

.save-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

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

  .staff-list-section {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }

  .staff-list {
    max-height: 300px;
  }

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

  .permissions-section {
    padding: 20px;
  }
}
.admin-dashboard {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  animation: fadeIn 0.6s ease-out;
}

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

.admin-dashboard h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

/* Message Alert */
.message {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  color: #155724;
  padding: 16px 20px;
  border-radius: 8px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-left: 4px solid #28a745;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.1);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.message button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #155724;
  padding: 0;
}

/* Tabs */
.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
  border-bottom: 2px solid #e0e0e0;
  padding-bottom: 0;
}

.tab-button {
  background: none;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
}

.tab-button:hover {
  color: var(--primary-color);
}

.tab-button.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Admin Section */
.admin-section {
  animation: fadeIn 0.3s ease-out;
}

.admin-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

/* Statistics Grid */
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  padding: 24px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--primary-color);
  transition: var(--transition);
  text-align: center;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.stat-card.admin-color {
  border-top-color: #667bc6;
}

.stat-card.admin-color .stat-number {
  color: #667bc6;
}

.stat-card.staff-color {
  border-top-color: #17a2b8;
}

.stat-card.staff-color .stat-number {
  color: #17a2b8;
}

.stat-card.customer-color {
  border-top-color: #20c997;
}

.stat-card.customer-color .stat-number {
  color: #20c997;
}

.stat-card.active-color {
  border-top-color: #28a745;
}

.stat-card.active-color .stat-number {
  color: #28a745;
}

.stat-card.inactive-color {
  border-top-color: #ffc107;
}

.stat-card.inactive-color .stat-number {
  color: #ffc107;
}

/* Controls */
.admin-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
  align-items: center;
}

.create-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.25);
}

.create-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.35);
}

.filters {
  display: flex;
  gap: 12px;
  flex: 1;
  min-width: 300px;
  flex-wrap: wrap;
}

.filter-input,
.filter-select {
  padding: 10px 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
  font-family: inherit;
}

.filter-input {
  flex: 1;
  min-width: 200px;
}

.filter-input:focus,
.filter-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

/* Users Table */
.users-table-container {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  margin-bottom: 40px;
}

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

.users-table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  font-weight: 600;
  position: sticky;
  top: 0;
}

.users-table th {
  padding: 16px;
  text-align: left;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

.users-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #e0e0e0;
}

.users-table tbody tr:hover {
  background-color: #f9f9f9;
}

.users-table strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Role and Status Selects */
.role-select,
.status-select {
  padding: 6px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.role-select:focus,
.status-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(245, 186, 74, 0.1);
}

.status-select.active {
  background: #d4edda;
  color: #155724;
}

.status-select.inactive {
  background: #fff3cd;
  color: #856404;
}

.status-select.suspended {
  background: #f8d7da;
  color: #721c24;
}

/* Action Buttons in Table */
.edit-btn,
.delete-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin: 0 6px;
  transition: var(--transition);
  padding: 4px 8px;
  border-radius: 4px;
}

.edit-btn:hover {
  background: rgba(102, 123, 198, 0.1);
}

.delete-btn:hover {
  background: rgba(248, 215, 218, 0.5);
}

/* Settings Content */
.settings-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.setting-item {
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  padding: 24px;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  box-shadow: var(--shadow-sm);
}

.setting-item h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.setting-item p {
  margin: 8px 0;
  color: var(--text-secondary);
  line-height: 1.6;
}

.setting-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease-out;
}

.modal-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 2px solid #e0e0e0;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition);
  padding: 0;
}

.close-btn:hover {
  color: var(--text-primary);
  transform: scale(1.1);
}

/* Form Styles */
.modal-content form {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.form-group.password-group {
  gap: 8px;
}

.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
}

.password-input-wrapper input {
  flex: 1;
  padding-right: 45px !important;
}

.toggle-password-btn {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 4px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toggle-password-btn:hover {
  transform: scale(1.1);
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #333 !important;
  margin-bottom: 8px;
  display: block !important;
  letter-spacing: 0.3px;
  visibility: visible !important;
  opacity: 1 !important;
}

.form-group input,
.form-group select {
  padding: 12px 14px !important;
  border: 1.5px solid #ddd !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  transition: var(--transition);
  font-family: inherit;
  background: #ffffff !important;
  color: #333 !important;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
}

.form-group input::placeholder,
.form-group select::placeholder {
  color: #999 !important;
}

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

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.submit-btn {
  flex: 1;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
  color: var(--text-primary);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.25);
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(245, 186, 74, 0.35);
}

.cancel-btn {
  flex: 1;
  background: #f0f0f0;
  color: var(--text-primary);
  border: 1.5px solid #ddd;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cancel-btn:hover {
  background: #e0e0e0;
  border-color: #bbb;
}

/* Loading and No Data States */
.loading,
.no-data {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .admin-dashboard {
    padding: 16px;
  }

  .statistics-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
  }

  .users-table {
    font-size: 0.9rem;
  }

  .users-table th,
  .users-table td {
    padding: 12px;
  }
}

@media (max-width: 768px) {
  .admin-dashboard h1 {
    font-size: 1.8rem;
    margin-bottom: 16px;
  }

  .admin-controls {
    flex-direction: column;
    gap: 12px;
  }

  .create-btn {
    width: 100%;
  }

  .filters {
    width: 100%;
    flex-direction: column;
  }

  .filter-input,
  .filter-select {
    width: 100%;
  }

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

  .settings-content {
    grid-template-columns: 1fr;
  }

  .modal-content {
    width: 95%;
  }
}

@media (max-width: 480px) {
  .admin-dashboard {
    padding: 12px;
  }

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

  .tab-button {
    padding: 10px 12px;
    font-size: 0.8rem;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 2rem;
  }

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

  .users-table {
    font-size: 0.8rem;
  }

  .users-table th,
  .users-table td {
    padding: 8px;
  }

  .edit-btn,
  .delete-btn {
    margin: 0 2px;
  }

  /* Mobile Table Responsive Styles */
  .users-table {
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .users-table thead {
    display: none;
  }

  .users-table tbody {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .users-table tr {
    display: flex;
    flex-direction: column;
    background: white;
    border: 1px solid #e8e8f0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    gap: 12px;
  }

  .users-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border: none;
    text-align: right;
    font-size: 12px;
  }

  .users-table button,
  .users-table select {
    font-size: 11px;
    padding: 6px 10px;
  }

  .users-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #f5ba4a;
    text-transform: uppercase;
    font-size: 11px;
    text-align: left;
    flex: 1;
  }

  .users-table td:last-child {
    flex-direction: row;
    gap: 8px;
  }

  .users-table .edit-btn,
  .users-table .delete-btn {
    padding: 8px 12px;
    font-size: 1rem;
    margin: 0;
    flex: 1;
  }
}
.reports-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

.reports-header {
  text-align: center;
  margin-bottom: 40px;
}

.reports-header h1 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin: 0 0 10px 0;
  font-weight: 700;
}

.reports-header p {
  font-size: 1.1rem;
  color: #555;
  margin: 0;
}

.filters-section {
  background: white;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  font-weight: 600;
  color: #2c3e50;
  white-space: nowrap;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #f5ba4a;
}

.date-range-group {
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.date-inputs {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  align-items: center;
}

.date-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.date-field label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}

.date-input {
  padding: 10px 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.date-input:focus {
  border-color: #f5ba4a;
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  outline: none;
}

.btn-search {
  padding: 12px 28px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ff9a56 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-search:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 186, 74, 0.3);
}

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

.button-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-reset {
  padding: 12px 28px;
  background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(127, 140, 141, 0.3);
}

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

.month-input {
  padding: 10px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.month-input:hover,
.month-input:focus {
  border-color: #e74c3c;
  outline: none;
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

.message {
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-weight: 500;
}

.message.error-message {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.loading {
  text-align: center;
  padding: 50px 20px;
  font-size: 1.2rem;
  color: #2c3e50;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  border-left: 5px solid #e74c3c;
}

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

.stat-card.instant-orders {
  border-left-color: #3498db;
}

.stat-card.events {
  border-left-color: #2ecc71;
}

.stat-card.revenue {
  border-left-color: #f39c12;
}

.stat-card.pending {
  border-left-color: #e74c3c;
}

.stat-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-content h3 {
  margin: 0 0 8px 0;
  font-size: 0.95rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
}

.stat-number {
  margin: 0 0 5px 0;
  font-size: 2rem;
  font-weight: 700;
  color: #2c3e50;
}

.stat-label {
  margin: 0;
  font-size: 0.85rem;
  color: #999;
}

.breakdown-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.breakdown-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.breakdown-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.breakdown-card h3 {
  margin: 0 0 15px 0;
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
}

.breakdown-amount {
  margin: 0 0 8px 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #e74c3c;
}

.breakdown-label {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
}

.breakdown-card.tax-card {
  border-top: 4px solid #3498db;
}

.breakdown-card.tax-card .breakdown-amount {
  color: #3498db;
}

.breakdown-card.service-card {
  border-top: 4px solid #f39c12;
}

.breakdown-card.service-card .breakdown-amount {
  color: #f39c12;
}

.breakdown-card.discount-card {
  border-top: 4px solid #e74c3c;
}

.breakdown-card.discount-card .breakdown-amount {
  color: #e74c3c;
}

.breakdown-card.payment-cash {
  border-top: 4px solid #27ae60;
}

.breakdown-card.payment-cash .breakdown-amount {
  color: #27ae60;
}

.breakdown-card.payment-card {
  border-top: 4px solid #2980b9;
}

.breakdown-card.payment-card .breakdown-amount {
  color: #2980b9;
}

.breakdown-card.payment-online {
  border-top: 4px solid #9b59b6;
}

.breakdown-card.payment-online .breakdown-amount {
  color: #9b59b6;
}

.orders-table-section {
  background: white;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.orders-table-section h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
}

.download-btn {
  padding: 10px 18px;
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: #232a36;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.2);
  white-space: nowrap;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(245, 186, 74, 0.3);
}

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

.table-wrapper {
  overflow-x: auto;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  -webkit-overflow-scrolling: touch;
}

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  display: table !important;
}

.orders-table thead {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  display: table-header-group !important;
}

.orders-table thead tr {
  display: table-row !important;
}

.orders-table tbody {
  display: table-row-group !important;
}

.orders-table th {
  padding: 15px;
  text-align: center;
  font-weight: 600;
  white-space: nowrap;
  vertical-align: middle;
  height: 50px;
  display: table-cell !important;
  line-height: 1.2;
  border: 1px solid rgba(255,255,255,0.2);
}

.orders-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.2s ease;
  display: table-row !important;
}

.orders-table tbody tr:hover {
  background-color: #f8f9fa;
}

.orders-table td {
  padding: 12px 15px;
  display: table-cell !important;
  text-align: left;
  vertical-align: middle;
}

.orders-table td::before {
  display: none !important;
  content: none !important;
}

.orders-table td:last-child {
  white-space: nowrap;
}

.badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-instant {
  background-color: #d1ecf1;
  color: #0c5460;
}

.badge-event {
  background-color: #d4edda;
  color: #155724;
}

.status-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.status-placed {
  background-color: #e3f2fd;
  color: #1976d2;
}

.status-badge.status-preparing {
  background-color: #fff3e0;
  color: #f57c00;
}

.status-badge.status-ready {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.status-badge.status-delivered,
.status-badge.status-completed {
  background-color: #c8e6c9;
  color: #2e7d32;
}

.status-badge.status-pending-payment {
  background-color: #ffebee;
  color: #c62828;
}

.payment-mode-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.payment-mode-badge.payment-cash {
  background-color: #d4edda;
  color: #155724;
}

.payment-mode-badge.payment-card {
  background-color: #d1ecf1;
  color: #0c5460;
}

.payment-mode-badge.payment-online {
  background-color: #e2e3e5;
  color: #383d41;
}

.no-data {
  background: white;
  border-radius: 12px;
  padding: 40px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #999;
}

.no-data p {
  font-size: 1.1rem;
  margin: 0;
}

@media (max-width: 768px) {
  .reports-container {
    padding: 20px 15px;
  }

  .reports-header h1 {
    font-size: 1.8rem;
  }

  .reports-header p {
    font-size: 0.95rem;
  }

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

  .stat-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    border-left: none;
    border-top: 4px solid;
  }

  .stat-card.instant-orders {
    border-top-color: #3498db;
  }

  .stat-card.events {
    border-top-color: #2ecc71;
  }

  .stat-card.revenue {
    border-top-color: #f39c12;
  }

  .stat-card.pending {
    border-top-color: #e74c3c;
  }

  .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .stat-content h3 {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }

  .stat-number {
    font-size: 1.8rem;
    margin-bottom: 5px;
  }

  .stat-label {
    font-size: 0.75rem;
  }

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

  .breakdown-card {
    padding: 20px 15px;
  }

  .breakdown-card h3 {
    font-size: 0.95rem;
    margin-bottom: 10px;
  }

  .breakdown-amount {
    font-size: 1.6rem;
    margin-bottom: 5px;
  }

  .breakdown-label {
    font-size: 0.75rem;
  }

  .filters-section {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .filter-group {
    width: 100%;
    justify-content: space-between;
  }

  .filter-group label {
    font-size: 0.95rem;
  }

  .month-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .date-range-group {
    width: 100%;
  }

  .date-inputs {
    flex-direction: column;
    gap: 15px;
  }

  .date-field {
    width: 100%;
    min-width: unset;
  }

  .date-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }

  .button-group {
    flex-direction: column;
    gap: 10px;
  }

  .btn-search,
  .btn-reset {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    height: auto;
  }

  .table-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .orders-table-section h2 {
    font-size: 1.2rem;
    width: 100%;
  }

  .download-btn {
    width: 100%;
    padding: 12px;
  }

  /* Mobile: Horizontal Scrollable Table View */
  .orders-table-section {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    padding: 20px;
  }

  .orders-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 900px;
    font-size: 0.85em;
    display: table !important;
  }

  .orders-table thead {
    background: #f9f9f9;
    border-bottom: 2px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 10;
    display: table-header-group !important;
  }

  .orders-table thead tr {
    display: table-row !important;
  }

  .orders-table th {
    padding: 12px 10px;
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.8em;
    color: #2c3e50;
    border-right: 1px solid #e0e0e0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    vertical-align: middle;
    height: 45px;
    display: table-cell !important;
    line-height: 1.2;
  }

  .orders-table th:last-child {
    border-right: none;
  }

  .orders-table tbody {
    display: table-row-group !important;
  }

  .orders-table tbody tr {
    display: table-row !important;
    border-bottom: 1px solid #e0e0e0;
  }

  .orders-table tbody tr:hover {
    background-color: #f8f9fa;
  }

  .orders-table td {
    padding: 10px;
    border-right: 1px solid #e0e0e0;
    font-size: 0.8em;
    white-space: nowrap;
    color: #2c3e50;
    vertical-align: middle;
    display: table-cell !important;
    text-align: left;
  }

  .orders-table td::before {
    display: none !important;
    content: none !important;
  }

  .orders-table td:last-child {
    border-right: none;
  }

  .orders-table .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 500;
    white-space: nowrap;
  }

  .orders-table .payment-mode-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 500;
    background-color: #c8e6c9;
    color: #2e7d32;
    white-space: nowrap;
  }

  .orders-table .status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75em;
    font-weight: 500;
    white-space: nowrap;
  }

  .no-data {
    padding: 30px 20px;
  }

  .no-data p {
    font-size: 1rem;
  }

  .loading {
    padding: 40px 20px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .reports-container {
    padding: 15px 10px;
  }

  .reports-header h1 {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .reports-header p {
    font-size: 0.9rem;
  }

  .statistics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 15px;
    gap: 10px;
  }

  .stat-icon {
    font-size: 2rem;
  }

  .stat-content h3 {
    font-size: 0.75rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .breakdown-section {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .breakdown-card {
    padding: 15px;
  }

  .breakdown-card h3 {
    font-size: 0.95rem;
  }

  .breakdown-amount {
    font-size: 1.6rem;
  }

  .breakdown-label {
    font-size: 0.75rem;
  }

  .filters-section {
    padding: 15px;
    gap: 12px;
  }

  .filter-group label {
    font-size: 0.9rem;
  }

  .orders-table-section {
    padding: 15px;
  }

  .orders-table-section h2 {
    font-size: 1.1rem;
  }

  .orders-table {
    font-size: 0.75em;
  }

  .orders-table th,
  .orders-table td {
    padding: 8px 5px;
  }

  .btn-search,
  .btn-reset {
    font-size: 0.95rem;
  }

  .date-field label {
    font-size: 0.9rem;
  }
}
/* ================================================
   PROFESSIONAL LOGIN PAGE DESIGN WITH ANIMATIONS
   ================================================ */

/* Root Variables */
:root {
  --primary-color: #f5ba4a;
  --primary-dark: #e6a530;
  --secondary-color: #ff6b6b;
  --success-color: #51cf66;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --border-color: #e0e0e0;
  --bg-light: #f9f9f9;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ================================================
   LOGIN WRAPPER & BACKGROUND
   ================================================ */

.login-wrapper {
  min-height: 100vh;
  width: 100%;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Animated Background Blobs */
.login-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 0;
  overflow: hidden;
}

.gradient-blob {
  position: absolute;
  background: linear-gradient(45deg, rgba(245, 186, 74, 0.08), rgba(255, 199, 87, 0.06));
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  opacity: 0.5;
  animation: blob-animation 8s infinite;
}

.blob-1 {
  width: 300px;
  height: 300px;
  top: -10%;
  left: -10%;
  animation: blob-animation 8s infinite;
  animation-delay: 0s;
}

.blob-2 {
  width: 250px;
  height: 250px;
  top: 50%;
  right: -5%;
  animation: blob-animation 8s infinite;
  animation-delay: 2s;
  background: linear-gradient(45deg, rgba(255, 199, 87, 0.06), rgba(245, 186, 74, 0.08));
}

.blob-3 {
  width: 200px;
  height: 200px;
  bottom: -5%;
  left: 30%;
  animation: blob-animation 8s infinite;
  animation-delay: 4s;
  background: linear-gradient(45deg, rgba(81, 207, 102, 0.05), rgba(245, 186, 74, 0.06));
}

@keyframes blob-animation {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.05);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95);
  }
}

/* ================================================
   LOGIN CONTAINER & LAYOUT
   ================================================ */

.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90%;
  max-width: 480px;
  background: white;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(245, 186, 74, 0.12);
  z-index: 10;
  animation: slideUp 0.6s ease-out;
}

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

/* ================================================
   LOGIN CARD - CENTERED LAYOUT
   ================================================ */

.login-card {
  width: 100%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fadeIn 0.8s ease-out 0.2s backwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-logo-section {
  margin-bottom: 32px;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-company-info {
  margin-bottom: 40px;
}

.login-brand-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-30px, -30px);
  }
}

.brand-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
  animation: fadeInUp 0.8s ease-out;
  max-width: 100%;
}

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

.brand-logo {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-image {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-image:hover {
  transform: scale(1.08);
}

.brand-title {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 6px 0;
  letter-spacing: -0.5px;
  color: #2c3e50;
}

.brand-subtitle {
  font-size: 1rem;
  opacity: 0.7;
  margin: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: #7f8c8d;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  animation: slideRight 0.6s ease-out;
}

.feature-item:nth-child(2) {
  animation-delay: 0.15s;
}

.feature-item:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes slideRight {
  from {
    opacity: 0;
    transform: translateX(-25px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-icon {
  font-size: 1.6rem;
  background: rgba(255, 255, 255, 0.35);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-item p {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* ================================================
   LOGIN FORM SECTION
   ================================================ */

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 24px;
}

/* Form Header */
.form-header {
  margin-bottom: 40px;
}

.form-header h2 {
  font-size: 2rem;
  color: var(--text-dark);
  margin: 0 0 10px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.form-header p {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0;
  font-weight: 400;
}

/* ================================================
   ALERT STYLES
   ================================================ */

.alert {
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.alert-error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
  border-left: 4px solid #c33;
}

.alert-icon {
  font-size: 1.1rem;
}

/* ================================================
   LOGIN FORM
   ================================================ */

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Group */
.form-group {
  position: relative;
  width: 100%;
}

.form-input-wrapper {
  position: relative;
  display: flex;
  width: 100%;
  align-items: center;
  pointer-events: none;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  pointer-events: none;
  z-index: 2;
}

.form-input {
  width: 100%;
  padding: 14px 50px 14px 14px;
  border: 2px solid var(--border-color);
  border-radius: 10px;
  font-size: 0.95rem;
  background: white;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-dark);
  box-sizing: border-box;
  flex: 1;
  pointer-events: auto;
}

.form-input::placeholder {
  color: transparent;
}

/* Label Styling */
.form-label {
  position: absolute;
  left: 48px;
  top: 14px;
  font-size: 0.95rem;
  color: var(--text-light);
  pointer-events: none;
  transition: var(--transition);
  transform-origin: left center;
  font-weight: 500;
}

/* Form Label - Hidden */
.form-label {
  display: none;
}

/* Focused State */
.form-group.focused .form-input {
  border-color: var(--primary-color);
  background: rgba(245, 186, 74, 0.05);
  box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
}

/* Filled State */
.form-group.filled .form-input {
  border-color: #e0e0e0;
  background: white;
}

/* Password Toggle */
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 4px 8px;
  z-index: 11;
  transition: var(--transition);
  opacity: 0.7;
  pointer-events: auto;
}

.password-toggle:hover {
  opacity: 1;
}

.password-toggle:focus {
  outline: none;
  opacity: 1;
}

/* ================================================
   FORM OPTIONS
   ================================================ */

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  margin-bottom: 10px;
  gap: 8px;
  flex-wrap: wrap;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: var(--text-light);
  user-select: none;
  transition: var(--transition);
  flex-shrink: 0;
}

.remember-me:hover {
  color: var(--text-dark);
}

.remember-me input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--primary-color);
  flex-shrink: 0;
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  flex-shrink: 0;
}

.forgot-password:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ================================================
   LOGIN BUTTON
   ================================================ */

.login-button {
  padding: 16px 28px;
  background: linear-gradient(90deg, #f5ba4a 0%, #ff8c42 100%);
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 6px 20px rgba(245, 186, 74, 0.3);
  letter-spacing: 0.5px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.login-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

.login-button:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: 0 12px 35px rgba(245, 186, 74, 0.4);
}

.login-button:active:not(:disabled) {
  transform: translateY(0);
}

.login-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-button.loading {
  pointer-events: none;
}

.button-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

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

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

/* ================================================
   FORM DIVIDER
   ================================================ */

.form-divider {
  position: relative;
  text-align: center;
  margin: 30px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.form-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-color);
}

.form-divider span {
  background: #fafafa;
  padding: 0 12px;
  position: relative;
}

/* ================================================
   LOGIN FOOTER
   ================================================ */

.login-footer {
  margin-top: 32px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

.login-footer p {
  margin: 10px 0;
  line-height: 1.6;
}

.login-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.login-footer a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

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

@media (max-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 600px;
  }

  .login-brand-section {
    padding: 40px;
    min-height: 250px;
  }

  .brand-title {
    font-size: 2rem;
  }

  .login-form-section {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .login-wrapper {
    padding: 16px;
    min-height: 100vh;
  }

  .login-container {
    border-radius: 16px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 4px 16px rgba(245, 186, 74, 0.1);
  }

  .login-card {
    padding: 40px 24px;
    width: 100%;
  }

  .login-logo-section {
    margin-bottom: 24px;
  }

  .brand-logo {
    width: 80px;
    height: 80px;
  }

  .logo-image {
    width: 80px;
    height: 80px;
  }

  .login-company-info {
    margin-bottom: 32px;
  }

  .brand-title {
    font-size: 1.8rem;
    margin: 12px 0 4px;
  }

  .brand-subtitle {
    font-size: 0.95rem;
  }

  .login-form {
    width: 100%;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-input {
    font-size: 16px;
    padding: 14px 12px;
  }

  .form-options {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .remember-me {
    font-size: 0.9rem;
  }

  .forgot-password {
    font-size: 0.9rem;
  }

  .login-button {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .alert {
    padding: 12px 16px;
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .login-footer {
    margin-top: 24px;
    font-size: 0.85rem;
  }

  .login-footer p {
    margin: 8px 0;
  }

  .login-footer a {
    font-size: 0.85rem;
  }

  .password-toggle {
    padding: 8px;
  }

  .form-input-wrapper {
    gap: 8px;
    position: relative;
  }

  .gradient-blob {
    opacity: 0.3;
  }

  .blob-1 {
    width: 200px;
    height: 200px;
  }

  .blob-2 {
    width: 150px;
    height: 150px;
  }

  .blob-3 {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 480px) {
  .login-wrapper {
    padding: 8px;
    min-height: 100vh;
  }

  .login-container {
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(245, 186, 74, 0.08);
  }

  .login-card {
    padding: 32px 16px;
    width: 100%;
  }

  .login-logo-section {
    margin-bottom: 20px;
  }

  .brand-logo {
    width: 70px;
    height: 70px;
  }

  .logo-image {
    width: 70px;
    height: 70px;
  }

  .login-company-info {
    margin-bottom: 28px;
  }

  .brand-title {
    font-size: 1.6rem;
    margin: 10px 0 3px;
  }

  .brand-subtitle {
    font-size: 0.9rem;
    color: #666;
  }

  .login-form {
    width: 100%;
  }

  .form-group {
    margin-bottom: 14px;
  }

  .form-input {
    font-size: 16px;
    padding: 12px 10px;
    border-radius: 8px;
  }

  .form-options {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
    text-align: left;
  }

  .remember-me {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
  }

  .forgot-password {
    font-size: 0.85rem;
    text-align: left;
    display: block;
  }

  .login-button {
    padding: 12px 16px;
    font-size: 0.95rem;
    border-radius: 8px;
    width: 100%;
  }

  .alert {
    padding: 10px 12px;
    font-size: 0.8rem;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .login-footer {
    margin-top: 20px;
    font-size: 0.8rem;
  }

  .login-footer p {
    margin: 6px 0;
    line-height: 1.4;
  }

  .login-footer a {
    font-size: 0.8rem;
  }

  .password-toggle {
    position: absolute;
    padding: 4px 8px;
    font-size: 1.2rem;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .form-input-wrapper {
    display: flex;
    position: relative;
    align-items: center;
    pointer-events: none;
  }

  .form-input {
    padding: 12px 50px 12px 10px;
    width: 100%;
    flex: 1;
    pointer-events: auto;
  }

  .gradient-blob {
    opacity: 0.2;
  }

  .blob-1 {
    width: 150px;
    height: 150px;
  }

  .blob-2 {
    width: 100px;
    height: 100px;
  }

  .blob-3 {
    width: 80px;
    height: 80px;
  }

  /* Ensure form doesn't get too narrow */
  .login-container {
    min-width: 100%;
  }

  /* Better keyboard handling for mobile */
  .form-input:focus {
    outline: none;
    border-color: #f5ba4a;
    box-shadow: 0 0 0 3px rgba(245, 186, 74, 0.1);
  }

  /* Improve button touch target */
  .login-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Stack form elements better */
  .login-form {
    display: flex;
    flex-direction: column;
  }
}

/* ================================================
   DARK MODE SUPPORT
   ================================================ */

@media (prefers-color-scheme: dark) {
  :root {
    --text-dark: #f0f0f0;
    --text-light: #b0b0b0;
    --border-color: #404040;
    --bg-light: #2a2a2a;
  }

  .login-form-section {
    background: #1a1a1a;
  }

  .login-card {
    background: #1a1a1a;
  }

  .form-input {
    background: #2a2a2a;
    color: var(--text-dark);
    border-color: #404040;
  }

  .form-group.focused .form-input {
    background: rgba(245, 186, 74, 0.08);
  }

  .social-button {
    background: #2a2a2a;
    border-color: #404040;
    color: var(--text-dark);
  }

  .social-button:hover {
    border-color: var(--primary-color);
    background: rgba(245, 186, 74, 0.1);
  }

  .form-divider span {
    background: #1a1a1a;
  }

  .auth-card h1,
  .form-group label {
    color: #fff;
  }

  .auth-subtitle,
  .auth-footer,
  .auth-info {
    color: #ccc;
  }

  .form-group input {
    background: #333;
    border-color: #444;
    color: #fff;
  }

  .form-group input:focus {
    border-color: #f5ba4a;
    background: #3a3a3a;
  }

  .form-group input::placeholder {
    color: #777;
  }
}
/* Customer Page Styles */

.customer-page-container {
  width: 100%;
  background: #f8f9fa;
  min-height: 100vh;
}

/* Header Section */
.customer-header {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.customer-header h1 {
  font-size: 2.5rem;
  margin: 0 0 16px 0;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.customer-header p {
  font-size: 1.2rem;
  margin: 0;
  opacity: 0.95;
  font-weight: 500;
}

/* Navigation Tabs */
.customer-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-btn {
  padding: 12px 24px;
  border: 2px solid #e0e0e0;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #555;
  transition: all 0.3s ease;
  min-width: 200px;
}

.nav-btn:hover {
  border-color: #f5ba4a;
  color: #f5ba4a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.2);
}

.nav-btn.active {
  background: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  color: white;
  border-color: #f5ba4a;
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* Content Section */
.customer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.menu-section,
.enquiry-section {
  animation: fadeIn 0.5s ease-out;
}

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

.menu-section h2,
.enquiry-section h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin: 0 0 8px 0;
  font-weight: 700;
  text-align: center;
}

.section-desc {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin: 0 0 30px 0;
}

/* Features Section */
.customer-features {
  background: white;
  padding: 60px 20px;
  margin: 40px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.customer-features h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin: 0 0 40px 0;
  font-weight: 700;
}

.features-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.feature-card {
  text-align: center;
  padding: 30px 24px;
  background: linear-gradient(135deg, #f9f9fb 0%, #fafafa 100%);
  border-radius: 12px;
  border: 1px solid #e8e8f0;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-color: #f5ba4a;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.3rem;
  color: #2c3e50;
  margin: 0 0 12px 0;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* Footer CTA Section */
.customer-footer {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  margin-top: 40px;
}

.customer-footer h2 {
  font-size: 2.2rem;
  margin: 0 0 16px 0;
  font-weight: 700;
}

.customer-footer p {
  font-size: 1.1rem;
  margin: 0 0 30px 0;
  opacity: 0.95;
}

.cta-button {
  padding: 14px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .customer-header {
    padding: 40px 20px;
  }

  .customer-header h1 {
    font-size: 1.8rem;
  }

  .customer-header p {
    font-size: 1rem;
  }

  .customer-nav {
    flex-direction: column;
    padding: 16px;
  }

  .nav-btn {
    min-width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .customer-content {
    padding: 24px 16px;
  }

  .menu-section h2,
  .enquiry-section h2 {
    font-size: 1.5rem;
  }

  .customer-features {
    padding: 40px 16px;
  }

  .customer-features h2 {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .features-grid {
    gap: 16px;
  }

  .feature-card {
    padding: 20px 16px;
  }

  .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
  }

  .feature-card h3 {
    font-size: 1.1rem;
  }

  .customer-footer {
    padding: 40px 16px;
  }

  .customer-footer h2 {
    font-size: 1.5rem;
  }

  .cta-button {
    padding: 12px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .customer-header {
    padding: 30px 16px;
  }

  .customer-header h1 {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .customer-header p {
    font-size: 0.95rem;
  }

  .customer-nav {
    padding: 12px;
    gap: 8px;
  }

  .nav-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
    min-width: auto;
  }

  .customer-content {
    padding: 16px 12px;
  }

  .menu-section h2,
  .enquiry-section h2 {
    font-size: 1.2rem;
  }

  .customer-features {
    padding: 30px 12px;
  }

  .customer-features h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-card {
    padding: 16px 12px;
  }

  .feature-icon {
    font-size: 2rem;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.85rem;
  }

  .customer-footer {
    padding: 30px 12px;
  }

  .customer-footer h2 {
    font-size: 1.3rem;
  }

  .cta-button {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
}
/* ================================================
   SPECIAL ITEMS PAGE STYLING
   ================================================ */

:root {
  --primary-color: #f5ba4a;
  --primary-dark: #e6a530;
  --text-dark: #1a1a1a;
  --text-light: #666;
  --border-color: #e0e0e0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.special-items-page {
  width: 100%;
  background: #f9f9f9;
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
  background: linear-gradient(135deg, #f5ba4a 0%, #ff8c42 100%);
  padding: 100px 40px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(245, 186, 74, 0.25);
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-40px, -40px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3.8rem;
  font-weight: 700;
  margin: 0 0 18px 0;
  letter-spacing: -1px;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-content p {
  font-size: 1.4rem;
  margin: 0 0 36px 0;
  opacity: 0.98;
  line-height: 1.6;
  font-weight: 300;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.cta-button {
  padding: 16px 36px;
  background: white;
  color: #f5ba4a;
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

/* ================================================
   FILTER SECTION
   ================================================ */

.filter-section {
  padding: 40px 20px;
  background: white;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-dark);
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.filter-btn.active {
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff9a56 100%);
  color: white;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.3);
}

/* ================================================
   ITEMS SECTION
   ================================================ */

.items-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 20px;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

.item-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(245, 186, 74, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(245, 186, 74, 0.15);
  display: flex;
  flex-direction: column;
}

.item-card:hover {
  transform: translateY(-16px);
  box-shadow: 0 20px 60px rgba(245, 186, 74, 0.3);
  border-color: rgba(245, 186, 74, 0.4);
}

.item-image {
  position: relative;
  height: 280px;
  background: linear-gradient(135deg, rgba(245, 186, 74, 0.15) 0%, rgba(255, 199, 87, 0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.item-card:hover .item-photo {
  transform: scale(1.12);
}

@keyframes emoji-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.category-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(90deg, #f5ba4a 0%, #ff9a56 100%);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(245, 186, 74, 0.3);
}

.item-info {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.item-info h3 {
  font-size: 1.7rem;
  color: var(--text-dark);
  margin: 0 0 14px 0;
  font-weight: 700;
  line-height: 1.3;
}

.short-desc {
  font-size: 1rem;
  color: var(--text-light);
  margin: 0 0 18px 0;
  line-height: 1.6;
}

.highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.highlight-tag {
  display: inline-block;
  background: linear-gradient(135deg, rgba(245, 186, 74, 0.15) 0%, rgba(255, 199, 87, 0.15) 100%);
  color: #d68910;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(245, 186, 74, 0.2);
}

.item-meta {
  margin: 12px 0;
  padding: 12px 0;
  border-top: 1px solid rgba(245, 186, 74, 0.1);
  border-bottom: 1px solid rgba(245, 186, 74, 0.1);
}

.servings {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}

.price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
}

.order-btn {
  padding: 10px 18px;
  background: linear-gradient(90deg, var(--primary-color) 0%, #ff9a56 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 186, 74, 0.4);
}

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

/* ================================================
   WHY CHOOSE US SECTION
   ================================================ */

.why-choose-section {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef7 100%);
  padding: 80px 40px;
  text-align: center;
}

.why-choose-section h2 {
  font-size: 2.5rem;
  color: var(--text-dark);
  margin: 0 0 60px 0;
  font-weight: 700;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.reason-card {
  background: white;
  padding: 40px 24px;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  border: 1px solid rgba(245, 186, 74, 0.1);
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 186, 74, 0.3);
}

.reason-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  line-height: 1;
  transition: transform 0.3s ease;
}

.reason-card:hover .reason-icon {
  transform: scale(1.1);
}

.reason-card h4 {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin: 16px 0 12px 0;
  font-weight: 700;
}

.reason-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 24px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .filter-container {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 40px 16px;
  }

  .item-image {
    height: 180px;
  }

  .item-info h3 {
    font-size: 1.3rem;
  }

  .item-info {
    padding: 20px;
  }

  .why-choose-section {
    padding: 60px 24px;
  }

  .why-choose-section h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .reasons-grid {
    gap: 20px;
  }

  .reason-card {
    padding: 28px 18px;
  }

  .reason-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 16px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

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

  .item-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .order-btn {
    width: 100%;
  }

  .why-choose-section h2 {
    font-size: 1.5rem;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================
   DESI PLAZA CATERINGS - DESIGN SYSTEM
   Inspired by MoghulCatering.com
   Elegant, Clean, and Professional
   ======================================== */

/* CSS CUSTOM PROPERTIES (Variables) */
:root {
  /* COLORS */
  --color-primary: #d4a574;        /* Warm gold - primary accent */
  --color-primary-dark: #b8935f;   /* Darker gold */
  --color-primary-light: #e6c89a;  /* Lighter gold */
  
  --color-secondary: #1a1a1a;      /* Deep charcoal - main text */
  --color-secondary-light: #4a4a4a; /* Medium gray */
  
  --color-neutral-bg: #f9f8f5;     /* Warm off-white background */
  --color-neutral-light: #e8e6e0;  /* Light neutral */
  --color-white: #ffffff;          /* Pure white */
  
  --color-accent-red: #c45d4a;     /* Warm red for highlights */
  --color-accent-green: #6b8e5f;   /* Muted green */
  
  --color-text-dark: #2a2a2a;
  --color-text-light: #666666;
  --color-border: #ddd9d0;
  
  --color-success: #52b788;
  --color-error: #d62828;
  --color-warning: #f77f00;
  
  /* TYPOGRAPHY */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-accent: 'Cormorant Garamond', Georgia, serif;
  
  --font-size-xs: 0.75rem;     /* 12px */
  --font-size-sm: 0.875rem;    /* 14px */
  --font-size-base: 1rem;      /* 16px */
  --font-size-lg: 1.125rem;    /* 18px */
  --font-size-xl: 1.5rem;      /* 24px */
  --font-size-2xl: 2rem;       /* 32px */
  --font-size-3xl: 2.5rem;     /* 40px */
  --font-size-4xl: 3.5rem;     /* 56px */
  
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* SPACING */
  --spacing-xs: 0.5rem;        /* 8px */
  --spacing-sm: 1rem;          /* 16px */
  --spacing-md: 1.5rem;        /* 24px */
  --spacing-lg: 2rem;          /* 32px */
  --spacing-xl: 3rem;          /* 48px */
  --spacing-2xl: 4rem;         /* 64px */
  --spacing-3xl: 6rem;         /* 96px */
  
  /* BORDER RADIUS */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  
  /* SHADOWS */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.2);
  
  /* TRANSITIONS */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
  
  /* Z-INDEX SCALE */
  --z-dropdown: 100;
  --z-sticky: 20;
  --z-fixed: 50;
  --z-modal: 1000;
  --z-tooltip: 1100;
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--color-text-dark);
  background-color: var(--color-neutral-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.01em;
}

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

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-primary-dark);
}

/* ========================================
   NAVIGATION BAR
   ======================================== */

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

.nav-logo:hover {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: block;
  color: var(--color-text-dark);
  padding: var(--spacing-sm) 0;
  font-weight: var(--font-weight-normal);
  transition: color var(--transition-base);
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* DROPDOWN MENU */
.dropdown {
  position: relative;
}

.dropdown-toggle::after {
  content: '▼';
  font-size: 0.6rem;
  margin-left: var(--spacing-xs);
  display: inline-block;
  transition: transform var(--transition-base);
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(-180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
  z-index: var(--z-dropdown);
  box-shadow: var(--shadow-lg);
  margin-top: var(--spacing-sm);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: var(--spacing-md) var(--spacing-lg);
  color: var(--color-text-dark);
  text-decoration: none;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--color-neutral-light);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--color-neutral-bg);
  color: var(--color-primary);
  padding-left: calc(var(--spacing-lg) + 8px);
}

/* HAMBURGER MENU */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #3a3a3a 100%);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="pattern" x="0" y="0" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="1200" height="600" fill="url(%23pattern)"/></svg>');
  opacity: 0.3;
  z-index: 1;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-2xl);
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--spacing-lg);
  color: var(--color-white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-neutral-light);
  margin-bottom: var(--spacing-2xl);
  font-weight: var(--font-weight-light);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   BUTTONS & CALL TO ACTION
   ======================================== */

button, .btn {
  font-family: var(--font-sans);
  cursor: pointer;
  border: none;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  font-weight: var(--font-weight-semibold);
  text-align: center;
}

/* PRIMARY BUTTON */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

/* SECONDARY BUTTON */
.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  padding: var(--spacing-md) var(--spacing-lg);
  border: 2px solid var(--color-primary);
  font-size: var(--font-size-base);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* OUTLINE BUTTON */
.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-lg);
  border: 2px solid var(--color-white);
  font-size: var(--font-size-base);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-secondary);
}

/* BUTTON SIZES */
.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-2xl);
  font-size: var(--font-size-lg);
}

.btn-block {
  width: 100%;
  display: block;
}

/* CTA SECTION BUTTON */
.cta-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-weight: var(--font-weight-bold);
}

.cta-button:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* ========================================
   SECTION HEADINGS & TYPOGRAPHY
   ======================================== */

.section-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-3xl);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
  text-align: center;
  position: relative;
  padding-bottom: var(--spacing-lg);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  font-weight: var(--font-weight-light);
}

.subsection-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-2xl);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

/* ========================================
   FORMS & INPUT FIELDS
   ======================================== */

.form-group {
  margin-bottom: var(--spacing-lg);
}

label {
  display: block;
  margin-bottom: var(--spacing-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-dark);
  font-size: var(--font-size-sm);
}

input[type="text"],
input[type="email"],
input[type="phone"],
input[type="date"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  transition: all var(--transition-base);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="phone"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

select {
  cursor: pointer;
}

input::placeholder,
textarea::placeholder {
  color: var(--color-text-light);
  opacity: 0.7;
}

/* FORM ROW FOR SIDE-BY-SIDE FIELDS */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

/* FORM VALIDATION */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: var(--color-error);
  background-color: rgba(214, 40, 40, 0.05);
}

.error-message {
  color: var(--color-error);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  display: block;
}

.success-message {
  color: var(--color-success);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  display: block;
}

/* CHECKBOX & RADIO */
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

input[type="checkbox"],
input[type="radio"] {
  margin-right: var(--spacing-sm);
  cursor: pointer;
  accent-color: var(--color-primary);
}

.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: var(--font-weight-normal);
  margin-bottom: 0;
}

/* QUOTE REQUEST FORM */
.quote-form {
  background-color: var(--color-white);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.quote-form .form-row {
  margin-bottom: var(--spacing-lg);
}

.quote-form-title {
  font-size: var(--font-size-2xl);
  font-family: var(--font-serif);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-xl);
  text-align: center;
}

/* ========================================
   GALLERY & IMAGE SECTIONS
   ======================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  padding: var(--spacing-2xl) 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  background-color: var(--color-neutral-light);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
  color: var(--color-white);
  text-align: center;
  padding: var(--spacing-lg);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-title {
  font-size: var(--font-size-lg);
  font-family: var(--font-serif);
  font-weight: var(--font-weight-bold);
}

/* IMAGE SLIDER */
.slider-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-lg);
  padding: var(--spacing-lg);
  background-color: var(--color-white);
}

.slider-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  background-color: transparent;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: var(--font-weight-bold);
}

.slider-button:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.slider-indicators {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: all var(--transition-base);
}

.indicator.active {
  background-color: var(--color-primary);
  width: 30px;
  border-radius: 6px;
}

/* ========================================
   CONTAINERS & SECTIONS
   ======================================== */

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-3xl) var(--spacing-lg);
}

.section-light {
  background-color: var(--color-neutral-bg);
}

.section-dark {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.section-dark .section-title,
.section-dark .subsection-title {
  color: var(--color-white);
}

.section-dark .section-title::after {
  background: linear-gradient(90deg, transparent, var(--color-primary-light), transparent);
}

/* ========================================
   CARDS & COMPONENTS
   ======================================== */

.card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-title {
  font-family: var(--font-serif);
  font-size: var(--font-size-xl);
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

.card-description {
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* SERVICE CARD */
.service-card {
  text-align: center;
  padding: var(--spacing-xl);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-lg);
}

.service-card h3 {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-md);
}

/* ========================================
   GRID LAYOUTS
   ======================================== */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-lg);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
}

/* ========================================
   RESPONSIVE DESIGN - TABLET
   ======================================== */

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    gap: var(--spacing-md);
  }

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

  .section {
    padding: var(--spacing-2xl) var(--spacing-lg);
  }

  .quote-form {
    padding: var(--spacing-xl);
  }
}

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

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    width: 100%;
    background-color: var(--color-white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
  }

  .nav-menu.active {
    max-height: 400px;
    box-shadow: var(--shadow-lg);
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link {
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
  }

  .dropdown-menu {
    position: static;
    opacity: 0;
    visibility: hidden;
    transform: none;
    margin-top: 0;
    max-height: 0;
    overflow: hidden;
    border: none;
    box-shadow: none;
  }

  .dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    max-height: 300px;
    background-color: var(--color-neutral-bg);
  }

  .dropdown-item {
    padding-left: var(--spacing-xl);
  }

  .hero {
    min-height: 400px;
  }

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

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

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

  .section {
    padding: var(--spacing-xl) var(--spacing-md);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn, button {
    width: 100%;
  }

  .quote-form {
    padding: var(--spacing-lg);
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  input[type="text"],
  input[type="email"],
  input[type="phone"],
  input[type="date"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* ========================================
   UTILITIES
   ======================================== */

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

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

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

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

.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: var(--spacing-xs); }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mb-2xl { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-xs { margin-top: var(--spacing-xs); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mt-2xl { margin-top: var(--spacing-2xl); }

.p-lg {
  padding: var(--spacing-lg);
}

.p-2xl {
  padding: var(--spacing-2xl);
}

.display-none {
  display: none;
}

.hidden {
  visibility: hidden;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */

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

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

.slide-up {
  animation: slideUp 0.6s ease-in-out;
}

.slide-down {
  animation: slideDown 0.6s ease-in-out;
}
/* Mobile-Friendly Print Styles */

@media print {
  /* Global print styles */
  * {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
  }

  body {
    background: white !important;
    color: #222 !important;
    font-family: Arial, sans-serif;
    line-height: 1.4;
  }

  @page {
    size: A4;
    margin: 20mm;
  }

  /* Hide UI elements when printing */
  nav, header, footer, .navbar, .sidebar, .buttons, .action-buttons,
  .btn, button, .print-btn, .no-print {
    display: none !important;
  }

  /* Print-specific visibility */
  .print-only {
    display: block !important;
  }

  /* Document container styles */
  .print-container, .quotation-a4, .invoice-a4 {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: white !important;
    color: #222 !important;
  }

  /* Table styles for print */
  table {
    width: 100% !important;
    border-collapse: collapse !important;
    page-break-inside: avoid !important;
    margin: 10px 0 !important;
  }

  thead {
    display: table-header-group;
  }

  tfoot {
    display: table-footer-group;
  }

  tr {
    page-break-inside: avoid !important;
  }

  th, td {
    border: 1px solid #bbb !important;
    padding: 8px !important;
    text-align: left !important;
    page-break-inside: avoid !important;
  }

  th {
    background-color: #f5f5f5 !important;
    color: #222 !important;
    font-weight: bold !important;
  }

  /* Headers */
  h1, h2, h3 {
    color: #2c3e50 !important;
    page-break-after: avoid !important;
    margin: 10px 0 5px 0 !important;
  }

  h1 { font-size: 24px !important; }
  h2 { font-size: 20px !important; }
  h3 { font-size: 16px !important; }

  /* Links and text */
  a {
    color: #0066cc !important;
    text-decoration: underline !important;
  }

  p {
    margin: 5px 0 !important;
    orphans: 2;
    widows: 2;
  }

  /* Images */
  img {
    max-width: 100% !important;
    height: auto !important;
    page-break-inside: avoid !important;
  }

  /* Page breaks */
  .page-break {
    page-break-after: always !important;
  }

  .avoid-break {
    page-break-inside: avoid !important;
  }

  /* Pre-formatted text */
  pre {
    white-space: pre-wrap !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    page-break-inside: avoid !important;
  }

  /* Code blocks */
  code {
    background: #f4f4f4 !important;
    color: #222 !important;
    padding: 2px 4px !important;
  }

  /* Forms - hide inputs */
  input, textarea, select {
    border: 1px solid #999 !important;
    background: #fff !important;
  }

  /* Lists */
  ul, ol {
    margin: 10px 0 !important;
    padding-left: 20px !important;
  }

  li {
    margin: 5px 0 !important;
  }

  /* Company details box */
  .company-details {
    background: #f2f2f2 !important;
    border: 1px solid #999 !important;
    padding: 10px !important;
    margin: 10px 0 !important;
    font-size: 12px !important;
    color: #222 !important;
  }

  /* Summary sections */
  .payment-summary, .summary-section {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    padding: 10px !important;
    margin: 10px 0 !important;
    page-break-inside: avoid !important;
  }

  .summary-row {
    display: flex !important;
    justify-content: space-between !important;
    padding: 5px 0 !important;
    border-bottom: 1px dotted #ddd !important;
  }

  .summary-row:last-child {
    border-bottom: none !important;
  }

  /* Mobile-specific adjustments */
  @media print and (max-width: 768px) {
    body {
      font-size: 12px !important;
    }

    th, td {
      padding: 6px !important;
      font-size: 11px !important;
    }

    h1 { font-size: 18px !important; }
    h2 { font-size: 16px !important; }
    h3 { font-size: 14px !important; }

    .company-header {
      flex-direction: column !important;
    }

    .company-logo {
      width: 60px !important;
      height: 60px !important;
      margin-right: 0 !important;
      margin-bottom: 10px !important;
    }
  }

  /* Reduce margins on mobile print */
  @page {
    margin: 10mm !important;
  }

  /* Prevent content from being cut off */
  * {
    box-shadow: none !important;
  }
}

/* Print button styling (non-print) */
.print-btn, .print-button {
  display: inline-block;
  padding: 8px 16px;
  background: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  margin: 5px;
  transition: background 0.3s;
}

.print-btn:hover, .print-button:hover {
  background: #45a049;
}

.print-btn:active, .print-button:active {
  background: #3d8b40;
}

/* Hidden by default, shown only during print */
@media print {
  .print-only {
    display: block !important;
  }

  .no-print {
    display: none !important;
  }
}

/* Screen display */
@media screen {
  .print-only {
    display: none;
  }

  .no-print {
    display: block;
  }
}
/* CSS Variables for Consistent Theming */
:root {
  --primary-color: #f5ba4a;
  --primary-light: #ffc757;
  --primary-gradient: linear-gradient(135deg, #f5ba4a 0%, #ffc757 100%);
  --primary-dark: #232a36;
  --secondary-color: #1a7f37;
  --text-primary: #232a36;
  --text-secondary: #666;
  --text-light: #999;
  --border-color: #e8e8f0;
  --bg-light: #f9f9fb;
  --bg-lighter: #f5f5f5;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --border-radius: 8px;
}

/* Global Styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
}
@media print {
  body * {
    visibility: hidden;
  }
  #kot-print,
  #kot-print * {
    visibility: visible;
  }
  #kot-print {
    position: absolute;
    left: 0;
    top: 0;
    width: 58mm;
    font-size: 11px;
    padding: 4px;
    background: #fff;
    color: #222;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    color: #222;
  }
  th,
  td {
    border: 1px solid #ccc;
    padding: 3px;
    background: #fff;
    color: #222;
  }
}
