.tfe-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.tfe-modal.is-open{
  display: block;
}

.tfe-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.tfe-modal__dialog{
  position: relative;
  max-width: 680px;
  margin: 7vh auto;
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,0.28);
  outline: none;
}

@media (max-width: 720px){
  .tfe-modal__dialog{
    margin: 10vh 12px;
  }
}

.tfe-modal__close{
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 6px 10px;
}

.tfe-modal__title{
  margin: 0 34px 12px 0;
  font-size: 18px;
}

.tfe-modal__image img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}

.tfe-modal__image{
  margin-bottom: 12px;
}

.tfe-modal__body{
  font-size: 14px;
  line-height: 1.55;
}

.tfe-modal__footer{
  margin-top: 10px;
  font-size: 13px;
  opacity: 0.9;
}

.tfe-modal__actions{
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
