/* CSS File converted from SCSS */
.dropdown-select {
  background-color: #68a5d6;
  color: white;
  padding: 4px 16px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  min-width: 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  margin-left: 50px;
  font-family: "Acumin Pro Condensed Light";
  margin-top: 0px;
}

.dropdown-select.is-open {
  border-radius: 4px 4px 0 0;
}

.dropdown-select-date {
  background-color: #bc4848;
  color: white;
  padding: 4px 16px;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  min-width: 200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Acumin Pro Condensed Light";
  font-size: 20px;
  margin-left: 50px;
  margin-top: 2px;
}

.dropdown-select-date.is-open {
  border-radius: 4px 4px 0 0;
}

/* Additional Spinner Animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .leaflet-control {
    margin-right: 5px;
    margin-top: 5px;
  }

  .leaflet-control button {
    width: 36px;
    height: 36px;
  }
}

@media (min-width: 1024px) and (max-width: 1600px) {
  .leaflet-control {
    margin-left: calc(60px + (100 - 60) * ((100vw - 1024px) / (1600 - 1024))) !important;
  }
}

@media (min-width: 1600px) {
  .leaflet-control {
    margin-left: calc(164px + 20 * ((100vw - 1600px) / 50)) !important;
  }
}

.custom-buttons-container {
  background: none;
  border: none;
}

.custom-buttons-container .custom-blue-button {
  width: 35px;
  height: 35px;
  line-height: 30px;
  display: block;
  text-align: center;
  background-color: #3498db;
  color: white;
  border: 2px solid #c0c0c0;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 5px;
  border-radius: 4px;
}

.custom-buttons-container .custom-blue-button:hover {
  background-color: #2980b9;
}

.custom-buttons-container .custom-red-button {
  width: 35px;
  height: 35px;
  line-height: 30px;
  border: 2px solid #c0c0c0;
  display: block;
  text-align: center;
  background-color: #d63630;
  color: white;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 5px;
  border-radius: 4px;
}

.custom-buttons-container .custom-red-button:hover {
  background-color: #d63630;
}

.custom-buttons-container .custom-clear-button {
  width: 35px;
  height: 31px;
  background-color: #e74c3c;
  border: 2px solid #c0c0c0;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 1.1;
}

.custom-buttons-container .custom-clear-button:hover {
  background-color: #c0392b;
}

.leaflet-control-container .leaflet-control {
  margin-top: 10px;
}

/* css for the Map modal page */
.event-card {
  position: relative;
  width: 67vw;
  max-width: 1000px;
  min-width: 300px;
  background: white;
  border-radius: 16px 16px 0 0;
  margin: 40px auto;
  box-sizing: border-box;
  overflow: visible;
  z-index: 1000;
  box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1), 0 -2px 4px -1px rgba(0, 0, 0, 0.06);
}

.event-buttons-modal {
  position: absolute;
  top: -35px;
  left: 66%;
  display: flex;
  gap: 5px;
  font-family: "Acumin Pro Condensed Bold" !important;
  z-index: -1;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), opacity 0.3s ease-out;
}

.event-buttons-modal.animate-in {
  transform: translateY(0);
  opacity: 1;
}

.event-button-modal {
  padding: 5px 6px;
  color: white;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 19px;
  font-weight: bold;
  min-width: 132px;
  height: 36px;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
  background-color: red;
}

.event-button1-free-modal {
  padding: 5px 6px;
  color: white;
  border: 1px solid #ccc;
  cursor: pointer;
  font-size: 19px;
  font-weight: bold;
  min-width: 132px;
  height: 36px;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
  background-color: #00c99f;
}

.event-content-modal {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #8cb9d3;
  padding: 0px 24px;
  border-radius: 16px 16px 0 0;
  border-bottom: none;
  padding-top: 5px;
}

.event-left-modal {
  flex: 3;
}

.leaflet-left {
  z-index: 2000 !important;
  margin-left: -550px !important;
}

.event-left-modal h4 {
  font-size: 22px;
  text-transform: uppercase;
  padding-top: 9px;
  font-family: "Acumin Pro Condensed Bold" !important;
  font-weight: bold;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 750px;
  margin: 0 0 -2px;
}

.event-left p {
  font-size: 14px;
  color: #444;
  line-height: 1.4;
  max-width: 500px;
}

.event-right {
  flex: 1.2;
  text-align: right;
  margin: 0 0 4px;
}

.poppins-font {
  font-family: "Poppins" !important;
}

.event-tags1 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3px;
}

.event-tags1 .tag {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.event-tags1 .tag.blue {
  background-color: #00aeef;
}

.event-tags1 .tag.green {
  background-color: #00d084;
}

.event-tags1 .views {
  font-size: 19px;
  color: #000000;
  font-family: "Acumin Pro Semi Bold";
  font-style: normal;
  font-weight: 400;
}

.event-info {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.event-info .icon {
  margin-right: 5px;
}

.event-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.event-actions .bookmark {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.event-actions .view-event {
  background-color: black;
  color: white;
  padding: 8px 14px;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

.event-details {
  display: flex;
  gap: 30px;
  padding: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.left-column-modal {
  flex: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.vertical-line2 {
  width: 2px;
  height: 100%;
  background-color: #499dd6;
  align-self: stretch;
  margin-left: 9px;
}

.vertical-line1 {
  width: 2px;
  background-color: #499dd6;
}

.description-wrapper-modal {
  display: block;
  height: auto;
  min-height: 54px;
  margin-left: 10px;
}

.description-wrapper-modal p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
  width: 100%;
  font-family: "Poppins Regular", sans-serif;
  color: #000;
  word-break: break-word;
  hyphens: auto;
}

.right-column-modal {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.top-items {
  display: flex;
  flex-direction: column;
}

.top-items1 {
  display: flex;
  gap: 8px;
}

.bottom-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.acumin-pro-semibold-10px {
  font-family: "AcuminPro-Semibold", sans-serif;
  font-weight: 600;
  color: #000;
  font-size: 12px;
  margin-left: 8px;
  white-space: nowrap;
}

.divider-modal {
  width: 166px;
  background-color: #cccccc;
  border: none;
  border-top: 1px dashed #cccccc;
}

.right-column1-modal {
  display: flex;
  justify-content: flex-end;
}

.top-items1 {
  display: flex;
  align-items: center;
  gap: 35px;
}

.item1 {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.view-event-button {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 9px;
  gap: 11px;
  background-color: #000000;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 4px 13px 2px 13px;
  font-family: "Acumin Pro Condensed Bold" !important;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  padding-right: 11px;
}

.view-event-button:hover {
  background-color: #333333;
}

.map-modal-container {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(100%);
  transition: transform 0.3s ease-out;
  z-index: 1000;
}

.map-modal-container.visible {
  transform: translateY(0);
}

.leaflet-popup-tip {
  display: none !important;
}

.tooltip-container {
  width: 320px;
  height: auto;
  overflow: hidden;
    border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  position: relative;
  z-index: 100;
}

.tooltip-header {
  background: linear-gradient(to right, #8cb9d3 50%, #7ce07f 90%);
  padding: 8px 12px;
  color: black;
  font-size: 20px;
  border-radius: 13px 13px 0 0;
  font-weight: bold;
  position: relative;
  font-family: "Acumin Pro Condensed Bold" !important;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.1;
  max-height: calc(2 * 1em * 1.4);
  text-align: center;
  white-space: normal;
  word-break: break-word;
}

.tooltip-header p {
  margin: 0;
  word-break: break-word;
}

.tooltip-content {
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.tooltip-image {
  height: 140px;
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 12px;
}

.tooltip-description {
  font-size: 12px;
  line-height: 1.4;
  padding: 0 12px;
  margin: 8px auto 0;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  word-break: normal;
  text-align: left;
  min-height: calc(4 * 1.4em);
  font-family: "Poppins Regular";
  color: #000;
}

.tooltip-time-button {
  background-color: red;
  padding: 5px 12px;
  padding-top: 10px;
  color: white;
  font-size: 22px;
  min-width: 132px;
  font-weight: 100;
  height: auto;
  border-radius: 0 16px 16px 0;
  box-sizing: border-box;
 font-family: "Acumin Pro Condensed Semibold" !important;
}

.tooltip-free-button {
  background-color: #00c99f;
  padding: 5px 6px;
  padding-top: 7px;
  padding-right: 20px;
  color: white;
  font-size: 20px;
  min-width: 100px;
  height: 36px;
  font-family: "Acumin Pro Condensed SemiBold" !important;
  box-sizing: border-box;
}

.tooltip-view-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
   background-color: #000000; 
   color: white; 
   border: 1px solid #000;
  padding: 4px 13px 2px 13px;
  font-family: "Acumin Pro Condensed Semibold" !important;
  font-size: 20px;
  min-width: 100px;
  text-transform: uppercase;
  /* cursor: pointer; */
  transition: background-color 0.2s ease;
  height: 36px;
}
.tooltip-view-button1 {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  /* background-color: #000000; */
  /* color: white; */
  /* border: 1px solid #000; */
  padding: 4px 13px 2px 13px;
 font-family: "Acumin Pro Condensed Semibold" !important;
  font-size: 20px;
  min-width: 100px;
  text-transform: uppercase;
  /* cursor: pointer; */
  transition: background-color 0.2s ease;
  height: 36px;
}

.tooltip-view-button:hover {
  background-color: #333333;
}
.tooltip-delete-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #d63630;
  color: white; 
  padding: 4px 13px 2px 13px;
font-family: "Acumin Pro Condensed Semibold" !important;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease;
  height: 36px;
  border-radius: 12px 0 0 12px;
  align-self: flex-end;
  margin-top: 3px;
}
.tooltip-delete-button:hover {
  background-color: #b52a27;
}

.tooltip-buttons-group {
  z-index: 2;
}

.custom-tooltip {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.tooltip-time-button.animate-in {
  transform: translateX(0) !important;
  opacity: 1 !important;
  transition: transform 0.5s ease-out, opacity 0.5s ease !important;
}

.tooltip-buttons-group.animate-in {
  transform: translateX(0) !important;
  opacity: 1 !important;
  transition: transform 0.5s ease-out, opacity 0.5s ease 0.5s !important;
}

.popup-containerNew {
  transition-delay: 0.4s !important;
}

.popup-containerNew .leaflet-popup-content-wrapper {
  width: 320px !important;
  height: 522px;
  padding: 0 !important;
  position: relative;
  z-index: 2000;
}

.popup-containerNew .leaflet-popup-content {
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

.hover-button {
  position: relative;
  overflow: hidden;
}

.hover-arrow {
  transition: transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6), opacity 0.4s ease;
}

.hover-button:hover .hover-arrow {
  transform: translateX(10px) !important;
  opacity: 1 !important;
}




/* Department highlighting */
.leaflet-interactive {
  transition: all 0.3s ease;
  cursor: pointer;
}

.leaflet-interactive:hover {
  stroke-width: 3.5;
  /* stroke: #000;
  fill-opacity: 0.7 !important; */
}

/* Marker cluster styles */
.marker-cluster-small {
  background-color: rgba(181, 226, 140, 0.6);
}

.marker-cluster-small div {
  background-color: rgba(110, 204, 57, 0.6);
}

.marker-cluster-medium {
  background-color: rgba(241, 211, 87, 0.6);
}

.marker-cluster-medium div {
  background-color: rgba(240, 194, 12, 0.6);
}

.marker-cluster-large {
  background-color: rgba(253, 156, 115, 0.6);
}

.marker-cluster-large div {
  background-color: rgba(241, 128, 23, 0.6);
}

/* Department legend */
.department-legend {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: white;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  max-width: 200px;
}

.department-legend h4 {
  margin: 0 0 10px;
  font-size: 14px;
}

.department-legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.department-legend-color {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  border-radius: 3px;
  border: 1px solid #ccc;
}

.department-legend-label {
  font-size: 12px;
}


.availability-container {
  display: flex;
  justify-content: space-between; /* places both items at opposite ends */
  align-items: center; /* centers them vertically */
  padding: 0.625rem 1rem;
  margin-top: 0.9375rem;
  background: linear-gradient(to right, #6bc800 50%, #ffffff 50%);
  width: 100%; 
  box-sizing: border-box; 
    opacity: 0;
  transform: translateY(-40px);
  animation: fadeInDownBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 1s forwards; 
}
.availability-text{
  flex: 1; 
  text-align: center;
 color: #ffffff; /* white text for contrast */
}

.availability-price {
  flex: 1; 
  text-align: center;
   padding-left: 8px;
}
.price-value {
  font-size: 1.87rem;
  color:#6bc800 ;
  font-family: "Poppins Bold";
}

.price-unit {
  font-size: 0.87rem;
  color: black; 
    font-family: "Poppins Medium";
}
.availability-text {
  padding-right: 8px;
    font-family: "Poppins Bold";
    font-size: 1rem;
}

.availability-price {
  padding-left: 8px;
}
.price-list-container {
  display: flex;
  justify-content: center;     
  align-items: center;          
  background-color: #2098d8;   
  padding: 0.625rem 1rem; 
  height: 60px;      
  gap: 0.5rem;                 
  top: 40px;
  position: relative;
  top: -8px; 
  cursor: pointer;
      border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  padding-top: 1rem; 
   opacity: 0;
  transform: translateY(-40px);
  animation: fadeInDownBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 2s forwards                      
}
.price-list-icon {
  width: 22px;      /* adjust size as needed */
  height: 22px;
}
.price-list-text {
  font-family: "Acumin Pro Condensed Bold", sans-serif;
  font-size: 1.32rem; /* ≈ 17pt */
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.5px;
}
.main-popup-content,
.price-popup-content {
  transition: opacity 0.3s ease;
}

.main-popup-content.hidden,
.price-popup-content.hidden {
  display: none;
}
.price-list-container.hidden{
display: none;
}
.price-popup-content:not(.hidden) {
  display: block;
}

/* css for the animations for the price and availability container */
@keyframes fadeInDownBounce {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  60% {
    opacity: 1;
    transform: translateY(10px); /* Bounce overshoot */
  }
  80% {
    transform: translateY(-5px); /* Bounce back */
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* css for the new popup */

.popup-containerNew .leaflet-popup-content-wrapper {
  width: 320px !important;
  height: 450px;
  padding: 0 !important;
  position: relative;
  z-index: 2000;
  border-radius: 13px;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease-in-out;
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* New popup style when price content is active */
.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active {
  width: 300px !important;
  height: 440px !important;
  border-radius: 20px !important;
  border: 3px solid #6bc800 !important;
  padding: 0 !important;
}

/* Flip animation for transitioning to price popup */
@keyframes flipToPrice {
  0% {
    transform: rotateY(0) scale(1);
  }
  50% {
    transform: rotateY(-90deg) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: rotateY(0) scale(1);
    opacity: 1;
  }
}

/* Flip animation for returning to main popup */
@keyframes flipToMain {
  0% {
    transform: rotateY(0) scale(1);
  }
  50% {
    transform: rotateY(90deg) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: rotateY(0) scale(1);
    opacity: 1;
  }
}

.popup-containerNew .leaflet-popup-content-wrapper:not(.price-popup-active) {
  animation: flipToMain 0.6s ease-in-out !important;
}

.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active {
  animation: flipToPrice 0.6s ease-in-out !important;
}

.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active .leaflet-popup-content {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Tooltip container adjustments for price popup */
.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active .tooltip-container {
  width: 100% !important;
  height: 100% !important;
  border-radius: 17px !important;
  background: transparent !important;
}

.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active .price-popup-content {
  width: 100% !important;
  height: 100% !important;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active .price-list-container {
  display: none !important;
}

.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active .price-content {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 15px !important;
}



@keyframes slideDown {
  0% {
    transform: translateY(-30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



@keyframes popIn {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  70% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}


@keyframes staggerIn {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);

  }
}
/* .popup-containerNew .leaflet-popup-tip {
  display: block !important;
   background: #6bc800 !important;
} */
/* Backface visibility for better 3D effect */
.popup-containerNew .leaflet-popup-content-wrapper,
.popup-containerNew .leaflet-popup-content-wrapper.price-popup-active {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

 .hover-arrow {
    transition: 
      transform 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6), 
      opacity 0.4s ease;
  }
  .hover-button:hover .hover-arrow {
    transform: translateX(10px) !important;
    opacity: 1 !important;
  }