.reservation-step {
  display: none;
}

.title {
  text-align: center;
}

.stepper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / var(--number-of-children));
  position: relative;
}

.step-circle {
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--secondary-light);
  border-radius: 2rem;
}

.step.valid .step-circle {
  background-color: var(--primary-very-light);
}

.step.current .step-circle {
  background-color: var(--secondary);
}

.step::after {
  content: "";
  position: absolute;
  display: block;
  left: calc(50% + 2rem);
  width: calc(50% - 2rem);
  top: 0.5rem;
  height: 0.3rem;
  background-color: var(--secondary-light);
  border-radius: 1rem 0 0 1rem;
}

.step::before {
  content: "";
  position: absolute;
  display: block;
  left: 0;
  width: calc(50% - 2rem);
  top: 0.5rem;
  height: 0.3rem;
  background-color: var(--secondary-light);
  border-radius: 0rem 1rem 1rem 0rem;
}

.step.first::before {
  display: none;
}

.step.last::after {
  display: none;
}

.step.valid::after,
.step.valid::before,
.step.current::before {
  background-color: var(--primary-very-light);
}

.step-number {
  text-align: center;
  font-size: 0.9rem;
  color: var(----text-primary);
  opacity: 0.7;
  margin-bottom: 0rem;
}

.step-title {
  text-align: center;
  font-size: 1rem;
  color: var(--text-primary);
  margin-top: 0.5rem;
}

.box-btn {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.btn {
  cursor: pointer;
}

/*************************
 ******* prestation *******
 **************************/
.liste-prestation {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
  max-width: 70rem;
  width: 100%;
  margin: auto;
  margin-top: 2rem;
}

.liste-prestation .presta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 4 - 3rem);
  margin-bottom: 2rem;
  border: 2px solid var(--background-tertiary);
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  transition-duration: 0.5s;
}

.liste-prestation .presta-item.selected {
  background-color: var(--primary-very-light);
  transition-duration: 0.5s;
}

.liste-prestation .presta-item .box-icon {
  width: 7rem;
  height: 7rem;
  border-radius: 1rem;
  background-color: var(--primary-very-light);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  margin-top: 1rem;
  padding: 1rem;
}

.liste-prestation .presta-item p {
  text-align: center;
  margin-top: 1rem;
}

/*************************
 ******** Calendar ********
 **************************/

.reserved-date {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

table {
  border-collapse: collapse;
}

td {
  padding: 0.7rem;
  text-align: center;
}

tr td {
  font-weight: bold;
}

th {
  font-weight: normal;
}

#month {
  text-align: center;
  height: 3rem;
}

#month button {
  background-color: var(--background);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 2rem;
  width: 1.5rem;
  height: 1.5rem;
  margin: 1rem;
}

.circle {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  position: relative;
  color: var(--text-primary);
}

.circle.free {
  color: var(--primary);
  cursor: pointer;
}

.circle.selected {
  color: var(--text-secondary);
  cursor: default;
}

.circle::before {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--background);
  color: var(--text-primary);
  opacity: 0.7;
  z-index: -1;
}

.circle.free::before {
  background-color: var(--primary-very-light);
}

.circle.selected::before {
  background-color: var(--primary);
  opacity: 1;
}

#button-container {
  margin-left: 2rem;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  max-height: 30rem;
  overflow-y: auto;
}

#button-container .hours-btn {
  width: 100%;
  border-radius: 0.5rem;
  border: 3px solid var(--primary);
  background-color: var(--background);
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 1rem;
}

#button-container .hours-btn.selected {
  background-color: var(--primary);
  color: var(--text-secondary);
}

/**************************
 ****** Date hours nr *****
 **************************/

#hours-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin-top: 2rem;
  align-items: center;
}

.clickable-block {
  padding: 1rem 2rem;
  background-color: var(--background-tertiary);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.clickable-block p {
  margin-right: 1rem;
}

/**************************
 ******** User Info *******
 **************************/

.box-form-info {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 2.5rem;
}

.box-form-info > div {
  position: relative;
  margin-bottom: 2rem;
  max-width: 40rem;
  width: 100%;
}

.box-form-info > div input,
.box-form-info > div textarea {
  width: 100%;
  padding: 1rem 2rem;
  border: 2px solid lightgray;
  border-radius: 1rem;
  max-width: 100%;
  min-width: 100%;
}

.box-form-info > div textarea {
  min-height: 8rem;
}

.box-form-info label {
  position: absolute;
  left: 1rem;
  top: -0.5rem;
  padding: 0rem 1rem;
  background-color: var(--background);
  z-index: 10;
}

/**************************
 **** valid reservation ***
 **************************/

.valid-reservation {
  width: 100%;
  max-width: 30rem;
  margin: auto;
  margin-top: 2.5rem;
  padding: 1rem 0rem;
  background-color: var(--primary);
  color: var(--text-secondary);
  border-radius: 1rem;
}

.valid-reservation p {
  text-align: center;
  color: var(--text-secondary);
}
