.modal-box {
  position: relative;

  width: 100%;
  max-width: 550px;

  max-height: calc(100vh - 40px);

  background: #fff;
  border-radius: 15px;

  padding: 30px;

  box-sizing: border-box;

  overflow-y: auto;

  transform: translateY(20px);
  transition: transform 0.3s ease;
}

/* Quote submission feedback */
.feedback-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 10000;
}

.feedback-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.feedback-modal .modal-box {
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.feedback-modal.active .modal-box {
  transform: translateY(0);
}

/* Close button */
.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;

  font-size: 30px;
  line-height: 1;

  cursor: pointer;
}

