@charset "UTF-8";
body {
  font-family: Arial, sans-serif;
  background: #000000;
  margin: 0;
  padding: 0;
  text-align: center;   
}
.calendar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.flatpickr-calendar {
  display: block !important;
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 999 !important;
}
/* Header */
.header {
  background: #000000;
  color: white;
  padding: 5px 0;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}
.logo {
    width: 220px;
    margin: 0 auto;
}
.nav {
  display: flex;
  justify-content: center;
  background: #444;
  padding: 10px;
}

.nav a {
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  margin: 0 10px;
  font-size: 16px;
}

.nav a:hover {
  background: #00b1bb;
  border-radius: 5px;
}

.container {
  max-width: 80%;
  margin: 20px auto;
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

h2 {
  margin-bottom: 10px;
  color: #333;
}

label {
  font-size: 18px;
  font-weight: bold;
}

#date {
  font-size: 16px;
  padding: 8px;
  width: 100%;
  max-width: 250px;
  margin-top: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: none;
}

.branch-list {
  margin-top: 20px;
  text-align: left;
}

.branch {
  background: #ffffff;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.branch-header {
  display: flex;
  align-items: center;
}

.branch img {
  width: 142px;
  height: 80px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 8px;
  margin-right: 15px;
  cursor: pointer;
  transition: transform 0.2s;
}

.branch img:hover {
  transform: scale(1.1);
}

.branch-info {
  flex-grow: 1;
}

.branch h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.branch p {
  margin: 5px 0;
  color: #666;
  font-size: 14px;
}

.time-slots {
  margin-top: 10px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 10px;
}

.time-slots::-webkit-scrollbar {
  height: 5px;
}

.time-slots::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

.time-slot-btn {
  display: inline-block;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  padding: 10px;
  margin: 5px;
  font-size: 14px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
  text-align: center;
  word-wrap: break-word;
  white-space: normal;
  width: 80px;
  height: 50px;
}

.time-slot-btn:hover {
  background: #000;
  color: #fff;
}

/* Swiper (Banner) */
.swiper {
  width: 100%;
  height: 450px;
  position: relative;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ddd;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

/* Swiper Navigation Buttons */
.swiper-button-prev, .swiper-button-next {
  color: white;
  background: rgba(0, 0, 0, 0.5);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  padding: 20px;
}

.swiper-button-prev:hover, .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Popup */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 90%;
  max-height: 90%;
  text-align: center;
  overflow: hidden;
}

.popup-content img {
  max-width: 70%;
  max-height: 70%;
  border-radius: 8px;
}

.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
}

.popup-close:hover {
  background: darkred;
}
/* Footer */
.footer {
  background: #000000;
  color: white;
  padding: 20px;
}

.footer a {
  color: #fff;
  text-decoration: none;
  margin: 0 10px;
}

.footer a:hover {
  text-decoration: underline;
}