.senangpay-terms-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.senangpay-terms-dialog {
  width: min(920px, calc(100vw - 28px));
  max-height: min(780px, calc(100vh - 28px));
  border: 1px solid rgba(12, 59, 62, 0.18);
  border-radius: 8px;
  padding: 0;
  color: #102223;
  background: #fffdf8;
  box-shadow: 0 28px 80px rgba(12, 59, 62, 0.24);
}

.senangpay-terms-dialog::backdrop {
  background: rgba(7, 31, 33, 0.58);
}

.senangpay-terms-modal {
  padding: 28px;
}

.senangpay-terms-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.senangpay-terms-head h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
}

.senangpay-terms-head p,
.senangpay-terms-section p,
.senangpay-terms-section li {
  color: #5c6c6d;
  line-height: 1.65;
}

.senangpay-terms-close {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(12, 59, 62, 0.2);
  border-radius: 999px;
  background: #fff;
  color: #102223;
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
}

.senangpay-terms-grid {
  display: grid;
  gap: 14px;
}

.senangpay-terms-section {
  padding: 18px;
  border: 1px solid rgba(12, 59, 62, 0.14);
  border-radius: 8px;
  background: #ffffff;
}

.senangpay-terms-section h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.senangpay-terms-section ul {
  margin: 0;
  padding-left: 20px;
}

.senangpay-terms-section a {
  color: #0a6f70;
  font-weight: 800;
}

.senangpay-terms-note {
  margin-top: 18px;
  padding: 14px;
  border-left: 5px solid #e8b22e;
  background: #f6f0e5;
  color: #33494a;
}

.site-policy-body {
  white-space: pre-line;
}

.footer-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  justify-content: flex-end;
}

.footer-policy-links button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}
