.reservation-container {
  background-color: #f8f8f8;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.reservation-container .route-img {
  width: 315px;
  height: 248px;
  z-index: 1;
}
.reservation-container .route-img.left {
  margin-left: auto;
  margin-bottom: -134px;
}
.reservation-container .route-img.right {
  margin-right: auto;
}
.reservation-card {
  border-radius: 10px;
  border: 0.5px solid #ddd;
  background: #fff;
  box-shadow: 0px 15px 20px 15px rgba(98, 190, 231, 0.05);
  z-index: 2;
  margin: auto 194px;
  border: none;
  margin-bottom: -192px;
  max-width: 1200px;
  width: 100%;
  padding: 20px;
}
.reservation-first-section {
  padding: 33px 30px 38px;
  border-right: 1px solid #ddd;
  display: flex;
  flex-direction: column;
}
.reservation-first-section .reservation-logo {
  width: 175px;
}
.reservation-first-section h1 {
  color: var(--bleu-fonc, #37388b);
  font-family: "Anton";
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
}
.reservation-infos {
  display: flex;
  flex-direction: column;
  margin-bottom: 14px;
}
.reservation-infos .info {
  display: flex;
  color: var(--bleu-fonc, #37388b);
  font-family: "Poppins";
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.duration::before {
  content: "";
  background-image: url(../images/duration-icon.png);
  width: 30px;
  height: 30px;
  background-position: left;
  margin-right: 12px;
  background-size: cover;
  margin-bottom: 14px;
}
.activity::before {
  content: "";
  background-image: url(../images/activity-icon.png);
  width: 30px;
  height: 30px;
  background-position: left;
  margin-right: 12px;
  background-size: cover;
  margin-bottom: 14px;
}
.subject::before {
  content: "";
  background-image: url(../images/subject-icon.png);
  width: 30px;
  height: 30px;
  background-position: left;
  margin-right: 12px;
  background-size: cover;
  margin-bottom: 14px;
}
.reservation-first-section .description {
  margin: 16px 0 30px;
  color: var(--bleu-fonc, #37388b);
  font-family: Poppins;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}
.reservation-first-section .note-card {
  border-radius: 10px;
  background: #ffeac7;
  box-shadow: 0px 15px 20px 15px rgba(98, 190, 231, 0.05);
  padding: 20px 22px;
  display: flex;
  margin-top: auto;
}
.reservation-first-section .note-card .note-description {
  display: flex;
  color: var(--bleu-fonc, #37388b);
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  margin-bottom: 0;
}
.reservation-first-section .note-card .note-description::before {
  content: "";
  background-image: url(../images/award-icon.png);
  width: 32px;
  height: 32px;
  background-position: center;
  background-size: cover;
  padding: 16px;
  margin-right: 12px;
}
.reservation-second-section {
  padding: 36px 40px 34px 22px;
  display: flex;
  flex-direction: column;
}
.reservation-second-section h2 {
  color: var(--bleu-fonc, #37388b);
  font-family: Anton;
  font-size: 20px;
  font-weight: 400;
}
.reservation-second-section .time-slots-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  margin-bottom: 66px;
}
.reservation-second-section .time-slots-container .time-slots-column {
  display: flex;
  flex-direction: column;
  margin-right: 60px;
}
.reservation-second-section .time-slots-container .time-slots-column .day {
  color: var(--bleu-fonc, #37388b);
  text-align: center;
  font-family: Poppins;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
}
.reservation-second-section .time-slots-container .time-slots-column .date {
  margin-bottom: 24px;
  color: var(--bleu-fonc, #37388b);
  text-align: center;
  font-family: Poppins;
  font-size: 13px;
  font-weight: 400;
  line-height: 22px;
}
.reservation-second-section .time-slots-container .time-slots-column .hour {
  border-radius: 5px;
  background: rgba(98, 190, 231, 0.35);
  padding: 12px 20px;
  width: fit-content;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  color: var(--bleu-fonc, #37388b);
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}
.reservation-second-section .time-slots-container .time-slots-column .hour:hover {
  background-color: #62BEE7;
  color: #fff;
}
.reservation-second-section .time-slots-container .time-slots-column .disabled, .disabled {
  background: #e0e0e0;
  color: #9e9e9e;
  cursor: not-allowed;
  pointer-events: none; 
}

.hour-dys {
  border-radius: 5px;
  padding: 12px 20px;
  width: fit-content;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
  background: rgba(229, 173, 69, 0.464); 
  color: #37388b;
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-weight: 600;
  line-height: 22px;
  text-decoration: none;
}

.hour-dys:hover {
  background-color: #d27e25; 
  color: #fff;
}
.legend {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-family: Poppins;
}
.legend-item {
  display: flex;
  align-items: center;
}
.legend-color {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border-radius: 3px;
}

.reservation-second-section .note {
  margin-top: auto;
  color: var(--gris, #858585);
  font-family: Poppins;
  font-size: 11px;
  font-weight: 400;
  line-height: 17px;
}
.reservation-second-section .note .aktisea-logo {
  width: 48px;
  height: 10px;
}
.hours-container {
  display: flex;
  flex-direction: column;
}
.date-container {
  display: flex;
  flex-direction: column;
}
.reservation-second-section .note:last-child {
  margin-top: 20px;
}
.bold-text {
  font-weight: 700;
}
.bold-text.text-underline {
  border-bottom: 2px solid #37388b;
}
@media screen and (max-width: 1380px) and (min-width: 1023px) {
  .reservation-card {
    margin: auto 40px -60px;
  }
  .reservation-second-section .time-slots-container .time-slots-column {
    margin-right: 30px;
  }
}
@media screen and (max-width: 980px) {
  .reservation-card {
    flex-direction: column;
    margin: auto;
    background-color: transparent;
  }
  .reservation-first-section {
    display: flex;
    flex-direction: column;
    padding: 60px 44px 29px;
  }
  .reservation-first-section .reservation-logo {
    margin: auto;
  }
  .reservation-first-section h1 {
    text-align: center;
    font-size: 20px;
    margin: 16px auto;
  }
  .reservation-second-section {
    padding: 16px 0;
    border-top: 1px solid #ddd;
    width: 90%;
    margin: 0 auto;
  }
  .reservation-second-section .time-slots-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
  }
  .reservation-container .route-img {
    display: none;
  }
  .reservation-second-section .time-slots-container .time-slots-column {
    border-radius: 10px;
    background: #fff;
    box-shadow: 0px 15px 20px 0px rgba(98, 190, 231, 0.05);
    margin-bottom: 15px;
  }
  .date-container {
    padding: 17px;
    border-bottom: 1px solid #ddd;
    flex-direction: row;
  }
  .hours-container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding: 17px;
  }
  .reservation-second-section .time-slots-container .time-slots-column .hour {
    width: fit-content;
    margin-bottom: 0;
    padding: 12px 14px;
  }
  .reservation-second-section .time-slots-container .time-slots-column {
    margin-right: 0;
  }
  .reservation-second-section h2 {
    text-align: center;
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 20px;
  }
  .reservation-second-section .time-slots-container .time-slots-column .date {
    font-family: Poppins;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    margin-bottom: 0;
  }
  .reservation-second-section .note:last-child {
    margin-top: 20px;
  }
  .reservation-second-section .time-slots-container .time-slots-column .day {
    margin-right: 5px;
  }
}
