.page-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--softtec-medium-blue1);
  background-color: var(--softtec-light-blue2);
  font-size: var(--font-size-12);
  min-height: 100vh; /* fallback for Js load */
  min-height: var(--doc-height);
}

.page-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  font-size: var(--font-size-16);
  font-family: var(--font-bold);
}

/*#region Pages-Layout  + Summary*/
.layout {
  min-height: 100vh;
  min-height: var(--doc-height);
}

.steps-container {
  flex: 1;
  width: 100vw;
  display: flex;
  gap: 2rem;
  flex-direction: column;
}

.steps-summary-container {
  display: flex;
  gap: 2rem;
  position: relative;
  background-color: var(--softtec-light-blue2);
}

.summary-container {
  overflow: hidden;
  height: calc(100vh - 4rem);
  height: calc(var(--doc-height) - 4rem);
  background-color: var(--softtec-white);
  color: var(--softtec-medium-blue1);
  border-radius: 8px;
  position: sticky;
  right: 2rem;
  top: 2rem;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
}

.summary-content {
  padding: 2rem;
  overflow-y: auto;
  scrollbar-width: none;
  flex: 1;
  justify-content: flex-start;
  width: 29.5rem;
  max-width: 29.5rem;
}

.summary-title {
  color: var(--softtec-dark-blue);
}

.summary-infos {
  padding: 1.5rem 0 0 0;
  font-size: var(--font-size-12);
}

.summary-content hr, .summary-class-hr hr {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  width: 98%;
  background-color: var(--softtec-line-color);
  border: 0;
  opacity: .25;
  height: 1px;
}

.summary-info .text {
  color: var(--softtec-medium-blue2);
}

.summary-content .timer {
  display: none;
}

.summary-footer {
  margin-top: auto;
  font-size: var( --font-size-11);
  line-height: 13px;
}

.summary-rooms + hr {
  height: 3px;
  width: 100%;
  margin: 1rem 0;
}

.summary-category-name {
  max-width: 67%; /*geldsummen bis 99.999,99€ werden ohne zeilenumbruch angezeigt*/
  overflow-wrap: break-word;
  word-break: break-all;
}

.summary-category-price {
  display: flex;
  align-items: end;
}

.summary-rooms {
  flex: 1;
  overflow-y: auto;
  scrollbar-width: none;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  font-size: var(--font-size-12);
}

.summary-room {
  display: flex;
  justify-content: space-between;
  line-height: 1.2rem;
}

.summary-article {
  margin: 2rem 0;
  display: flex;
  gap: .2rem;
  flex-direction: column;
}

.summary-article-name {
  width: 67%;
  overflow-wrap: break-word;
  word-break: break-all; 
  line-height: 1.2rem;
  display: flex;
  text-align: left;
}

.summary-article-price {
  line-height: 1.2rem;
  display: flex;
  align-items: flex-end;
}

.summary-option, .summary-articles {
  display: flex;
  gap: .5rem;
  flex-direction: column;
  font-size: var(--font-size-12);
  align-items: start;
  line-height: 1.2rem;
}
.summary-articles {
  margin-top: 1rem;
}

.summary-article label,
.summary-option label {
  line-height: 1.2rem;
  max-width: 67%;
  overflow-wrap: break-word;
  word-break: break-all;
}

.summary-option-rate {
  line-height: 1.2rem;
}

.summary-option label.d-flex span {
  line-height: 1.4rem;
  text-align: left;
}

.summary-totalprice {
  color: var(--softtec-medium-blue1);
  padding-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

  .summary-room > label:first-child,
  .summary-totalprice > label:first-child {
    color: var(--softtec-medium-blue1);
  }

  .summary-room > label:last-child,
  .summary-totalprice > label:last-child {
    color: var(--softtec-medium-blue1)
  }

.summary-rate-info {
  align-items: start;
  gap: .5rem !important;
}

  .summary-rate-info .text {
    line-height: 1.2rem;
  }

/* Tooltip/Modal */
.summary-tooltip {
  position: relative;
  background-color: var(--softtec-light-blue2);
  color: var(--softtec-medium-blue1);
  display: none;
  position: sticky;
  gap: 1rem;
  align-items: center;
  bottom: 0;
  width: 100%;
  z-index: 4;
  padding: 2rem;
}

.summary-tooltip-label {
  background-color: var(--softtec-white);
  gap: .5rem;
  align-items: center;
  display: flex;
  padding: 1rem;
  width: 100%;
  cursor: pointer;
  border-radius: .8rem;
  box-shadow: 1px 1px 5px 0px var(--dark-transparent1);
  text-wrap: nowrap;
  height: 4rem;
}

  .summary-tooltip-label .basket-icon {
    margin-right: .5rem;
  }

.summary-tooltip-container {
  position: fixed !important; /* overlay on entire screen */
  text-align: center;
  top: auto;
  display: flex;
  flex-direction: column;
  left: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  height: var(--doc-height);
  background-color: var(--dark-transparent-background);
  visibility: hidden;
  z-index: 9999;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom left;
  padding: 1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.summary-tooltip-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: calc(100vh - 2rem);
  height: calc(var(--doc-height) - 2rem);
  margin-top: auto;
  border-radius: 1rem 1rem 0 0;
}

  .summary-tooltip-content .summary-content {
    background-color: var(--softtec-white);
    border-radius: 1rem;
    width: 100%;
    max-width: 100%;
  }

.tooltip-toggle:not(:checked) + .summary-tooltip-label + .summary-tooltip-container {
  transform: scaleY(0);
  opacity: 0;
  visibility: visible;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
}

.tooltip-toggle:checked + .summary-tooltip-label + .summary-tooltip-container {
  visibility: visible;
  opacity: 1;
  transform: scaleY(1);
}
/*#endregion*/

/*#region Icons*/
.icon-as-bg {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2rem;
  height: 2rem;
  width: 2rem;
  min-width: 2rem;
  min-height: 2rem;
}

.default-icon {
  background-image: url('icons/default_icon.svg');
}

.person-icon {
  background-image: url('icons/person_7b94ab.svg');
}

.person2-icon {
  background-image: url('icons/person_4c6e8e.svg');
}

.baby-icon {
  background-image: url('icons/baby_boy_7b94ab.svg ');
}

.checkin-icon {
  background-image: url('icons/Check_In_IBE.svg');
}

.checkout-icon {
  background-image: url('icons/Check_Out_IBE.svg');
}

.bed-icon {
  background-image: url('icons/bed_7b94ab.svg');
}

.bed-icon2 {
  background-image: url('icons/bed_4c6e8e.svg');
}

.info-icon {
  background-image: url('icons/info_4c6e8e.svg');
}

.basket-icon {
  background-image: url('icons/basket_00305e.svg');
}
/*#endregion*/

/*#region checkboxes*/
.form-field {
  display: flex;
  align-items: center;
}

.form-check-input {
  width: 1.5rem;
  min-width: 1.5rem;
  height: 1.5rem;
  appearance: none;
  border-radius: 2px;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--softtec-dark-blue);
}

  .form-check-input:checked {
    background-color: var(--softtec-medium-blue1);
    border-color: var(--softtec-medium-blue1);
  }

    .form-check-input:checked::after {
      content: "✓";
      font-family: "FontAwesome";
      content: "\f00c"; /* check icon */
      color: var(--softtec-white);
      position: absolute;
      top: 0;
      left: 2px;
      margin-top: -2px;
      margin-left: -1px;
      font-size: var(--font-size-12);
    }

.form-field .form-check-input + .form-label, .form-check-label {
  cursor: pointer;
  color: var(--softtec-medium-blue1);
}


.show-validation .form-check-input.invalid + .form-check-label:after {
  font-family: 'FontAwesome';
  /*the calendar icon in FontAwesome */
  content: '\f071';
  color: var(--softtec-red);
  margin-left: 1rem;
  font-size: var(--font-size-16);
  line-height: normal;
}

.input-with-icon {
  position: relative;
}

  .input-with-icon .input-control {
    padding-right: 2.5rem;
  }

  .input-with-icon .icon {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }

.input-calendar-icon {
  width: 2rem;
  height: 2rem;
}
input-with-icon label {
  font-size: 8px;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
 
}

input[type="date"]::-moz-calendar-picker-indicator {
  opacity: 1;
}


/*#endregion*/

/*#region validation*/
.show-validation .invalid-value {
  border: 1px solid var(--softtec-red) !important;
}
/*#endregion*/

/*#region modal size*/
.restriction-page-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1050;
  padding-bottom: 40%;
}

/*#endregion*/

/*#region Media*/
@media (max-width: 1090px) {
  .page-container {
    padding-right: 2rem;
  }

  .summary-container {
    display: none !important;
  }

  .summary-tooltip {
    display: flex;
  }

  .steps-summary-container {
    flex-direction: column;
  }

  .summary-tooltip-container .fa-x.d-none {
    display: block;
    font-size: var(--font-size-20);
    color: var(--softtec-medium-blue1);
  }

  .steps-container {
    min-height: calc(100vh - 8rem);
    min-height: calc(var(--doc-height) - 8rem);
  }
}

@media (max-width: 520px) {
  .page-container {
    padding: 1rem !important;
    gap: 1rem;
  }

  .page-title {
    font-size: var(--font-size-14);
  }

  .font-size-14 {
    font-size: var(--font-size-12);
  }

  .font-size-16 {
    font-size: var(--font-size-14);
  }

  .summary-tooltip {
    padding: 1rem;
  }

  .steps-summary-container {
    gap: 1rem;
  }

  .steps-container {
    min-height: calc(100vh - 6rem);
    min-height: calc(var(--doc-height) - 6rem);
  }

  .summary-content {
    padding: 1rem;
  }
}

/*#endregion*/
