.gov-survey-image-preview { position: relative; display: inline-block; border: 2px solid #e8e8e8; border-radius: 10px; width: 80px; height: 80px; }
.gov-survey-image-preview img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 10px;}
.gov-survey-image-remove { position: absolute; top: 2px; right: 5px; }
.gov-result-container {
    padding-left: 142px;
    padding-right: 142px;
}

.gov-vote-content-textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    background: transparent;
    font-size: 14px;
    line-height: 1.5;
    overflow: hidden;
    margin-bottom: 10px;
}

.gov-survey-textarea {
    width: 100%;
    border: none;
    outline: none;
    resize: none;
    overflow: hidden;
    background: transparent;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

@media (max-width: 1200px) {
    .gov-survey-label {width: 100%;}
    .gov-survey-content-box {
        display: flex;
        justify-content: center;
    }
    .gov-preview-text {
        margin: auto 0;
    }
    .gov-shorts {
        margin-bottom: 20px;
    }
    .gov-preview-radio {margin-top: 0;}
    .gov-result-container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* 설문 수정 — 작성일시 */
.gov-survey-created-at {
    text-align: end;
  font-size: 16px;
  margin-bottom: 20px;
  color: black;
  font-weight: bold;
}
.gov-survey-created-at > span {
    font-weight: 100;
}

/* 수정 버튼 — border #3eb5c9, 텍스트 #3eb5c9 */
.gov-result-bottom-btn--edit {
  background: #fff;
  border: 1px solid #3eb5c9;
  color: #3eb5c9;
}

/* ── 일정 날짜 범위 필드 (vote-add / survey-add 공통) ── */
.gov-schedule-range {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-schedule-date-wrap {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  padding: 0 12px;
  height: 40px;
  gap: 8px;
  flex: 1;
  background: #fff;
  color: black;
}

.gov-schedule-cal-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  pointer-events: none;
}

.gov-schedule-date-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: transparent;
}

.gov-schedule-value {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #333;
  pointer-events: none;
}

.gov-schedule-placeholder {
  font-size: 14px;
  color: #aaa;
  pointer-events: none;
  white-space: nowrap;
  flex: 1;
  text-align: center;

}

.gov-schedule-date-wrap:has(.gov-schedule-date-input:not([value=""])) .gov-schedule-placeholder {
  display: none;
}

.gov-schedule-sep {
  font-size: 14px;
  color: #666;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .gov-schedule-range {
    flex-direction: column;
    align-items: stretch;
  }

  .gov-schedule-sep {
    text-align: center;
  }
}

/* ── 거버넌스 ID 입력 텍스트 정렬 (기본) ────────────────── */
.sasd-id-input {
  display: flex;
  align-items: center;
  padding: 0 12px 0 39px;
  font-size: 16px;
  color: #222;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 거버넌스 선택 모달 — border-radius + 데스크탑 테이블 스크롤 ── */
.sgm-modal {
  overflow: hidden;
  border-radius: 10px;
}

.sgm-table-body {
  max-height: 380px;
  overflow-y: auto;
}

.sgm-cancel-btn {
  margin-bottom: 16px;
}

/* 거버넌스 ID 행 좁은 화면 대응 (≤ 480px) */
@media (max-width: 480px) {
  .sasd-id-value {
    flex-wrap: nowrap;
  }

  .sasd-id-input {
    padding: 0 8px;
    font-size: 13px;
    min-width: 0;
  }

  .sasd-select-btn {
    flex-shrink: 0;
  }
}

/* ── 반려사유 textarea (투명, 자동 높이 확장) ───────────── */
.sasd2-reject-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-size: 14px;
  font-family: inherit;
  line-height: 1.6;
  overflow: hidden;
  min-height: 1.6em;
  display: block;
}

/* ── 관리자 메모 textarea (투명, 자동 높이 확장) ──────────── */
.sasr-memo-textarea {
  width: 100%;
  border: none;
  outline: none;
  resize: none;
  background: transparent;
  font-size: inherit;
  font-family: inherit;
  line-height: 1.6;
  overflow: hidden;
  min-height: 1.6em;
  display: block;
  color: inherit;
}
