@import url("./index.css");

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.contact-side {
  padding: 26px;
  background: var(--red-soft);
  border: 1px solid #ffd2d4;
  border-radius: 8px;
}

.contact-side h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.contact-side p {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 700;
}

.line-qr {
  margin: 20px 0 22px;
  padding: 18px;
  text-align: center;
  background: #fff;
  border: 1px solid #ffd2d4;
  border-radius: 8px;
}

.line-qr img {
  width: min(190px, 100%);
  margin: 10px auto 12px;
}

.line-qr .line-qr-title {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.line-qr .line-qr-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.confirm-panel {
  display: block;
}

.confirm-lead,
.confirm-empty {
  margin: 0 0 22px;
  color: var(--muted);
  font-weight: 800;
}

.confirm-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.confirm-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.confirm-row dt {
  color: var(--muted);
  font-weight: 900;
}

.confirm-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 800;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

.confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.form-button-sub {
  background: #fff;
  color: var(--red);
  border: 2px solid var(--red);
  box-shadow: none;
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .confirm-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .confirm-actions {
    display: grid;
  }
}
