.dd-review-form-wrap {
  width: 100%;
}

.dd-review-form-message {
  min-height: 24px;
  margin-bottom: 8px;
  color: #683B2B;
  font-weight: 700;
}

.dd-review-form-message--error {
  color: #943f2f;
  background: #fdf0ed;
  border: 1px solid #ecc8bf;
  border-radius: 14px;
  padding: 8px 12px;
}

.dd-review-consent {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: rgba(104, 59, 43, .82);
  font-size: 14px;
}

.dd-review-consent a {
  color: #8b5a49;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dd-review-consent--outside {
  margin-top: 12px;
  max-width: 520px;
}

.dd-review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.dd-review-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(104, 59, 43, 0.28);
  backdrop-filter: blur(4px);
}

.dd-review-modal__box {
  position: relative;
  width: min(92vw, 480px);
  margin: min(12vh, 100px) auto 0;
  background: #FAF6F2;
  border: 1px solid #DED1BD;
  border-radius: 28px;
  box-shadow: 0 28px 52px rgba(104, 59, 43, 0.2);
  padding: 28px 24px;
  text-align: center;
  color: #683B2B;
  animation: ddModalIn .25s ease-out;
}

.dd-review-modal__icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #D49E8D, #DED1BD);
  color: #683B2B;
  font-size: 1.45rem;
  font-weight: 800;
}

.dd-review-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #683B2B;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.3rem;
}

.dd-review-modal__close:hover {
  background: rgba(212, 158, 141, 0.18);
}

.dd-review-modal__button {
  margin-top: 12px;
  min-height: 48px;
  border-radius: 999px;
  border: 1px solid #683B2B;
  background: #683B2B;
  color: #FAF6F2;
  padding: 0 20px;
  font-weight: 800;
  cursor: pointer;
}

.dd-review-modal__button:hover {
  background: #5a3224;
}

.dd-review-modal__button:focus-visible,
.dd-review-modal__close:focus-visible {
  outline: 3px solid rgba(176, 132, 1, 0.38);
  outline-offset: 2px;
}

.dd-modal-open {
  overflow: hidden;
}

@keyframes ddModalIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

