/*
	TriStates Theme (Brand-safe palette)
	Company logo colors:
		--brand-red:   #c3181d
		--brand-yellow:#f0ca16
		--brand-black: #1b130d
	Keep these variables intact. All accents reference them.
*/
:root {
	--brand-red: #c3181d;
	--brand-yellow: #f0ca16;
	--brand-black: #1b130d;

	/* Theme neutrals */
	--bg: #101820;
	--surface: #182a36;
	--border: #243947;
	--media-bg: #13222c;
	--input-bg: #182a36;
	--text: #f4f6f8;
	--muted: #7f97a5;

	/* Derived accents */
	--primary: var(--brand-red);
	--accent: var(--brand-yellow);
	--ink: var(--brand-black);
	--accent-hover: #d9b50f; /* slightly darker yellow */
	--primary-hover: #a51418; /* slightly darker red */
	--logo-height: 40px; /* header logo height */
}

/* Utilities for quick use */
.text-brand-red { color: var(--brand-red) !important; }
.text-brand-yellow { color: var(--brand-yellow) !important; }
.text-brand-black { color: var(--brand-black) !important; }
.bg-brand-red { background: var(--brand-red) !important; }
.bg-brand-yellow { background: var(--brand-yellow) !important; }
.bg-brand-black { background: var(--brand-black) !important; }
.border-brand-yellow { border-color: var(--brand-yellow) !important; }

/* Minimal styles for simplified TriStates Equipment site */
* { box-sizing: border-box; }
body { margin:0; font-family: Arial, sans-serif; background:var(--bg); color:var(--text); line-height:1.45; }
.site-header { 
  padding:0.6rem 1.1rem; 
  display:flex; 
  align-items:center; 
  justify-content: space-between;
  background:#000; 
  position:relative; 
}
.site-header .logo { 
  flex: 1;
  display: flex;
  justify-content: center;
}
.logo { display:flex; align-items:center; height:var(--logo-height); }
.logo img { height:100%; width:auto; display:block; }
.brand { font-size:1.25rem; margin:0; letter-spacing:.5px; color:var(--brand-red); }
.main-nav a { color:var(--text); text-decoration:none; margin-right:1rem; font-size:.85rem; }
.main-nav a:hover { text-decoration:underline; color:var(--accent); }

/* Hamburger toggle (mobile) */
.nav-toggle { 
  display: flex; 
  flex-direction: column;
  align-items: center; 
  justify-content: center; 
  width: 48px; 
  height: 42px; 
  border: 2px solid var(--brand-red); 
  border-radius: 8px; 
  background: rgba(220, 38, 127, 0.1); 
  cursor: pointer; 
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-toggle:hover {
  background: rgba(220, 38, 127, 0.2);
  border-color: var(--brand-red);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-toggle .bar { 
  display: block; 
  width: 24px; 
  height: 3px; 
  background: var(--brand-red); 
  margin: 3px 0; 
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle:hover .bar {
  background: var(--brand-red);
  box-shadow: 0 0 4px rgba(220, 38, 127, 0.3);
}

/* Mobile menu panel */
.main-nav { display:none; position:absolute; right:1.1rem; top:calc(100% + 8px); background:#0b0b0b; border:1px solid #1f1f1f; border-radius:8px; padding:.5rem; min-width:180px; box-shadow:0 8px 24px rgba(0,0,0,.45); z-index:1000; }
.main-nav a { display:block; margin:0; padding:.5rem .6rem; border-radius:6px; }
.main-nav a:hover { background:#111; }
.site-header.menu-open .main-nav { display:block; }

/* Desktop layout */
@media (min-width: 768px){
	/* Desktop: hide nav by default; hamburger toggles dropdown */
	.main-nav { position:absolute; display:none; }
	.main-nav a { display:block; padding:.5rem .6rem; }
}

/* When menu is toggled open on desktop, switch nav to dropdown overlay as well */
@media (min-width: 768px){
	.site-header.menu-open .main-nav {
		position:absolute;
		right:1.1rem;
		top:calc(100% + 8px);
		display:block;
		background:#0b0b0b;
		border:1px solid #1f1f1f;
		border-radius:8px;
		padding:.5rem;
		min-width:220px;
		box-shadow:0 8px 24px rgba(0,0,0,.45);
	}
	.site-header.menu-open .main-nav a { display:block; padding:.5rem .6rem; }
}
/* Hero video section */
.hero-video {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  color: white;
  z-index: 3;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: var(--text);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin: 0 0 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  color: var(--text);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-shadow: none;
}

.btn-primary {
  background: rgba(255, 215, 0, 0.2);
  color: var(--brand-yellow);
  border: 2px solid var(--brand-yellow);
}

.btn-primary:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 215, 0, 0.2);
  color: var(--brand-yellow);
  border: 2px solid var(--brand-yellow);
}

.btn-secondary:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  transform: translateY(-2px);
}

/* Hero-specific button overrides */
.hero-actions .btn-primary,
.hero-actions .btn-secondary {
  background: transparent !important;
  color: var(--brand-red) !important;
  border: 2px solid var(--brand-red) !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  line-height: 1.2 !important;
  min-width: auto !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  display: inline-block !important;
  box-sizing: border-box !important;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-secondary:hover {
  background: var(--brand-red) !important;
  color: white !important;
  border-color: var(--brand-red) !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-video {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 200px;
  }
}

/* Dealer logos scrolling section */
.dealer-logos {
  background: var(--brand-black);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.dealer-scroll {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.dealer-track {
  display: flex;
  align-items: center;
  animation: scroll-logos 30s linear infinite;
  gap: 3rem;
}

.dealer-logo {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.8);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.dealer-logo:hover {
  filter: grayscale(0%) brightness(1);
}

/* SVG-specific styling for better rendering */
.dealer-logo[src$=".svg"] {
  display: block;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Pause animation on hover */
.dealer-scroll:hover .dealer-track {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .dealer-logo {
    height: 32px;
  }
  
  .dealer-track {
    gap: 2rem;
    animation-duration: 25s;
  }
}

.hero-simple { padding:1.75rem 1.1rem 2rem; display:grid; gap:1.25rem; background:var(--surface); }
.hero-simple h2 { margin:.25rem 0 .5rem; font-size:1.6rem; }
.photo-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:.75rem; }
.ph { background:#253743; border:1px solid #2f4655; aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; font-size:.7rem; color:#8fa9ba; }
.chunk { padding:1.75rem 1.1rem 0; }
.chunk h3 { margin:0 0 .6rem; font-size:1.15rem; letter-spacing:.5px; color:var(--brand-red); }
/* Service cards */
.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.service-card {
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-yellow);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.service-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--media-bg);
}

.service-image, .service-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.service-video {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
}

.service-card:hover .service-video {
  opacity: 1;
}

.service-card:hover .service-image {
  opacity: 0;
}

.service-content {
  padding: 1.2rem;
}

.service-content h4 {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  color: var(--brand-red);
  font-weight: 600;
}

.service-content p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* Fallback for missing media */
.service-media::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-black) 100%);
  opacity: 0.1;
  z-index: -1;
}

@media (max-width: 768px) {
  .service-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .service-card:hover {
    transform: translateY(-4px);
  }
}

.cols-3 { list-style:none; padding:0; margin:0; display:grid; gap:.65rem; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.cols-3 li { background:var(--surface); padding:.7rem .65rem; border:1px solid var(--border); font-size:.75rem; line-height:1.25; }
.small { color:#93a8b5; font-weight:400; }
.grid-pics { display:grid; gap:.6rem; grid-template-columns:repeat(auto-fit,minmax(110px,1fr)); }
.grid-pics .ph { font-size:.65rem; }
.simple-form { display:grid; gap:.55rem; max-width:420px; }
.simple-form input, .simple-form textarea { width:100%; padding:.55rem .6rem; border:1px solid #2c4453; border-radius:4px; background:#16252f; color:#fff; font-size:.8rem; }
.simple-form button { background:var(--accent); color:var(--brand-black); border:none; padding:.55rem .9rem; font-weight:600; cursor:pointer; font-size:.8rem; border-radius:4px; }
.simple-form button:hover { background:var(--accent-hover); }
.status { font-size:.65rem; color:#9ab0be; min-height:1em; }
.site-footer { margin-top:2rem; padding:1.2rem; text-align:center; font-size:.7rem; background:var(--brand-black); color:var(--muted); }
@media (min-width:800px){ .hero-simple { grid-template-columns:1fr 1fr; align-items:start; } }

/* Inventory grid & cards */
.inventory-grid { display:grid; gap:1rem; padding:1rem; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }
.inv-card { background:var(--surface); border:1px solid var(--border); border-radius:4px; overflow:hidden; display:flex; flex-direction:column; }
.inv-media { background:var(--media-bg); aspect-ratio:4/3; display:flex; align-items:center; justify-content:center; }
.inv-media img { width:100%; height:100%; object-fit:cover; display:block; }
.inv-body { padding:.55rem .6rem; }
.inv-body h4 { margin:.1rem 0 .3rem; font-size:.85rem; color:var(--brand-red); }
.inv-body .small { color:#93a8b5; font-size:.65rem; margin:.1rem 0; }
.price { font-size:.75rem; font-weight:600; color:var(--text); }
.muted { color:var(--muted); }

/* Admin table */
.inv-table { width:100%; border-collapse:collapse; font-size:.7rem; }
.inv-table th, .inv-table td { padding:.4rem .45rem; border:1px solid var(--border); }
.inv-table th { background:var(--brand-black); text-align:left; color:var(--text); }

/* Inventory table thumbnails */
.inv-image-cell {
  width: 60px;
  padding: 0.25rem !important;
}

.inv-thumbnail {
  width: 50px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  display: block;
  border: 1px solid var(--border);
}

.inv-no-image {
  width: 50px;
  height: 40px;
  background: var(--media-bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.1;
}

/* Admin action buttons */
.btn-edit, .btn-delete {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  margin: 0 0.25rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
}

.btn-edit {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.btn-edit:hover {
  background: var(--accent-hover);
}

.btn-delete {
  background: var(--brand-red);
  color: white;
}

.btn-delete:hover {
  background: var(--primary-hover);
}

/* Admin image gallery */
.existing-images {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.existing-images h5 {
  margin: 0 0 0.75rem;
  color: var(--brand-red);
  font-size: 0.9rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
}

.image-item {
  position: relative;
  background: var(--media-bg);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.thumb-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.btn-remove-img {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-remove-img:hover {
  background: var(--primary-hover);
  transform: scale(1.1);
}

/* Custom confirmation modal */
.confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.confirm-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.confirm-content h4 {
  margin: 0 0 0.75rem;
  color: var(--brand-red);
  font-size: 1.1rem;
}

.confirm-content p {
  margin: 0 0 1.5rem;
  color: var(--text);
  font-size: 0.9rem;
}

.confirm-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

.btn-cancel, .btn-confirm {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  min-width: 80px;
}

.btn-cancel {
  background: var(--border);
  color: var(--text);
}

.btn-cancel:hover {
  background: var(--muted);
}

.btn-confirm {
  background: var(--brand-red);
  color: white;
}

.btn-confirm:hover {
  background: var(--primary-hover);
}

/* Admin messages */
.admin-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  z-index: 9999;
  max-width: 300px;
}

.admin-message-success {
  background: #22c55e;
  color: white;
}

.admin-message-error {
  background: var(--brand-red);
  color: white;
}

.admin-message-info {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

/* Admin dashboard layout */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--media-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.admin-header h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 1.5rem;
}

.btn-logout {
  background: var(--border);
  color: var(--text);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
}

.btn-logout:hover {
  background: var(--muted);
}

/* Admin tabs */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  background: none;
  border: none;
  padding: 0.75rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.tab-btn:hover {
  color: var(--text);
}

.tab-btn.active {
  color: var(--brand-red);
  border-bottom-color: var(--brand-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Site controls */
.site-controls {
  max-width: 500px;
}

.control-section {
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.control-section h5 {
  margin: 0 0 1rem;
  color: var(--brand-yellow);
  font-size: 1rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.control-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--brand-red);
}

.control-item span {
  color: var(--text);
}

.btn-primary {
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

/* Simple form refinements */
.simple-form input[type=file] { padding:.3rem; background:#16252f; color:#9ab0be; }
.status { margin-top:.3rem; }

/* User Management Styles */
.users-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.user-form-section {
  background: var(--surface);
  padding: 1.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.user-form-section h5 {
  margin: 0 0 1rem;
  color: var(--brand-yellow);
  font-size: 1rem;
}

.role-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.role-viewer {
  background: #e3f2fd;
  color: #1565c0;
}

.role-editor {
  background: #f3e5f5;
  color: #7b1fa2;
}

.role-admin {
  background: #fff3e0;
  color: #ef6c00;
}

.role-super_admin {
  background: #ffebee;
  color: #c62828;
}

.btn-warning {
  background: #ff9500;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.25rem;
}

.btn-warning:hover {
  background: #e6850e;
}

.btn-featured {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.25rem;
  font-weight: 600;
}

.btn-featured:hover {
  background: #f5d63d;
}

.btn-unfeatured {
  background: var(--surface-elevated);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.25rem;
}

.btn-unfeatured:hover {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border-color: var(--brand-yellow);
}

.btn-edit,
.btn-delete {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  margin-right: 0.25rem;
}

.btn-edit {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.btn-edit:hover {
  background: #f5d63d;
}

.btn-delete {
  background: var(--brand-red);
  color: white;
}

.btn-delete:hover {
  background: #a91419;
}

/* Message styles */
.message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 4px;
  z-index: 1000;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.message.success {
  background: #4caf50;
  color: white;
}

.message.error {
  background: #f44336;
  color: white;
}

/* Placeholder small */
.ph.small { font-size:.55rem; }

/* Filter Sidebar Styles */
.page-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.page-header h2 {
  margin: 0;
  color: var(--brand-red);
}

.filter-toggle {
  display: none;
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  gap: 0.5rem;
  align-items: center;
}

.filter-toggle:hover {
  background: #a91419;
}

.content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: start;
}

.filter-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  position: sticky;
  top: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.filter-section {
  margin-bottom: 1.5rem;
}

.filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filter-header h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 1.1rem;
  font-weight: 600;
}

.close-filters {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.close-filters:hover {
  color: var(--text);
  background-color: var(--surface);
}

.filter-section h4 {
  margin: 0 0 0.75rem;
  color: var(--brand-red);
  font-size: 0.9rem;
  font-weight: 600;
}

.filter-section input,
.filter-section select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
  font-size: 0.9rem;
}

.filter-section input:focus,
.filter-section select:focus {
  outline: none;
  border-color: var(--brand-red);
}

.range-inputs {
  display: flex;
  gap: 0.5rem;
}

.range-inputs input {
  flex: 1;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.filter-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.btn-clear {
  width: 100%;
  background: var(--surface-elevated);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-clear:hover {
  background: var(--muted);
}

.inventory-content {
  min-width: 0;
}

.inventory-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.results-info {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sort-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.sort-controls label {
  color: var(--text-muted);
}

.sort-controls select {
  padding: 0.25rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
}

/* Enhanced Inventory Card Styles */
.inv-card {
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.inv-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.inv-card.featured {
  border: 2px solid var(--brand-yellow);
}

.inv-card .card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.inv-card .card-actions {
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--body-bg);
}

.inv-body h4 {
  margin: 0 0 0.5rem 0;
}

.equipment-specs {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
  align-items: flex-start;
}

.equipment-specs .featured-badge {
  margin-top: 0.25rem;
}

.featured-badge {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.15rem 0.4rem;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  display: inline-block;
}

.inv-body .condition {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.25rem 0;
  text-transform: capitalize;
}

.no-results {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

.no-results p {
  margin: 0.5rem 0;
}

.no-results .btn-clear {
  background: none;
  border: none;
  color: var(--brand-red);
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}

/* Featured Inventory Section */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.featured-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.featured-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--surface-elevated);
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.featured-item:hover .featured-image img {
  transform: scale(1.05);
}

.no-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--text-muted);
  font-size: 0.9rem;
  background: var(--surface-elevated);
}

.featured-badge {
  background: var(--brand-yellow);
  color: var(--brand-black);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin-left: 0.5rem;
}

.rental-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--brand-red);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.consignment-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #8e24aa;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.featured-content {
  padding: 1.25rem;
}

.featured-title {
  margin: 0 0 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.featured-details {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.featured-condition {
  margin: 0 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: capitalize;
}

.featured-price {
  margin: 0.75rem 0;
  color: var(--brand-red);
  font-size: 1.1rem;
  font-weight: 600;
}

.featured-link {
  display: inline-block;
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.featured-link:hover {
  border-bottom-color: var(--brand-red);
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.no-featured {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.no-featured p {
  margin: 0.5rem 0;
}

.no-featured .small {
  font-size: 0.85rem;
}

.error-message {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

.error-message p {
  margin: 0 0 1rem;
}

.btn-retry {
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-retry:hover {
  background: #a91419;
}

.loading {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  grid-column: 1 / -1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .featured-image {
    height: 180px;
  }
  
  .featured-content {
    padding: 1rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .filter-toggle {
    display: flex;
  }
  
  .content-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .filter-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    max-height: none;
    border-radius: 0;
    overflow-y: auto;
  }
  
  .filter-sidebar.active {
    display: block;
  }
  
  .inventory-controls {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  
  .sort-controls {
    justify-content: space-between;
  }
  
  .page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .page-header h2 {
    font-size: 1.4rem;
  }
  
  .page-container {
    padding: 0.75rem;
  }
}

/* Contact Form Status Messages */
.status {
  padding: 0.75rem;
  margin: 1rem 0;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
}

.status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.status.loading {
  background-color: #e2e3e5;
  color: #495057;
  border: 1px solid #d6d8db;
}

/* Contact Forms Admin Styles */
.contact-filters {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.contact-filters select {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.status-new {
  background: #fff3cd;
  color: #856404;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-progress {
  background: #cff4fc;
  color: #055160;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-resolved {
  background: #d1e7dd;
  color: #0f5132;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status-archived {
  background: #e2e3e5;
  color: #495057;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 500;
}

.btn-view {
  background: #6c757d;
  color: white;
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  cursor: pointer;
  font-size: 0.8rem;
  margin-right: 0.25rem;
}

.btn-view:hover {
  background: #5a6268;
}

/* Modal Styles */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.8) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 1000 !important;
}

.modal-content {
  background: #1a1a1a !important;
  color: #e0e0e0 !important;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: none;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid #333;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #333;
  background: #2a2a2a;
}

.modal-header h3 {
  margin: 0;
  color: #e0e0e0;
  font-size: 1.2rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  color: #e0e0e0;
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  padding: 1rem;
}

.contact-details p {
  margin: 0.5rem 0;
  line-height: 1.4;
  color: #b0b0b0;
}

.contact-details strong {
  color: #e0e0e0;
  min-width: 100px;
  display: inline-block;
}

.message-content, .response-content {
  background: #2a2a2a;
  color: #e0e0e0;
  padding: 1rem;
  border-radius: 4px;
  border-left: 4px solid #666;
  margin-top: 0.5rem;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.contact-response {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #333;
}

.simple-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #e0e0e0;
}

.simple-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #333;
  border-radius: 4px;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  background: #2a2a2a;
  color: #e0e0e0;
}

.simple-form select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #333;
  border-radius: 4px;
  background: #2a2a2a;
  color: #e0e0e0;
}

/* Delete Confirmation Modal Styles */
.delete-confirmation {
  text-align: center;
}

.contact-preview {
  background: #2a2a2a;
  color: #b0b0b0;
  padding: 0.75rem;
  border-radius: 4px;
  margin: 0.75rem 0;
  text-align: left;
  border: 1px solid #444;
}

.contact-preview p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.contact-preview strong {
  color: #e0e0e0;
}

.warning-text {
  color: #ff6b6b;
  font-weight: 500;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.delete-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.btn-cancel {
  background: #666;
  color: #e0e0e0;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-cancel:hover {
  background: #777;
}

.btn-delete-confirm {
  background: #cc4444;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s ease;
}

.btn-delete-confirm:hover {
  background: #aa3333;
}

/* Footer Styles */
.site-footer {
  background: #1a1a1a;
  color: #e0e0e0;
  margin-top: 3rem;
  border-top: 3px solid #444;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-section h4 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  border-bottom: 2px solid #444;
  padding-bottom: 0.5rem;
}

.footer-section p {
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  color: #b0b0b0;
  font-size: 0.9rem;
}

.footer-section a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copyright {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid #333;
  color: #888;
  font-size: 0.85rem;
}

.footer-credit {
  margin-top: 0.5rem;
  color: #666;
  font-size: 0.75rem;
  font-style: italic;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
    gap: 1.5rem;
  }
  
  .site-footer {
    margin-top: 2rem;
  }
}

/* ============================================================================ */
/* ADMIN BOOKING MANAGEMENT */
/* ============================================================================ */

.booking-controls {
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.booking-filters {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.booking-filters select,
.booking-filters input {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
}

.btn-refresh {
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-refresh:hover {
  background: var(--brand-red-dark);
}

.bookings-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.bookings-table th {
  background: var(--surface);
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}

.bookings-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.booking-row:hover {
  background: var(--surface);
}

.booking-contact {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.booking-time {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.booking-deposit {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.25rem;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-confirmed {
  background: #d1fae5;
  color: #065f46;
}

.status-in-progress {
  background: #dbeafe;
  color: #1e40af;
}

.status-completed {
  background: #d1fae5;
  color: #065f46;
}

.status-cancelled {
  background: #fee2e2;
  color: #991b1b;
}

.btn-view {
  background: var(--background);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

.btn-view:hover {
  background: var(--surface);
}

.status-select {
  padding: 0.25rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
  font-size: 0.8rem;
}

/* Booking Details Modal */
.booking-modal {
  max-width: 800px;
  width: 90vw;
  max-height: 90vh;
  overflow-y: auto;
}

.booking-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.detail-section {
  background: var(--surface);
  padding: 1rem;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.detail-section h4 {
  margin: 0 0 1rem;
  color: var(--brand-red);
  font-size: 1rem;
}

.detail-section p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 1rem;
}

.modal-content {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.modal-header h3 {
  margin: 0;
  color: var(--brand-red);
}

.close-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
}

.close-btn:hover {
  color: var(--text);
  background: var(--background);
}

.modal-body {
  padding: 1.5rem;
}

@media (max-width: 768px) {
  .booking-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .booking-filters select,
  .booking-filters input,
  .btn-refresh {
    width: 100%;
  }
  
  .bookings-table {
    font-size: 0.85rem;
  }
  
  .bookings-table th,
  .bookings-table td {
    padding: 0.5rem 0.25rem;
  }
  
  .booking-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================ */
/* EQUIPMENT CARD BOOKING BUTTON */
/* ============================================================================ */
.inv-card .book-equipment-btn {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem 1rem;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.inv-card .book-equipment-btn:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

/* ============================================================================ */
/* BOOKING FORM STYLES */
/* ============================================================================ */

.booking-form-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  overflow-y: auto;
  padding: 1rem;
}

.booking-form-container.active {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 2rem;
}

.booking-form {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  max-width: 1000px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.booking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.booking-header h3 {
  margin: 0;
  color: var(--brand-red);
  font-size: 1.3rem;
  font-weight: 600;
}

.close-booking {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: color 0.2s, background-color 0.2s;
}

.close-booking:hover {
  color: var(--text);
  background-color: var(--background);
}

.booking-section {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.booking-section:last-of-type {
  border-bottom: none;
}

.booking-section h4 {
  margin: 0 0 1rem;
  color: var(--brand-red);
  font-size: 1rem;
  font-weight: 600;
}

/* Two Column Layout */
.booking-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.booking-column-left,
.booking-column-right {
  display: flex;
  flex-direction: column;
}

.booking-column-left .booking-section,
.booking-column-right .booking-section {
  border-bottom: 1px solid var(--border);
  border-right: none;
}

.booking-column-left .booking-section {
  border-right: 1px solid var(--border);
}

.booking-column-left .booking-section:last-child,
.booking-column-right .booking-section:last-child {
  border-bottom: none;
}

/* Equipment section (full width) */
.equipment-section {
  border-bottom: 1px solid var(--border);
}

/* Calendar adjustments for column layout */
.booking-column-left .booking-calendar {
  max-width: 100%;
  margin: 0;
}

/* Validation Feedback Styles */
.validation-feedback {
  margin: 1rem 0;
}

.validation-message {
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.validation-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.validation-message.warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.validation-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.validation-message ul {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.validation-message li {
  margin-bottom: 0.25rem;
}

/* Equipment Summary */
.equipment-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
}

.equipment-info {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.equipment-image {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #2a3441;
}

.equipment-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.equipment-details h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 1.1rem;
}

.equipment-details p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-info {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
}

.daily-rate {
  color: var(--brand-red);
  font-weight: 600;
}

.weekly-rate {
  color: var(--muted);
}

/* Form Inputs */
.date-inputs, .time-inputs, .customer-inputs, .project-inputs {
  display: grid;
  gap: 1rem;
}

.date-inputs, .time-inputs {
  grid-template-columns: 1fr 1fr;
}

.customer-inputs {
  grid-template-columns: 1fr;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.input-group label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.input-group input,
.input-group select,
.input-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 2px rgba(217, 74, 48, 0.1);
}

.input-group textarea {
  resize: vertical;
  min-height: 60px;
}

/* Rental Summary */
.rental-summary {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.duration-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-cost {
  color: var(--brand-red);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Booking Summary */
.booking-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--brand-red);
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.summary-row.deposit {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Form Actions */
.booking-actions {
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  background: var(--surface);
}

.booking-actions .btn-secondary {
  background: var(--background);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.booking-actions .btn-secondary:hover {
  background: var(--surface);
}

.booking-actions .btn-primary {
  background: var(--brand-red);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.booking-actions .btn-primary:hover {
  background: var(--brand-red-dark);
  transform: translateY(-1px);
}

.booking-actions .btn-primary:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
}

/* Status Messages */
.booking-status {
  padding: 1rem 1.5rem;
  margin: 0;
  border-radius: 0 0 8px 8px;
  font-size: 0.9rem;
  display: none;
}

.booking-status.loading {
  background: #3498db;
  color: white;
  display: block;
}

.booking-status.success {
  background: #27ae60;
  color: white;
  display: block;
}

.booking-status.error {
  background: #e74c3c;
  color: white;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .booking-form-container {
    padding: 0.5rem;
  }
  
  .booking-form {
    max-height: 95vh;
    width: 95%;
    max-width: 100%;
  }
  
  .booking-header {
    padding: 1rem;
  }
  
  /* Stack columns on mobile */
  .booking-columns {
    grid-template-columns: 1fr;
  }
  
  .booking-column-left .booking-section {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  
  .booking-section {
    padding: 1rem;
  }
  
  .date-inputs, .time-inputs {
    grid-template-columns: 1fr;
  }
  
  .equipment-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
  }
  
  .equipment-image {
    width: 120px;
    height: 90px;
  }
  
  .booking-actions {
    flex-direction: column;
    padding: 1rem;
  }
  
  .booking-actions .btn-secondary,
  .booking-actions .btn-primary {
    width: 100%;
  }
}

/* ============================================================================ */
/* BOOKING CALENDAR WIDGET STYLES */
/* ============================================================================ */

.booking-calendar {
  max-width: 350px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-family: inherit;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: var(--primary);
  color: white;
}

.calendar-nav {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.2s;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-nav:hover {
  background: rgba(255, 255, 255, 0.2);
}

.calendar-title {
  flex: 1;
  text-align: center;
}

.month-year {
  font-weight: 600;
  font-size: 1rem;
}

.calendar-body {
  padding: 1rem;
}

.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  margin-bottom: 0.5rem;
}

.weekday {
  text-align: center;
  padding: 0.5rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.2s;
  position: relative;
  background: var(--bg);
  border: 1px solid transparent;
}

.calendar-day.other-month {
  color: var(--muted);
  opacity: 0.5;
}

.calendar-day.disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.3;
}

.calendar-day.available {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.calendar-day.available:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  transform: scale(1.05);
}

.calendar-day.unavailable {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #ef4444;
  cursor: not-allowed;
}

.calendar-day.selected {
  background: var(--primary) !important;
  color: white !important;
  border-color: var(--primary) !important;
  font-weight: 600;
}

.calendar-day.in-range {
  background: rgba(195, 24, 29, 0.2) !important;
  border-color: rgba(195, 24, 29, 0.4) !important;
  color: var(--primary) !important;
}

.calendar-legend {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.75rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid var(--border);
}

.legend-color.available {
  background: rgba(34, 197, 94, 0.3);
  border-color: #22c55e;
}

.legend-color.unavailable {
  background: rgba(239, 68, 68, 0.3);
  border-color: #ef4444;
}

.legend-color.selected {
  background: var(--primary);
  border-color: var(--primary);
}

.calendar-selection-info {
  padding: 1rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.selection-dates {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.selection-duration {
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted);
}

.selection-dates strong,
.selection-duration strong {
  color: var(--text);
}

/* Calendar responsive adjustments */
@media (max-width: 480px) {
  .booking-calendar {
    max-width: 100%;
    margin: 0;
  }
  
  .calendar-header {
    padding: 0.75rem;
  }
  
  .calendar-body {
    padding: 0.75rem;
  }
  
  .calendar-day {
    font-size: 0.8rem;
  }
  
  .selection-dates {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }
}

/* Inventory Split Layout */
.inventory-split-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
  height: calc(100vh - 200px);
  min-height: 600px;
}

.inventory-data-entry {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  overflow-y: auto;
  height: fit-content;
  max-height: 100%;
}

.inventory-data-entry h4 {
  margin: 0 0 1.5rem 0;
  color: var(--primary);
  font-size: 1.2rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

/* Compact form layout for inventory */
.inventory-data-entry .simple-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.inventory-data-entry .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: end;
}

.inventory-data-entry .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}

.inventory-data-entry .form-group.full-width {
  grid-column: span 2;
}

.inventory-data-entry .form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  display: block;
}

.inventory-data-entry .form-group input,
.inventory-data-entry .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--body-bg);
  color: var(--text);
  font-size: 0.9rem;
  transition: border-color 0.2s ease;
}

.inventory-data-entry .form-group input:focus,
.inventory-data-entry .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

.inventory-data-entry .checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.inventory-data-entry .checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.inventory-data-entry .form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.inventory-data-entry .btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.2s ease;
  flex: 1;
}

.inventory-data-entry .btn-primary:hover {
  background: #2563eb;
}

.inventory-data-entry .btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.2s ease;
}

.inventory-data-entry .btn-secondary:hover {
  background: var(--border);
}

/* Existing images display */
.existing-images {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--body-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.existing-images h5 {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 0.9rem;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.existing-image {
  text-align: center;
}

/* Form status messages */
.inventory-data-entry .status {
  padding: 0.75rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 1rem;
  display: none;
}

.inventory-data-entry .status.success {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.inventory-data-entry .status.error {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.inventory-data-entry .status.info {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.inventory-list-panel {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.inventory-list-header {
  background: var(--card-bg);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inventory-list-header h4 {
  margin: 0;
  color: var(--primary);
  font-size: 1.2rem;
}

.inventory-count {
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.inventory-table-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
}

.inventory-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.btn-refresh {
  background: var(--muted);
  color: var(--text);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-refresh:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Inventory form styles */
.inventory-data-entry .form-group {
  margin-bottom: 1rem;
}

.inventory-data-entry .form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

.inventory-data-entry .form-group input,
.inventory-data-entry .form-group select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 0.9rem;
}

.inventory-data-entry .form-group input:focus,
.inventory-data-entry .form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.inventory-data-entry .form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.inventory-data-entry .btn-primary,
.inventory-data-entry .btn-secondary {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.inventory-data-entry .btn-primary {
  background: var(--primary);
  color: white;
}

.inventory-data-entry .btn-primary:hover {
  background: #0056b3;
}

.inventory-data-entry .btn-secondary {
  background: var(--card-bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.inventory-data-entry .btn-secondary:hover {
  background: var(--border);
}

.inventory-data-entry .status {
  margin-top: 1rem;
  padding: 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: none;
}

.inventory-data-entry .status.success {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.inventory-data-entry .status.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.inventory-data-entry .status.info {
  background: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
  border: 1px solid rgba(23, 162, 184, 0.2);
}

.inventory-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.inventory-count {
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--card-bg);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.existing-images {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.existing-images h5 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: var(--text);
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.existing-image {
  text-align: center;
}

.existing-image img {
  border-radius: 4px;
  border: 1px solid var(--border);
}

.existing-image p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.25rem 0 0 0;
}

/* Responsive inventory layout */
@media (max-width: 1024px) {
  .inventory-split-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
    min-height: auto;
  }
  
  .inventory-data-entry {
    max-height: none;
  }
  
  .inventory-list-panel {
    min-height: 400px;
  }
}

/* Admin Dashboard Layout */
.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.tab-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 8px 8px 0 0;
  transition: all 0.2s ease;
  font-weight: 500;
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--media-bg);
  color: var(--brand-yellow);
}

.tab-btn.active {
  background: var(--brand-red);
  color: white;
  border-bottom-color: var(--brand-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Enhanced Site Controls Styles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: var(--media-bg);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--brand-yellow);
  text-align: center;
  border: 1px solid var(--border);
}

.stat-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.control-section {
  background: var(--media-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.control-section h5 {
  color: var(--brand-red);
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.control-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.control-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.control-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.control-item input[type="checkbox"] {
  margin: 0;
}

.control-item .btn-mini {
  margin-left: auto;
  padding: 0.25rem 0.5rem;
  font-size: 0.8rem;
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.control-item .btn-mini:hover {
  background: var(--accent-hover);
}

.settings-form {
  max-width: 500px;
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 2px rgba(240, 202, 22, 0.2);
}

.time-inputs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.time-inputs input {
  flex: 1;
}

.time-inputs span {
  color: var(--muted);
}

.content-tools,
.system-tools,
.analytics-tools {
  display: grid;
  gap: 0.5rem;
}

.tool-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.tool-item span {
  color: var(--text);
  font-weight: 500;
}

.btn-warning {
  background: #ff9800;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-warning:hover {
  background: #f57c00;
}

.btn-info {
  background: #2196f3;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-info:hover {
  background: #1976d2;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.quick-actions button {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.admin-message {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  z-index: 10000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.admin-message-success {
  background: #4caf50;
}

.admin-message-error {
  background: var(--brand-red);
}

.admin-message-info {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.admin-message-warning {
  background: #ff9800;
}

@media (max-width: 768px) {
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .admin-sidebar {
    position: static;
    order: 2;
    margin-top: 1rem;
  }
  
  .admin-main-content {
    order: 1;
    padding: 1rem;
  }
  
  .admin-tabs {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.25rem;
  }
  
  .tab-btn {
    flex: 1;
    min-width: 120px;
    padding: 0.75rem 0.5rem;
    font-size: 0.85rem;
  }
  
  .tab-text {
    display: none;
  }
  
  .tab-icon {
    margin: 0 auto;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .control-group {
    grid-template-columns: 1fr;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .time-inputs {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 480px) {
  .admin-tabs {
    justify-content: center;
  }
  
  .tab-btn {
    min-width: 60px;
    padding: 0.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* 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;
}

.modal-content {
  background: var(--card-bg);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  margin: 0;
  color: var(--text);
}

.modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: #333;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--border);
}

/* Detail Sections in Modals */
.detail-section {
  margin-bottom: 20px;
}

.detail-section h4 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 16px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 5px;
}

.detail-section p {
  margin: 5px 0;
  color: var(--muted);
}

.detail-section strong {
  color: var(--text);
}

.subject-preview {
  font-weight: 500;
  color: var(--text);
}

.message-content {
  background: var(--bg);
  padding: 15px;
  border-radius: 4px;
  border-left: 4px solid var(--primary);
  white-space: pre-wrap;
  color: var(--text);
}

/* Image Gallery in Modals */
.image-gallery {
  margin-bottom: 20px;
}

.image-gallery h5 {
  margin: 0 0 10px 0;
  color: var(--text);
}

.current-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Form Styles in Modals */
.user-form .form-group {
  margin-bottom: 15px;
}

.user-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--text);
}

.user-form input,
.user-form select {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text);
}

.user-form input:focus,
.user-form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

/* Filter Styles */
.booking-filters,
.contact-filters,
.user-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding: 15px;
  background: var(--card-bg);
  border-radius: 4px;
  border: 1px solid var(--border);
}

.booking-filters select,
.contact-filters select,
.user-filters select,
.booking-filters input,
.contact-filters input,
.user-filters input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: var(--input-bg);
  color: var(--text);
}

.booking-filters button,
.contact-filters button,
.user-filters button {
  padding: 8px 16px;
  border: 1px solid #007cba;
  background: #007cba;
  color: white;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.booking-filters button:hover,
.contact-filters button:hover,
.user-filters button:hover {
  background: #005a85;
}

/* Status and Type Badges */
.status-pending { background: #fff3cd; color: #856404; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-confirmed { background: #d1ecf1; color: #0c5460; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-completed { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-cancelled { background: #f8d7da; color: #721c24; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-new { background: #e2e3e5; color: #383d41; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-responded { background: #cce5ff; color: #004085; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-resolved { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-active { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.status-inactive { background: #f8d7da; color: #721c24; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

.type-general { background: #e2e3e5; color: #383d41; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.type-service { background: #fff3cd; color: #856404; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.type-parts { background: #d1ecf1; color: #0c5460; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.type-sales { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.type-rental { background: #ffeaa7; color: #2c3e50; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.type-consignment { background: #fab1a0; color: #2c3e50; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

.role-admin { background: #dc3545; color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.role-manager { background: #ffc107; color: #212529; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.role-staff { background: #17a2b8; color: white; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

.deposit-required { background: #fff3cd; color: #856404; padding: 2px 8px; border-radius: 12px; font-size: 12px; }
.deposit-not-required { background: #d4edda; color: #155724; padding: 2px 8px; border-radius: 12px; font-size: 12px; }

/* Table Styles for Modules */
.booking-table,
.contact-table,
.user-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background: var(--card-bg);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border: 1px solid var(--border);
}

.booking-table th,
.contact-table th,
.user-table th,
.booking-table td,
.contact-table td,
.user-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.booking-table th,
.contact-table th,
.user-table th {
  background: var(--bg);
  font-weight: 600;
  color: var(--text);
}

.booking-table tr:hover,
.contact-table tr:hover,
.user-table tr:hover {
  background: var(--hover-bg);
}

/* Analytics Styles */
.analytics-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.analytics-item {
  background: var(--card-bg);
  padding: 15px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.analytics-item h6 {
  margin: 0 0 10px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.popular-item,
.activity-item {
  padding: 5px 0;
  color: var(--muted);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.popular-item:last-child,
.activity-item:last-child {
  border-bottom: none;
}

/* Site Management Styles */
.site-stats-section {
  margin-bottom: 30px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.site-stats-section h5 {
  margin: 0 0 20px 0;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.site-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}

.controls-column {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.control-section {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.control-section h5 {
  margin: 0 0 20px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.settings-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.settings-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.settings-form label {
  font-weight: 500;
  color: var(--text);
  font-size: 14px;
}

.settings-form input,
.settings-form select,
.settings-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.2s ease;
}

.settings-form input:focus,
.settings-form select:focus,
.settings-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.settings-form textarea {
  resize: vertical;
  min-height: 80px;
}

.settings-form button {
  padding: 12px 20px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  margin-top: 10px;
}

.settings-form button:hover {
  background: var(--primary-hover);
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.tool-item {
  background: var(--bg);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border);
  text-align: center;
}

.tool-item h6 {
  margin: 0 0 8px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.tool-item p {
  margin: 0 0 12px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.tool-item button {
  padding: 8px 16px;
  background: var(--secondary);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tool-item button:hover {
  background: var(--hover-bg);
  border-color: var(--primary);
}

/* Analytics Tools */
.analytics-section {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  margin-top: 30px;
}

.analytics-section h5 {
  margin: 0 0 20px 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.analytics-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.analytics-item {
  background: var(--bg);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border);
}

.analytics-item h6 {
  margin: 0 0 12px 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.popular-item,
.activity-item {
  padding: 8px 0;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  line-height: 1.3;
}

.popular-item:last-child,
.activity-item:last-child {
  border-bottom: none;
}

/* Responsive Design for Site Management */
@media (max-width: 1024px) {
  .site-controls-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tools-grid {
    grid-template-columns: 1fr;
  }
  
  .analytics-tools {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .control-section {
    padding: 15px;
  }
  
  .site-stats-section {
    padding: 15px;
  }
}

/* Admin Login Styles */
.admin-login {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  background: var(--bg);
  padding: 20px;
}

.login-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  border: 1px solid var(--border);
}

.login-form h3 {
  text-align: center;
  margin: 0 0 30px 0;
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
}

.login-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form input {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  background: var(--input-bg);
  color: var(--text);
  transition: all 0.2s ease;
}

.login-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.login-form input::placeholder {
  color: var(--muted);
}

.login-form button {
  padding: 14px 16px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.login-form button:hover {
  background: var(--primary-hover);
}

.login-form button:active {
  transform: translateY(1px);
}

/* Equipment Detail Page */
.equipment-detail-container {
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--text);
}

.loading-state, .error-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.breadcrumb {
  padding: 1rem 2rem;
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: var(--muted);
}

.equipment-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Equipment Images */
.equipment-images {
  position: relative;
}

.main-image-container {
  position: relative;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.image-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.image-nav-btn {
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  transition: background 0.2s ease;
}

.image-nav-btn:hover {
  background: rgba(0, 0, 0, 0.9);
}

.thumbnail-gallery {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s ease;
  flex-shrink: 0;
}

.thumbnail:hover {
  border-color: var(--border);
}

.thumbnail.active {
  border-color: var(--primary);
}

.no-images {
  text-align: center;
  color: var(--muted);
  font-style: italic;
}

/* Equipment Info */
.equipment-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.equipment-header {
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.equipment-title-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.equipment-header h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--text);
  flex: 1;
  min-width: 0;
}

.equipment-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.featured-badge {
  background: #fef3c7;
  color: #92400e;
}

.category-badge {
  background: var(--primary);
  color: white;
}

.cat-sale { background: #10b981; }
.cat-rental { background: #3b82f6; }
.cat-consignment { background: #8b5cf6; }

.equipment-specs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.spec-group h3,
.pricing-info h3 {
  margin: 0 0 1rem 0;
  color: var(--text);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.spec-label {
  font-weight: 500;
  color: var(--muted);
}

.spec-value {
  font-weight: 600;
  color: var(--text);
}

.price-display {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.price-item.primary {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.price-label {
  font-weight: 500;
  color: var(--muted);
}

.price-value {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}

.price-item.primary .price-value {
  color: var(--primary);
  font-size: 1.3rem;
}

.price-contact {
  text-align: center;
  font-style: italic;
  color: var(--muted);
  padding: 1rem;
}

.equipment-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.equipment-actions .btn {
  flex: 1;
  min-width: 120px;
}

.additional-info {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.notes-content {
  color: var(--text);
  line-height: 1.6;
}

/* Modal Styles for Equipment Detail */
#inquiry-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#inquiry-modal .modal-content {
  background-color: #1f2937;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin: auto;
}

#inquiry-modal .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #374151;
  background-color: #111827;
}

#inquiry-modal .modal-header h3 {
  margin: 0;
  color: #f9fafb;
  font-size: 1.25rem;
  font-weight: 600;
}

#inquiry-modal .modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

#inquiry-modal .modal-close:hover {
  color: #f9fafb;
  background-color: #374151;
}

#inquiry-modal .modal-body {
  padding: 1.5rem;
  background-color: #1f2937;
}

#inquiry-modal .form-group {
  margin-bottom: 1rem;
}

#inquiry-modal .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #e5e7eb;
  font-size: 0.9rem;
}

#inquiry-modal .form-group input,
#inquiry-modal .form-group textarea,
#inquiry-modal .form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #4b5563;
  border-radius: 6px;
  background: #374151;
  color: #f9fafb;
  font-size: 1rem;
  box-sizing: border-box;
}

#inquiry-modal .form-group input:focus,
#inquiry-modal .form-group textarea:focus,
#inquiry-modal .form-group select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#inquiry-modal .form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Responsive Design for Equipment Detail */
@media (max-width: 1024px) {
  .equipment-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1rem;
  }
  
  .main-image {
    height: 300px;
  }
  
  .equipment-actions {
    flex-direction: column;
  }
  
  .equipment-actions .btn {
    flex: none;
  }
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  
  .equipment-header h1 {
    font-size: 1.5rem;
  }
  
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .modal-content {
    width: 95%;
    margin: 1rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
}

/* Inventory Responsive Design */
@media (max-width: 1024px) {
  .inventory-split-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
  }
  
  .inventory-data-entry {
    order: 2;
    max-height: none;
  }
  
  .inventory-list-panel {
    order: 1;
  }
  
  .inventory-data-entry .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .inventory-data-entry .form-actions {
    flex-direction: column;
  }
}

/* MTS Page Styles */
.service-status-banner {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 1rem 0;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-status-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.service-status-content strong {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.service-status-content p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.service-status-content a {
  color: white;
  text-decoration: underline;
  font-weight: 600;
}

.service-status-content a:hover {
  opacity: 0.8;
}

.mts-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.mts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.mts-form-section h2 {
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.mts-form {
  padding-left: 1.5rem;
}

.mts-form input,
.mts-form textarea,
.mts-form button {
  margin-bottom: 1rem;
}

.mts-form button[type="submit"] {
  background: var(--brand-red) !important;
  color: white !important;
}

.mts-form button[type="submit"]:hover {
  background: #a01419 !important;
}

.mts-map-section h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  text-align: center;
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Mobile responsiveness for MTS page */
@media (max-width: 768px) {
  .mts-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .mts-form {
    padding-left: 0;
  }
  
  .mts-container {
    padding: 1rem;
  }
}

/* ============================================================================ */
/* FUEL MANAGEMENT STYLES */
/* ============================================================================ */

/* Fuel Rates Section */
.fuel-rates-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.fuel-rates-section h5 {
  margin: 0 0 1.5rem;
  color: var(--brand-red);
  font-size: 1.1rem;
  font-weight: 600;
}

.fuel-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.fuel-status-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  text-align: center;
}

.fuel-status-card h6 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fuel-price {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 0.25rem;
}

.fuel-status-card small {
  color: var(--muted);
  font-size: 0.75rem;
}

.fuel-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Fuel Controls Grid */
.fuel-controls-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Input Groups with Prefixes/Suffixes */
.input-group {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--background);
  overflow: hidden;
}

.input-prefix,
.input-suffix {
  padding: 0.75rem 0.5rem;
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

.input-group input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem;
  color: var(--text);
  font-size: 0.9rem;
}

.input-group input:focus {
  outline: none;
}

.input-group:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 2px rgba(217, 74, 48, 0.1);
}

/* Calculator Tool */
.calculator-tool {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
}

.calculation-result {
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.calculation-result h6 {
  margin: 0 0 1rem;
  color: var(--brand-red);
  font-size: 1rem;
  font-weight: 600;
}

.result-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.result-item:last-child {
  border-bottom: none;
}

.result-item.total {
  font-weight: 600;
  font-size: 1rem;
  color: var(--brand-red);
  border-top: 2px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.result-item .label {
  color: var(--text);
  font-weight: 500;
}

.calculation-explanation {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.calculation-explanation small {
  color: var(--muted);
  font-size: 0.8rem;
}

/* Address Input Group */
.address-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.business-address-option {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

.business-address-option input[type="radio"] {
  margin: 0 !important;
  accent-color: var(--brand-red);
  width: auto !important;
  flex-shrink: 0;
}

.business-address-option label {
  font-size: 0.9rem;
  color: var(--text);
  cursor: pointer;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0;
}

/* Calculator Tool Form Styling */
.calculator-tool input,
.calculator-tool select {
  background: var(--input-bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s ease;
}

.calculator-tool input:focus,
.calculator-tool select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(195, 24, 29, 0.1);
}

.calculator-tool input::placeholder {
  color: var(--muted);
}

/* Compact Configuration Styling */
.compact-config .config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.compact-config .config-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.compact-config .config-item label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.compact-config .input-group.compact {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0;
  font-size: 0.9rem;
  overflow: hidden;
  width: 100%;
}

.compact-config .input-group.compact input {
  background: transparent;
  border: none;
  padding: 8px 12px;
  color: var(--text) !important;
  font-size: 0.9rem;
  text-align: center;
  flex: 1;
  min-width: 0;
  height: 32px;
  box-sizing: border-box;
}

.compact-config .input-group.compact input:focus {
  outline: none;
  box-shadow: none;
}

.compact-config .input-group.compact .input-prefix,
.compact-config .input-group.compact .input-suffix {
  background: var(--border);
  color: var(--muted);
  padding: 0 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center;
  line-height: 1.2;
  flex-shrink: 0 !important;
  height: 32px;
  box-sizing: border-box;
  vertical-align: middle !important;
}

.compact-config .input-group.compact .input-prefix {
  border-radius: 4px 0 0 4px;
}

.compact-config .input-group.compact .input-suffix {
  border-radius: 0 4px 4px 0;
}

.compact-config .config-help {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.5rem;
  margin-bottom: 1rem;
}

.compact-config .config-help small {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .compact-config .config-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* Scheduler Status */
.scheduler-status {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  font-size: 0.9rem;
}

.status-item .label {
  color: var(--text);
  font-weight: 500;
}

.status-badge {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.success {
  background: rgba(34, 197, 94, 0.2);
  color: #16a34a;
}

.status-badge.danger {
  background: rgba(239, 68, 68, 0.2);
  color: #dc2626;
}

.scheduler-actions {
  display: flex;
  gap: 0.5rem;
}

/* Update Log */
.update-log {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1rem;
  max-height: 200px;
  overflow-y: auto;
}

.log-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
}

.log-item:last-child {
  border-bottom: none;
}

.log-item .timestamp {
  color: var(--muted);
  font-size: 0.75rem;
}

.log-item .message {
  color: var(--text);
}

/* Distance API Configuration Styles */
.api-status-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.status-icon {
  font-size: 1.5rem;
  line-height: 1;
}

.status-text {
  flex: 1;
}

.status-text strong {
  display: block;
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.status-text small {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.3;
}

.status-display {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 4px;
  border: 1px solid var(--border);
  margin-top: 0.25rem;
}

.status-display span:first-child {
  font-size: 1.2rem;
}

.status-display span:last-child {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text);
}

#google-api-config ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

#google-api-config ul li {
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* MTS Fuel Surcharge Styles */
.fuel-surcharge-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.surcharge-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.surcharge-header h4 {
  margin: 0;
  color: #495057;
  font-size: 1.1rem;
}

.calculate-btn {
  background: #007bff;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background-color 0.2s;
}

.calculate-btn:hover {
  background: #0056b3;
}

.surcharge-loading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6c757d;
  font-style: italic;
}

.surcharge-loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007bff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.surcharge-breakdown {
  display: grid;
  gap: 0.75rem;
}

.distance-info, .fuel-info, .surcharge-info {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #dee2e6;
}

.total-info {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  background: #e7f3ff;
  border-radius: 4px;
  padding-left: 1rem;
  padding-right: 1rem;
  border: 1px solid #007bff20;
}

.label {
  color: #6c757d;
  font-weight: 500;
}

.surcharge-note {
  color: #6c757d;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
  display: block;
}

.surcharge-error {
  text-align: center;
  padding: 1rem;
}

.surcharge-error span {
  display: block;
  margin-bottom: 0.5rem;
}

.surcharge-error small {
  color: #6c757d;
}

/* Delivery Fuel Surcharge Styles (for Booking Form) */
.delivery-surcharge-section {
  background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
  border: 1px solid #b8daff;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1rem;
  box-shadow: 0 2px 4px rgba(0,123,255,0.1);
}

.delivery-surcharge-section .surcharge-header h5 {
  margin: 0;
  color: #0056b3;
  font-size: 1rem;
  font-weight: 600;
}

.delivery-surcharge-section .calculate-btn {
  background: #0056b3;
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background-color 0.2s;
}

.delivery-surcharge-section .calculate-btn:hover {
  background: #004085;
}

/* Booking Form Summary Row for Fuel Surcharge */
#delivery-surcharge-row {
  color: #0056b3;
  font-weight: 500;
}

/* Mobile Responsive for Fuel Management */
@media (max-width: 768px) {
  .fuel-controls-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .fuel-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
  }
  
  .fuel-status-card {
    padding: 0.75rem;
  }
  
  .fuel-price {
    font-size: 1.25rem;
  }
  
  .fuel-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .result-grid {
    gap: 0.5rem;
  }
  
  .result-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .scheduler-actions {
    flex-direction: column;
  }

  /* MTS Fuel Surcharge Mobile */
  .surcharge-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .surcharge-header h4 {
    font-size: 1rem;
  }

  .calculate-btn {
    align-self: stretch;
    text-align: center;
  }

  .distance-info, .fuel-info, .surcharge-info, .total-info {
    flex-direction: column;
    gap: 0.25rem;
  }

  .distance-info .label, .fuel-info .label, .surcharge-info .label {
    font-size: 0.875rem;
  }

  /* Delivery Surcharge Mobile */
  .delivery-surcharge-section .surcharge-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .delivery-surcharge-section .calculate-btn {
    align-self: stretch;
    text-align: center;
  }
}

/* ============================================================================ */
/* STATIC PRODUCT SHOWCASE STYLES */
/* ============================================================================ */

.products-section {
  margin-bottom: 3rem;
}

.products-section h3 {
  margin: 0 0 2rem;
  color: var(--brand-red);
  font-size: 1.8rem;
  text-align: center;
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
  border-color: var(--brand-red);
}

.product-card .product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.product-card .card-content {
  padding: 1.5rem;
}

.product-card .dealer-logo {
  width: 60px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 1rem;
  filter: grayscale(0%);
}

.product-card h4 {
  margin: 0 0 1rem;
  color: var(--brand-red);
  font-size: 1.2rem;
  font-weight: 600;
}

.product-card p {
  margin: 0 0 1rem;
  color: var(--text);
  line-height: 1.5;
}

.product-card .features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.product-card .features li {
  padding: 0.25rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  padding-left: 1rem;
}

.product-card .features li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
}

.quote-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 24, 29, 0.3);
}

/* Form Container Styles */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.quote-form, .service-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(195, 24, 29, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group small {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.submit-btn {
  padding: 1rem 2rem;
  background: var(--brand-red);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 24, 29, 0.3);
}

.submit-btn:disabled {
  background: var(--muted);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Success Message Styles */
.success-message {
  text-align: center;
  padding: 3rem 2rem;
}

.success-message h2 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.success-message p {
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.1rem;
}

.next-steps {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 2rem 0;
  text-align: left;
}

.next-steps h3 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.next-steps ul {
  margin: 0;
  padding-left: 1.5rem;
}

.next-steps li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* Contact Info Styles */
.contact-info {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.contact-info h3 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.phone-number {
  font-size: 1.5rem;
  color: var(--brand-red);
  margin: 1rem 0;
}

.hours {
  color: var(--muted);
  line-height: 1.6;
}

/* Service Options Styles */
.service-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-option {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.service-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-red);
}

.service-option h3 {
  color: var(--brand-red);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.service-option ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.service-option ul li {
  padding: 0.5rem 0;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
}

.service-option ul li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
}

/* Rental Specific Styles */
.rental-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.rental-policies, .rental-hours {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
}

.rental-policies h3, .rental-hours h3 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.rental-policies ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rental-policies ul li {
  padding: 0.5rem 0;
  color: var(--text);
  position: relative;
  padding-left: 1.5rem;
}

.rental-policies ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-red);
  font-weight: bold;
}

.rental-process {
  margin-top: 3rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.step-number {
  width: 3rem;
  height: 3rem;
  background: var(--brand-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step h4 {
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.step p {
  margin: 0;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Consignment Specific Styles */
.consignment-benefits {
  margin-bottom: 3rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.benefit-card h4 {
  color: var(--brand-red);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.consignment-process {
  margin-bottom: 3rem;
}

.process-timeline {
  position: relative;
  margin-top: 2rem;
}

.timeline-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-step:not(:last-child):before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 2.5rem;
  bottom: -2rem;
  width: 2px;
  background: var(--border);
}

.timeline-step .step-number {
  width: 2rem;
  height: 2rem;
  background: var(--brand-red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
  z-index: 1;
  position: relative;
}

.step-content h4 {
  margin: 0 0 0.5rem;
  color: var(--brand-red);
}

.step-content p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.equipment-types {
  margin-bottom: 3rem;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.equipment-type {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.equipment-type h4 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.equipment-type ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-type ul li {
  padding: 0.25rem 0;
  color: var(--text);
  font-size: 0.9rem;
}

.consignment-terms {
  margin-bottom: 3rem;
}

.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.term-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.term-item h4 {
  color: var(--brand-red);
  margin-bottom: 0.75rem;
}

.term-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.5;
}

.cta-section {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.cta-section h3 {
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.contact-alternative {
  margin-top: 1rem;
  color: var(--muted);
}

/* Button Variants */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--brand-red);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(195, 24, 29, 0.3);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--input-bg);
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Mobile Responsive for New Components */
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .service-options {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefits-grid,
  .equipment-grid,
  .terms-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .timeline-step {
    flex-direction: column;
    text-align: center;
  }
  
  .timeline-step:not(:last-child):before {
    display: none;
  }
  
  .timeline-step .step-number {
    align-self: center;
  }
  
  .rental-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .contact-info,
  .cta-section {
    padding: 2rem 1rem;
  }
  
  .phone-number {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .page-header h2 {
    font-size: 1.5rem;
  }
  
  .products-section h3 {
    font-size: 1.5rem;
  }
  
  .product-card {
    margin: 0 0.5rem;
  }
  
  .form-container {
    margin: 0.5rem;
    padding: 1rem;
  }
}
