/* Booking Sidebar - Custom CSS (No Bootstrap dependency) */

/* Sidebar Container - Very specific to avoid conflicts */
#booking-sidebar.booking-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30%;
  height: 100vh;
  background: #ffffff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: right 0.3s ease-in-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

#booking-sidebar.booking-sidebar.active {
  right: 0;
}

/* Sidebar Header */
#booking-sidebar .booking-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: #f8f9fa;
  border-bottom: 1px solid #dee2e6;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0;
}

#booking-sidebar .booking-sidebar-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  color: #333;
  font-family: inherit;
}

#booking-sidebar .booking-sidebar-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s ease;
  font-family: inherit;
}

#booking-sidebar .booking-sidebar-close:hover {
  background-color: #e9ecef;
  color: #333;
}

#booking-sidebar .booking-sidebar-close:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

/* Sidebar Content */
#booking-sidebar .booking-sidebar-content {
  flex: 1;
  padding: 0;
  overflow: hidden;
}

#booking-sidebar .booking-sidebar-content iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Overlay */
#booking-sidebar-overlay.booking-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

#booking-sidebar-overlay.booking-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Tablet Responsive */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  #booking-sidebar.booking-sidebar {
    width: 80%;
    right: -80%;
  }
  
  #booking-sidebar.booking-sidebar.active {
    right: 0;
  }
  
  #booking-sidebar .booking-sidebar-header {
    padding: 20px;
  }
  
  #booking-sidebar .booking-sidebar-title {
    font-size: 1.5rem;
  }
}

/* Mobile Responsive */
@media only screen and (max-width: 768px) {
  #booking-sidebar.booking-sidebar {
    width: 100%;
    right: -100%;
  }
  
  #booking-sidebar.booking-sidebar.active {
    right: 0;
  }
  
  #booking-sidebar .booking-sidebar-header {
    padding: 15px;
  }
  
  #booking-sidebar .booking-sidebar-title {
    font-size: 1.25rem;
  }
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
  overflow: hidden;
}



/* Language display utilities - only for sidebar */
#booking-sidebar .nyelv {
  display: none;
}

#booking-sidebar .nyelv.angol {
  display: inline;
}

/* Animation keyframes */
@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
} 