/*Softtec Colors & Fonts*/
:root {
  --font-size-8: 8px;
  --font-size-9: 9px;
  --font-size-10: 10px;
  --font-size-11: 11px;
  --font-size-12: 12px;
  --font-size-13: 13px;
  --font-size-14: 14px;
  --font-size-15: 15px;
  --font-size-16: 16px;
  --font-size-17: 17px;
  --font-size-18: 18px;
  --font-size-20: 20px;
  --font-size-24: 24px;
  --font-size-26: 26px;
  --font-size-30: 30px;
  --font-size-36: 36px;
  --font-medium: var(--guest-font);
  --font-regular: var(--guest-font);
  --font-semibold: var(--guest-font);
  --font-bold: var(--guest-font);
  --softtec-dark-blue: var(--guest-highlight);
  --softtec-medium-blue1: var(--guest-main);
  --softtec-medium-blue2: color-mix(in srgb, var(--guest-main) 74%, var(--softtec-white));
  --softtec-light-blue1: var(--guest-surface);
  --softtec-light-blue2: var(--guest-page);
  --softtec-light-blue3: var(--guest-surface);
  --softtec-light-blue4: color-mix(in srgb, var(--guest-main) 20%, var(--softtec-white));
  --softtec-white: var(--guest-surface);
  --softtec-disabled: #cdcdcd;
  --softtec-light-grey: #fafafa;
  --softtec-dark-grey: #555555;
  --softtec-red: var(--guest-signal-red);
  --softtec-switch-red: #cd695d;
  --softtec-yellow: #f7ec90;
  --softtec-light-yellow: lightyellow;
  --softtec-green: var(--guest-signal-green);
  --softtec-light-blue-shadow: color-mix(in srgb, var(--guest-main) 50%, var(--softtec-white));
  --softtec-grey-shadow: #6c6c6c6b;
  --softtec-field-border-color: color-mix(in srgb, var(--guest-main) 20%, var(--softtec-white));
  --light-transparent1: rgba(255, 255, 255, 0.1);
  --light-transparent2: rgba(255, 255, 255, 0.2);
  --light-transparent3: rgba(255, 255, 255, 0.3);
  --light-transparent4: rgba(255, 255, 255, 0.4);
  --light-transparent6: rgba(255, 255, 255, 0.6);
  --light-transparent8: rgba(255, 255, 255, 0.8);
  --dark-transparent1: rgba(0, 0, 0, 0.1);
  --dark-transparent15: rgba(0, 0, 0, 0.15);
  --dark-transparent2: rgba(0, 0, 0, 0.2);
  --dark-transparent35: rgba(0, 0, 0, 0.35);
  --dark-transparent5: rgba(0, 0, 0, 0.5);
  --dark-transparent-background: #00000050;
  --doc-height: 100vh;
  --z-base: 1;
  --z-raised: 10;
  --z-sticky: 100;
  --z-overlay: 1000;
  --z-modal: 2000;
  --z-auth: 9000;
  --z-error: 9500;
}

@supports not (color: color-mix(in srgb, red, blue)) {
  :root {
    --softtec-medium-blue2: #7b94ab;
    --softtec-light-blue4: #dbe2e8;
    --softtec-light-blue-shadow: #a5b7c6;
    --softtec-field-border-color: #dbe2e8;
  }
}

/*#region font-faces*/
@font-face {
  font-family: 'FontAwesome';
  src: url('fontawesome/webfonts/fa-solid-900.woff2') format('woff2'), url('fontawesome/webfonts/fa-solid-900.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/*#endregion*/

* {
  font-family: var(--font-regular);
  letter-spacing: 0.5px;
}

html {
  font-size: .625rem;
}

body {
  position: relative;
}

html,
body {
  height: 100vh; /* fallback for Js load */
  height: var(--doc-height);
  scrollbar-width: none;
  overflow: auto !important;
  background-color: var(--softtec-light-blue2);
  scroll-padding-top: 7.5rem;
  scroll-padding-bottom: var(--nav-clearance, 12rem);
}

.bm-container {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
  z-index: var(--z-modal) !important;
}

.blazor-error-boundary {
  background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwM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zg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
  padding: 1rem 1rem 1rem 3.7rem;
  color: var(--softtec-white);
}

  .blazor-error-boundary::after {
    content: "An error has occurred."
  }

#blazor-error-ui {
  color-scheme: light only;
  background: var(--softtec-light-yellow);
  bottom: 0;
  box-shadow: 0 -1px 2px var(--dark-transparent2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.5rem 1rem;
  position: fixed;
  width: 100%;
  z-index: var(--z-error);
}

  #blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
  }

  #blazor-error-ui .dismiss:focus-visible,
  #blazor-error-ui .reload:focus-visible {
    outline: 2px solid var(--softtec-medium-blue1);
    outline-offset: 2px;
  }

::selection {
  background: var(--softtec-medium-blue2) !important;
  color: var(--softtec-white) !important;
}

h1:focus {
    outline: none;
}

h4 {
    color: var(--softtec-dark-blue)
}

/*Flex + grid*/
.d-flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.align-items-center {
  align-items: center;
}

.align-items-start {
  align-items: start !important;
}

.justify-content-center {
  justify-content: center;
}

.justify-content-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.d-grid {
  display: grid;
}

/*Gap*/
.gap-0 {
  gap: 0 !important;
}

.gap-05 {
  gap: .5rem !important;
}

.gap-1 {
  gap: 1rem !important;
}

.gap-2 {
  gap: 2rem !important;
}

/*Fonts*/
.font-softtec-medium {
  font-family: var(--font-medium);
  font-weight: 500;
}

.font-softtec-bold {
  font-family: var(--font-bold);
  font-weight: 700;
}

.font-softtec-semibold {
  font-family: var(--font-semibold);
  font-weight: 600;
}

.font-size-12 {
  font-size: var(--font-size-12);
}

.font-size-14 {
  font-size: var(--font-size-14);
}

.font-size-16 {
  font-size: var(--font-size-16);
}

/*Margin*/
.ml-auto {
  margin-left: auto;
}

/*Padding*/
.p-2 {
  padding: 2rem !important;
}

/*General*/
.hover {
  cursor: pointer;
}

.d-none {
  display: none;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-center {
  text-align: center;
}

.bold {
  font-weight: 700;
}

label {
  display: inline-block;
}

.border-radius {
  border-radius: 8px;
}

.position-relative {
  position: relative;
}

.hidden {
  visibility: collapse;
}

/*Color*/
.medium-blue1 {
  color: var(--softtec-dark-blue);
}

.red {
  color: var(--softtec-red);
}

/*Text-Shadow*/

.text-shadow {
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.6), 2px 2px 3px rgba(0, 0, 0, 0.8);
}

/*Width*/
.w-100 {
  width: 100%;
}

/*Modal*/
.blazored-modal-focus-trap {
  height: var(--doc-height);
  display: flex;
}

.bm-header:empty {
  display: none !important;
}

.blazored-modal {
  background-color: var(--softtec-light-blue1) !important;
  padding: 2rem !important;
  overflow: auto;
  margin: auto !important;
  max-height: 90vh;
  border-radius: var(--card-radius) !important;
  box-shadow: var(--floating-shadow);
  align-items: center;
}

.size-medium {
  max-width: 70vw !important;
}

.bm-content {
  overflow: hidden;
  width: 100%;
}

.blazored-modal:has(.reception-overlay),
.blazored-modal.size-medium:has(.reception-overlay) {
  position: relative;
  inset: auto;
  width: 90vw;
  max-width: 50rem !important;
  min-height: 20rem;
  margin: auto !important;
  padding: 4rem 2rem !important;
  background: var(--softtec-light-blue1);
  border-radius: 1.2rem !important;
  box-shadow: var(--floating-shadow);
  animation: none;
  align-items: center;
  justify-content: center;
}

.reception-overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fa-xmark.close.modal-close.reception-overlay-close {
  color: var(--softtec-dark-blue);
}

.fa-xmark.close.modal-close.reception-overlay-close:hover {
  color: var(--softtec-dark-blue);
}

.reception-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reception-overlay-title {
  margin-bottom: 3rem;
  font-family: var(--font-bold);
  font-weight: 700;
  font-size: var(--font-size-18);
  line-height: 1.4;
  color: var(--softtec-dark-blue);
}

.reception-overlay-message {
  font-family: var(--font-regular);
  font-size: var(--font-size-14);
  line-height: 1.6;
  color: var(--softtec-dark-blue);
}

.reception-overlay .dots-loader {
  position: static !important;
  transform: none !important;
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .size-medium {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw !important;
    min-width: 0;
    border-radius: 2rem 2rem 0 0 !important;
    box-shadow: 0 -4px 24px var(--dark-transparent2);
    animation: bottom-modal-in 0.35s cubic-bezier(0.4,0,0.2,1);
    max-height: calc(var(--doc-height) - 9rem) !important;
    display: flex;
    align-items: end;
    justify-content: center;
  }

  @keyframes bottom-modal-in {
    from {
      transform: translateY(100%);
      opacity: 0.7;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

button:focus-visible,
a:focus-visible,
summary:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
  outline: 2px solid var(--softtec-medium-blue1);
  outline-offset: 2px;
}

[tabindex="-1"]:focus {
  outline: none;
}

.input-control,
.form-control,
.form-select {
  width: 100%;
  height: 4rem !important;
  padding: .2rem .75rem !important;
  font-size: var(--font-size-14) !important;
  border-radius: .8rem !important;
  border: 1px solid var(--softtec-medium-blue2) !important;
  background-color: var(--softtec-light-blue1) !important;
  color: var(--softtec-dark-blue) !important;
  outline: none !important;
  transition: box-shadow 0.2s;
}

  .input-control select {
    width: 100% !important;
    box-sizing: border-box;
  }

input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  display: block;
  width: 0;
  height: 0;
}

input:-webkit-autofill {
  -webkit-text-fill-color: var(--softtec-dark-blue) !important;
  transition: background-color 5000s ease-in-out 0s;
}

input:-moz-autofill {
  color: var(--softtec-dark-blue) !important;
}

.validation-message {
  color: var(--softtec-red);
  font-size: var(--font-size-12);
}

/*Icons*/
.themed-icon {
  display: inline-block;
  flex-shrink: 0;
  box-sizing: border-box;
}

  .themed-icon::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: var(--icon-color, var(--softtec-medium-blue1));
    -webkit-mask: var(--icon-url) center / contain no-repeat;
    mask: var(--icon-url) center / contain no-repeat;
  }

.icon-check-in {
  --icon-url: url('/icons/reservation/Check_In_IBE.svg');
}

.icon-check-out {
  --icon-url: url('/icons/reservation/Check_Out_IBE.svg');
}

.icon-room {
  --icon-url: url('/icons/reservation/bed.svg');
}

.icon-person {
  --icon-url: url('/icons/reservation/person_7b94ab.svg');
}

.icon-calendar {
  --icon-url: url('/icons/reservation/calendar_2.svg');
}

.icon-avatar {
  --icon-url: url('/icons/reservation/avatar.svg');
}

.icon-gift {
  --icon-url: url('/icons/reservation/gift.svg');
}

.icon-rate {
  --icon-url: url('/icons/reservation/rate.svg');
}

.icon-overview {
  --icon-url: url('/icons/reservation/overview.svg');
}

.icon-download {
  --icon-url: url('/icons/reservation/download.svg');
  aspect-ratio: 52 / 57;
}

.icon-night {
  --icon-url: url('/icons/reservation/cloudy-night.svg');
}

.icon-key-check-in {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/key/checkin.svg');
}

.icon-key-check-out {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/key/checkout.svg');
}

.icon-key-info {
  --icon-url: url('/icons/key/info_circle.svg');
}

.icon-lock {
  --icon-url: url('/icons/key/lock.svg');
}

.icon-caret-right {
  --icon-url: url('/icons/key/caret_right.svg');
}

.icon-eye {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/key/Eye.svg');
}

.icon-eye-off {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/key/Eye off.svg');
}

.icon-menu-bed {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/bed.svg');
}

.icon-menu-offer {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/offer.svg');
}

.icon-menu-contact {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/fluent--building-people-24-regular.svg');
}

.icon-menu-persons {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/persons_empty.svg');
  aspect-ratio: 38 / 30;
}

.icon-menu-booked {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/booked_empty.svg');
  aspect-ratio: 37 / 30;
}

.icon-menu-key {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/key_empty.svg');
  aspect-ratio: 30 / 30;
}

.icon-menu-book {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/book_empty.svg');
  aspect-ratio: 30 / 30;
}

.icon-menu-star {
  --icon-color: var(--softtec-dark-blue);
  --icon-url: url('/icons/menu/star_empty.svg');
  aspect-ratio: 33 / 30;
}

/*Scrollbar*/
::-webkit-scrollbar {
  height: 1rem;
  width: 1rem;
}

::-webkit-scrollbar-track {
  border-radius: .8rem;
  background: transparent;
}

/*CSS von vor Frontend-Team*/

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid var(--softtec-red);
}

:root:has(.guest-theme-standard) {
  --softtec-dark-blue: #00305e;
  --softtec-medium-blue1: #4c6e8e;
  --softtec-medium-blue2: #7b94ab;
  --softtec-light-blue1: #e5ebef;
  --softtec-light-blue2: #f2f5f7;
  --softtec-light-blue3: #e3eaeefc;
  --softtec-light-blue4: #dbe2e8;
  --softtec-white: #ffffff;
  --softtec-red: #d00000;
  --softtec-green: #4f7550;
  --softtec-light-blue-shadow: #a5b7c6;
  --softtec-field-border-color: #dbe2e8;
}

:where(:root:has(.guest-theme-standard)) h4,
:where(:root:has(.guest-theme-standard)) .medium-blue1,
:where(:root:has(.guest-theme-standard)) .reception-overlay-message,
:where(:root:has(.guest-theme-standard)) .fa-xmark.close.modal-close.reception-overlay-close:hover {
  color: var(--softtec-medium-blue1);
}

:where(:root:has(.guest-theme-standard)) .blazored-modal {
  background-color: var(--softtec-white) !important;
}

:where(:root:has(.guest-theme-standard)) .blazored-modal:has(.reception-overlay),
:where(:root:has(.guest-theme-standard)) .blazored-modal.size-medium:has(.reception-overlay) {
  background: var(--softtec-white);
}

:where(:root:has(.guest-theme-standard)) .input-control,
:where(:root:has(.guest-theme-standard)) .form-control,
:where(:root:has(.guest-theme-standard)) .form-select {
  border-color: var(--softtec-light-blue1) !important;
  background-color: var(--softtec-white) !important;
}

:root:has(.guest-theme-standard) .reconnect-modal {
  background: var(--softtec-white);
  color: var(--softtec-medium-blue1);
}
