/* Base Styles */
:root {
  --dark-bg: #121212;
  --darker-bg: #0a0a0a;
  --light-bg: #1e1e1e;
  --lighter-bg: #2a2a2a;
  --accent: #ff6600;
  --accent-hover: #ff8533;
  --text: #ffffff;
  --text-muted: #b3b3b3;
  --border: #333333;
  --shadow: rgba(0, 0, 0, 0.3);
}

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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

.btn {
  background: #FF8C00; /* Dark orange */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: #FFA500; /* Lighter orange */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

section {
  padding: 3rem 0;
}

/* Header Styles */
.parallax-header {
  background-image: url('../images/parallax-bg.jpg');
  background-size: cover;
  background-position: center bottom;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 350px;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.parallax-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.header-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  text-align: center;
}

.header-content h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Page-specific headers */
.sales-header,
.service-header,
.cafes-header,
.tours-header,
.events-header,
.fuel-header,
.parking-header {
  background-image: url('../images/parallax-bg.jpg');
}

/* Ensure tours and events page headers are center-aligned */
.tours-header .header-content,
.events-header .header-content {
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Navigation Styles */
#main-nav {
  background-color: var(--darker-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

#main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 15px;
  gap: 1rem;
}

.logo {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
}

.nav-menu {
  display: flex;
  margin-right: auto;
}

.nav-menu li {
  margin-left: 1.5rem;
}

.nav-menu a {
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text);
  transition: all 0.3s ease;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.cart-btn {
  background: #2196F3 !important; /* Blue */
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 38px; /* Match login button height */
}

.login-btn {
  background: #FF8C00; /* Dark orange */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: background 0.3s;
  line-height: 1;
  height: 38px; /* Explicit height */
  display: flex;
  align-items: center;
}

/* Location Notice */
.location-notice {
  background-color: var(--light-bg);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.location-notice p {
  margin-bottom: 0;
  margin-right: 1rem;
}

.location-notice i {
  color: var(--accent);
  margin-right: 0.5rem;
}

/* Geolocation button styling to match other orange buttons */
.location-notice .btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-notice .btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

/* Filter Options */
.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background-color: var(--light-bg);
  padding: 1rem;
  border-radius: 5px;
}

.filter {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  flex: 1;
}

.filter label {
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.filter select {
  padding: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background-color: var(--lighter-bg);
  color: var(--text);
  cursor: pointer;
}

/* Listings */
.listings-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.listing {
  background-color: var(--light-bg);
  border-radius: 5px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.listing:hover {
  transform: translateY(-3px);
}

.listing-summary {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.listing-summary h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.listing-summary p {
  margin-bottom: 0.5rem;
  color: var(--text);
}

.distance {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.toggle-details {
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.5rem;
  align-self: flex-end;
}

.listing-details {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  background-color: var(--lighter-bg);
  display: none;
}

.listing-details p {
  margin-bottom: 0.75rem;
}

.listing-details .btn {
  margin-top: 1rem;
  margin-right: 0.5rem;
}

.listing-details .rating {
  margin: 1rem 0;
}

.listing-details .stars {
  color: var(--accent);
  margin-right: 0.5rem;
}

.listing-details .count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 1.5rem;
}

.details-image img {
  width: 100%;
  border-radius: 5px;
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.event-card {
  background: var(--light-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  transition: transform 0.3s ease;
  border: 1px solid var(--border);
  min-height: 120px;
}

.event-card:hover {
  transform: translateY(-5px);
}

/* New tour card layout */
.tour-date-section {
  flex: 0 0 120px;
  background: linear-gradient(135deg, #ff6600 0%, #ff8533 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  position: relative;
}

.tour-date {
  text-align: center;
  color: white;
}

.date-range {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.start-date {
  line-height: 1;
}

.tour-year {
  font-size: 0.9rem;
  opacity: 0.9;
  font-weight: 500;
}

.tour-content-section {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.tour-header {
  margin-bottom: 1rem;
}

.tour-header h3 {
  margin: 0 0 0.5rem 0;
  color: var(--text);
  font-size: 1.3rem;
}

.tour-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.tour-level {
  background: #4CAF50;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
}

.tour-price {
  background: #2196F3;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: bold;
}

.tour-details {
  margin-bottom: 1.5rem;
  flex: 1;
}

.tour-details p {
  margin: 0.5rem 0;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tour-details i {
  color: var(--accent);
  width: 16px;
}

.tour-actions {
  margin-top: auto;
}

.learn-more-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  width: 100%;
}

.learn-more-btn:hover {
  background: var(--accent-hover);
  color: white;
  transform: translateY(-2px);
}

/* Responsive improvements */
@media (max-width: 768px) {
  .event-card {
    flex-direction: column;
  }
  
  .tour-date-section {
    flex: none;
    height: 80px;
    padding: 0.75rem;
  }
  
  .date-range {
    font-size: 1rem;
  }
  
  .tour-year {
    font-size: 0.8rem;
  }
  
  .tour-content-section {
    padding: 1rem;
  }
  
  .tour-header h3 {
    font-size: 1.2rem;
  }
}

/* Features Section */
.featured-section {
  background-color: var(--light-bg);
  padding: 4rem 0;
  margin: 3rem 0;
}

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

.feature {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--lighter-bg);
  border-radius: 5px;
  transition: transform 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
}

.feature i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature h3 {
  margin-bottom: 1rem;
}

/* Footer Styles */
footer {
  background-color: var(--darker-bg);
  padding: 3rem 0 0;
  margin-top: 3rem;
}

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

.footer-section h3 {
  position: relative;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent);
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--light-bg);
  border-radius: 50%;
  color: var(--text);
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--accent);
  color: white;
}

.footer-bottom {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .details-grid {
    grid-template-columns: 1fr;
  }

  .header-content h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--darker-bg);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1.5rem 0;
  }

  .header-content h1 {
    font-size: 2rem;
  }

  .header-content p {
    font-size: 1rem;
  }

  .location-notice {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-notice button {
    margin-top: 1rem;
    width: 100%;
  }

  .filter-options {
    flex-direction: column;
  }

  .filter {
    width: 100%;
  }

  .event-card {
    flex-direction: column;
  }

  .event-date {
    flex-direction: row;
    padding: 0.75rem;
    justify-content: center;
  }

  .event-date .day {
    margin-right: 0.5rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .events-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
}

/* Login Modal Styles */
.modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
  z-index: 2000;
}

#loginModal {
  z-index: 2400;
}

#adminModal {
  z-index: 2000;
}

#profileModal {
  z-index: 2100;
}

#premiumModal {
  z-index: 2100;
}

#eventsModal {
  z-index: 2100;
}

#newEventModal {
  z-index: 2200;
}

#editEventModal {
  z-index: 2300;
}

.modal-content {
  background-color: #222;
  margin: 6% auto;
  padding: 2rem 2.5rem 1.5rem 2.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  position: relative;
  color: var(--text);
}

.close {
  color: #aaa;
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s;
}
.close:hover {
  color: var(--accent);
}

.input-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.2rem;
  background: var(--lighter-bg);
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.input-group label {
  margin-right: 0.7rem;
  color: var(--accent);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  min-width: 1.2rem;
}

.input-group input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  width: 100%;
  padding: 0.6rem 0;
  line-height: 1;
  height: 1.5rem;
}

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

.input-group input:focus {
  outline: none;
}

#confirmPasswordGroup {
  display: none; /* Hidden by default, shown in register view */
}

#confirmPasswordGroup.visible {
  display: flex;
}

#confirmPasswordGroup input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 1rem;
  width: 100%;
  padding: 0.6rem 0;
  line-height: 1;
  height: 1.5rem;
}

#confirmPasswordGroup input::placeholder {
  color: var(--text-muted);
}

#confirmPasswordGroup input:focus {
  outline: none;
}

#authForm .btn {
  width: 100%;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
  background: #FF8C00 !important; /* Dark orange */
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

#authForm .btn:hover {
  background: #FFA500 !important; /* Lighter orange */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

#authForm .btn-secondary {
  background: #666 !important;
  margin-top: 10px;
}

#authForm .btn-secondary:hover {
  background: #555 !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle-link {
  text-align: center;
  margin-top: 1.2rem;
  color: var(--text-muted);
}
.toggle-link a {
  color: var(--accent);
  text-decoration: underline;
  cursor: pointer;
}

.admin-btn {
  background: #FF8C00; /* Dark orange */
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  transition: all 0.3s ease;
  line-height: 1;
  height: 38px; /* Match login button height */
  display: flex;
  align-items: center;
}

.admin-btn:hover {
  background: #FFA500; /* Orange */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

/* Admin Modal Styles */
.admin-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.admin-buttons .btn {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #FF8C00; /* Dark orange */
  color: #fff;
}

.admin-buttons .btn:hover:not(.premium-btn):not(.signout-btn) {
  background: #FFA500; /* Orange */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

.admin-buttons .signout-btn {
  background: #FF0000 !important; /* Bright red */
  color: white !important;
}

.admin-buttons .signout-btn:hover {
  background: #CC0000 !important; /* Darker red */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 0, 0, 0.3);
}

.admin-buttons .premium-btn {
  background: linear-gradient(45deg, #FFD700, #FFA500) !important;
  color: #000 !important;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
  transition: all 0.3s ease;
}

.admin-buttons .premium-btn:hover:not(:disabled) {
  background: linear-gradient(45deg, #FFC800, #FFB700) !important; /* Slightly different gold shades */
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 200, 0, 0.4);
}

.admin-buttons .premium-btn:disabled {
  background: linear-gradient(45deg, #FFD700, #FFA500) !important;
  color: #000 !important;
  cursor: default;
  transform: none;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
  opacity: 0.9;
}

.admin-buttons .premium-btn.premium-active {
  background: linear-gradient(45deg, #FFD700, #FFA500) !important;
  color: #000 !important;
  cursor: default;
  transform: none;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.admin-buttons .premium-btn.premium-active:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.cafe-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cafe-actions a {
  color: #fff;
  text-decoration: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cafe-actions a.phone {
  background: #2196F3; /* Blue */
}

.cafe-actions a.phone:hover {
  background: #1976D2; /* Darker blue */
  transform: translateY(-2px);
}

.cafe-actions a.website {
  background: #FF8C00; /* Orange */
}

.cafe-actions a.website:hover {
  background: #FFA500; /* Lighter orange */
  transform: translateY(-2px);
}

.cafe-actions a.directions {
  background: #4CAF50; /* Green */
}

.cafe-actions a.directions:hover {
  background: #45a049; /* Darker green */
  transform: translateY(-2px);
}

.cafe-actions a i {
  font-size: 1.2rem;
}

.forgot-password {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 0.9em;
  display: block !important;
}

.forgot-password a {
  color: #FF8C00 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

.forgot-password a:hover {
  color: #FFA500 !important;
  text-decoration: underline;
}

#resetPasswordView #backToLoginBtn.btn-secondary {
  background: #666 !important;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 0.5rem;
}

#resetPasswordView #backToLoginBtn.btn-secondary:hover {
  background: #555 !important;
  color: #fff !important;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#resetPasswordView .btn {
  background: #FF8C00 !important; /* Dark orange */
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 0.5rem;
}

#resetPasswordView .btn:hover {
  background: #FFA500 !important; /* Lighter orange */
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 140, 0, 0.3);
}

#resetPasswordView h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

#resetPasswordView p {
  color: #ccc;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

/* Sales Modal Styles */
#salesModal .modal-content {
  max-width: 800px;
  padding: 2rem;
}

.sales-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 2rem;
}

.sales-header .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.sales-header .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

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

.motorcycle-listing {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.motorcycle-listing:hover {
  transform: translateY(-2px);
}

.listing-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.listing-header h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.2rem;
}

.price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #FF8C00;
}

.listing-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status {
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status.published {
  background: #4CAF50;
  color: #fff;
}

.status.pending {
  background: #FFA500;
  color: #fff;
}

.listing-actions {
  display: flex;
  gap: 0.5rem;
}

.icon-btn {
  background: var(--lighter-bg);
  border: none;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.icon-btn.edit-btn {
  color: #2196F3;
}

.icon-btn.delete-btn {
  color: #FF0000;
}

.icon-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Add Bike Modal Styles */
#addBikeModal .modal-content {
  max-width: 600px;
}

.add-bike-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.add-bike-form select,
.add-bike-form input,
.add-bike-form textarea {
  background: var(--lighter-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--text);
  font-size: 1rem;
  width: 100%;
}

.add-bike-form select:focus,
.add-bike-form input:focus,
.add-bike-form textarea:focus {
  outline: none;
  border-color: #FF8C00;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

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

.add-bike-form .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.add-bike-form .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

.loading-message,
.error-message,
.no-sales-message {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  background: var(--light-bg);
  border-radius: 8px;
}

.error-message {
  background-color: var(--light-bg);
  border: 1px solid #ff4444;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.error-message p {
  color: #ff4444;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.error-message .btn {
  margin-top: 1rem;
}

.error-message .btn:hover {
  background: #ff6666;
}

.no-results {
  background-color: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 2rem 0;
}

.no-results p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.no-results p:first-child {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Edit Sale Modal Styles */
#editSaleModal .modal-content {
  max-width: 400px;
}

#editSaleForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#editSaleForm .input-group {
  margin-bottom: 0;
}

#editSaleForm .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

#editSaleForm .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Add Bike Form Styles */
.add-bike-form .submit-btn {
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 1rem;
}

.add-bike-form .submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(255, 102, 0, 0.3);
}

/* Switch Toggle Styles */
.switch-group {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  margin-right: 1rem;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--lighter-bg);
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--accent);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.switch-label {
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
}

/* Premium Modal Styles */
.premium-benefits {
  margin: 2rem 0;
}

.premium-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.premium-benefits li {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: var(--text);
  font-size: 1.1rem;
}

.premium-benefits li i {
  color: #FFD700; /* Gold color for stars */
  margin-right: 1rem;
  font-size: 1.2rem;
}

.premium-subscribe-btn {
  background: linear-gradient(45deg, #FFD700, #FFA500) !important;
  color: #000 !important;
  border: none;
  border-radius: 4px;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.premium-subscribe-btn:hover {
  background: linear-gradient(45deg, #FFC800, #FFB700) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 200, 0, 0.4);
}

/* Tour Styles */
.tour-meta {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.tour-level {
    background: #4CAF50;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: bold;
}

.tour-price {
    background: #2196F3;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: bold;
}

.learn-more-btn {
    margin-top: 1rem;
    width: 100%;
}

.no-tours-message {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Tour Detail Modal */
.tour-detail-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--light-bg);
    border-radius: 8px;
    padding: 0;
}

.business-info {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px 8px 0 0;
    text-align: center;
    position: relative;
}

.business-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 102, 0, 0.9) 0%, rgba(255, 133, 51, 0.9) 100%);
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

.business-info h3,
.business-info p {
    position: relative;
    z-index: 2;
}

.business-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tour-leader-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.95;
    font-style: italic;
}

.tour-detail-header {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
}

.tour-detail-header h2 {
    margin-bottom: 1rem;
    color: var(--text);
}

.tour-meta-info {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.tour-level-badge {
    background: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

.tour-price-badge {
    background: var(--lighter-bg);
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border);
}

.tour-detail-body {
    padding: 2rem;
}

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

.tour-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

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

.tour-info-item {
    background: var(--lighter-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.tour-info-item h4 {
    color: var(--accent);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-info-item p {
    color: var(--text);
    margin: 0;
    font-size: 1rem;
}

.tour-description {
    background: var(--lighter-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.tour-description h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.tour-description p {
    color: var(--text);
    line-height: 1.8;
    margin: 0;
}

.tour-video {
    background: var(--lighter-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.tour-video h4 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.tour-detail-footer {
    background: var(--darker-bg);
    padding: 2rem;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.tour-detail-footer .btn {
    flex: 1;
    min-width: 120px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
}

.btn-secondary {
    background: var(--lighter-bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

/* Responsive styles for tour modal */
@media (max-width: 768px) {
    .tour-detail-content {
        margin: 1rem;
        max-height: 95vh;
    }
    
    .business-info,
    .tour-detail-header,
    .tour-detail-body,
    .tour-detail-footer {
        padding: 1.5rem;
    }
    
    .business-name {
        font-size: 1.5rem;
    }
    
    .tour-leader-description {
        font-size: 1rem;
    }
    
    .tour-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tour-images {
        grid-template-columns: 1fr;
    }
    
    .tour-detail-footer {
        flex-direction: column;
    }
    
    .tour-detail-footer .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .business-info,
    .tour-detail-header,
    .tour-detail-body,
    .tour-detail-footer {
        padding: 1rem;
    }
    
    .business-name {
        font-size: 1.3rem;
    }
    
    .tour-leader-description {
        font-size: 0.9rem;
    }
    
    .tour-meta-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.loading-message {
    background-color: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 3rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.loading-message p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.error-message {
    text-align: center;
    padding: 3rem;
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.error-message p {
    margin-bottom: 1rem;
}

.error-message .btn {
    background: #ff6b6b;
    color: white;
}

.error-message .btn:hover {
    background: #ff5252;
}

/* Tour items for admin panel */
.tour-item {
    background: var(--light-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

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

.tour-item-header h4 {
    margin: 0;
    color: var(--text);
}

.status-approved {
    background: #28a745;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-pending {
    background: #ffc107;
    color: #000;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.tour-item-details {
    margin-bottom: 1rem;
}

.tour-item-details p {
    margin: 0.5rem 0;
    color: var(--text);
}

.tour-item-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

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

.btn-danger:hover {
    background: #c82333;
}

/* No image placeholder for tours */
.no-image-placeholder {
    width: 100%;
    height: 200px;
    background: var(--lighter-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.no-image-placeholder i {
    font-size: 3rem;
    color: var(--text-muted);
}

/* Event card improvements */
.event-card {
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease;
    border: 1px solid var(--border);
    min-height: 120px;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    flex: 0 0 200px;
    position: relative;
}

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

.event-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.event-header {
    margin-bottom: 1rem;
}

.event-header h3 {
    margin: 0 0 0.5rem 0;
    color: var(--text);
}

.event-description {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-details {
    margin-bottom: 1.5rem;
}

.event-details p {
    margin: 0.5rem 0;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-details i {
    color: var(--accent);
    width: 16px;
}

.event-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.event-actions .btn {
    flex: 1;
    min-width: 120px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .event-card {
        flex-direction: column;
    }
    
    .event-image {
        flex: none;
        height: 200px;
    }
    
    .tour-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .tour-item-actions {
        flex-direction: column;
    }
    
    .event-actions {
        flex-direction: column;
    }
    
    .event-actions .btn {
        width: 100%;
    }
}

#eventsModal .modal-content {
  max-width: 800px;
  padding: 2rem;
}

#eventsModal .events-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#eventsModal .events-header .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#eventsModal .events-header .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Style for the Add New Event button in events modal */
#eventsModal .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1.5rem;
}

#eventsModal .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

#toursModal .modal-content {
  max-width: 800px;
  padding: 2rem;
}

#toursModal .tours-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#toursModal .tours-header .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#toursModal .tours-header .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Style for the Add New Tour button in tours modal */
#toursModal .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1.5rem;
}

#toursModal .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* New Event Modal Styles */
#newEventModal .modal-content {
  max-width: 600px;
}

.event-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.event-form .input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.event-form .input-group label {
  color: var(--text);
  font-weight: 500;
}

.event-form .input-group input,
.event-form .input-group textarea {
  background: var(--lighter-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--text);
  font-size: 1rem;
  width: 100%;
}

.event-form .input-group input:focus,
.event-form .input-group textarea:focus {
  outline: none;
  border-color: #FF8C00;
  box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

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

.event-form .file-input {
  display: none;
}

.event-form .file-input-label {
  background: var(--lighter-bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 0.8rem;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
}

.event-form .file-input-label:hover {
  border-color: #FF8C00;
  background: rgba(255, 140, 0, 0.1);
}

.event-form .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.event-form .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Bookings Modal Styles */
#bookingsModal .modal-content {
  max-width: 800px;
  padding: 2rem;
}

#bookingsModal .bookings-header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

#bookingsModal .bookings-header .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

#bookingsModal .bookings-header .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* Style for buttons in bookings modal */
#bookingsModal .btn {
  background: #FF8C00;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  margin-bottom: 1.5rem;
}

#bookingsModal .btn:hover {
  background: #FFA500;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}
