/* ---------- 1:1 문의 ---------- */
.iq-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.iq-list-head .mp-title {
  margin-bottom: 0;
}

.iq-write-btn {
  padding: 9px 18px;
  background: #3182f6;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.iq-write-btn:hover {
  background: #1b64da;
}

.iq-write-btn:disabled {
  opacity: 0.6;
  cursor: default;
}

.iq-cancel-btn {
  padding: 9px 18px;
  background: #f2f4f6;
  color: #4e5968;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.iq-delete-btn {
  padding: 9px 18px;
  background: #fff;
  color: #f04452;
  border: 1px solid #f04452;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.iq-row {
  cursor: pointer;
}

.iq-row:hover {
  background: #f9fafb;
}

.iq-title-cell {
  font-weight: 500;
}

.iq-new-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  background: #f04452;
  color: #fff;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  vertical-align: middle;
}

.iq-status {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.iq-status-wait {
  background: #fff3e0;
  color: #ea580c;
}

.iq-status-done {
  background: #e8f3ff;
  color: #1b64da;
}

.iq-form-card {
  padding: 20px;
}

.iq-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #4e5968;
  margin: 12px 0 6px;
}

.iq-input,
.iq-textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border, #e5e8eb);
  border-radius: 8px;
  font-size: 14px;
  color: #191f28;
  outline: none;
  box-sizing: border-box;
  font-family: inherit;
}

.iq-input:focus,
.iq-textarea:focus {
  border-color: #3182f6;
}

.iq-textarea {
  resize: vertical;
}

.iq-error {
  margin-top: 10px;
  font-size: 13px;
  color: #f04452;
}

.iq-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}

.iq-detail-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.iq-detail-head .mp-title {
  margin-bottom: 0;
}

.iq-detail-card {
  padding: 20px;
}

.iq-answer-card {
  padding: 20px;
  background: #f8fafc;
}

.iq-content {
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
  color: #191f28;
  line-height: 1.6;
  margin: 0;
}

/* ---------- 모바일 반응형 ---------- */
@media (max-width: 768px) {
  .iq-list-head {
    margin-bottom: 12px;
  }

  .iq-form-card,
  .iq-detail-card,
  .iq-answer-card {
    padding: 16px;
  }

  .iq-detail-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .iq-form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .iq-form-actions button {
    width: 100%;
  }
}
