:root {
  --taco-header-height: 60px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
}

.header_viewport {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.header_viewport.taco-hide {
  display: none;
}

iframe {
  border: 0;
  width: 100%;
}

.hx_viewport_main {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hx_viewport_modal {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
}

.hx_viewport_close_button {
  position: absolute;
  cursor: pointer;
  width: 32px;
  height: 32px;
  z-index: 1000;
  top: 2%;
  right: 2%;
  text-align: center;
  display: none;
}

.hx_viewport_close_button:after {
  display: inline-block;
  content: '\00d7'; /* This will render the 'X' */
  font-size: 2em;
}

.hx_viewport_modal_inner {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}

iframe:not(:root):fullscreen::backdrop {
  background: transparent !important;
}

iframe:not(:root):-webkit-full-screen {
  background: transparent !important;
}

.modal-dialog-stack {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
}

.modal-dialog-stack .modal-dialog-stack-occluder {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1002;
}

.modal-dialog-stack > iframe.taco-modal {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  z-index: 1001;
  transition: transform 0.4s, opacity 0.4s;
  background-color: transparent;
}

@media screen and (max-width: 480px) {
  .modal-dialog-stack > iframe.taco-modal {
    height: calc(100% - 60px);
    max-height: none;
    margin-top: 60px;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
}

.modal-dialog-stack > iframe.taco-modal:last-of-type {
  z-index: 1003;
}

.modal-wrapper.lightbox {
  height: 0;
  opacity: 0;
  position: fixed;
  transform: scale(0.95);
  transition: transform 0.2s, opacity 0.2s;
}
.modal-dialog-stack.taco-open {
  padding-top: 40px;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.4s, opacity 0.4s;
  height: 100%;
}

.hx_dialog {
  display: none;
  padding: 0;
  z-index: 12000;
  height: 100%;
  opacity: 1;
  padding-top: 40px;
  transform: scale(1);
  transition: transform 0.4s, opacity 0.4s;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  left: 0;
  overflow: auto;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 5;
  margin: 0;
  padding: 0;
  font-size: 16px;
}

.hx_modal {
  width: 25rem;
  border-radius: 12px;
  max-width: calc(100% - 30px);
  overflow: hidden;
  background-color: #fff;
  box-sizing: inherit;
  font-size: 16px;
}

.hx_dialog_title {
  border-bottom: 1px solid #e6e7eb;
  color: rgba(0, 0, 0, 0.7);
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 2;
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

.hx_dialog_body {
  margin-bottom: 25px;
  padding: 20px;
  text-align: center;
  margin: 0;
  box-sizing: inherit;
}

.hx_dialog_footer {
  padding: 20px;
  margin: 0;
  box-sizing: inherit;
}

.hx_dialog_button_section {
  display: flex;
  margin: auto;
  max-width: 230px;
  padding: 0;
  box-sizing: inherit;
  line-height: 1.5;
  margin-left: 1;
}

.hx_dialog_secondary_button {
  flex: 1;
  margin-right: 3px;
  display: block;
  background-color: transparent;
  border: 1px solid #0064ac;
  color: #0064ac;
  border-radius: 2px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  min-width: 100px;
  outline: 0;
  padding: 10px 28px;
  position: static;
  text-align: center;
  transition: background-color 0.1s ease-out;
  white-space: nowrap;
  background: transparent;
  cursor: pointer;
}

.hx_dialog_primary_button {
  flex: 1;
  margin-left: 3px;
  display: block;
  background-color: #0064ac;
  border: 1px solid #0064ac;
  color: #fff;
  border-radius: 2px;
  display: inline-block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25rem;
  min-width: 100px;
  outline: 0;
  padding: 10px 28px;
  position: static;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  text-transform: none;
  overflow: visible;
}
.taco-viewport {
  display: block;
}
.taco-feature {
  display: block;
  width: 100%;
}
.taco-feature.taco-feature-global {
  height: 100%;
  top: unset;
}
.taco-feature.taco-feature-modal {
  position: relative;
  top: unset;
  min-height: unset;
}
.taco-feature.taco-feature-modal.taco-feature-modal-takeover {
  min-width: 100%;
  min-height: 100%;
  max-width: unset;
  max-height: unset;
}
.taco-feature.taco-feature-modal.taco-feature-modal-lightbox {
  height: unset;
  max-width: 80%;
  max-height: 80%;
  min-width: unset;
  min-height: unset;
}
.taco-modal-container-takeover {
  display: block;
  background-color: white;
}
.taco-modal-container-lightbox {
  display: flex;
  background-color: rgba(0, 0, 0, 0.7);
}

.taco-feature-iframe {
  display: block;
  width: 100%;
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
}
.taco-feature-iframe.taco-has-header {
  top: var(--taco-header-height);
}

div.taco-feature-module-federation-container {
  position: absolute;
  width: 100%;
  top: 0;
}
div.taco-feature-module-federation-container.taco-has-header {
  top: var(--taco-header-height);
}

.taco-feature-web-component {
  position: absolute;
  width: 100%;
  top: 0;
}
.taco-feature-web-component.taco-has-header {
  top: var(--taco-header-height);
}
.taco-feature.taco-feature-hide-current,
.taco-feature-hide-current {
  display: none;
}

.taco-flex {
  display: flex;
}

.taco-show {
  display: block;
}

.taco-hide {
  display: none;
}

.taco-overflow-hidden {
  overflow: hidden;
}

.taco-modal-iframe {
  height: 100%;
  width: 100%;
  max-width: unset;
  max-height: unset;
}

.taco-feature-min-height {
  min-height: 100%;
}

.taco-feature-min-height.taco-has-header {
  min-height: calc(100% - var(--taco-header-height));
}

.taco-feature-scroll {
  height: 100vh;
}

.taco-feature-scroll.taco-has-header {
  height: calc(100vh - var(--taco-header-height));
}

