/* Base Styles: Apply to all screen sizes */
body, html {
  margin: 0;
  padding: 0;
  width: 100%;
}

.d-flex {
  flex-wrap: wrap; /* Wrap items to prevent overflow */
  justify-content: space-between; /* Adjust spacing */
}

header-component, nav-component, footer-component, booking-component, div[ui-view] {
  width: 100%;
  display: block;
  margin: 0 auto; /* Center the components */
}

.container {
  width: 100%;
  max-width: 1200px; /* Limit the width on large screens */
  margin: 0 auto;    /* Center the container on desktop */
  padding: 15px;
  box-sizing: border-box;
}

/* Prevent Horizontal Scrolling */
body {
  overflow-x: hidden;
}


/* Mobile-Specific Styles */
@media (max-width: 768px) {
  header-component, nav-component, footer-component, div[ui-view] {
    width: 100%;
  }

  .container {
    padding: 10px;
  }
}

/* Specific breakpoint adjustments */
@media (max-width: 500px) {
  body {
    padding: 0; /* Remove body-level padding */
    margin: 0; /* Remove body-level margin */
  }

  .container,
  .container-fluid {
    padding: 0 5px; /* Minimal padding for small screens */
  }


}
/* Desktop-Specific Styles */
@media (min-width: 769px) {
  .container {
    max-width: 1200px; /* Limit the width for readability */
    padding: 20px;
  }
  booking-component {
    margin-right: 30px;
  }
}


.cookie-dialog {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fff;
  color: #333;
  padding: 20px;
  box-shadow: 0px -4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  transform: translateY(100%);
}

.cookie-dialog.visible {
  transform: translateY(0);
}

.cookie-dialog h3 {
  margin: 0;
  font-size: 18px;
}

.cookie-dialog p {
  font-size: 14px;
  margin: 10px 0;
  text-align: center;
}

.cookie-dialog .actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
  width: 100%;
}

.cookie-dialog button {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
}

.cookie-dialog button.reject {
  background: #dc3545;
}

.cookie-dialog button.more-info {
  background: #6c757d;
}

.cookie-dialog button:hover {
  opacity: 0.9;
}

.places-map .map-container {
  width: 100%;
  height: 500px;
}

.places-map #map {
  width: 100%;
  height: 500px;
}

.places-list {
  margin: 20px auto;
  max-width: 800px;
  padding: 10px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.places-list h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.places-list ul {
  list-style: none;
  padding: 0;
}

.places-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.places-list li:last-child {
  border-bottom: none;
}