#user-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  min-width: 275px;
  opacity: 0;
}

.main-content-form {
  margin: 50px 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-content-details-form {
  margin: 8% 10%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-btn {
  width: 100%;
  border: unset;
  text-align: left;
  padding: 16px 20px 16px 20px;
  color: white;
  background-color: rgba(128, 128, 128, 0.432);
  font-weight: 600;
  border-radius: 5px;
}
.custom-btn-forward-week {
  width: 100%;
  border: unset;
  text-align: left;
  padding: 16px 20px 16px 20px;
  color: white;
  background-color: red;
  font-weight: 600;
  border-radius: 5px;
}
.further-weeks-div {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}
.custom-select-booky {
  color: grey !important;
  padding-left: 20px !important;
}

.main-content-form-stylist {
  margin: 10% 3% 10% 3%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.back-btn-services {
  font-size: 13px;
  color: grey;
  letter-spacing: 3px;
  cursor: pointer;
  width: -moz-fit-content;
  width: fit-content;
}

.services-list-div {
  margin-top: 4vh;
  max-height: 400px;
  overflow-y: scroll;
  width: 100%;
  display: grid;

  gap: 0.8em;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding: auto;
}
header {
  padding-right: unset;
}

.service-display-box {
  background-color: rgba(128, 128, 128, 0.16);
  padding: 5px 15px;
  width: 90%;
  color: grey;
  font-weight: 600;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
  margin: auto;
  min-height: 50px;
  overflow-wrap: break-word;
  word-wrap: break-word;
  white-space: normal;
  max-width: 100%;
  overflow: hidden;
  text-align: center;
  hyphens: auto;
  transition: background-color 0.2s ease;
}

.service-display-box:hover,
.service-display-box:focus {
  background-color: rgba(128, 128, 128, 0.25);
}

.week-select-div {
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: auto;
}
.width-form-login {
  width: 65% !important;
}
.week-select-div button {
  background-color: rgba(255, 62, 62, 0.685);
  font-size: 17px;
}
.week-select-div button:last-child {
  background-color: rgba(128, 128, 128, 0.486);
}

.margin-form-booky {
  margin: 5% 0% 0% 0% !important;
}
.login-btn {
  width: 55%;
  background-color: rgba(255, 0, 0, 0.747) !important;
}

.login-button-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.setup-account {
  cursor: pointer;
  font-size: 13px;
  color: rgba(128, 128, 128, 1);
  position: relative;
  transition: color 0.3s, transform 0.3s;
}

.setup-account::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -4px;
  background-color: rgb(255, 0, 0);
  transform: scaleX(0);

  transform-origin: left center;
  transition: transform 0.3s;
}

.setup-account:hover {
  color: rgb(255, 0, 0);
  transform: translateY(-3px);
}

.setup-account:hover::before {
  transform: scaleX(1);
}

/**CSS FOR MODAL POPUP**/
.removebookmodal {
  display: none;
  position: fixed;
  z-index: 99;
  width: 100%;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background-color: #f3f3f3de;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 9999;
}

.modal-wrapper-remove {
  height: 300px;
  display: flex;
  font-size: 1.5rem;
  font-weight: 600;
  justify-content: center;
  background-color: white;
  border-radius: 20px;
  max-width: 80%;
}

.height-none {
  min-height: 300px;
  height: min-content;
}

.butonmodal_remove {
  width: 200px;
  background-color: white;
}

.butonmodal_remove:hover {
  background-color: black;
  color: white;
}

.modalbuttons-remove {
  display: flex;
}

.modal-content {
  padding: 20px 30px !important;
}

.modal-container-remove {
  padding: 5rem 8rem 5rem 8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.modal-container-remove h3 {
  font-weight: 500;
}
.modal-container-remove h5 {
  font-weight: 100 !important;
}

.modal-container-remove .modal-row {
  gap: 20px;
}

.booking-list-buttons {
  display: flex !important;
  width: 85% !important;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.welcome-btn {
  background-color: rgba(255, 0, 64, 0.71);
  margin-bottom: 20px;
}
.modal-bottom-text {
  font-weight: 400 !important;
}
.error-text {
  min-height: 25px;
  color: red;
}

.form-container-select-time {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
  margin-top: 10px;
}

.column-select-time {
  flex: 1;
}

.error-input {
  border: 1px solid rgba(255, 0, 0, 0.678) !important;
}
@media screen and (max-width: 700px) {
  .modal-container-remove {
    padding: 5rem 3rem 5rem 3rem;
  }
}

#initial-form-container.floaty {
  display: block;
  position: fixed;
  z-index: 10;
  left: 50%;
  transform: translateX(-50%);
}

.overlay-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 8;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

tr.cancelled td p:not(.cancel) {
  color: rgba(128, 128, 128, 0.85);
  text-decoration: line-through;
  text-decoration-color: red;
}

tr.user-booking td p {
  margin-bottom: 0;
}

tr.user-booking td:last-child {
  padding-right: 30px;
  position: relative;
}

tr.user-booking td:last-child button {
  display: none;
}

tr.user-booking:hover td:last-child button {
  display: block;
  position: absolute;
  font-size: 10px;
  font-weight: bold;
  top: 50%;
  transform: translateY(-50%);
  right: 4px;
}

tr.user-booking td:last-child button img {
  width: 14px;
  margin-right: 2px;
  margin-bottom: 4px;
}

/**AVAILABILITY SECTION CSS**/

.avail-block-timing {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #6d6d6d;
}
.avail-block-timing select {
  margin-bottom: 0px;
  padding: 2px 30px 2px 12px;
  border: 1px solid #b4b4b4 !important;
  border-radius: 3px;
  color: #6d6d6dc7;
  width: 100%;
  line-height: 30px;
}

.tick-mark {
  width: 16px !important;
  height: 16px !important;
  border-radius: 2px !important;
  margin-right: 7px !important;
}
/* input[type="time"]::-webkit-calendar-picker-indicator {
  background: none;
}  */
.avail-heading {
  font-size: 1rem;
  font-weight: 500;
}
.avail-tick-mark {
  display: flex;
  min-width: 125px;
  max-width: 125px;
}

.avail-input-timeSlot {
  display: flex;
  align-items: center;
  gap: 13px;
}

.tick-mark:checked ~ .tick-mark::after {
  border-color: #6d6d6d;
}
.avail-checked select {
  color: rgb(0, 0, 0);
  font-weight: 500;
}
.avail-block-timing ul {
  list-style: none;
  padding: 0;
}

.avail-block-timing li {
  margin-bottom: 10px;
}

.avail-block-timing li input[type="checkbox"] {
  margin-right: 5px;
}

.avail-block-timing label {
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: unset;
}

.order-cell {
  width: 100px;
  padding: 4px !important;
}
.order-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.order-buttons {
  display: flex;
  flex-direction: column;
}

.order-up,
.order-down {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 18px;
  border: none;
  background: #f0f0f0;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.order-up:hover,
.order-down:hover {
  background: #ddd;
}

.staff-order {
  margin: 0 10px;
}

#staff-container,
#product-container {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#cancel-appointment:disabled,
#confirm-booking-btn:disabled,
#button-change-select:disabled {
  background-color: #8d8c8c !important;
}

#show-button {
  display: none;
  font-size: 8px;
  width: 120px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 4px;
}

#show-button:active {
  opacity: 80%;
}

#search-staff-button {
  height: 38px;
  width: 40px;
  line-height: unset;
  background-color: transparent;
}

#search-staff-button img {
  width: 36px;
}

#stripe-style-container {
  margin-top: 2rem;
  padding: 20px;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  font-family: Arial, sans-serif;
  font-size: 14px;
}

#saved-cards-list {
  overflow-y: auto;
  max-height: 200px;
}

#stripe-style-container label {
  margin-bottom: 10px;
  display: block;
  color: #0570de;
}

#saved-cards-list {
  margin-bottom: 20px;
}

.saved-card {
  position: relative;
}

.checkmark-card {
  display: none;
  position: absolute;
  transform: rotate(45deg) translate(-50%, -50%);
  left: 90%;
  top: 40%;
  height: 23px;
  width: 10px;
  border-bottom: 3px solid red;
  border-right: 3px solid red;
}

.selected-card .checkmark-card {
  display: block;
}

#saved-cards-list div {
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
}

#saved-cards-list div:hover {
  background-color: #e8e8e8;
}

#pay-saved-card-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: none;
}

#pay-saved-card-btn:hover {
  background-color: #0056b3;
}

#tips-modal {
  overflow-y: auto;
  overflow-x: hidden;
}

.custom-tip-group {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.custom-tip-group label {
  max-width: 150px;
  font-weight: bold;
}

#rebook-button a,
#rebook-section-button a {
  color: white;
  display: block;
  width: 100%;
}

#appointments-loading-spinner {
  top: 0;
}

.input-button-verify {
  justify-content: center;
  align-items: center;
}

.rebook-links-li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
  margin-bottom: 6px;
  padding: 6px;
}

.rebook-links-li:hover {
  background-color: #f8f8f8;
}

.payment-details {
  max-width: 400px;
  margin: 0 auto;
}

#pay-section {
  max-width: 300px;
}

#download-receipt img {
  margin-bottom: 0 !important;
}
