.mc-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mc-modal--open {
  opacity: 1;
  pointer-events: auto;
}

.mc-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.7);
}

.mc-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow: auto;
  background: #fff;
  color: #1c1c1c;
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.mc-modal__content h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
  line-height: 1.3;
}

.mc-modal__subtitle {
  margin: 0 0 20px;
  color: #4a4a4a;
}

.mc-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #4a4a4a;
}

.mc-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mc-form__label {
  font-size: 0.9rem;
  font-weight: 600;
}

.mc-form__input {
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 1rem;
}

.mc-form__input:focus {
  outline: 2px solid #1b4ed8;
  border-color: #1b4ed8;
}

.mc-button {
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 600;
  cursor: pointer;
  background: #1b4ed8;
  color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.mc-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(27, 78, 216, 0.2);
}

.mc-form__fineprint {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: #6d6d6d;
}

.mc-form__status {
  min-height: 1.2em;
  font-size: 0.9rem;
  color: #1b4ed8;
}

.mc-modal__summary {
  background: #f5f5f7;
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

.mc-modal__summary-list {
  margin: 0;
}

.mc-modal__summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.mc-modal__summary-row:last-child {
  border-bottom: none;
}

.mc-modal__summary-row dt {
  font-weight: 600;
  color: #3c3c3c;
}

.mc-modal__summary-row dd {
  margin: 0;
  color: #1c1c1c;
}

.mc-modal__summary-empty {
  margin: 0;
  color: #6d6d6d;
}

.mc-calc-sticky {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  border: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 600;
  background: #111827;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3);
}

.mc-calc-sticky:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 720px) {
  .mc-modal__dialog {
    padding: 22px;
    border-radius: 14px;
  }

  .mc-calc-sticky {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: calc(100% - 32px);
  }
}
