/* Override the left admin menu */
#adminmenu {
  background-color: #1a1a1a;
  border-right: none;
}

#adminmenu li a {
  color: #eee;
  font-weight: 500;
}

#adminmenu li.current a {
  background-color: #333;
  color: #ffcc00;
}

/* Style your custom page */
#booking-dashboard-wrap {
  background: #9f4343;
  padding: 30px;
  font-family: 'Segoe UI', sans-serif;
}

#booking-dashboard-wrap h1 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #222;
}

a#new-booking-link {
    background-color: #03bff9 !important;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
    font-size: 1rem !important;
    padding: 10px !important;
    text-decoration: none !important;
    color: #fff !important; /* optional for contrast */
    border-radius: 6px; /* optional for polish */
    display: inline-block;
}
a#new-booking-link:hover {
  background-color: #505353;
  transition: background-color 0.3s ease;
}

a#new-booking-link {
  border-radius: 15px;
  color: #e22e2e;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.rounded-image {
  border-radius: 20%;
  max-width: 100%;
  height: auto;
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

img.wp-image-129.rounded-image.aligncenter {
  border-radius: 20%;
}
#booking-confirmation {
        display: flex !important;
    }
    
#booking-successful {
  background: #f9f9f9;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  margin: 60px auto;
  font-family: 'Segoe UI', sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
#booking-successful h2 {
  margin-bottom: 20px;
  font-size: 1.5em;
}
#booking-successful p {
  margin: 10px 0;
  line-height: 1.6;
}
#payment-modal {
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20000 !important; /* must be higher than overlay */
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
/* Modal Content/Box - Sized for better responsiveness */
.modal-content {
    background-color: white;
 /*   position: relative;*/
    width: 450px;
    font-size: 1.5rem;
    color: #4f46e5;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0; /* remove top margin for precise top 50% centering */
    border-radius: 14px;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
.modal-content h4 {
  font-size: 2rem;
  font-weight: 600;
}
/* Style to hide the mobile notice on desktop screens */
.mobile-notice {
  display: none;
  font-size: 0.9em;
  color: #555;
  margin-top: 5px;
}

/* Media Query to show the mobile notice on small screens */
@media (max-width: 768px) {
  .mobile-notice {
    display: block; /* Show the notice on mobile */
  }
}

/* Style for the container which will trigger the tooltip */
.tooltip-container {
  /* This is crucial: it positions the tooltip text relative to this container */
  position: relative; 
  /* Allows the tooltip to appear in the flow of text/elements */
  display: inline-block; 
}

/* Style for the tooltip text itself */
.tooltip-text {
  /* Hide the tooltip by default */
  visibility: hidden; 
  /* Position the text above the button */
  position: absolute; 
  /* Center the tooltip horizontally above the button */
  bottom: 100%; /* Place it right above the container */
  left: 50%;
  transform: translateX(-50%);

  /* Basic styling for the box */
  width: 200px;
  background-color: #555; /* Dark background */
  color: #fff; /* White text */
  text-align: center;
  padding: 5px 8px;
  border-radius: 6px;
  
  /* Make sure it's above other elements */
  z-index: 5; 
  /* Optional: Add a smooth transition effect */
  opacity: 0;
  transition: opacity 0.3s;
}

/* Show the tooltip when the container is hovered over */
.tooltip-container:hover .tooltip-text {
  visibility: visible; /* Make it visible */
  opacity: 1; /* Fade it in */
}
/* Media Query to disable hover/tooltip visibility on small screens */
@media (max-width: 768px) {
  /* This prevents the entire container from using the hover state */
  .tooltip-container:hover .tooltip-text {
    visibility: hidden; /* Ensure it stays hidden even if a hover state is triggered */
    opacity: 0;
  }
  
  /* Optional: You can make the button text clearer since the tooltip is gone */
  .tooltip-container {
    margin-bottom: 15px;/* Adjust spacing if necessary */
  }
}

button {
  padding: 6px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.payment-session {
  background-color: green;
}
.deposit-payment {
  background-color: #FFBF00;
}
.cancellation-button {
  background-color: red;
}

#update-booking-modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 450px !important;
  max-width: 90vw !important;
  background: #fff;
  padding: 20px;
  z-index: 9999 !important;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  border-radius: 10px;
  display: block !important;
  overflow-y: auto;
  outline: 5px solid red !important; /* Debug border */
}

#update-booking-backdrop {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 9998 !important;
  display: none;
}
#update-booking-modal,
#update-booking-backdrop {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-active #update-booking-modal,
.modal-active #update-booking-backdrop {
  display: block;
  visibility: visible;
  opacity: 1;
}
#update-booking-modal,
#update-booking-backdrop {
  display: none;
}

.site-footer {
    background-color: #807d7d;
    color: #eee;
    margin-top: 20px;
    padding: 20px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.lightbox-link img {
  transition: transform 0.3s ease;
}
.lightbox-link:hover img {
  transform: scale(1.05);
}
.clients h2 {
  font-size: 1.3rem;
  color: #4f46e5 !important;
  font-weight: 700;
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}