body {
  margin: 0;
  padding: 0;
  font-family: 'Cairo', sans-serif;
background: url('/assets/icons/bg-dental.png') no-repeat center center fixed;
  background-size: cover;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.50);
  z-index: -1;
}

.label {
  font-size: 22px;
  font-weight: bold;
  color: #00bcd4;
  text-align: center;
  margin: 20px 0 10px;
}

#available-slots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

#available-slots button {
  padding: 8px 16px;
  background: #00bcd4;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

#available-slots button:hover {
  background: #0197ad;
}

#dayFilter {
  display: block;
  margin: 10px auto;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  text-align: center;
}

#booking-form {
  margin-top: 30px;
  text-align: center;
}

#booking-form input[type="text"],
#booking-form input[type="tel"] {
  width: 80%;
  max-width: 300px;
  padding: 10px;
  margin: 10px auto;
  display: block;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#booking-form button {
  padding: 10px 25px;
  background-color: #00bcd4;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

#booking-form button:hover {
  background-color: #0197ad;
}

#booking-result {
  margin-top: 10px;
  font-size: 16px;
  color: green;
  text-align: center;
}


.container {
  max-width: 500px;
  margin: 30px auto;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}
.cover {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 3px solid #00bcd4;
}
.profile-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  margin: -98px auto 10px;
  display: block;
  border: 3px solid #00bcd4;
}
h1 {
  text-align: center;
  color: #007b8f;
  margin: 10px 0 0;
}
.doctor-name {
  text-align: center;
  color: #007b8f;
  font-size: 20px;
  background: #e0f7fa;
  padding: 8px;
  border-radius: 10px;
  width: fit-content;
  margin: 10px auto;
}
.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}
.icons a img {
  width: 36px;
  height: 36px;
}

@media (max-width: 500px) {
  .profile-logo {
    width: 150px;
    height: 150px;
    margin: -75px auto 10px;
  }
  .container {
    margin: 15px;
  }
  h1 {
    font-size: 20px;
  }
}

.container {
  transition: transform 0.3s ease-in-out;
}
.container:hover {
  transform: scale(1.01);
}

.gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding-bottom: 20px;
}
.gallery img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 2px solid #00bcd4;
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}
/* نافذة العرض */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
#lightbox img {
  max-width: 90%;
  max-height: 80%;
}
#lightbox .close, #lightbox .prev, #lightbox .next {
  position: absolute;
  color: white;
  font-size: 30px;
  background: rgba(0,0,0,0.4);
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
}
#lightbox .close {
  top: 20px;
  right: 20px;
}
#lightbox .prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}
#lightbox .next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 500px) {
  .gallery img {
    width: 80px;
    height: 80px;
  }
}


.label {
  text-align: center;
  font-size: 18px;
  color: #00bcd4;
  font-weight: bold;
  margin: 10px auto;
}
iframe {
  width: 90%;
  margin: 0 auto 20px;
  display: block;
  height: 200px;
  border: none;
  border-radius: 10px;
}

form label {
  font-weight: bold;
  margin-bottom: 5px;
  color: #007b8f;
}

form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 20px;
}
form input, form textarea, form button {
  padding: 10px;
  font-size: 16px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
form button {
  background-color: #00bcd4;
  color: white;
  border: none;
  font-weight: bold;
}
form button:hover {
  background-color: #0097a7;
}