/* Shared designer-help modal (home-preview + plan 3D payment).
   Self-contained — do not load website-clean/styles.css on blog/home pages. */

.dh-modal.support-modal,
.support-modal.dh-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  padding: 16px;
  box-sizing: border-box;
}

.dh-modal.support-modal.active,
.support-modal.dh-modal.active {
  display: flex;
}

.dh-modal .designer-help-box {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  max-width: 420px;
  width: 92%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.dh-modal .designer-help-box h3 {
  font-family: "Carlito", sans-serif;
  font-size: 17px;
  font-weight: normal;
  color: #223245;
  margin: 0;
  line-height: 1.35;
  text-align: center;
}

.dh-modal .designer-help-scroll {
  max-height: 58vh;
  overflow-y: auto;
  padding-right: 4px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dh-modal .designer-help-section-title {
  font-family: "Carlito", sans-serif;
  font-size: 14px;
  font-weight: bold;
  color: #223245;
  margin: 0 0 8px;
  text-align: left;
}

.dh-modal .designer-help-faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dh-modal .designer-help-faq-item {
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
}

.dh-modal .designer-help-faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  background: #f7f7f7;
  color: #223245;
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
}

.dh-modal .designer-help-faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 16px;
  line-height: 1;
  color: #666;
}

.dh-modal .designer-help-faq-item.is-open .designer-help-faq-question::after {
  content: "−";
}

.dh-modal .designer-help-faq-answer {
  display: none;
  padding: 10px 12px 12px;
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #444;
  background: #fff;
}

.dh-modal .designer-help-faq-item.is-open .designer-help-faq-answer {
  display: block;
}

.dh-modal .designer-help-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.dh-modal .designer-help-contact-lead,
.dh-modal .designer-help-contact-sub {
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #223245;
  margin: 0;
}

.dh-modal .designer-help-contact-sub {
  color: #555;
}

.dh-modal .dh-email-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dh-modal .dh-email-field label {
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  color: #223245;
}

.dh-modal .dh-email-field input,
.dh-modal #dh-message {
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: "Carlito", sans-serif;
  font-size: 14px;
  box-sizing: border-box;
  width: 100%;
}

.dh-modal #dh-message {
  min-height: 88px;
  resize: vertical;
}

.dh-modal .designer-help-upload {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dh-modal .designer-help-attach-btn {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 16px;
  border: 1px solid #ccc;
  background: #fff;
  color: #223245;
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.dh-modal .designer-help-attach-note {
  font-family: "Carlito", sans-serif;
  font-size: 11px;
  color: #777;
  margin: 0;
}

.dh-modal .designer-help-file-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dh-modal .designer-help-file-list li {
  font-family: "Carlito", sans-serif;
  font-size: 12px;
  color: #444;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dh-modal .designer-help-file-remove {
  border: none;
  background: transparent;
  color: #c0392b;
  font-size: 12px;
  cursor: pointer;
  padding: 0;
}

.dh-modal .dh-submit-btn {
  padding: 12px;
  border-radius: 20px;
  background: rgb(249, 62, 34);
  color: #fff;
  border: none;
  font-family: "Carlito", sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.dh-modal .dh-cancel-btn {
  padding: 10px;
  border-radius: 20px;
  background: transparent;
  border: 1px solid #ccc;
  font-family: "Carlito", sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.dh-modal .dh-submit-btn:disabled,
.dh-modal .dh-submit-btn.designer-help-submit-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: grayscale(0.15);
  pointer-events: none;
}

.dh-modal .dh-faq-block[hidden],
.dh-modal .dh-email-field[hidden] {
  display: none !important;
}

[data-dh-wrap][hidden] {
  display: none !important;
}
