@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Open+Sans:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/* Enhanced Services CSS */
* {
  scrollbar-width: auto;
  scrollbar-color: #b1a684a1 #ffffff00;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #ffffff00;
}

*::-webkit-scrollbar-thumb {
  background-color: #b1a68479;
  border-radius: 10px;
  border: 2px solid #ffffff00;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  background-attachment: fixed;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
}

/* Enhanced Services Section */
.services-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px;
  text-align: center;
}

.services-head {
  margin-bottom: 50px;
  position: relative;
}

.services-head::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #b1a684, #d63030);
  border-radius: 2px;
}

.services-head h1 {
  font-size: 48px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services-head h2 {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  color: #333;
  letter-spacing: 2px;
  margin: 0;
}

/* Enhanced Services Grid */
.services-div {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 40px 0;
  padding: 0;
}

.service {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s;
}

.service:hover::before {
  left: 100%;
}

.service:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: #b1a684;
}

.service img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid #f0f0f0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service:hover img {
  border-color: #b1a684;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(177, 166, 132, 0.3);
}

.service h4 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;
}

.service:hover h4 {
  color: #b1a684;
}

/* Enhanced Modal Design */
.service-info-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 9999999;
  animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.service-info-modal .container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.98);
  border-radius: 25px;
  padding: 40px;
  max-width: 90%;
  max-height: 90%;
  overflow-y: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: modalSlideIn 0.4s ease-out;
  z-index: 10000000;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Enhanced Modal Header */
.services-info-head {
  display: flex;
      align-items: center;
      margin-bottom: 30px;
      padding-bottom: 20px;
      border-bottom: 2px solid #f0f0f0;
      align-content: stretch;
      flex-wrap: nowrap;
      justify-content: space-around;
}

.services-info-head h1 {
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

/* Enhanced Cart Section */
.cart {
  position: relative;
  z-index: 999999;
}

.cart-header {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #dee2e6;
}

.header-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
}

.header-price .text {
  font-size: 24px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #d63030;
  letter-spacing: 1px;
}

.header-price .price {
  font-size: 28px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #b1a684;
}

/* Enhanced Add to Cart Button */
.addtocart {
  display: block;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  cursor: pointer;
  height: auto;
  margin: auto;
  width: auto;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  outline: none;
  z-index: 1;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(177, 166, 132, 0.3);
}

/* Added to Cart Button - Same styling as Add to Cart */
.addedtocart {
  display: block;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  position: relative;
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  cursor: pointer;
  height: auto;
  margin: auto;
  width: auto;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  outline: none;
  z-index: 1;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

.addtocart:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(177, 166, 132, 0.4);
}

.addtocart:active {
  transform: translateY(0) scale(1);
}

.addedtocart:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.addedtocart:active {
  transform: translateY(0) scale(1);
}

.pretext {
  color: #fff;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  gap: 8px;
}

.pretext i {
  font-size: 18px;
}

.pretext-added {
  color: #fff;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  gap: 8px;
}

.pretext-added i {
  font-size: 18px;
}

/* Enhanced Service Info Grid */
.service-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  padding: 20px 0;
  max-height: 500px;
  overflow-y: auto;
}

.service-info .service {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-info .service:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  border-color: #b1a684;
}

.service-info .service img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 8px;
  border: 3px solid #f0f0f0;
  transition: all 0.3s ease;
  margin-bottom: 15px;
}

.service-info .service:hover img {
  border-color: #b1a684;
  transform: scale(1.05);
}

.service-info .service h4 {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.service-info .service .buy {
  display: flow;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}

.service-info .service .buy span {
  color: #d63030;
  font-weight: 700;
  font-size: 17px;
  font-family: 'Poppins', sans-serif;
}

/* Discount Circle Badge */
.discount-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d63030 0%, #ff4757 100%);
  color: white;
  width: 50px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  font-weight: 500;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  box-shadow: 0 4px 12px rgba(214, 48, 48, 0.3);
  position: absolute;
  top: -175px;
  right: -20px;
  z-index: 10;
  border: 3px solid white;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Price container with relative positioning for discount badge */
.price-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.price-info {
  /**display: flex;**/
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.price {
  color: rgba(214, 48, 48, 0.8)!important;
  font-weight: 400;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  text-align: center;
}

.original-price {
  text-decoration: line-through;
  color: rgba(178, 149, 149, 0.5)!important;
  font-size: 16px;
  font-weight: 400;
  margin: 0;
  text-align: center;
}

/* Enhanced Close Modal Button */
.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close-modal:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.close-modal i {
  font-size: 20px;
  color: white;
  font-weight: bold;
}

/* Enhanced Shopping Cart */
.shopping-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.cart-header-btn {
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  border-radius: 50px;
  padding: 12px 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: none; display: none;
  cursor: pointer;
}

.cart-header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cart-header-btn .nav-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.cart-header-btn i {
  font-size: 20px;
}

.header-badge {
  background: #d63030;
  color: white;
  border-radius: 50%;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
}

.shopping-cart {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 15px;
  min-width: 300px;
  display: none;
}

.shopping-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

.shopping-cart-total {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lighter-text {
  color: #666;
  font-weight: 500;
}

.main-color-text {
  color: #b1a684;
  font-weight: 700;
  font-size: 18px;
}

.checkout-btn {
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(177, 166, 132, 0.3);
}

.checkout-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(177, 166, 132, 0.4);
  color: white;
  text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-section {
    padding: 20px 15px;
  }
  
  .services-head h1 {
    font-size: 36px;
  }
  
  .services-head h2 {
    font-size: 18px;
  }
  
  .services-div {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .service {
    padding: 20px 15px;
  }
  
  .service-info-modal .container {
    padding: 25px;
    max-width: 95%;
  }
  
  .services-info-head {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .cart-header {
    flex-direction: column;
    gap: 15px;
  }
  
  .service-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .services-div {
    grid-template-columns: 1fr;
  }
  
  .service img {
    width: 100px;
    height: 100px;
  }
  
  .shopping-cart {
    min-width: 280px;
    right: 10px;
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced Booking Form Styles */
.automaticform {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  max-width: 500px;
  margin: 40px auto;
  position: relative;
  animation: formSlideUp 0.6s ease-out;
}

@keyframes formSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.automaticform #body_header {
  text-align: center;
  margin-bottom: 30px;
}

.automaticform #body_header h1 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.automaticform #body_header p {
  font-size: 18px;
  color: #666;
  font-weight: 400;
  margin: 0;
}



.appointment-fieldset {
  border: none;
  margin-bottom: 20px;
  padding: 0;
}

.appointment-fieldset legend {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

.input-wrapper {
  margin-bottom: 20px;
}

.automaticform input[type="text"],
.automaticform input[type="email"],
.automaticform input[type="number"],
.automaticform input[type="datetime-local"] {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  font-size: 16px;
  background: #fafafa;
  color: #333;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.automaticform input:focus {
  outline: none;
  border-color: #b1a684;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(177, 166, 132, 0.1);
  transform: translateY(-2px);
}

.automaticform input::placeholder {
  color: #999;
  font-weight: 400;
}

.automaticform button[type="submit"] {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(177, 166, 132, 0.3);
  margin-top: 20px;
}

.automaticform button[type="submit"]:hover {
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(177, 166, 132, 0.4);
}

.automaticform button[type="submit"]:active {
  transform: translateY(-1px);
}

/* Form field labels */
.autoformlabel {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

/* Readonly fields styling */
.automaticform input[readonly] {
  background: #f8f9fa;
  color: #666;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .automaticform {
    margin: 20px;
    padding: 30px 20px;
    max-width: none;
  }
  
  .automaticform #body_header h1 {
    font-size: 28px;
  }
  
  .automaticform #body_header p {
    font-size: 16px;
  }
}

/* Ensure booking form is visible and properly positioned */
.automaticform {
  display: block !important;
  position: relative !important;
  z-index: 1000;
}

/* Booking form close button styling */
.booking-form-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #d63030;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 1001;
}

.booking-form-close:hover {
  background: #b1a684;
  transform: scale(1.1);
}

/* Show booking form when display is set to block */
#booking-form[style*="display: block"] {
  display: block !important;
  animation: formSlideUp 0.6s ease-out;
}

/* Add spacing for the booking form section */
.services-section {
  padding-bottom: 60px;
}

/* Style the booking form container */
#booking-form {
  margin-top: 60px;
  margin-bottom: 60px;
}

/* Enhanced Booking Section */
.booking-section {
  background: linear-gradient(135deg, rgba(177, 166, 132, 0.1) 0%, rgba(214, 48, 48, 0.05) 100%);
  padding: 80px 0;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}

.booking-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/svg/background1-svg.svg') no-repeat center;
  background-size: cover;
  opacity: 0.05;
  z-index: 0;
}

.booking-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.booking-header {
  text-align: center;
  margin-bottom: 50px;
}

.booking-header h2 {
  font-size: 42px;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.booking-header p {
  font-size: 20px;
  color: #666;
  font-weight: 400;
  margin: 0;
}

.booking-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Update automaticform for better integration */
.automaticform {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 25px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: formSlideUp 0.6s ease-out;
  margin: 0;
}

/* Responsive booking section */
@media (max-width: 768px) {
  .booking-section {
    padding: 60px 0;
  }
  
  .booking-header h2 {
    font-size: 32px;
  }
  
  .booking-header p {
    font-size: 18px;
  }
  
  .booking-content {
    padding: 0 20px;
  }
}

/* Modal Overlay Styles */
.booking-modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(5px);
  z-index: 99999999 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  animation: fadeIn 0.3s ease-out;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* Show modal when display is set to block */
.booking-modal-overlay[style*="display: block"],
.booking-modal-overlay[style*="display:block"] {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force modal to show when needed */
.booking-modal-overlay.show-modal {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.booking-modal {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.4s ease-out;
  z-index: 100000000;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  color: white;
  padding: 25px 30px;
  border-radius: 20px 20px 0 0;
  text-align: center;
  position: relative;
}

.modal-header h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: 'Poppins', sans-serif;
}

.modal-header p {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

/* Form content styling */
.booking-modal .form-main {
  padding: 30px;
}

.booking-modal .appointment-fieldset {
  border: none;
  margin-bottom: 25px;
  padding: 0;
}

.booking-modal .appointment-fieldset legend {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.booking-modal .input-wrapper {
  margin-bottom: 20px;
}

.booking-modal input[type="text"],
.booking-modal input[type="email"],
.booking-modal input[type="number"],
.booking-modal input[type="datetime-local"] {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  font-size: 16px;
  background: #fff;
  color: #333;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

.booking-modal input:focus {
  outline: none;
  border-color: #b1a684;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(177, 166, 132, 0.1);
  transform: translateY(-2px);
}

.booking-modal input::placeholder {
  color: #999;
  font-weight: 400;
}

.booking-modal input[readonly] {
  background: #f8f9fa !important;
  color: #495057 !important;
  cursor: not-allowed;
  font-weight: 500;
}

.booking-modal .autoformlabel {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.booking-modal button[type="submit"] {
  width: 100%;
  padding: 18px 30px;
  background: linear-gradient(135deg, #b1a684 0%, #d63030 100%);
  color: white;
  border: none;
  border-radius: 15px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(177, 166, 132, 0.3);
  margin-top: 20px;
}

.booking-modal button[type="submit"]:hover {
  background: linear-gradient(135deg, #d63030 0%, #b1a684 100%);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(177, 166, 132, 0.4);
}

.booking-modal button[type="submit"]:active {
  transform: translateY(-1px);
}

.booking-modal button[type="submit"]:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .booking-modal {
    width: 95%;
    margin: 20px;
    max-height: 95vh;
  }
  
  .modal-header {
    padding: 20px 25px;
  }
  
  .modal-header h1 {
    font-size: 24px;
  }
  
  .booking-modal .form-main {
    padding: 25px 20px;
  }
}

/* Remove old automaticform styles that are no longer needed */
.automaticform {
  display: none !important;
}

