/*
 * 업체 정보 수정 요청 창 — 2026-10-28 Figma(3024:63228). 웨딩홀·플레이스 상세 사이드바의 «업체 정보 수정 요청» 버튼이 연다.
 *   업체 카드(사진 · 이름 · 주소) + «수정 요청 항목»(여러 줄) + «정보 출처» + 안내 «순차적으로 확인 후에 업로드됩니다.» + 취소 | 수정 요청.
 *   앱은 서버 «업체 등록 제보» 표(vendor_suggestions, kind=edit)에 «정보 출처» 칸을 더해 받는다.
 */
.vendor-edit-request {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
}

.vendor-edit-request[hidden] {
  display: none;
}

.vendor-edit-request__dialog {
  display: flex;
  width: 100%;
  max-width: 600px;
  max-height: calc(100dvh - 40px);
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  background: var(--semantic-white, #fff);
}

.vendor-edit-request__header {
  position: relative;
  display: flex;
  height: 60px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.vendor-edit-request__header h2 {
  margin: 0;
  color: var(--neutral-tx1-hero, #1a1a1a);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.vendor-edit-request__close {
  position: absolute;
  top: 50%;
  right: 20px;
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  cursor: pointer;
}

.vendor-edit-request__close img {
  width: 12px;
  height: 12px;
}

.vendor-edit-request__body {
  overflow-y: auto;
}

.vendor-edit-request__vendor {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 80px;
  background: var(--semantic-bg, #f7f7f7);
}

.vendor-edit-request__vendor img {
  width: 80px;
  height: 80px;
  flex: 0 0 80px;
  border-radius: 8px;
  object-fit: cover;
}

.vendor-edit-request__vendor strong {
  display: block;
  color: var(--neutral-tx1-hero, #1a1a1a);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.vendor-edit-request__vendor span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--neutral-tx2-title, #444);
  font-size: 14px;
  line-height: 20px;
}

.vendor-edit-request__vendor span img {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 0;
}

.vendor-edit-request__fields {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 30px 80px 20px;
}

.vendor-edit-request__field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vendor-edit-request__field label {
  padding-left: 4px;
  color: var(--neutral-tx2-title, #444);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.vendor-edit-request__field textarea,
.vendor-edit-request__field input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 8px;
  border: 1px solid var(--semantic-border-hover, #dadada);
  border-radius: 8px;
  color: var(--neutral-tx1-hero, #1a1a1a);
  font: inherit;
  font-size: 14px;
  line-height: 20px;
}

.vendor-edit-request__field textarea {
  height: 120px;
  resize: none;
}

.vendor-edit-request__field textarea::placeholder,
.vendor-edit-request__field input::placeholder {
  color: var(--neutral-tx4-dissolved, #cfcfcf);
}

.vendor-edit-request__notice {
  align-self: center;
  margin: 0 0 20px;
  padding: 2px 10px;
  border-radius: 9999px;
  background: var(--semantic-bg, #f7f7f7);
  color: var(--neutral-tx3-sub, #949494);
  font-size: 12px;
  line-height: 16px;
}

.vendor-edit-request__body > .vendor-edit-request__notice {
  display: block;
  width: max-content;
  margin-right: auto;
  margin-left: auto;
}

.vendor-edit-request__actions {
  display: grid;
  flex: 0 0 auto;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--semantic-border, #eee);
}

.vendor-edit-request__actions button {
  height: 60px;
  padding: 0;
  border: 0;
  background: var(--semantic-white, #fff);
  color: var(--neutral-tx3-sub, #949494);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  cursor: pointer;
}

.vendor-edit-request__actions button + button {
  border-left: 1px solid var(--semantic-border, #eee);
  color: var(--brand-primary, #81d8d0);
}

@media (max-width: 767px) {
  .vendor-edit-request__vendor,
  .vendor-edit-request__fields {
    padding-right: 20px;
    padding-left: 20px;
  }

  .vendor-edit-request__vendor strong {
    font-size: 16px;
    line-height: 22px;
  }
}

/* ── 상세 사이드바 — Figma(3024:60106) «업체 정보 수정 요청» 버튼 + 버튼 색(마웨스톡 회색 채움 · 상담 문의 민트 채움) ── */
.venue-detail-sidebar__edit-request {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  padding: 5px;
  border: 1px solid var(--semantic-bg-hover, #e8e8e8);
  border-radius: 4px;
  background: var(--semantic-white, #fff);
  color: var(--neutral-tx2-title, #444);
  font-size: 12px;
  line-height: 16px;
  cursor: pointer;
}

.venue-detail-sidebar .venue-detail-sidebar__button {
  min-height: 40px;
  padding: 9px 11px;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}

.venue-detail-sidebar .venue-detail-sidebar__button--talk {
  border-color: var(--neutral-tx3-sub, #949494);
  background: var(--neutral-tx3-sub, #949494);
  color: var(--semantic-white, #fff);
}

.venue-detail-sidebar .venue-detail-sidebar__button--primary {
  border-color: var(--brand-primary, #81d8d0);
  background: var(--brand-primary, #81d8d0);
  color: var(--semantic-white, #fff);
}
