/* AUTH SECTION */

.auth-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end; /* menține-l în coloană dreapta */
  /* elimină margin-left și position relative */
}

.section-reservation {
  background-color: #7678ed;
  padding: 0 4.8rem 9.6rem 4.8rem;
}
.reservationS {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  padding: 4.8rem 0rem 4.8rem 0rem;
  margin: 0 auto;
  border-radius: 1.6rem;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.titleReservation {
  font-size: 3.2rem;
  color: #7678ed;
  font-weight: 600;
  letter-spacing: -1px;
  /* position: relative; */
  display: flex;
  align-items: center;
  padding-left: 30px;
  padding-top: 1rem;
  justify-content: center;
  margin-bottom: 3.2rem;
}

.subtitleReservation {
  color: rgba(88, 87, 87, 0.822);
  font-size: 1.8rem;
  text-align: center;
  text-decoration: none;
}

.inputContainer {
  /* position: relative; */
  margin: 2.4rem 0;
}

.inputContainer input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #999;
  outline: none;
  font-size: 1.8rem;
  padding: 8px 0 5px;
  background: transparent;
}

.inputContainer label {
  /* position: absolute; */
  top: 8px;
  left: 0;
  color: #999;
  font-size: 1.8rem;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

.inputContainerReadOnly {
  /* position: relative; */
  margin: 20px 0;
}

.inputContainerReadOnly input {
  width: 100%;
  border: none;
  border-bottom: 1px solid #999;
  outline: none;
  font-size: 1.8rem;
  padding: 8px 0 5px;
  background: transparent;
}

.inputContainerReadOnly label {
  /* position: absolute; */
  top: 8px;
  left: 0;
  color: #999;
  font-size: 1.8rem;
  pointer-events: none;
  transition: all 0.2s ease-in-out;
}

.inputContainer input:focus + label,
.inputContainer input:not(:placeholder-shown):valid + label {
  top: -16px;
  font-size: 1.8rem;
  color: #3f51b5;
}

.inputContainer input.hasValue + label {
  top: -16px;
  font-size: 1.8rem;
  color: #3f51b5;
}

.inputContainerReadOnly label.label--active {
  top: -16px;
  font-size: 1.8rem;
  color: #3f51b5;
  transition: none;
  /* color: rgba(88, 87, 87, 0.822); */
  font-size: 1.8rem;
  text-align: center;
  text-decoration: none;
}
.reservationContainer {
  padding: 4.8rem 4.8rem;
}
.reservationFormContainer {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centrare orizontală */
  justify-content: center;
  box-sizing: border-box;
  background: #fff;

  overflow: visible;

  margin: 0 auto;
  /* Mută formularul spre dreapta */
}

.reservationPhoto {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.reservationButton {
  border: none;
  outline: none;
  background-color: #7678ed;
  padding: 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 1.8rem;
  transform: 0.3s ease;
  width: 100%;
  margin: 0 auto;
  font-weight: normal;
}

.reservationButton:hover {
  background-color: #5a5fcf;
}

.reservationKidXInfo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  width: 100%;
}

/*   
.boxSeparator {
  width: 90%;
  margin: 1rem auto;
  border: none;
  border-top: 2px solid #112340;
}

.box1-package {
  border: 2px solid #b887c1;
  padding: 10px;
  margin: 20px;
  width: fit-content;
  border-radius: 8px;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0, 2);
}

.box1-package {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 20px;
  border-radius: 10px;
  background-color: #7678ed;
  height: 40rem;
  width: 40rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  outline: 3px solid rgba(156, 41, 178, 0.3);
  outline-offset: 6px;
}

.box1-package:hover {
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15), 0 14px 20px rgba(0, 0, 0, 0.2),
    0 28px 60px rgba(156, 41, 178, 0.35);
  transform: translateY(-8px);
}

.box1PackageTitle {
  color: #112340;
  text-align: center;
}

.box1PackageDescription {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 8px;
  margin-bottom: 0.5rem;
  color: #112340;
  text-align: center;
}

.box1PackageBtn {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ffffff;
  color: #112340;
  border: none;
  border-radius: 6px;
  font-size: 1.8rem;
  cursor: pointer;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease;
}

.box1PackageBtn:hover {
  background-color: #eea0ff;
}
*/
.flex-form {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nameBox {
  color: #999;
  font-size: 1.8rem;
}
.checks {
  font-size: 1.6rem;
  display: inline-block;
  cursor: pointer;
}

.checboxComplete {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.checkboxes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.6rem 0;
  cursor: pointer;
}

.checkBox {
  appearance: none;
  width: 2rem;
  height: 2rem;
  border: 1px solid #ddd;
  border-radius: 50%;
  background-color: white;
  cursor: pointer;
  position: relative;
}

.checkBox:checked {
  background-color: #7678ed;
  border-color: #7678ed;
}

.checkBox:checked::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 1.4rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.checkBox:hover {
  border-color: #7678ed;
  box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

#windowImg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  position: relative; /* esențial pentru pseudo-elemente */
  margin-bottom: 1rem;
}

.loader {
  width: 50px;
  height: 50px;
  position: relative;
}

.loader::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, 0);
  width: 16px;
  height: 16px;
  background: #7678ed;
  border-radius: 50%;
  animation: bounce 1s ease-in-out infinite;
}

.loader::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  height: 48px;
  width: 48px;
  background: #fff;
  border-radius: 4px;
  animation: rotate 2s linear infinite;
}

@keyframes bounce {
  0%,
  50%,
  100% {
    transform: translate(-50%, 0px);
    height: 20px;
  }
  20% {
    transform: translate(-25%, 85px);
    height: 28px;
  }
  25% {
    transform: translate(-25%, 110px);
    height: 12px;
  }
  70% {
    transform: translate(-75%, 85px);
    height: 28px;
  }
  75% {
    transform: translate(-75%, 108px);
    height: 12px;
  }
}
@keyframes rotate {
  0%,
  50%,
  100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(90deg);
  }
  75% {
    transform: rotate(-90deg);
  }
}

/* Succes / eroare icon */
#windowImg span {
  font-size: 2.8rem;
  display: block;
  text-align: center;
}
