.ingresso-form-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.ingresso-form-modal-overlay.ativo {
  display: flex;
}

.ingresso-form-modal {
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ingresso-form-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.ingresso-form-modal__title {
  margin: 0;
  color: #1c3051;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
}

.ingresso-form-modal__description {
  margin: 8px 0 0;
  color: #5c6470;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.ingresso-form-modal__description:empty {
  display: none;
}

.ingresso-form-modal__close {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  background: #f3f4f6;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.ingresso-form-modal__close:hover {
  background: #e5e7eb;
  transform: scale(1.05);
}

.ingresso-form-modal__close:focus-visible {
  outline: 3px solid #df7521;
  outline-offset: 3px;
}

.ingresso-form-modal__close svg {
  width: 20px;
  height: 20px;
  stroke: #374151;
}

.ingresso-form-modal__content {
  max-height: calc(88vh - 104px);
  padding: 24px;
  overflow-y: auto;
}

.ingresso-form-modal__loading,
.ingresso-form-modal__error {
  margin: 0;
  color: #374151;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
}

.ingresso-form-modal__error {
  color: #9f1239;
}

@media (max-width: 600px) {
  .ingresso-form-modal__header,
  .ingresso-form-modal__content {
    padding-right: 20px;
    padding-left: 20px;
  }
}
