/* 1. 전체 배치 및 폰트 설정 */
.center-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 150px;
  font-family: 'Pretendard', -apple-system, sans-serif;
}

/* 2. 상자 가로 길이 및 내부 정렬 */
.smartcapture-controls {
  width: 100%;
  max-width: 600px; /* 요청하신 가로 길이 */
  display: flex;
  flex-direction: column; /* 요소를 위에서 아래로 쌓음 */
  align-items: center;    /* 모든 요소를 가운데 정렬 */
}

/* 3. 라벨 스타일 (회색) */
.sc-formfield-label {
  margin-bottom: 4px;
  font-weight: 500;
  color: #999999;
  font-size: 11px;
}

/* 필수 표시(*) 빨간색 */
.required-mark {
  color: #ff0000;
  margin-left: 2px;
}

/* 4. 입력창 스타일 (그레이 테두리 및 소형화) */
.sc-formfield-input {
  width: 100%;
}

.sc-formfield-input input {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #dddddd;
  border-radius: 2px;
  box-sizing: border-box;
  color: #666666;
  font-size: 11px;
  text-align: center; /* 입력 텍스트 중앙 정렬 */
  outline: none;
}

.sc-formfield-input input:focus {
  border-color: #bbbbbb;
}

/* 5. 상자 아래 안내 문구 스타일 (CSS로 추가) */
.sc-formfield-hint {
  margin-top: 6px;
  color: #aaaaaa;   /* 연한 회색 */
  font-size: 10px;  /* 더 작게 설정 */
  letter-spacing: -0.5px;
}


/* 클릭 가능한 텍스트 스타일 */
.clickable-text {
  text-decoration: underline;
  cursor: pointer;
  color: #333;
  font-weight: bold;
}

/* 모달 전체 배경 */
.modal {
  display: none; /* 기본적으로 화면에서 숨김 */
  position: fixed;
  z-index: 1000; /* 다른 요소들보다 최상단에 배치 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* 반투명한 어두운 배경 */
}

/* 모달 내부 콘텐츠 창 */
.modal-content {
  background-color: #fff;
  margin: 15% auto; /* 화면 중앙 배치 */
  padding: 30px;
  width: 80%;
  max-width: 450px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.modal-content h3 {
  margin-top: 0;
  font-size: 18px;
  text-align: left;
}

.modal-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  text-align: left;
  margin-bottom: 25px;
  word-break: keep-all;
}

/* 닫기 버튼 */
.close-btn {
  background-color: #f4f5f9;
  color: #333;
  border: none;
  padding: 10px 40px;
  cursor: pointer;
  font-size: 14px;
}