.fanat-feedback-modal {
  position: fixed;
  inset: 0;
  z-index: 10120;
  pointer-events: none;
}

.fanat-feedback-modal.is-open {
  pointer-events: auto;
}

.fanat-feedback-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.fanat-feedback-modal.is-open .fanat-feedback-modal__overlay {
  opacity: 1;
  pointer-events: auto;
}

.fanat-feedback-modal__dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(28rem, calc(100vw - 2rem));
  padding: 1.5rem 1.5rem 1.25rem;
  border-radius: var(--fanat-radius, 0.75rem);
  background: var(--fanat-brand, #004494);
  color: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.fanat-feedback-modal.is-open .fanat-feedback-modal__dialog {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.fanat-feedback-modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.fanat-feedback-modal__close:hover,
.fanat-feedback-modal__close:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: 0;
}

.fanat-feedback-modal__title {
  margin: 0 0 1rem;
  padding-right: 1.5rem;
  font-family: var(--fanat-font-text, Montserrat, sans-serif);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
}

.fanat-feedback-modal__phone {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  white-space: nowrap;
}

.fanat-feedback-modal__phone:hover,
.fanat-feedback-modal__phone:focus {
  color: #fff;
  opacity: 0.9;
  text-decoration: underline;
}

.fanat-feedback-modal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  border-color: #fff;
  background: #fff;
  color: var(--fanat-brand, #004494);
  font-weight: 600;
}

.fanat-feedback-modal__cta:hover,
.fanat-feedback-modal__cta:focus {
  background: #f4f7f8;
  border-color: #f4f7f8;
  color: var(--fanat-brand-hover, #003676);
}

body.is-feedback-modal-open {
  overflow: hidden;
}
