/* ระบบ 2  <้นตอน */

.category-screen {
    display: none;
    animation: slideIn 0.3s ease;
}

.main-title {
    text-align: center;
    margin-bottom: 20px;
}

.category-card {
    text-align: center;
}

.category-card h2 {
    margin-bottom: 30px;
}

.category-screen.active {
    display: block;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border-radius: 12px;
    border: 1px solid #ccc; /* เลือก border เลือกให้เห็นผลลัพธ์ */
    transition: opacity 0.3s ease;
}
.service-card .service-info {
    flex: 1; /* กำหนดให้คอลัมน์ข้อมูลขยายเต็ม */
}

.service-card .service-select {
    flex-shrink: 0; /* กำหนดให้คอลัมน์ปุ่ม "Select" ไม่หด */
}
.service-select-btn {
    background-color: #4b734a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.service-select-btn:hover {
    background-color: #209a0a; /* เปลี่ยนเมื่อ hover */
}

.service-select-btn:active {
    background-color: #003366; /* เปลี่ยนเมื่อกด */
}
.service-info {
    flex: 1;
}

.avisha-text {
    display: flex;
    flex-direction: column;
}

.avisha-text p {
    margin-top: 5px;
}

.avisha-content {
    display: flex;
    align-items: flex-start;
}

.avisha-image {
    margin-right: 10px;
}

.avisha-text {
    margin-top: 70px;
    display: flex;
    flex-direction: column;
}

.avisha-text p {
    margin-top: 5px;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-card h3 {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card p {
    color: #666;
    margin-bottom: 15px;
}

.service-card .type-description {
    color: #777;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 10px;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

.service-screen h2 {
    text-align: center;
}

.select-btn.service-select {
    background: #20af0e;
    color: white;
    padding: 10px 25px;
    border-radius: 25px;
    border: none;
    cursor: pointer;
    align-self: center;
    flex-shrink: 0;
}

.select-btn.service-select:hover {
    background: #00ff3c;
}

/* Responsive Grid Layout */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    width: 90%; /* ขยายความกว้างเป็น 90% ของหน้าจอ */
    margin: 0 auto; /* ให้อยู่ตรงกลาง */
}

.service-screen {
    display: none;
}

.service-screen.active {
    display: block;
}

.select-btn {
    padding: 8px 16px;
    background-color: #4b734a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.load-more-times {
    /* รูปแบบ CSS ของปุ่ม */
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    cursor: pointer;
}

.load-more-times:hover {
    background-color: #e0e0e0;
}
.select-btn:hover {
    background-color: #209a0a;
}

/* การ์ดประเภท */
.category-item {
    background: white;
    border: 1px solid #eee;
    padding: 25px;
    margin: 15px 0;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.2s;
}

.category-item:hover {
    transform: translateX(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

#appointment-details {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 1px solid #ccc;
    padding: 20px;
    width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.appointment-card {
    border: 2px solid #C1E1C1;
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.appointment-card.hidden {
    display: none;
}

.appointment-card .service-info {
    margin-bottom: 15px;
}

.appointment-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.appointment-card p {
    color: #666;
    margin-bottom: 5px;
}

.appointment-card .therapist-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.appointment-card .therapist-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: auto;
    padding: 10px 20px;
    border: 1px solid #ccc;
    background-color: white;
    text-align: left;
    border-radius: 5px;
}

.therapist-card {
    border: 1px solid #ccc;
    background-color: white;
    padding: 15px;
    margin: 15px 0;
    border-radius: 5px;
}

.therapist-content {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.therapist-image {
    margin-top: 10px;
    flex-shrink: 0;
}

.therapist-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 25%;
}

.therapist-text {
    flex-grow: 1;
}

.therapist-text h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.therapist-description {
    color: #666;
    margin-bottom: 15px;
}

.select-btn {
    padding: 8px 16px;
    background-color: #4b734a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.select-btn:hover {
    background-color: #209a0a;
}

.appointment-with-avisha {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.appointment-with-avisha .avisha-info {
    flex-shrink: 0;
}

.appointment-card .therapist-card button {
    display: block;
    width: auto;
    margin-top: 10px;
    padding: 8px 16px;
    background-color: rgb(92, 106, 92);    ;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.appointment-card .therapist-card button:hover {
    background-color: #209a0a;
}

.appointment-card .close-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    align-self: flex-start;
}

/* ข้อมูล Therapist */
#avisha-info {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#avisha-info {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.appointment-card .close-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    align-self: flex-start;
}


.close-btn {
    cursor: pointer;
    font-size: 1.2em;
}

/* Therapist Info Styles */
#therapist-info {
    margin-top: 20px;
}

/* ปุ่ See Availabillity */
.back-btn {
    color: #6c757d;
    cursor: pointer;
    margin-bottom: 25px;
    font-weight: bold;
}

.back-btn:hover {
    color: #495057;
}

.time-selection {
    margin-top: 20px;
}

.time-slots {
    display: flex;
}

.tomorrow, .next-week {
    margin-right: 20px;
}

.time-slots button {
    display: block;
    margin-bottom: 5px;
}
.next-card {
    border: 1px solid #ccc;
    padding: 20px;
    margin-top: 10px;
    border-radius: 8px;
    background-color: #f9f9f9;
    display: block;
    flex-direction: column;
}

.next-card .appointment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.next-card .appointment-header h3 {
    font-size: 1.1rem;
    margin: 0;
}

.next-card .appointment-header .close-btn {
    font-size: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
}

.next-card p {
    margin-bottom: 10px;
}

.next-card .time-selection {
    width: 100%;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.next-card .time-selection p {
    text-align: center;
    margin-bottom: 10px;
}

.next-card .time-slots {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.next-card .time-slots div {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.next-card .time-slots h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.next-card .time-slots button {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    background-color: #08a424; /* เปลี่ยนปุ่ม */
    color: white; /* เปลี่ยนปุ่มเป็น */
    cursor: pointer;
}

.next-card .time-slots button:hover {
    background-color: #C1E1C1;
}

/* แต่งวางข้อความ */
.next-card .appointment-header h3,
.next-card p {
    text-align: left;
}
.time-menu-container {
    position: relative;
  }

  #menuContainer {
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
    width: 200px;
  }
  
  #menuContainer li {
    list-style: none;
    padding: 8px 16px;
    cursor: pointer;
  }
  
  #menuContainer li:hover {
    background: #f0f0f0;
  }

  #menuContainer button {
    width: 100%;
    padding: 8px;
    border: none;
    background: #f8f9fa;
    border-radius: 4px;
    cursor: pointer;
    margin: 4px 0;
  }

  .continue-form .custom-select {
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

.continue-form .custom-select .selected-option {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.continue-form .custom-select .selected-option .flag-icon {
    width: 24px; /* ขนาดความกว้างของธง */
    height: auto; /* ให้ความสัดส่วน */
    margin-right: 8px;
}

.continue-form .custom-select .options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    background-color: #fff;
    z-index: 10;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* ซ่อน dropdown ตอนเริ่มต้น */
    max-height: 150px; /* กำหนดความสูงสุดของ dropdown */
    overflow-y: auto; /* แสดง scrollbar ถ้ามีมาก */
}

.continue-form .custom-select .options.open {
    display: block; /* แสดง dropdown เมื่อ */
}

.continue-form .custom-select .options li {
    padding: 8px 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.continue-form .custom-select .options li .flag-icon {
    width: 20px; /* ขนาดความกว้างของธงใน dropdown */
    height: auto;
    margin-right: 8px;
}

.continue-form .custom-select .options li:hover {
    background-color: #f0f0f0;
}

.time-selection table {
    width: 100%;
    border-collapse: collapse;
}

.time-selection th, .time-selection td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

.time-selection .time-btn {
    margin: 4px;
}
#menuContainer button:hover {
    background-color: #f0f0f0;
}
.time-slots .time-btn {
    margin: 4px; /* กำหนดระยะห่างรอบนอกของปุ่ม */
    padding: 10px; /* กำหนดระยะห่างภายในของปุ่ม */
}

.time-selection th, .time-selection td {
    padding: 8px; /* กำหนดระยะห่างภายในของตารางและเซลล์ */
}

.time-slots td {
    gap: 5px; /* กำหนดช่องว่างระหว่างปุ่มในเซลล์ */
}
.service-screen {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.service-screen.active {
    display: block;
    opacity: 1;
}

.category-screen.active {
    display: block;
}
.payment-form {
  max-width: 420px;
  margin: 40px auto;
  padding: 36px 32px 32px 32px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(60,60,60,0.13);
  border: 1.5px solid #f2f2f2;
}

.payment-form h2 {
  text-align: center;
  color: #222;
  margin-bottom: 32px;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 22px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.form-group input {
  width: 100%;
  padding: 8px 0px;
  border: 1.5px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1.08rem;
  background: #f7f8fa;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.form-group input:focus {
  border-color: #5c6a5c;
  outline: none;
  box-shadow: 0 0 0 2px #c1e1c1;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.pay-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(90deg, #5c6a5c 60%, #43e97b 100%);
  color: #fff;
  border-radius: 8px;
  border: 0;
  font-size: 1.15rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 18px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(92,106,92,0.08);
  letter-spacing: 0.5px;
}

.pay-button:hover {
  background: linear-gradient(90deg, #209a0a 60%, #43e97b 100%);
  box-shadow: 0 4px 16px rgba(32,154,10,0.13);
}

#back-to-category {
    background-color: #4b734a;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#back-to-category:hover {
    background-color: #209a0a; /* เปลี่ยนเมื่อ hover */
}

.select-therapist-btn {
    background-color: #8b4513; /* น้ำตาล */
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.select-therapist-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #C1E1C1;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
/* #209a0a */

.select-therapist-btn-hover {
    display: inline-block;
    padding: 10px 20px;
    background-color:#209a0a;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
} 

.select-and-add-time #additionalTimeTableContainer table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9em;
}

.select-and-add-time #additionalTimeTableContainer th,
.select-and-add-time #additionalTimeTableContainer td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    vertical-align: top; /* ให้เนื้อหาใน td อยู่ด้านบน */
}

.select-and-add-time #additionalTimeTableContainer th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.select-and-add-time #additionalTimeTableContainer tbody td {
    
    flex-direction: column;
    align-items: stretch; /* ให้ div.time-slot ขยายเต็มความกว้าง */
    padding: 8px;
}

.select-and-add-time #additionalTimeTableContainer tbody td .time-slot {
    border: 1px solid #eee;
    padding: 8px;
    text-align: center;
    margin-bottom: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    background-color: #28a745;
    transition: background-color 0.3s ease;
}

.select-and-add-time #additionalTimeTableContainer tbody td .time-slot:last-child {
    margin-bottom: 0;
}

.select-and-add-time #additionalTimeTableContainer tbody td .time-slot:hover {
    background-color: #e0f7fa;
}

.select-and-add-time #additionalTimeTableContainer tbody td .time-slot.selected {
    background-color: #80cbc4;
    color: white;
}

.select-and-add-time .add-time-btn {
    background-color: #209a0a;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 15px;
    transition: background-color 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.select-and-add-time .add-time-btn:hover {
    background-color: #388e3c;
}

#selectedTimesList {
    margin-top: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
}

#selectedTimesList h4 {
    margin-top: 0;
    color: #333;
}

#selectedTimesList ul {
    padding-left: 20px;
    list-style-type: disc;
    color: #555;
}
.booking-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }
  .booking-alert.hidden {
    display: none;
  }
  .booking-alert-box {
    background: white;
    padding: 24px 32px;
    border-radius: 12px;
    text-align: center;
    max-width: 320px;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
  }
  .booking-alert-box h3 {
    margin-bottom: 12px;
    color: #e63946;
  }
  .booking-alert-box button {
    background-color: #457b9d;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }
.hidden-card {
    display: none;
}
#targetContainer {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin: 48px auto 0 auto;
    padding: 0 16px;
    max-width: 1100px;
    animation: slideIn 0.7s cubic-bezier(.4,2,.6,1) 1;
}
  
/* Payment Form Container Styles */
#payment-form-container {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 445px;
    padding: 38px 34px 34px 34px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 32px rgba(60, 60, 60, 0.13), 0 1.5px 0 #43e97b inset;
    border: 1.5px solid #e0f7fa;
    transition: box-shadow 0.2s;
    margin: 0;
    flex-direction: column;
    align-items: center;
}

#payment-form-container:hover {
    box-shadow: 0 16px 48px rgba(32,154,10,0.13);
}

#payment-form-container h2 {
    font-size: 2.1rem;
    color: #209a0a;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-align: center;
}
  
#order-summary-container {
    display: block !important;
    background: #fff;
    border: 2px solid red;
    min-width: 300px;
    min-height: 200px;
    z-index: 9999;
}
  
#order-summary-container h2 {
    font-size: 1.35rem;
    color: #209a0a;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: 0.5px;
}
  
#order-summary-container div {
    font-size: 1.08rem;
    color: #444;
    margin-bottom: 8px;
    padding: 6px 0;
    border-bottom: 1px dashed #e0e0e0;
}
  
#order-summary-container div:last-child {
    border-bottom: none;
}

/* Center the two boxes and add a nice gap */
#targetContainer {
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin: 48px auto 0 auto;
    padding: 0 16px;
    max-width: 1100px;
    animation: slideIn 0.7s cubic-bezier(.4,2,.6,1) 1;
}

/* Responsive for mobile */
@media (max-width: 900px) {
    #targetContainer {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
        margin-top: 18px;
    }
    #payment-form-container, #order-summary-container {
        max-width: 98vw;
        min-width: 0;
        margin: 0 auto;
    }
}

/* อนิเม */
@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
    .service-list {
        width: 100%;
        padding: 0px;
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }
    .flatpickr-input {
        padding: 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid #d1d5db;
        width: 88%;
        font-size: 1rem;
    }
    .service-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 15px;
        width: 100%;
        max-width: 400px;
    }
    
    .select-btn.service-select {
        width: auto;
        align-self: flex-end;
        margin-top: 10px;
        padding: 10px 20px;
    }
    
    .category-item {
        display: flex;
    }
    
    .back-btn {
        text-align: left;
        padding: 10px 15px;
        font-size: 1rem;
    }
    .payment-form {
        max-width: 90%; /* ลดขนาดฟอร์มให้เหมาะสมหน้าจอ */
        padding: 50px; /* ลด padding */
    }

    .payment-form h2 {
        font-size: 1.5rem; /* ลดขนาดอักษร */
    }

    .payment-form input,
    .payment-form textarea {
        font-size: 14px; /* ลดขนาดอักษรใน input และ textarea */
    }

    .payment-form button {
        font-size: 16px; /* ลดขนาดปุ่ */
        padding: 10px; /* ลด padding ของปุ่ */
    }
    .hidden-card {
        display: none;
      }
  }
  .any-available-card, .any-available, .any-available-label, .any-available-select {
    display: none !important;
  }

.any-available-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.any-available-text {
    font-weight: bold;
}
.any-available {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.any-available-label {
    font-weight: bold;
    color: #333;
    margin-right: 10px;
}

.any-available-select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

.any-available .select-button {
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.any-available .select-button:hover {
    background-color: #218838;
}
.booking-schedule {
  background: #f8f9fa;
  padding: 15px;
  margin-top: 10px;
  border: 1px solid #ccc;
}

.booking-schedule table {
  width: 100%;
  border-collapse: collapse;
}

.booking-schedule th,
.booking-schedule td {
  padding: 8px;
  border: 1px solid #ddd;
  text-align: center;
}

.book-slot-btn {
  padding: 6px 12px;
  background: #007bff;
  color: white;
  border: none;
  cursor: pointer;
}

.book-slot-btn:hover {
  background: #0056b3;
}
/* แต่งจอขนาด 480px */


/* แต่งจอขนาด 375px */
@media (max-width: 375px) {
    .select-menu-btn {
        width: 60%;
        margin: 8px auto;
        font-size: 12px;
        padding: 14px 0;
        border-radius: 8px;
    }
    .category-item {
        background: white;
        border: 1px solid #eee;
        padding: 10px;
        margin: 10px 0;
        border-radius: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transition: transform 0.2s;
    }

    /* การ์ด */
    .service-card {
        width: 100%;
        padding: 15px;
        margin-bottom: 10px;
        border-radius: 8px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    }

    .service-card h3 {
        font-size: 12px; /* ลดขนาดฟอนต์ */
    }

    .service-card p {
        font-size: 0.8rem; /* ลดขนาดฟอนต์ */
    }

    /* ปุ่ */
    .select-btn.service-select {
        font-size: 0.85rem;
        padding: 7px 15px;
        width: auto;
        align-self: flex-end;
    }

    /* ฟอร์มการชำระ */
    .payment-form {
        max-width: 85%; /* ลดขนาดฟอร์มให้เหมาะสมหน้าจอ */
        padding: 20px; /* ลด padding */
    }

    .payment-form h2 {
        font-size: 1.2rem; /* ลดขนาดอักษร */
    }

    .payment-form input,
    .payment-form textarea {
        font-size: 12px; /* ลดขนาดอักษรใน input และ textarea */
    }

    .payment-form button {
        font-size: 14px; /* ลดขนาดปุ่ */
        padding: 8px; /* ลด padding ของปุ่ */
    }

    /* การ์ดหมาย */
    .appointment-card {
        padding: 10px;
        border-radius: 8px;
        margin-top: 10px;
    }

    .appointment-card h3 {
        font-size: 1rem;
    }

    .appointment-card p {
        font-size: 0.85rem;
    }

    .appointment-card .therapist-card {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 90%;
        padding: 15px;
        border: 1px solid #ccc;
        border-radius: 5px;
    }

    .appointment-card .therapist-card button {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    /* ปุ่ศร */
    .arrow-container .arrow-btn {
        font-size: 14px;
        padding: 5px 8px;
    }

    /* ปุ่เวลา */
    .time-slots .time-btn {
        font-size: 0.85rem;
        padding: 8px;
    }
    .hidden-card {
        display: none;
      }
      .date-selection {
        display: flex ;
        flex-direction: column;
        gap: 10px;
        margin: 0px 27px 0px 18px;
        background: #f8f9fa;
        padding: 0px 5px 10px 5px;
        border-radius: 14px;
        box-shadow: 0 2px 8px rgba(60, 60, 60, 0.06);
        max-width: 290px;
        width: 100%;
    }
   
}

/* สไตล์ปุ่ศร */
.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.arrow-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 4px 8px;
    color: #666;
}

.arrow-btn:hover {
    color: #333;
    background-color: #f0f0f0;
    border-radius: 4px;
}

.arrow-btn:active {
    transform: translateY(0);
}

/* ปุ่ศรเมื่อไม่สามารถทำได้ */
.arrow-btn:disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

/* สไตล์ปุ่ใน .time-slots */
.time-slots .time-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    background-color: #08a424;
    color: white;
    cursor: pointer;
}

.time-slots .time-btn:hover {
    background-color: #C1E1C1;
}

/* ตารางหมาย */
.appointment-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.appointment-table th, 
.appointment-table td {
    padding: 15px 20px;
    text-align: center;
    border: none;
    border-bottom: 1px solid #eef0f5;
    font-size: 14px;
    transition: all 0.3s ease;
}

.appointment-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e9ecef;
}

.appointment-table tr:last-child td {
    border-bottom: none;
}

.appointment-table tr:hover td {
    background-color: #f8f9fa;
}

.appointment-table td {
    color: #495057;
    vertical-align: middle;
}

/* สไตล์ปุ่เวลาในตาราง */
.appointment-table .time-btn {
    display: inline-block;
    padding: 8px 16px;
    margin: 4px;
    background-color: #5c6a5c;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.appointment-table .time-btn:hover {
    background-color: #209a0a;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

.appointment-table .time-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* สไตล์ปุ่ไม่ว่าง (ถ้า) */
.appointment-table .time-btn.unavailable {
    background-color: #e9ecef;
    color: #adb5bd;
    cursor: not-allowed;
    box-shadow: none;
}

.appointment-table .time-btn.unavailable:hover {
    transform: none;
    background-color: #e9ecef;
}

/* สไตล์ปุ่ */
.appointment-table .time-btn.selected {
    background-color: #209a0a;
    color: white;
    border: 2px solid #1a7f08;
}

/* Responsive design */
@media (max-width: 768px) {
    .appointment-table {
        margin: 15px 0;
        border-radius: 8px;
    }

    .appointment-table th, 
    .appointment-table td {
        padding: 12px 15px;
        font-size: 13px;
    }

    .appointment-table .time-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}



/* Select and Continue Card */
.select-and-continue {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 60px;
    max-width: 100%;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.select-and-continue h3 {
  margin-bottom: 15px;
  font-size: 1.5em;
  color: #333;
}

.select-and-continue p {
  margin-bottom: 20px;
  color: #555;
}

.select-and-continue label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #333;
}

.select-and-continue input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1em;
}

.select-and-continue .continue-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.select-and-continue .continue-btn:hover {
  background-color: #0056b3;
}

/* Country Select Dropdown */
.country-select {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  appearance: none; /* ซ่อนศร dropdown เลือกต้น */
}

.country-select option {
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 20px 15px;
  padding-left: 30px; /* เลือกระยะห่างของธง */
}

.country-select option[value="+1"] {
  background-image: url('assets/images/flags/us.png'); /* ธงของ United States */
}

.country-select option[value="+44"] {
  background-image: url('assets/images/flags/gb.png'); /* ธงของ United Kingdom */
}

.country-select option[value="+61"] {
  background-image: url('assets/images/flags/au.png'); /* ธงของ Australia */
}

.country-select option[value="+64"] {
  background-image: url('assets/images/flags/nz.png'); /* ธงของ New Zealand */
}

.country-select option[value="+66"] {
  background-image: url('assets/images/flags/th.png'); /* ธงของ Thailand */
}

/* Custom Select */
.custom-select {
  position: relative;
  width: 100%;
}

.selected-option {
  display: flex;
  align-items: center;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
}

.selected-option img.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 10px;
}

.options {
  display: none; /* ซ่อนเริ่มต้น */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  background: white;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
}

.options li {
  display: flex;
  align-items: center;
  padding: 10px;
  cursor: pointer;
}

.options li img.flag-icon {
  width: 20px;
  height: 15px;
  margin-right: 10px;
}

.options li:hover {
  background: #f0f0f0;
}
/* Target the main container */
.select-and-add-time.redesigned-time-slots {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    width: 95%; /* Adjust for a slightly wider look */
    max-width: 1200px; /* Increased maximum width */
    margin: 20px auto; /* Centers the container horizontally */
}

.appointment-dates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px; /* Slightly more space below the header */
    padding: 0 10px; /* Add some padding to the header sides */
}

.date-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.date-nav-container button {
    background: #5c6a5c;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    font-weight: 500;
    transition: all 0.2s ease;
}

.date-nav-container button:hover {
    background: #209a0a;
    color: white;
}

#weekRange {
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

/* ปรับ days-container ให้เต็มจอและ responsive */
.days-container {
  display: flex;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  justify-content: space-between;
  margin: 0 auto;
}
.day-column {
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 10px 18px 10px;
  border: 1px solid #eee;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  background: #fff;
  margin: 0 4px;
  margin-bottom: 0;
  transition: box-shadow 0.2s;
}
.day-column .day-header {
  font-size: 1.08em;
  font-weight: 600;
  color: #3a3a3a;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}
.time-slot-btn {
  display: block;
  width: 100%;
  padding: 14px 0;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  background-color: #4b734a;
  color: #fff;
  font-size: 1.08em;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(60,60,60,0.08);
  transition: background 0.2s, box-shadow 0.2s;
}
.time-slot-btn.selected {
  background: #209a0a;
  color: #fff;
  border: 2px solid #1a7f08;
}
.time-slot-btn.disabled {
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
  border: none;
}
@media (max-width: 900px) {
  .days-container {
    flex-direction: column;
    gap: 16px;
  }
  .day-column {
    width: 98%;
    margin: 0 0 18px 0;
    padding: 14px 6px 14px 6px;
    border-radius: 12px;
  }
  .day-column .day-header {
    font-size: 1em;
    margin-bottom: 12px;
  }
  .time-slot-btn {
    font-size: 1em;
    padding: 12px 0;
    margin-bottom: 10px;
    border-radius: 7px;
  }
}
@media (max-width: 600px) {
  .day-column {
    padding: 10px 2px 10px 2px;
    border-radius: 10px;
  }
  .day-column .day-header {
    font-size: 0.98em;
    margin-bottom: 8px;
  }
  .time-slot-btn {
    font-size: 0.98em;
    padding: 10px 0;
    margin-bottom: 8px;
    border-radius: 6px;
  }
}

.time-slot {
    display: block;
    width: 100%;
    padding: 12px 18px; /* Increased padding for buttons */
    margin-bottom: 10px; /* Increased margin below buttons */
    border: none;
    border-radius: 8px; /* More rounded buttons */
    background-color: #007bff;
    color: white;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle button shadow */
}

.time-slot:hover {
    background-color: #0056b3;
    transform: translateY(-1px); /* Slight lift on hover */
}

.time-slot.selected {
    background-color: #28a745;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3); /* Highlight selected */
}

.add-time-btn {
    display: block;
    width: 100%;
    padding: 15px 20px; /* Increased button padding */
    margin-top: 25px;
    border: none;
    border-radius: 8px; /* More rounded button */
    background-color: #28a745;
    color: white;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3); /* Subtle button shadow */
}

.add-time-btn:hover {
    background-color: #1e7e34;
    transform: translateY(-1px); /* Slight lift on hover */
}


/* Style Modal Backdrop */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* ดำโปร่งใส */
    z-index: 9999; /* เลื่อน z-index ให้<lemma应用查看 */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Style Container ของ Modal */
.select-and-recurring {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 450px;
    position: fixed; /* เปลี่ยนเป็น fixed */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000; /* ต้องมากกว่า backdrop */
}

.modal-header {
    position: relative;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    right: -15px;
    top: -15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-content h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-content h4 {
    color: #666;
    font-size: 18px;
    margin-bottom: 15px;
}

.appointment-datetime {
    font-size: 16px;
    color: #007bff;
    margin-bottom: 25px;
}

.recurrence-options {
    margin: 20px 0;
}

.repeat-section,
.times-section {
    margin-bottom: 20px;
}

.repeat-section h5,
.times-section h5 {
    font-size: 16px;
    color: #444;
    margin-bottom: 10px;
}

#repeatFrequency,
#repeatTimes {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.repeat-summary {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.modal-footer {
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.confirm-recurring-btn,
.cancel-recurring-btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.confirm-recurring-btn {
    background-color: #007bff;
    color: white;
}

.cancel-recurring-btn {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #444;
}
span.close-modal {
    color: red;
}
span.see-modal{
    color: rgb(27, 175, 1);
}

/* Style ข้อ Modal */
.select-and-recurring h3 {
    color: #007bff; /* น้ำ */
    margin-bottom: 20px;
    text-align: left;
    font-size: 1.8em;
}

/* Style ข้อความ  */
.select-and-recurring p {
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 1em;
}

/* Style Form Group (Label + Input/Select) */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
    font-size: 1.1em;
}

/* Style Select Dropdown */
.form-group .select-wrapper {
    position: relative;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    cursor: pointer;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group .select-wrapper span {
    flex-grow: 1;
}

.form-group .select-wrapper i {
    color: #777;
}

.form-group select {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

/* Style Checkbox Group (Repeat On) */
.form-group .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.form-group .checkbox-group label {
    display: inline-flex;
    align-items: center;
    font-weight: normal;
    margin: 0;
}

.form-group .checkbox-group input[type="checkbox"] {
    margin-right: 5px;
}

/* Style Input Number และ Date */
.form-group input[type="number"],
.form-group input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

/* Styleส่วนท้าย Modal (ปุ่) */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-footer button {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
}

.modal-footer .btn-primary {
    background-color: #007bff;
    color: white;
}

.modal-footer .btn-secondary {
    background-color: #6c757d;
    color: white;
}

.modal-footer .btn-primary:hover {
    background-color: #0056b3;
}

.modal-footer .btn-secondary:hover {
    background-color: #545b62;
}
#availability-data p {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}
#availability-data p:last-child {
    border-bottom: none;
}
.unavailable {
    background-color: #ffe0b2; /* Light orange */
    color: #d84315; /* Dark orange */
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.9em;
}
.add-appointments-button {
    color: rgb(13, 13, 13);
    padding: 0px 0px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
.therapist-image img {
    width: 100px;  /* กำหนดความกว้าง */
    height: auto; /* กำหนดความสูง */
    object-fit: cover; /* ปรับสัดส่วนภาพ */
    border-radius: 10%; /* ทำให้เป็นวงกลม */
}
.appointment-table {
  width: 100%;
  margin-top: 20px;
}

.time-slot-btn {
    margin: 8px 0;
    min-width: 140px;
    max-width: 100%;
    font-weight: bold;
    font-size: 14px;
    border-radius: 6px;
    border: none;
    padding: 8px 0;
    background: #4b734a;
    color: #fff;
    transition: background 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .time-slot-btn {
        font-size: 12px;
        min-width: 90px;
        padding: 6px 0;
        border-radius: 5px;
    }
}
.time-slot-btn.selected,
.time-slot-btn:active {
 
  transform: scale(1.04);
}
.time-slot-btn.disabled {
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  box-shadow: none;
}
@media (max-width: 600px) {
  .time-slot-btn {
    font-size: 1rem;
    padding: 10px 0;
  }
}

.therapist-name {
    font-size: 0.8em;
    color: #666;
    margin-top: 4px;
    text-align: left;
}

.loading, .error, .no-times {
  text-align: center;
  padding: 20px;
  color: #666;
}

.error {
  color: #dc3545;
}

.confirm-appointment-btn {
  margin-top: 20px;
  padding: 10px 20px;
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
/* ข้อความ */
.appointment-table h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

/* ส่วนของ time selection */
.time-selection {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ข้อความ timezone */
.time-selection p {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

/* ส่วนของ time slots */
.time-slots {
    overflow-x: auto;
}

.time-slots table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 15px;
}

/* ส่วนของตาราง */
.time-slots thead th {
    padding: 15px;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    text-align: center;
}

/* ปุ่ศร และ container */
.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.arrow-btn {
    background: none;
    border: none;
    color: #209a0a;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.arrow-btn:hover {
    background-color: #e9ecef;
    color: #1a7f08;
}

.arrow-btn:active {
    transform: translateY(0);
}

/* ปุ่ศรเมื่อไม่สามารถทำได้ */
.arrow-btn:disabled {
    background-color: #f5f5f5;
    color: #ccc;
    cursor: not-allowed;
}

/* สไตล์ปุ่ใน .time-slots */
.time-slots .time-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    background-color: #08a424;
    color: white;
    cursor: pointer;
}

.time-slots .time-btn:hover {
    background-color: #C1E1C1;
}

/* ตารางหมาย */
.appointment-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    min-width: 800px;
}

.appointment-table th,
.appointment-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    vertical-align: top;
}

.appointment-table th {
    background-color: #f8f9fa;
    font-weight: normal;
}

.time-slot {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #4b734a;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: #fff;
    margin-bottom: 5px;
}

.time-slot:hover {
    background: #209a0a;
    color: #fff;
}

.time-slot.selected {
    background: #e3f2fd;
    border-color: #2196f3;
    color: #1976d2;
}

/* ปุ่มเมนู select ทั้งสาม */
.time-slot-menu {
    min-width: 220px;
    padding: 12px 0;
    border-radius: 8px;
    z-index: 1000;
}

.select-menu-btn {
    background-color: #4b734a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 8px;
    font-size: 14px;
    transition: background-color 0.3s;
}

.select-menu-btn:hover {
    background-color: #209a0a;
}

/* Removed styles for add and recurring buttons */
/* .select-menu-btn.select-add-btn {
    background: #5c6a5c;
}
.select-menu-btn.select-add-btn:hover {
    background: #209a0a;
}

.select-menu-btn.select-recurring-btn {
    background: #5c6a5c;
}
.select-menu-btn.select-recurring-btn:hover {
    background: #209a0a;
} */

@media (max-width: 900px) {
    .appointment-table {
        min-width: 600px;
    }
}
@media (max-width: 600px) {
    .appointment-table {
        min-width: 100%;
    }
    .table-navigation {
        flex-direction: column;
        gap: 10px;
    }
}

/* Customer Info Form Styling */
.customer-info-form {
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 20px 18px 10px 18px;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.customer-info-form input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}
.customer-info-form input:focus {
    border-color: #209a0a;
    outline: none;
    box-shadow: 0 0 0 2px #c1e1c1;
}

.customer-info-form input[type="text"],
.customer-info-form input[type="email"],
.customer-info-form input[type="tel"] {
    font-family: inherit;
}

@media (max-width: 600px) {
    .customer-info-form {
        padding: 14px 6px 6px 6px;
        max-width: 98vw;
    }
    .customer-info-form input {
        font-size: 15px;
        padding: 10px 8px;
    }
}

/* Menu Buttons (Book, Cancel, Back) Styling */
.menu-button {
    display: block;
    width: 100%;
    max-width: 220px;
    margin: 10px auto 0 auto;
    padding: 10px 0;
    border: none;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    letter-spacing: 0.3px;
}
#bookButton.menu-button {
    background: linear-gradient(90deg, #28a745 60%, #43e97b 100%);
    color: #fff;
}
#bookButton.menu-button:hover {
    background: linear-gradient(90deg, #209a0a 60%, #43e97b 100%);
    box-shadow: 0 4px 16px rgba(40,167,69,0.15);
}
#cancelButton.menu-button {
    background: linear-gradient(90deg, #dc3545 60%, #ff758c 100%);
    color: #fff;
}
#cancelButton.menu-button:hover {
    background: linear-gradient(90deg, #c82333 60%, #ff758c 100%);
    box-shadow: 0 4px 16px rgba(220,53,69,0.13);
}
#backButton.menu-button {
    background: linear-gradient(90deg, #6c757d 60%, #b0bec5 100%);
    color: #fff;
}
#backButton.menu-button:hover {
    background: linear-gradient(90deg, #495057 60%, #b0bec5 100%);
    box-shadow: 0 4px 16px rgba(108,117,125,0.13);
}
@media (max-width: 600px) {
    .menu-button {
        font-size: 14px;
        padding: 9px 0;
        max-width: 90vw;
    }
}

/* #payment-form-container { display: none !important; } */

/* Payment Form Styles */
/* #payment-form-container {
    display: none;
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
} */

#order-summary-container {
    display: none;
}
#targetContainer {
    display: flex;
    gap: 48px;
    justify-content: center;
    align-items: flex-start;
    margin: 48px auto 0 auto;
    padding: 0 16px;
    max-width: 1100px;
    animation: slideIn 0.7s cubic-bezier(.4,2,.6,1) 1;
}

.payment-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

.payment-info, .order-summary {
    flex: 1;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.payment-info h2, .order-summary h3 {
    margin-bottom: 20px;
    color: #333;
}

.payment-info form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-info label {
    font-weight: bold;
    color: #555;
}

.payment-info input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.payment-info input:focus {
    border-color: #209a0a;
    outline: none;
    box-shadow: 0 0 0 2px rgba(32, 154, 10, 0.1);
}

.pay-button {
    width: 100%;
    padding: 12px;
    background: #5c6a5c;
    color: #ffffff;
    border-radius: 4px;
    border: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.pay-button:hover {
    background-color: #209a0a;
}

.order-summary {
    background: #f8f9fa;
}

.order-summary p {
    margin: 10px 0;
    color: #555;
}

.order-summary span {
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-container {
        flex-direction: column;
    }

    .payment-info, .order-summary {
        width: 100%;
    }

    #payment-form-container {
        padding: 20px;
    }
}

.hidden { display: none !important; }

.date-selection {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto 18px auto;
    background: #f8f9fa;
    padding: 18px 20px 14px 20px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(60, 60, 60, 0.06);
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
}
.date-selection h3 {
    font-size: 1.18rem;
    color: #209a0a;
    margin-bottom: 8px;
    font-weight: 700;
}
.date-selection input[type="date"] {
    width: 90%;
    padding: 12px 16px;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1.08rem;
    background: #fff url('data:image/svg+xml;utf8,<svg fill="%23209a0a" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11zm0-13H5V6h14v1z"/></svg>') no-repeat right 14px center/22px 22px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    color: #222;
    box-sizing: border-box;
}
.date-selection input[type="date"]:focus {
    border-color: #209a0a;
    outline: none;
    box-shadow: 0 0 0 2px #c1e1c1;
    background-color: #f4fff7;
}

@media (max-width: 600px) {
  .date-selection {
    max-width: 100%;
    width: 100%;
    padding: 14px 6px 10px 6px;
    border-radius: 10px;
    font-size: 1em;
    margin-bottom: 12px;
  }
  .date-selection h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }
  .date-selection input[type="date"] {
    width: 100%;
    padding: 14px 10px;
    font-size: 1.05rem;
    border-radius: 8px;
  }
}

.table-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: #f8f9fa;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(60,60,60,0.06);
  padding: 14px 22px;
  margin: 18px auto 18px auto;
  max-width: 420px;
}
.table-navigation .nav-btn {
  background:#5c6a5c ;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1.08rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(60,60,60,0.08);
}
.table-navigation .nav-btn:hover {
  background:#209a0a;
  box-shadow: 0 2px 8px rgba(32,154,10,0.13);
}
.table-navigation .current-week {
  font-size: 1.08rem;
  color: #209a0a;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: #fff;
  padding: 7px 16px;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(60,60,60,0.04);
}

/* --- Service Detail & Therapist Selection Step --- */
#service-detail-step {
  max-width: 540px;
  margin: 32px auto 0 auto;
  display: block;
}
#service-detail-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 32px 32px 18px 32px;
  position: relative;
  margin-bottom: 32px;
  min-height: 120px;
}
#service-detail-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}
#service-detail-card .service-price {
  font-size: 1.08rem;
  color: #444;
  margin-bottom: 8px;
}
#service-detail-card .service-desc {
  color: #555;
  font-size: 1.01rem;
  margin-bottom: 8px;
}
#close-service-detail {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.5em;
  color: #888;
  cursor: pointer;
  transition: color 0.2s;
}
#close-service-detail:hover {
  color: #c00;
}
#therapist-selection-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.therapist-card-ui {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 18px 22px;
  min-height: 90px;
  border: 1px solid #eee;
  margin-bottom: 0;
}
.therapist-card-ui .therapist-info {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.therapist-card-ui .therapist-img {
    width: 20%;
    height: auto;
    border-radius: 5%;
    object-fit: cover;
    background: #f2f2f2;
}
.therapist-card-ui .therapist-name {
  font-weight: 700;
  font-size: 1.08em;
  margin-bottom: 4px;
  color: #222;
}
.therapist-card-ui .therapist-desc {
    color: #666;
    font-size: 0.98em; /* max-width: fit-content; */
    max-width: 100%;
    margin-top: 7%;
}
.therapist-card-ui .select-btn {
  background: #4b734a;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 4px rgba(60,60,60,0.08);
}
.therapist-card-ui .select-btn:hover {
  background: #209a0a;
}
.therapist-card-ui.any-available {
  background: #f8f9fa;
  border: 1.5px dashed #bdbdbd;
  box-shadow: none;
}
.therapist-card-ui.any-available .therapist-name {
  color: #333;
}
@media (max-width: 600px) {
  #service-detail-step {
    max-width: 98vw;
    padding: 0 2vw;
  }
  #service-detail-card {
    padding: 18px 8px 12px 8px;
  }
  .therapist-card-ui {
    flex-direction: column;
    align-items: flex-start;
    padding: 14px 8px;
    gap: 10px;
  }
  .therapist-card-ui .select-btn {
    width: 100%;
    margin-top: 10px;
  }
}

.time-slot.unavailable {
  background: #e0e0e0;
  color: #aaa;
  cursor: not-allowed;
  opacity: 0.7;
}

@media (max-width: 600px) {
  #service-detail-step {
    max-width: 98vw;
    padding: 0 2vw;
  }
  #service-detail-card {
    padding: 18px 8px 12px 8px;
  }
  .therapist-card-ui {
    flex-direction: column;
    align-items: center;
    padding: 18px 10px 16px 10px;
    gap: 14px;
    background: #f8f9fa;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 16px;
    border: 1.5px solid #e0e0e0;
    min-width: 0;
  }
  .therapist-card-ui .therapist-info {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .therapist-card-ui .therapist-img {
    width: 90px;
    height: 110px;
    border-radius: 20%;
    object-fit: cover;
    margin-bottom: 8px;
    background: #e0e0e0;
    box-shadow: 0 2px 8px rgba(60, 60, 60, 0.08);
}
  .therapist-card-ui .therapist-name {
    font-size: 1.08em;
    font-weight: 700;
    color: #222;
    margin-bottom: 2px;
    text-align: center;
  }
  .therapist-card-ui .therapist-desc {
    color: #666;
    font-size: 0.98em;
    max-width: 100%;
    margin-top: 0;
    text-align: center;
    margin-bottom: 6px;
  }
  .therapist-card-ui .select-btn {
    width: 100%;
    margin-top: 10px;
    font-size: 1.08em;
    padding: 12px 0;
    border-radius: 8px;
    background: #5c6a5c;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 1px 4px rgba(60,60,60,0.08);
  }
}

@media (max-width: 480px) {
    .select-menu-btn {
        width: 60%;
        margin: 8px auto;
    }
    .flatpickr-input {
        padding: 0.75rem;
        border-radius: 0.5rem;
        border: 1px solid #d1d5db;
        width: 88%;
        font-size: 1rem;
    }
}
@media (max-width: 375px) {
    .select-menu-btn {
        width: 60%;
        margin: 8px auto;
    }
}

/* Consolidated mobile styles for .select-menu-btn and .service-card h3 */
@media (max-width: 480px) {
    .select-menu-btn {
        width: 80%;
        margin: 8px auto;
        font-size: 12px;
        padding: 14px 0;
        border-radius: 8px;
    }
    .service-card h3 {
        font-size: 12px;
    }
}

/* Remove any duplicate or conflicting @media (max-width: 375px) for these selectors */

/* Define color variables */
        :root {
            --primary-green: #4b734a;
            /* Main brand green */
            --dark-green-text: #2e472d;
            /* Darker green for text/accents */
            --light-green-bg: #e6f0e5;
            /* Very light green for backgrounds */
            --medium-green-border: #6c946b;
            /* Medium green for borders */
            --darker-green-gradient-start: #3a5938;
            /* For gradient buttons */
            --even-darker-green-gradient-end: #2c432b;
            /* For gradient buttons */
        }

        /* Base Styles */
        body {
            font-family: 'Sarabun', sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4edf5 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 1rem;
            /* Adjusted for smaller screens */
        }

        .container-wrapper {
            margin-left: auto;
            margin-right: auto;
            padding: 0.5rem;
            max-width: 96rem;
            width: 100%;
            position: relative;
        }
        @media (min-width: 1024px) {
            .container-wrapper {
                width: 60%;
            }
        }

        @media (min-width: 768px) {
            /* md: breakpoint */
            body {
                padding-top: 2rem;
                padding-bottom: 2rem;
            }

            .container-wrapper {
                padding: 2rem;
                /* Restore larger padding for larger screens */
            }
        }

        .header-main {
            text-align: center;
            margin-bottom: 2rem;
            /* Adjusted for smaller screens */
        }

        .header-main h1 {
            font-size: 1.875rem;
            /* text-3xl for small screens */
            line-height: 2.25rem;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }

        .header-main p {
            color: #4b5563;
            font-size: 1rem;
            /* Adjusted for smaller screens */
            line-height: 1.5rem;
        }

        @media (min-width: 768px) {
            .header-main h1 {
                font-size: 2.25rem;
                /* text-4xl */
                line-height: 2.5rem;
            }

            .header-main p {
                font-size: 1.125rem;
                /* text-lg */
                line-height: 1.75rem;
            }

            .header-main {
                margin-bottom: 2.5rem;
                /* Restore larger margin */
            }
        }


        .header-main-underline {
            width: 6rem;
            height: 0.25rem;
            background-color: var(--primary-green);
            margin-left: auto;
            margin-right: auto;
            border-radius: 9999px;
            margin-top: 1rem;
        }

        .main-content {
            background-color: #fff;
            padding: 1rem;
            /* Adjusted for smaller screens */
            border-radius: 0.75rem;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            /* Adjusted shadow for consistency */
            position: relative;
            min-height: 400px;
            /* Min height to prevent collapse */
        }

        @media (min-width: 768px) {
            .main-content {
                padding: 2rem;
                /* Restore larger padding for larger screens */
                box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
                /* Stronger shadow for larger screens */
                min-height: 500px;
            }
        }

        /* Loading Spinner */
        .loading-spinner {
            position: absolute;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
            background-color: rgba(255, 255, 255, 0.8);
            display: flex;
            flex-direction: column;
            /* Added for vertical centering of text and spinner */
            justify-content: center;
            align-items: center;
            z-index: 50;
            border-radius: 0.75rem;
            /* Match parent */
        }

        .loading-spinner-circle {
            animation: spin 1s linear infinite;
            border-radius: 9999px;
            height: 3rem;
            /* Adjusted for smaller screens */
            width: 3rem;
            /* Adjusted for smaller screens */
            border-bottom: 2px solid var(--primary-green);
        }

        .loading-spinner p {
            margin-top: 0.75rem;
            /* Adjusted margin */
            color: #4b5563;
            font-weight: 500;
            font-size: 0.875rem;
            /* Adjusted for smaller screens */
        }

        @media (min-width: 768px) {
            .loading-spinner-circle {
                height: 4rem;
                width: 4rem;
            }

            .loading-spinner p {
                margin-top: 1rem;
                font-size: 1rem;
            }
        }

        @keyframes spin {
            from {
                transform: rotate(0deg);
            }

            to {
                transform: rotate(360deg);
            }
        }

        /* Error Message */
        .error-message {
            margin-bottom: 1rem;
            /* Adjusted margin */
            background-color: #fee2e2;
            border-left: 4px solid #ef4444;
            color: #b91c1c;
            padding: 0.75rem;
            /* Adjusted padding */
            border-radius: 0.5rem;
            margin-top: 0.75rem;
            /* Adjusted margin */
            text-align: center;
            font-size: 0.875rem;
            /* Adjusted font size */
        }

        .error-message p {
            margin-bottom: 0.25rem;
            /* Adjusted margin */
        }

        .error-message button {
            margin-top: 0.5rem;
            background-color: #ef4444;
            color: #fff;
            font-weight: 700;
            padding: 0.25rem 0.75rem;
            border-radius: 0.25rem;
            transition: background-color 0.3s ease;
            font-size: 0.8rem;
            /* Adjusted button font size */
        }

        .error-message button:hover {
            background-color: #dc2626;
        }

        @media (min-width: 768px) {
            .error-message {
                margin-bottom: 1.5rem;
                padding: 1rem;
                margin-top: 1rem;
                font-size: 1rem;
            }

            .error-message p {
                margin-bottom: 0.5rem;
            }

            .error-message button {
                font-size: 1rem;
            }
        }


        /* Step sections */
        .step {
            display: none;
            animation: fadeIn 0.5s ease-out forwards;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .step h2 {
            font-size: 1.3rem;
            /* Adjusted for smaller screens */
            line-height: 1.75rem;
            font-weight: 700;
            margin-bottom: 1rem;
            /* Adjusted for smaller screens */
            text-align: center;
            color: #1f2937;
        }

        .step h2 i {
            margin-right: 0.4rem;
            /* Adjusted margin */
            color: var(--primary-green);
        }

        @media (min-width: 768px) {
            .step h2 {
                font-size: 1.5rem;
                line-height: 2rem;
                margin-bottom: 1.5rem;
            }

            .step h2 i {
                margin-right: 0.5rem;
            }
        }


        /* Service List */
        .service-list {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
            /* Adjusted gap for smaller screens */
        }

        @media (min-width: 768px) {
            .service-list {
                gap: 1.25rem;
            }
        }

        .service-item {
            padding: 1.5rem;
            /* Adjusted for smaller height */
            background-color: #fff;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            cursor: pointer;
            border-left: 4px solid var(--primary-green);
            transition: all 0.3s ease;
            display: flex;
            /* Use flex to align content and button */
            flex-direction: column;
            /* Stack content and button vertically */
            justify-content: space-between;
            /* Push button to bottom */
        }

        @media (min-width: 768px) {
            .service-item {
                padding: 2rem;
                /* Adjusted for smaller height on larger screens */
            }
        }


        .service-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(75, 115, 74, 0.2);
        }

        .service-item h3 {
            font-weight: 700;
            font-size: 1.2rem;
            /* Adjusted for smaller screens */
            color: #1f2937;
        }

        .service-item p {
            color: #4b5563;
            margin-top: 0.5rem;
            /* Adjusted margin */
            font-size: 0.95rem;
            /* Adjusted for smaller screens */
        }

        .service-item span {
            background-color: var(--light-green-bg);
            color: var(--dark-green-text);
            font-weight: 700;
            padding: 0.4rem 0.8rem;
            /* Adjusted padding */
            border-radius: 9999px;
            font-size: 1.1rem;
            /* Adjusted for smaller screens */
        }

        .service-item .select-button {
            /* No width: 100% means it will take natural width */
            background-color: #4b734a;
            /* New background color */
            color: #fff;
            /* White text for contrast */
            padding: 0.4rem 0.8rem;
            /* Smaller padding */
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.3s ease;
            margin-top: 0.75rem;
            /* Slightly reduced margin-top */
            font-size: 0.85rem;
            /* Smaller font size */
            align-self: flex-end;
            /* Align button to the right within the flex container */
            border: none;
            /* Ensure no default border */
        }

        .service-item .select-button:hover {
            background-color: #209a0a;
            /* New hover color */
        }

        @media (min-width: 768px) {
            .service-item .select-button {
                padding: 0.5rem 1rem;
                /* Slightly larger for desktop */
                margin-top: 1rem;
                /* Adjust back for larger screens */
                font-size: 0.95rem;
                /* Slightly larger for desktop */
            }
        }


        /* Back Button Container and Icon Buttons */
        .back-button-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            /* Adjusted margin */
        }

        .back-icon-button {
            background-color: var(--primary-green);
            color: white;
            border: none;
            border-radius: 50%;
            /* Makes it circular */
            width: 2.5rem;
            /* Fixed width for the circle */
            height: 2.5rem;
            /* Fixed height for the circle */
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.125rem;
            /* Icon size */
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            /* Subtle shadow */
        }

        .back-icon-button:hover {
            background-color: var(--darker-green-gradient-start);
            transform: scale(1.05);
            /* Slight zoom on hover */
        }

        .back-icon-button i {
            margin-right: 0;
            /* No margin on icon inside a purely icon button */
        }

        /* Selected Service Card */
        .selected-service-box {
            margin-bottom: 1.5rem;
            /* Adjusted margin */
            padding: 1.5rem;
            /* Adjusted for smaller screens */
            background-color: var(--light-green-bg);
            border-radius: 0.75rem;
            border: 1px solid var(--medium-green-border);
        }

        .selected-service-box h3 {
            font-weight: 700;
            font-size: 1.25rem;
            /* Adjusted for smaller screens */
            color: #1f2937;
        }

        .selected-service-box p {
            font-weight: 600;
            font-size: 1rem;
            /* Adjusted for smaller screens */
            color: var(--dark-green-text);
            margin-top: 0.3rem;
            /* Adjusted margin */
        }

        .selected-service-box .icon-container {
            background-color: var(--light-green-bg);
            padding: 0.75rem;
            /* Adjusted for smaller screens */
            border-radius: 0.5rem;
            /* Adjusted for smaller screens */
        }

        .selected-service-box .icon-container i {
            font-size: 2rem;
            /* Adjusted for smaller screens */
            color: var(--primary-green);
        }

        @media (min-width: 768px) {
            .selected-service-box {
                margin-bottom: 2rem;
                padding: 2.5rem;
            }

            .selected-service-box h3 {
                font-size: 1.5rem;
            }

            .selected-service-box p {
                font-size: 1.25rem !important;
                margin-top: 0.5rem !important;
            }

            .selected-service-box p:last-child {
                font-size: 1.125rem !important;
                margin-top: 0.5rem !important;
            }

            .selected-service-box .icon-container {
                padding: 1rem;
                border-radius: 0.75rem;
            }

            .selected-service-box .icon-container i {
                font-size: 2.5rem;
            }
        }

        /* Date Highlight */
        .date-highlight-box {
            background-color: var(--light-green-bg);
            border-radius: 0.75rem;
            padding: 1.5rem;
            /* Adjusted for smaller screens */
            border: 2px solid var(--primary-green);
            margin-bottom: 1.5rem;
            /* Adjusted margin */
        }

        .date-highlight-box .header {
            display: flex;
            align-items: center;
            margin-bottom: 1rem;
            /* Adjusted margin */
        }

        .date-highlight-box .header i {
            font-size: 2rem;
            /* Adjusted for smaller screens */
            color: var(--primary-green);
            margin-right: 0.75rem;
            /* Adjusted margin */
        }

        .date-highlight-box h3 {
            font-weight: 700;
            color: #1f2937;
            font-size: 1.1rem;
            /* Adjusted for smaller screens */
        }

        .date-highlight-box p {
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
            color: #4b5563;
        }

        .date-input-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 1rem;
            /* Adjusted gap */
        }

        .date-input-grid label {
            display: block;
            color: #374151;
            font-weight: 700;
            margin-bottom: 0.75rem;
            /* Adjusted margin */
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .date-input {
            width: 97%;
            padding: 0.8rem;
            /* Adjusted for smaller screens */
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .date-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(75, 115, 74, 0.3);
            border-color: var(--primary-green);
        }

        .date-error-message {
            color: #ef4444;
            font-size: 0.875rem;
            margin-top: 0.3125rem;
            display: none;
        }

        .time-dropdown-wrapper {
            position: relative;
        }

        .time-dropdown {
            width: 100%;
            padding: 0.8rem;
            /* Adjusted for smaller screens */
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .time-dropdown:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(75, 115, 74, 0.3);
            border-color: var(--primary-green);
        }

        .time-dropdown-wrapper i {
            position: absolute;
            right: 0.8rem;
            /* Adjusted for smaller screens */
            top: 0.9rem;
            /* Adjusted for smaller screens */
            color: #9ca3af;
            font-size: 1.1rem;
            /* Adjusted for smaller screens */
        }

        .open-hours-display {
            margin-top: 0.5rem;
            /* Adjusted margin */
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
            color: #4b5563;
            text-align: center;
        }

        @media (min-width: 768px) {
            .date-highlight-box {
                padding: 2rem;
                margin-bottom: 2rem;
            }

            .date-highlight-box .header {
                margin-bottom: 1.5rem;
            }

            .date-highlight-box .header i {
                font-size: 2.5rem;
                margin-right: 1rem;
            }

            .date-highlight-box h3 {
                font-size: 1.25rem;
            }

            .date-highlight-box p {
                font-size: 1rem;
            }

            .date-input-grid {
                gap: 1.5rem;
            }

            .date-input-grid label {
                margin-bottom: 1rem;
                font-size: 1.125rem;
            }

            .date-input {
                padding: 1rem;
                font-size: 1.125rem;
            }

            .time-dropdown {
                padding: 1rem;
                font-size: 1.125rem;
            }

            .time-dropdown-wrapper i {
                right: 1rem;
                top: 1.125rem;
                font-size: 1.25rem;
            }

            .open-hours-display {
                margin-top: 0.75rem;
                font-size: 1rem;
            }
        }


        /* Time Slots */
        .slot-section-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            /* Adjusted margin */
        }

        .slot-section-header label {
            display: block;
            color: #374151;
            font-weight: 700;
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .slot-message {
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
            color: #ef4444;
            display: none;
        }

        .slot-buttons-container {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            /* Force 1 column */
            gap: 0.75rem;
            /* Adjusted gap */
        }

        /* No media queries for slot-buttons-container to keep it 1 column */

        .slot-button, .time-slot-btn {
            padding: 0.8rem;
            /* Adjusted for smaller screens */
            border-radius: 0.5rem;
            text-align: center;
            font-weight: 500;
            transition: all 0.2s ease;
            color: #fff;
            background-color: #4b734a;
            cursor: pointer;
            font-size: 1rem;
            /* Adjusted for smaller screens */
            border: none;
            margin-bottom: 0.5rem;
        }

        .slot-button[disabled], .time-slot-btn[disabled] {
            background-color: #e5e7eb;
            color: #9ca3af;
            cursor: not-allowed;
        }

        .slot-button:not([disabled]):hover, .time-slot-btn:not([disabled]):hover {
            transform: scale(1.02);
            /* Slight scale for smaller screens */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            background-color: #209a0a;
        }

        .slot-button.selected, .time-slot-btn.selected {
            background-color: #209a0a;
            color: #fff;
            border: 2px solid #1a7f08;
        }

        @media (min-width: 768px) {
            .slot-section-header {
                margin-bottom: 1.5rem;
            }

            .slot-section-header label {
                font-size: 1.125rem;
            }

            .slot-message {
                font-size: 1rem;
            }

            .slot-buttons-container {
                gap: 1rem;
            }

            .slot-button, .time-slot-btn {
                padding: 1rem;
                font-size: 1.125rem;
            }

            .slot-button:not([disabled]):hover, .time-slot-btn:not([disabled]):hover {
                transform: scale(1.05);
                /* Original scale for larger screens */
            }
        }


        /* Suggested Slots */
        .suggested-slots-box {
            margin-top: 1.5rem;
            /* Adjusted margin */
            padding: 1rem;
            /* Adjusted padding */
            background-color: #fffbeb;
            border-radius: 0.5rem;
            border: 1px solid #fde68a;
        }

        .suggested-slots-box p {
            font-weight: 600;
            color: #92400e;
            margin-bottom: 0.75rem;
            /* Adjusted margin */
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
        }

        .suggested-slots-box i {
            margin-right: 0.5rem;
        }

        .suggested-slot-list {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            /* Still 2 columns for quick selection */
            gap: 0.5rem;
            /* Adjusted gap */
        }

        @media (min-width: 640px) {
            /* sm:grid-cols-3 */
            .suggested-slot-list {
                grid-template-columns: repeat(3, minmax(0, 1fr));
            }
        }

        .suggested-slot-button {
            padding: 0.6rem;
            /* Adjusted padding */
            background-color: #fef3c7;
            color: #92400e;
            border-radius: 0.5rem;
            transition: background-color 0.3s ease;
            text-align: center;
            font-size: 0.85rem;
            /* Adjusted for smaller screens */
            cursor: pointer;
        }

        .suggested-slot-button:hover {
            background-color: #fcebaf;
        }

        @media (min-width: 768px) {
            .suggested-slots-box {
                margin-top: 2rem;
                padding: 1.5rem;
            }

            .suggested-slots-box p {
                margin-bottom: 1rem;
                font-size: 1rem;
            }

            .suggested-slot-list {
                gap: 0.75rem;
            }

            .suggested-slot-button {
                padding: 0.75rem;
                font-size: 1rem;
            }
        }


        /* Therapist Selection */
        .therapist-selection-box {
            margin-top: 1.5rem;
            /* Adjusted margin */
        }

        .therapist-selection-box label {
            display: block;
            color: #374151;
            font-weight: 700;
            margin-bottom: 0.75rem;
            /* Adjusted margin */
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .therapist-list {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            /* Force 1 column */
            gap: 1rem;
            /* Adjusted gap */
        }

        .therapist-card {
            padding: 1rem;
            /* Adjusted padding */
            background-color: #fff;
            border-radius: 0.75rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border-left: 4px solid var(--primary-green);
            transition: all 0.3s ease;
            cursor: pointer;
            display: flex;
            /* Make the card a flex container */
            flex-direction: column;
            /* Stack content vertically on mobile */
            align-items: stretch;
            /* Stretch items to full width */
            gap: 0.75rem;
            /* Add gap between elements */
        }

        .therapist-card:hover {
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            border-color: #9ca3af;
        }

        .therapist-card.selected {
            background-color: var(--light-green-bg);
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            border: 2px solid var(--primary-green);
            box-shadow: 0 0 0 2px var(--primary-green);
        }

        .therapist-card .therapist-info {
            /* New div to group image and details */
            display: flex;
            align-items: center;
            /* Vertically align image and text */
            margin-bottom: 0;
            /* Remove margin since we're using column layout */
            gap: 0.75rem;
            /* Add gap between image and text */
        }

        .therapist-card .therapist-image {
            width: 4rem;
            /* Slightly larger for better visibility */
            height: 4rem;
            /* Slightly larger for better visibility */
            border-radius: 25%;
            overflow: hidden;
            flex-shrink: 0;
            /* Prevent image from shrinking */
        }



        .therapist-card .therapist-details {
            margin-left: 0;
            /* Remove margin since we're using gap */
            flex-grow: 1;
            /* Allow details to take available space */
        }

        .therapist-card h3 {
            font-weight: 700;
            font-size: 1rem;
            /* Adjusted for smaller screens */
            color: #1f2937;
        }

        .therapist-card .description {
            color: #4b5563;
            font-size: 0.875rem;
            /* Slightly larger for better readability */
            margin-top: 0.25rem;
            /* Adjusted margin */
            overflow: visible;
            /* Allow full text to show */
            display: block;
            /* Remove line clamp restrictions */
            line-height: 1.4;
            /* Better line height for readability */
        }

        .therapist-card .button-container {
            /* New class for therapist button container */
            margin-top: 1rem;
            /* Add margin for better spacing */
            text-align: center;
            display: flex;
            justify-content: center;
            /* Center button on mobile */
            align-items: center;
            /* Vertically center the button */
            width: 100%;
            /* Full width on mobile */
        }

        .therapist-card .select-therapist-btn {
            background-color: #4b734a;
            /* New background color for therapist select button */
            color: #fff;
            /* White text for contrast */
            padding: 0.75rem 1.5rem;
            /* Larger padding for better touch target */
            border-radius: 0.5rem;
            font-weight: 600;
            transition: background-color 0.3s ease;
            font-size: 1rem;
            /* Larger font size for better readability */
            border: none;
            /* Ensure no default border */
            width: 100%;
            /* Full width button on mobile */
            max-width: 200px;
            /* Limit maximum width */
        }

        .therapist-card .select-therapist-btn:hover {
            background-color: #209a0a;
            /* New hover color for therapist select button */
        }

        .therapist-card .select-therapist-btn[disabled] {
            background-color: var(--primary-green);
            color: #fff;
            cursor: default;
        }

        .therapist-selection-message {
            margin-top: 0.5rem;
            /* Adjusted margin */
            font-size: 0.8rem;
            /* Adjusted for smaller screens */
            color: #6b7280;
            text-align: center;
        }

        /* Mobile-specific adjustments for very small screens */
        @media (max-width: 480px) {
            .therapist-card {
                padding: 0.875rem;
                /* Slightly smaller padding */
                gap: 0.5rem;
                /* Smaller gap */
            }

            .therapist-card .therapist-info {
                gap: 0.5rem;
                /* Smaller gap between image and text */
            }

            .therapist-card .therapist-image {
                width: 3.5rem;
                /* Slightly smaller image */
                height: 3.5rem;
            }

            .therapist-card h3 {
                font-size: 0.95rem;
                /* Slightly smaller title */
            }

            .therapist-card .description {
                font-size: 0.8rem;
                /* Smaller description text */
                overflow: visible;
                /* Allow full text to show */
                display: block;
                /* Remove line clamp restrictions */
            }

            .therapist-card .select-therapist-btn {
                padding: 0.625rem 1.25rem;
                /* Slightly smaller padding */
                font-size: 0.9rem;
                /* Slightly smaller font */
                max-width: 180px;
                /* Smaller max width */
            }
        }

        @media (min-width: 768px) {
            .therapist-selection-box {
                margin-top: 2rem;
            }

            .therapist-selection-box label {
                margin-bottom: 1rem;
                font-size: 1.125rem;
            }

            .therapist-list {
                gap: 1.25rem;
            }

            .therapist-card {
                padding: 1.25rem;
                flex-direction: row;
                /* For PC, align image and text horizontally */
                align-items: center;
                /* Vertically align items in the card */
                gap: 0;
                /* Remove gap for row layout */
            }

            .therapist-card .therapist-info {
                margin-bottom: 0;
                /* Remove bottom margin for row layout */
                align-items: center;
                /* Vertically align image and details for PC */
                gap: 0;
                /* Remove gap for row layout */
            }

            .therapist-card .therapist-image {
                width: 4rem;
                height: 4rem;
            }

            .therapist-card .therapist-placeholder {
                width: 4rem;
                height: 4rem;
            }

            .therapist-card .therapist-placeholder i {
                font-size: 1.5rem;
            }

            .therapist-card .therapist-details {
                margin-left: 1rem;
            }

            .therapist-card h3 {
                font-size: 1.125rem;
            }

            .therapist-card .description {
                font-size: 0.875rem;
                margin-top: 0.25rem;
                overflow: visible;
                /* Allow full text to show */
                display: block;
                /* Remove line clamp restrictions */
            }

            .therapist-card .button-container {
                /* New class for therapist button container */
                margin-top: 0;
                /* Remove top margin for row layout */
                margin-left: auto;
                /* Push button to the right */
                width: auto;
                /* Auto width on desktop */
            }

            .therapist-card .select-therapist-btn {
                padding: 0.5rem 1rem;
                /* Match service select button desktop size */
                font-size: 0.95rem;
                /* Match service select button desktop size */
                width: auto;
                /* Auto width on desktop */
                max-width: none;
                /* No max width on desktop */
            }

            .therapist-selection-message {
                margin-top: 0.75rem;
                font-size: 0.875rem;
            }
        }

        .confirm-booking-section {
            display: none !important;
        }

        .confirm-booking-section .confirm-button {
            background: #4b734a;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .confirm-booking-section .confirm-button:hover {
            background: #209a0a;
        }

        /* Confirmation Step */
        .confirmation-details-box {
            background-color: #fff;
            padding: 1.2rem;
            /* Adjusted for smaller screens */
            border-radius: 0.75rem;
            border: 1px solid #e5e7eb;
        }

        .confirmation-details-box .header-section {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            border-bottom: 1px solid #e5e7eb;
            padding-bottom: 0.8rem;
            /* Adjusted padding */
            margin-bottom: 0.8rem;
            /* Adjusted margin */
        }

        .confirmation-details-box .header-section h3 {
            font-weight: 700;
            font-size: 1.1rem;
            /* Adjusted for smaller screens */
            color: #1f2937;
        }

        .confirmation-details-box .header-section p {
            color: #4b5563;
            margin-top: 0.2rem;
            /* Adjusted margin */
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
        }

        .confirmation-details-box .header-section span {
            background-color: var(--light-green-bg);
            color: var(--dark-green-text);
            font-weight: 700;
            padding: 0.2rem 0.6rem;
            /* Adjusted padding */
            border-radius: 9999px;
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .detail-item-list {
            display: flex;
            flex-direction: column;
            gap: 0.6rem;
            /* Adjusted gap */
        }

        .detail-item {
            display: flex;
            align-items: center;
        }

        .detail-item i {
            color: var(--primary-green);
            margin-right: 0.6rem;
            /* Adjusted margin */
            width: 1.3rem;
            /* Adjusted width */
            text-align: center;
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
        }

        .detail-item p {
            font-size: 0.8rem;
            /* Adjusted for smaller screens */
            color: #4b5563;
        }

        .detail-item .value {
            font-weight: 500;
        }

        .total-section {
            margin-top: 1.5rem;
            /* Adjusted margin */
            padding-top: 0.8rem;
            /* Adjusted padding */
            border-top: 1px solid #e5e7eb;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .total-section p {
            font-weight: 700;
            font-size: 1.1rem;
            /* Adjusted for smaller screens */
        }

        .total-section .price {
            font-size: 1.3rem;
            /* Adjusted for smaller screens */
            line-height: 1.75rem;
            color: var(--dark-green-text);
        }

        .confirm-button-container {
            margin-top: 1.5rem;
            /* Adjusted margin */
            text-align: center;
        }

        .confirm-button {
            background: linear-gradient(to right, var(--primary-green), var(--darker-green-gradient-start));
            color: #fff;
            font-weight: 700;
            padding: 0.8rem 1.8rem;
            /* Adjusted padding */
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            /* Adjusted shadow */
            font-size: 1rem;
            /* Adjusted for smaller screens */
        }

        .confirm-button:hover {
            background: linear-gradient(to right, var(--darker-green-gradient-start), var(--even-darker-green-gradient-end));
            transform: scale(1.03);
            /* Slight scale for smaller screens */
        }

        .confirm-button i {
            margin-right: 0.4rem;
            /* Adjusted margin */
        }

        .confirm-button[disabled] {
            background: #9ca3af;
            cursor: not-allowed;
            box-shadow: none;
            transform: none;
        }

        @media (min-width: 768px) {
            .confirmation-details-box {
                padding: 1.5rem;
            }

            .confirmation-details-box .header-section {
                padding-bottom: 1rem;
                margin-bottom: 1rem;
            }

            .confirmation-details-box .header-section h3 {
                font-size: 1.25rem;
            }

            .confirmation-details-box .header-section p {
                margin-top: 0.25rem;
                font-size: 1rem;
            }

            .confirmation-details-box .header-section span {
                padding: 0.25rem 0.75rem;
                font-size: 1.125rem;
            }

            .detail-item-list {
                gap: 0.75rem;
            }

            .detail-item i {
                margin-right: 0.75rem;
                width: 1.5rem;
                font-size: 1rem;
            }

            .detail-item p {
                font-size: 0.875rem;
            }

            .total-section {
                margin-top: 2rem;
                padding-top: 1rem;
            }

            .total-section p {
                font-size: 1.25rem;
            }

            .total-section .price {
                font-size: 1.5rem;
                line-height: 2rem;
            }

            .confirm-button-container {
                margin-top: 2rem;
            }

            .confirm-button {
                padding: 1rem 2.5rem;
                font-size: 1.125rem;
            }

            .confirm-button:hover {
                transform: scale(1.05);
                /* Original scale for larger screens */
            }

            .confirm-button i {
                margin-right: 0.5rem;
            }
        }


        /* Success Step */
        .success-message-box {
            text-align: center;
            padding: 1.5rem;
            /* Adjusted for smaller screens */
            background-color: var(--light-green-bg);
            border-radius: 0.5rem;
            border: 2px solid var(--medium-green-border);
        }

        .success-message-box .icon-circle {
            width: 4rem;
            /* Adjusted for smaller screens */
            height: 4rem;
            /* Adjusted for smaller screens */
            background-color: var(--light-green-bg);
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-left: auto;
            margin-right: auto;
            margin-bottom: 1rem;
            /* Adjusted margin */
        }

        .success-message-box .icon-circle i {
            font-size: 2rem;
            /* Adjusted for smaller screens */
            color: var(--primary-green);
        }

        .success-message-box h2 {
            font-size: 1.5rem;
            /* Adjusted for smaller screens */
            line-height: 1.75rem;
            font-weight: 700;
            color: var(--dark-green-text);
            margin-bottom: 0.75rem;
            /* Adjusted margin */
        }

        .success-message-box p {
            color: #4b5563;
            margin-bottom: 0.4rem;
            /* Adjusted margin */
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
        }

        .success-message-box p:last-of-type {
            margin-bottom: 1rem;
            /* Adjusted margin */
        }

        .book-again-button {
            background: linear-gradient(to right, var(--primary-green), var(--darker-green-gradient-start));
            color: #fff;
            font-weight: 700;
            padding: 0.6rem 1.5rem;
            /* Adjusted padding */
            border-radius: 0.5rem;
            transition: all 0.3s ease;
            box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
            /* Adjusted shadow */
            font-size: 0.95rem;
            /* Adjusted for smaller screens */
        }

        .book-again-button:hover {
            background: linear-gradient(to right, var(--darker-green-gradient-start), var(--even-darker-green-gradient-end));
        }

        .book-again-button i {
            margin-right: 0.4rem;
            /* Adjusted margin */
        }

        @media (min-width: 768px) {
            .success-message-box {
                padding: 2rem;
            }

            .success-message-box .icon-circle {
                width: 5rem;
                height: 5rem;
                margin-bottom: 1.5rem;
            }

            .success-message-box .icon-circle i {
                font-size: 2.5rem;
            }

            .success-message-box h2 {
                font-size: 1.875rem;
                line-height: 2.25rem;
                margin-bottom: 1rem;
            }

            .success-message-box p {
                margin-bottom: 0.5rem;
                font-size: 1rem;
            }

            .success-message-box p:last-of-type {
                margin-bottom: 1.5rem;
            }

            .book-again-button {
                padding: 0.75rem 2rem;
                box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
                font-size: 1rem;
            }

            .book-again-button i {
                margin-right: 0.5rem;
            }
        }


        /* Flatpickr overrides for plain CSS compatibility */
        .flatpickr-calendar {
            border-radius: 8px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
            border: 1px solid #e2e8f0;
            font-size: 0.9rem;
            /* Adjusted for smaller screens */
        }

        .flatpickr-day.selected,
        .flatpickr-day.selected:hover,
        .flatpickr-day.startRange,
        .flatpickr-day.endRange,
        .flatpickr-day.today.selected {
            background: var(--primary-green) !important;
            border-color: var(--primary-green) !important;
            color: white !important;
        }

        .flatpickr-day.today {
            border-color: var(--primary-green);
            color: var(--primary-green);
        }

        .flatpickr-day.disabled,
        .flatpickr-day.nextMonthDay,
        .flatpickr-day.prevMonthDay {
            color: #cbd5e1;
            cursor: not-allowed;
            background-color: #f8fafc;
        }

       

        .flatpickr-input:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(75, 115, 74, 0.3);
            border-color: var(--primary-green);
        }

        @media (min-width: 768px) {
            .flatpickr-calendar {
                font-size: 1rem;
            }
        }

        /* Additional CSS for today indicator */
        .today-indicator {
            background-color: var(--light-green-bg);
            color: var(--dark-green-text);
            padding: 0.5rem 0.6rem;
            border-radius: 9999px;
            font-size: 0.75rem;
            font-weight: 500;
            display: flex;
            align-items: center;
            z-index: 10;
            /* Ensure it's above other elements if necessary */
        }

        .today-indicator i {
            margin-right: 0.2rem;
        }

        /* Define the hidden class */
        .hidden {
            display: none !important;
        }

        @media (min-width: 768px) {
            .today-indicator {
                padding: 0.75rem 0.75rem;
                font-size: 0.875rem;
            }

            .today-indicator i {
                margin-right: 0.25rem;
            }
        }

        /* Slot Calendar Layout */
        .slot-calendar {
          display: flex;
          gap: 32px;
          margin-top: 20px;
          overflow-x: auto;
          padding: 10px 0;
          justify-content: center;
          width: 100%;
        }
        .slot-calendar .day-column {
          flex: 1 1 0;
          min-width: 220px;
          max-width: 320px;
          padding: 24px 18px;
          border: 1px solid #eee;
          border-radius: 16px;
          background: #fff;
          box-shadow: 0 2px 8px rgba(0,0,0,0.06);
          margin: 0 8px;
          margin-bottom: 0;
          transition: box-shadow 0.2s;
        }
        .slot-calendar .day-header {
          font-size: 1.12em;
          font-weight: 700;
          color: #3a3a3a;
          margin-bottom: 18px;
          letter-spacing: 0.5px;
          border-bottom: 1px solid #e0e0e0;
          padding-bottom: 8px;
        }
        .slot-calendar .time-slot-btn {
          display: block;
          width: 100%;
          padding: 16px 0;
          margin-bottom: 14px;
          border: none;
          border-radius: 10px;
          background-color: #4b734a;
          color: #fff;
          font-size: 1.12em;
          font-weight: 700;
          cursor: pointer;
          box-shadow: 0 1px 4px rgba(60,60,60,0.08);
          transition: background 0.2s, box-shadow 0.2s;
        }
        .slot-calendar .time-slot-btn.selected {
          background: #209a0a;
          color: #fff;
          border: 2px solid #1a7f08;
        }
        .slot-calendar .time-slot-btn.disabled {
          background: #e0e0e0;
          color: #aaa;
          cursor: not-allowed;
          opacity: 0.7;
          border: none;
        }
        @media (max-width: 900px) {
          .slot-calendar {
            flex-direction: column;
            gap: 18px;
          }
          .slot-calendar .day-column {
            min-width: 100%;
            max-width: 100%;
            margin: 0 0 18px 0;
            padding: 18px 8px;
            border-radius: 12px;
          }
          .slot-calendar .day-header {
            font-size: 1em;
            margin-bottom: 12px;
          }
          .slot-calendar .time-slot-btn {
            font-size: 1em;
            padding: 12px 0;
            margin-bottom: 10px;
            border-radius: 7px;
          }
        }
        @media (max-width: 600px) {
          .slot-calendar .day-column {
            padding: 10px 2px 10px 2px;
            border-radius: 10px;
          }
          .slot-calendar .day-header {
            font-size: 0.98em;
            margin-bottom: 8px;
          }
          .slot-calendar .time-slot-btn {
            font-size: 0.98em;
            padding: 10px 0;
            margin-bottom: 8px;
            border-radius: 6px;
          }
        }



/* เพิ่ม/ปรับ CSS สำหรับ dropdown (select) และ option */
.time-dropdown:hover, .time-dropdown:focus, .time-dropdown:active,
#duration-dropdown:hover, #duration-dropdown:focus, #duration-dropdown:active,
.date-input:hover, .date-input:focus, .date-input:active {
  border-color: #209a0a !important;
  box-shadow: 0 0 0 2px #c1e1c1 !important;
}

.time-dropdown option:hover, #duration-dropdown option:hover {
  background: #209a0a !important;
  color: #fff !important;
}

/* สำหรับ select ที่ถูกเลือก (selected) */
.time-dropdown option:checked, #duration-dropdown option:checked {
  background: #209a0a !important;
  color: #fff !important;
}

/* เพิ่มเติม: ปรับ caret (ลูกศร) ให้เป็นสีเขียวเมื่อ hover */
.time-dropdown:hover, #duration-dropdown:hover {
  color: #209a0a;
}

/* สำหรับ select ทั่วไป */
select:hover, select:focus, select:active {
  border-color: #209a0a !important;
  box-shadow: 0 0 0 2px #c1e1c1 !important;
}

.time-slot-btn:hover, .time-slot-btn.selected {
    background: #209a0a !important;
    color: #fff !important;
}

.slot-date-header {
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 10px;
    margin-top: 10px;
}
.slot-calendar {
    display: flex;
    justify-content: center;
}
.day-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.time-slot-btn {
    margin: 8px 0;
    min-width: 260px;
    font-weight: bold;
    font-size: 1.1em;
}

.slot-calendar-grid-3col {
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0 auto 16px auto;
  border-radius: 12px;
  background: #fafbfc;
  border: none;
  overflow: hidden;
  width: 100%;
  max-width: none;
}
.slot-col {
  flex: 1 1 0;
  min-width: 120px;
  max-width: 300px;
  text-align: center;
  background: #fff;
  border-right: none;
  padding: 0 0 16px 0;
}
.slot-date-header {
  font-size: 1.1em;
  font-weight: bold;
  background: #f5f5f5;
  padding: 10px 0;
  border-bottom: none;
  margin-bottom: 8px;
}
.day-column {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.time-slot-btn {
  margin: 8px 0;
  min-width: 180px;
  font-weight: bold;
  font-size: 14px;
  border-radius: 8px;
  border: none;
  padding: 10px 0;
  background: #4b734a;
  color: #fff;
  transition: background 0.2s, box-shadow 0.2s;
}
.time-slot-btn.selected, .time-slot-btn:focus {
  background: #1db100;
  color: #fff;
  outline: 2px solid #1db100;
  box-shadow: 0 0 0 2px #b6e2b6;
}
@media (max-width: 700px) {
  .slot-calendar-grid-3col {
    flex-direction: column;
    gap: 0;
  }
  .slot-col {
    max-width: 100%;
    min-width: 0;
    margin-bottom: 12px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  .slot-col:last-child {
    border-bottom: none;
  }
  .slot-col:first-child,
  .slot-col:last-child {
    display: none !important;
  }
}
@media (max-width: 600px) {
    .time-slot-btn {
        font-size: 12px;
        min-width: 120px;
        padding: 8px 0;
    }
}
@media (max-width: 600px) {
    .date-input {
        width: 88%;
    }
}

.slot-table-single-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 340px;
  margin: 0 auto 16px auto;
  width: 100%;
  border: 2px solid #b6b6b6;
  border-radius: 12px;
  background: #fafbfc;
  box-shadow: 0 2px 8px rgba(60,60,60,0.06);
  padding: 0 0 18px 0;
  position: relative;
}
.slot-date-header {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 0;
  margin-top: 0;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding: 14px 0 10px 0;
  border-bottom: 1.5px solid #b6b6b6;
  background: #fafbfc;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  border-left: none;
  border-right: none;
  position: relative;
  top: 0;
  left: 0;
}
.time-slot-btn {
  min-width: 180px;
  max-width: 320px;
  width: 100%;
  font-size: 1.05em;
  padding: 12px 0;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 2px solid #b6b6b6;
  background: #4b734a;
  color: #fff;
  transition: border 0.2s, box-shadow 0.2s;
}
.time-slot-btn.selected {
  background: #209a0a !important;
  color: #fff !important;
  border: 2.5px solid #1db100;
}

.select-btn[disabled], .service-select-btn[disabled] {
  background: #ccc !important;
  color: #888 !important;
  cursor: not-allowed !important;
  opacity: 0.7;
  box-shadow: none !important;
  border: 1.5px solid #bbb !important;
}

.select-button:disabled {
    background: #ccc !important;
    color: #888 !important;
    cursor: not-allowed !important;
    opacity: 0.7;
    border: 1.5px solid #bbb !important;
  }

.slot-grid.empty {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  background: #fafbfc;
  border-radius: 8px;
}
.empty-msg {
  color: #888;
  font-size: 1rem;
}

.slot-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
  align-items: center;      /* ปุ่มอยู่กึ่งกลางกล่อง */
}

.time-slot-btn {
  width: 320px;             /* หรือปรับขนาดตามต้องการ */
  min-width: 160px;
  box-sizing: border-box;
}

.slot-table {
  margin: 0 auto 16px auto;
  max-width: 600px;      /* หรือขนาดที่ต้องการ */
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px 0 #0001;
  width: 100%;
}

.slot-table-header {
  width: 100%;
  background: #fafbfc;
  border-radius: 10px 10px 0 0;
  padding: 18px 0 12px 0;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1.25rem;
  line-height: 1.3;
  box-sizing: border-box;
  display: block;
}

.slot-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 8px;
  align-items: center;
}

.time-slot-btn {
  width: 100%;
  max-width: 360px;
  min-width: 160px;
  box-sizing: border-box;
  font-size: 1.1rem;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .slot-table {
    max-width: 98vw;
    border-radius: 8px;
    padding: 0 2vw 2vw 2vw;
  }
  .slot-table-header {
    font-size: 1.05rem;
    border-radius: 8px 8px 0 0;
    padding: 14px 0 10px 0;
  }
  .time-slot-btn {
    max-width: 98vw;
    font-size: 1rem;
  }
}

.admin-login-icon {
  position: absolute;
  top: 24px;
  right: 32px;
  font-size: 1.3em;
  color: #4b734a;
  opacity: 0.5;
  z-index: 10;
  transition: opacity 0.2s, color 0.2s;
  text-decoration: none;
}
.admin-login-icon:hover {
  opacity: 1;
  color: #209a0a;
}

/* Admin notice styling */
.admin-notice {
  background: linear-gradient(135deg, #e3f2fd 0%, #f3e5f5 100%);
  border: 1px solid #2196f3;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  color: #1976d2;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-notice i {
  color: #2196f3;
  font-size: 1.1em;
}

/* Additional info toggle button */
.additional-info-toggle {
  margin: 15px 0;
  text-align: center;
}

.btn-toggle-info {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 10px 20px;
  color: #495057;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-toggle-info:hover {
  background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
  border-color: #adb5bd;
  color: #343a40;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-toggle-info i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.btn-toggle-info:hover i {
  transform: scale(1.1);
}

/* Additional info section */
.additional-info-section {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.user-action-btn {
  background: #507b4f;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

.user-action-btn:hover {
  background: #3d5f3c;
  color: white;
  text-decoration: none;
}

/* Customer info form styles for guest bookings */
.customer-info-section {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.customer-info-section h4 {
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-row {
  display: flex;
  gap: 30px; /* เพิ่มระยะห่างจาก 20px เป็น 30px */
  margin-bottom: 25px; /* เพิ่มระยะห่างด้านล่าง */
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
  box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
}

.form-group {
  flex: 1;
  min-width: 0; /* ป้องกันการล้น */
  margin-bottom: 5px; /* เพิ่มระยะห่างระหว่าง form groups */
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
  box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
}

.form-group.full-width {
  flex: none;
  width: 100%;
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
  box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
}

.form-group label {
  display: block;
  margin-bottom: 10px; /* เพิ่มระยะห่าง */
  color: #2c3e50; /* เปลี่ยนสีให้เข้มขึ้น */
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px; /* เพิ่ม letter-spacing */
  font-family: inherit;
}

.form-group input {
  width: 100%;
  padding: 18px 16px; /* เพิ่ม padding ให้มากขึ้น */
  border: 2px solid #e1e5e9;
  border-radius: 12px; /* เพิ่ม border-radius */
  font-size: 16px;
  transition: all 0.3s ease;
  background: #ffffff; /* เปลี่ยนเป็นสีขาว */
  margin-bottom: 12px; /* เพิ่มระยะห่าง */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* เพิ่ม shadow */
  font-family: inherit;
  box-sizing: border-box;
  max-width: 100%; /* กำหนดความกว้างสูงสุด */
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.form-group input:hover {
  border-color: #007bff;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.form-group input:focus {
  outline: none;
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group input:hover {
  border-color: #007bff;
  background: white;
}

.login-suggestion {
  background: #e3f2fd;
  padding: 15px;
  border-radius: 5px;
  margin-top: 15px;
}

.login-suggestion p {
  margin: 0;
  color: #1976d2;
  font-size: 14px;
}

.login-suggestion a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
}

.login-suggestion a:hover {
  text-decoration: underline;
}

/* Booking Options Section */
.booking-options {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.booking-options h4 {
  color: #333;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

/* Guest Option */
.guest-option {
  margin-bottom: 20px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.guest-option p {
  margin: 0 0 15px 0;
  color: #495057;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.guest-option p i {
  color: #6c757d;
}

/* Member Option */
.member-option {
  padding: 15px;
  background: white;
  border-radius: 8px;
  border: 1px solid #dee2e6;
}

.member-option p {
  margin: 0 0 15px 0;
  color: #495057;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.member-option p i {
  color: #ffc107;
}

/* Member Benefits List */
.member-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.member-benefits li {
  padding: 8px 0;
  color: #495057;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.member-benefits li i {
  color: #28a745;
  font-size: 12px;
}

/* Auth Buttons */
.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-google-signin,
.btn-google-signup {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  color: #333;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.btn-google-signin:hover,
.btn-google-signup:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-google-signin:active,
.btn-google-signup:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.btn-google-signin i,
.btn-google-signup i {
  color: #fff !important;
  font-size: 16px;
}

/* Form Section */
.form-section {
    margin-bottom: 30px; /* เพิ่มระยะห่าง */
   
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007bff, #28a745, #ffc107);
    border-radius: 20px 20px 0 0;
}

/* Responsive Design สำหรับ Mobile */
@media (max-width: 768px) {
    .form-section {
        margin-bottom: 20px;
        padding: 20px 15px; /* ลด padding */
        border-radius: 12px; /* ลด border-radius */
        max-width: 100%; /* กำหนดความกว้างสูงสุด */
        box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
    }
    
    .form-section h5 {
        font-size: 16px; /* ลดขนาดฟอนต์ */
        margin-bottom: 15px; /* ลดระยะห่าง */
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px; /* ลดระยะห่าง */
    }
    
    .form-group {
        margin-bottom: 15px; /* ลดระยะห่าง */
        width: 100%; /* กำหนดความกว้างเต็ม */
    }
    
    .form-group label {
        font-size: 13px; /* ลดขนาดฟอนต์ */
        margin-bottom: 6px; /* ลดระยะห่าง */
    }
    
    .form-group input,
    .form-group select {
        padding: 12px 10px; /* ลด padding */
        font-size: 14px; /* ลดขนาดฟอนต์ */
        border-radius: 8px; /* ลด border-radius */
        width: 100%; /* กำหนดความกว้างเต็ม */
        box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
    }
    
    .btn-contact {
        padding: 12px 20px; /* ลด padding */
        font-size: 14px; /* ลดขนาดฟอนต์ */
        width: 100%; /* กำหนดความกว้างเต็ม */
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 15px 12px; /* ลด padding */
        margin-bottom: 15px; /* ลดระยะห่าง */
        border-radius: 10px; /* ลด border-radius */
        max-width: 100%; /* กำหนดความกว้างสูงสุด */
        box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
    }
    
    .form-section h5 {
        font-size: 15px; /* ลดขนาดฟอนต์ */
        margin-bottom: 12px; /* ลดระยะห่าง */
    }
    
    .form-group {
        margin-bottom: 12px; /* ลดระยะห่าง */
        width: 100%; /* กำหนดความกว้างเต็ม */
    }
    
    .form-group label {
        font-size: 12px; /* ลดขนาดฟอนต์ */
        margin-bottom: 5px; /* ลดระยะห่าง */
    }
    
    .form-group input,
    .form-group select {
        padding: 10px 8px; /* ลด padding */
        font-size: 13px; /* ลดขนาดฟอนต์ */
        border-radius: 6px; /* ลด border-radius */
        width: 100%; /* กำหนดความกว้างเต็ม */
        box-sizing: border-box; /* รวม padding และ border ในความกว้าง */
    }
    
    .form-row {
        gap: 12px; /* ลดระยะห่าง */
    }
    
    .btn-contact {
        padding: 10px 16px; /* ลด padding */
        font-size: 13px; /* ลดขนาดฟอนต์ */
        width: 100%; /* กำหนดความกว้างเต็ม */
    }
}

.form-section:hover {
  box-shadow: 0 12px 35px rgba(0,0,0,0.15); /* เพิ่ม shadow */
  border-color: #007bff;
  transform: translateY(-2px); /* เพิ่ม animation */
}

.form-section h5 {
  margin: 0 0 25px 0; /* เพิ่มระยะห่าง */
  color: #2c3e50;
  font-size: 19px; /* เพิ่มขนาดฟอนต์ */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px; /* เพิ่มระยะห่าง */
  font-family: inherit;
}

.form-section h5 i {
  color: #28a745;
  font-size: 20px;
}

/* Auth Options Section */
.auth-options {
  margin-top: 20px;
}

.auth-divider {
  text-align: center;
  margin: 20px 0;
  position: relative;
}

.auth-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #dee2e6;
}

.auth-divider span {
  background: white;
  padding: 0 15px;
  color: #666;
  font-weight: 500;
  font-size: 14px;
}

.auth-option {
  margin-bottom: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.auth-option h5 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.auth-option h5 i {
  color: #007bff;
}

.auth-option p {
  margin: 0 0 15px 0;
  color: #666;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 600px) {
  .booking-options {
    padding: 15px;
    margin-top: 15px;
  }
  
  .booking-options h4 {
    font-size: 16px;
  }
  
  .guest-option,
  .member-option {
    padding: 12px;
  }
  
  .member-benefits li {
    font-size: 13px;
  }
  
  .btn-google-signin,
  .btn-google-signup {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .auth-option {
    padding: 12px;
  }
  
  .auth-option h5 {
    font-size: 14px;
  }
}
@media (max-width: 600px) {
  .admin-login-icon {
    top: 12px;
    right: 12px;
    font-size: 1.1em;
  }
}