/* ============================================
   설정 (Settings) — 전용 CSS
   common.css → components.css → settings.css
   이 파일은 설정 페이지에만 필요한 스타일
   ============================================ */

/* ── 폼 인풋/셀렉트/라디오/텍스트에리어는 components.css 의 form-* 사용 ── */

/* ── 인풋 그룹 (인풋 + suffix 텍스트) ── */
.stg-input-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stg-input-suffix {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ── 보조 설명 (hint) ── */
.stg-hint {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-weak);
  margin-top: 4px;
}

/* ── 고정 텍스트 (수정 불가 항목) ── */
.stg-fixed-text {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 8px 0;
}

/* ── 저장 버튼 행 (카드 외부, 우측 정렬) ── */
.stg-save-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  margin-bottom: 24px;
}

/* ── 내용 미리보기 (테이블 셀 내 말줄임) ── */
.stg-preview-cell {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── 접속 결과 색상 텍스트 ── */
.stg-login-success { color: var(--success); font-weight: 500; }
.stg-login-fail    { color: var(--danger); font-weight: 500; }

/* ── 권한 테이블 select 크기 조정 ── */
.stg-permission-select {
  font-family: var(--font-family);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--surface-base);
  border: none;
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238C9AA5' d='M2.5 4.5L6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 24px;
  min-width: 120px;
  transition: box-shadow 0.15s ease;
}

.stg-permission-select:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

/* ── 날짜+시간 인라인 그룹 ── */
.stg-datetime-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ── 삭제불가 경고 모달 ── */
.modal__message--warning-box {
  background: rgba(224,90,58,0.06);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--danger);
  font-weight: 500;
  margin-bottom: 20px;
}

/* ── 모달 변형 스타일은 components.css 에 통합 ── */

/* ── 관리자 메모 카드 하단 버튼 ── */
.stg-memo-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
