.edx-modal{position:fixed;left:10%;right:10%;top:10%;background:#fff;padding:20px;z-index:9999;border:1px solid #ccc;box-shadow:0 6px 30px rgba(0,0,0,0.1)}
.step{display:none}
.step.active{display:block}
.open-modal-btn{padding:10px 20px;background:#0073aa;color:#fff;border:none;border-radius:4px;cursor:pointer}
.btn-row{display:flex;gap:10px;justify-content:flex-end;margin-top:12px}
.btn-grey{background:#f0f0f0;padding:8px 12px;border:1px solid #ccc}
.btn-dark{background:#222;color:#fff;padding:8px 12px;border:none}
/* .time{display:inline-block;padding:8px 10px;margin:6px;border:1px solid #ddd;border-radius:6px;cursor:pointer} */
.time.active{background:#0073aa;color:#fff;border-color:#0073aa}
 
  .titleFont {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 1px;  
    }


  .container.date-and-time-wrapper{
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-wrap: wrap;
    overflow: hidden;
    width: 1300px;
    max-width: 1300px;
    margin: 0 auto;
  }

  .left {
    background: #fff;
    flex: 25% 1 1;
    padding: 30px;
    border-right: 1px solid #eee;
    
  }

  .left img {
    width: 80px;
    margin-bottom: 20px;
  }

  .left p {
    color: #333;
    line-height: 130%;
    font-family: "Inter", sans-serif;
    font-size: 20px;
    letter-spacing: -5%;
  }

  .right {
    flex: 1 1 65%;
    padding: 30px;
  }

  .back {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    color: #999999;
    cursor: pointer;
    margin-bottom: 10px;
    letter-spacing:-5%;
    font-weight: 500;
  }

  h2 {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 20px;
    letter-spacing: -2%;
    text-transform: uppercase;
  }

  .mainBody {
    display: flex;
    gap: 5%;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
  }

 
  .divider {
    width: 2px;
    background: none;
    border-left: 2px dotted #bbb;
    height: auto;
    align-self: stretch;
  }

  .calendar, .times {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

   
  .month-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    gap:8%
  }

  .month-nav button {
    border: none;
    color: rgb(94, 93, 93);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.1s ease;
  }


   
  .month-nav button:hover { background: #000; color: rgb(249, 245, 245);}

   
  .month-nav button:active {
    background: #000;
     
  }

  #monthYear {
    font-weight: 400;
    font-size: 20px;
    font-family: "Inter", sans-serif;
    line-height: 24px;
    letter-spacing: 0.38px;
  }

.days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  gap: 15px;
}

.day {
  aspect-ratio: 1 / 1;          
  width: 80%;
  border-radius: 50%;
  display: flex;               
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  transition: 0.3s;
  padding: 0;                  
}

 
  .weekdays {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #3C413F;
    margin-bottom: 10px;
    font-weight: 500;
  }


  .day.disabled {
    color: #888888;
    cursor: not-allowed;
  }

  .day.active {
    background: #ED1E76;
    color: #fff;
    
  }

  .day.booked {
    border: none;
    color: #fff;
    font-weight: 600;
    background-color: #9d9b9b;
  }

  .times {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .time {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
    border-color: #FFA0C8;
	  margin: 10px 0 10px 0;
  }

  .time.active {
    background: #ED1E76;
    color: #fff;
    border-color: #ED1E76;
  }

  .selected-date {
    font-family: "Inter", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #192020;
    margin-bottom: 15px;
    text-align: start;
    line-height: 100%;
    
    }


  .buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 25px;
  }

  .cancel, .book {
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    font-family: "Inter", sans-serif;
    color: #fff
  }

  .cancel { background: #5E5E5E; }
  .book { 
    
    background: #000;  
    letter-spacing: -5%;
    width: 250px;
    }


@media (max-width: 1024px) {


    .container.date-and-time-wrapper{
   
    flex-direction: column;
    
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 15px;
  }


  .left {
    border-right: none;
    border-bottom: 1px solid #eee;
    text-align: center;
    padding: 20px;
  }

  .right {
    padding: 25px;
  }

  .left img {
    width: 70px;
    margin-bottom: 15px;
  }

  h2 {
    font-size: 36px;
  }

  .back {
    font-size: 15px;
  }

  .left p {
    font-size: 17px;
  }
  .book{
    font-size: 14px;
    width: fit-content;
  }
}

@media (max-width: 700px) {
  .container {
    flex-direction: column;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }

  .left {
    border-right: none;
    border-bottom: 1px solid #eee;
    text-align: center;
  }

  .mainBody {
    flex-direction: column;
    align-items: stretch;
  }

  .divider {
    display: none;  
  }

  .calendar, .times {
    width: 100%;
  }

  .month-nav button {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  #monthYear {
    font-size: 16px;
  }

  .day {
    font-size: 13px;
    width: 100%;
  }

  h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }

  .selected-date {
    font-size: 15px;
  }

  .time {
    font-size: 14px;
    padding: 10px;
  }

  .cancel, .book {
    font-size: 14px;
    padding: 8px 16px;
  }
  .book{
    width: fit-content;
  }

  .left p {
    font-size: 15px;
  }

  .back {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .days {
    gap: 10px;
  }

  .day {
    font-size: 10px;
  }

  h2 {
    font-size: 28px;
  }

  .time {
    padding: 8px;
    font-size: 13px;
  }

  .cancel, .book {
    font-size: 13px;
    padding: 8px 14px;
  }
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 20px;
  font-weight: 500;
  color: #333;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  font-family: "Inter", sans-serif;
  z-index: 10;
}

.close-btn:hover {
  color: #605f5f;
  transform: scale(1.1);
} 

 
    
    .error-msg {
    color: #d40707;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    display: none;
}
    .edx-modal {
      max-width: 1000px;
      width: 100%;
      background: #fff;
      border-radius: 12px;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      /* position: relative; */
      display: none;
      font-size: 16px;
    }

    .edx-header {
      padding: 20px 40px 0px;
    }

    .edx-close {
      position: absolute;
      top: 20px;
      right: 20px;
      width: 32px;
      height: 32px;
      border: none;
      background: transparent;
      cursor: pointer;
      font-size: 24px;
      color: #666;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .edx-close:hover {
      color: #000;
    }

    .edx-logo {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .edx-form-title {
      font-size: 50px;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 2px;
      font-family: "Bebas Neue", sans-serif;
    }

    .edx-form-desc {
      color: #1a1a1a;
      font-size: 20px;
      line-height: 1.5;
    }

    .edx-body {
      padding: 20px 40px 40px;
    }

    .edx-group {
      margin-bottom: 10px;
    }

    .edx-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 10px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-size: 14px;
      color: #1a1a1a;
      font-weight: 400;
      font-family: "Inter", sans-serif;
    }

    input[type="text"],
    input[type="email"],
    select,
    textarea {
      width: 100%;
      padding: 10px 16px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      font-family: inherit;
      transition: border-color 0.2s;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      border-color: #999;
    }

    .edx-phone {
      display: flex;
      gap: 10px;
      flex-direction: column;
    }

    .edx-country {
      width: 140px;
      flex-shrink: 0;
      padding: 10px 16px;
      border: 1px solid #ddd;
      border-radius: 6px;
      font-size: 14px;
      appearance: none;
      background: white url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12"><path fill="%23666" d="M6 8L2 4h8z"/></svg>') no-repeat right 12px center;
      cursor: pointer;
    }

    /* .edx-phone-input {
      flex: 1;
    } */

    textarea {
      resize: vertical;
    }

    .iti {
  width: 100% !important;
}

.iti__flag-container {
  height: 100%;
  
}
.iti__selected-flag {
    z-index: 1;
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 6px 0 8px;
    font-size: 13px;
}

.iti__country-list {
    position: absolute;
    z-index: 2;
    list-style: none;
    padding: 0;
    margin: 0 0 0 -1px;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    background-color: white;
    border: 1px solid #ccc;
    white-space: nowrap;
    max-height: 200px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    font-size: 11px;
}

.iti input[type="tel"],
.edx-phone-input {
  width: 100% !important;
  padding-left: 90px !important; /* ensures space for flag area */
  box-sizing: border-box;
}


    .edx-btns {
      display: flex;
      justify-content: flex-end;
      gap: 15px;
      margin-top: 30px;
    }

    .edx-btns button {
      padding: 14px 40px;
      border: none;
      border-radius: 50px;
      font-size: 15px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.2s;
    }

    .edx-cancel {
      background: #5E5E5E;
      color: white;
      font-family: "Inter", sans-serif;
      width: 20%;
    }

    .edx-cancel:hover {
      background: #666;
    }

    .edx-send {
      background: #000;
      color: white;
      font-family: "Inter", sans-serif;
      width: 30%;
    }

    .edx-send:hover {
      background: #222;
    }
    
    @media (max-width: 768px) {
      .edx-modal {
        border-radius: 0;
        max-height: 100vh;
        overflow-y: auto;
      }

      .edx-header,
      .edx-body {
        padding: 20px 24px;
      }

      .edx-form-title {
        font-size: 24px;
      }

      .edx-row {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      

      button {
        width: 100%;
      }

      .edx-phone {
        flex-direction: column;
      }

      .edx-country {
        width: 100%;
      }
    }

    @media (max-width: 480px) {
        .edx-cancel {
            width: 100%;
        }
    .edx-send {
     
      width: 100%;
    }
        .edx-btns {
        flex-direction: column;
      }
      .edx-form-desc {
        font-size: 13px;
      }

      .edx-close {
        top: 15px;
        right: 15px;
      }
    }
 
.material-symbols-outlined {
  font-variation-settings:
  'FILL' 0,
  'wght' 500,
  'GRAD' -25,
  'opsz' 48
}
 
.payment-success {
    background: #e6fffa;
    border: 1px solid #20c997;
    padding: 15px;
    border-radius: 8px;
}

.payment-failed {
    background: #ffe6e6;
    border: 1px solid #dc3545;
    padding: 15px;
    border-radius: 8px;
}
.payment-popup {
    position: fixed;
    inset: 0;
    /* background: rgba(0,0,0,.6); */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.payment-popup.hidden {
    display: none;
}

.popup-content {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.popup-close {
    float: right;
    cursor: pointer;
    font-size: 20px;
}
