body {
  font-family: Arial, sans-serif;
  background-color: #e6f0ff;
  color: #03396c;
  padding: 20px;
}

/* h2 local styles removed (统一) */

.survey-container {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.survey-item {
  margin-bottom: 20px;
}

.survey-label {
  font-weight: bold;
  margin-right: 10px;
  position: relative;
  cursor: pointer;
}

.tooltip {
  display: none;
  position: absolute;
  top: 25px;
  left: 0;
  background-color: #005b96;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.9em;
  white-space: nowrap;
  z-index: 10;
}

.survey-label:hover .tooltip {
  display: inline-block;
}

.rating input[type="radio"] {
  display: none;
}

.rating label {
  display: inline-block;
  padding: 5px 10px;
  margin-right: 5px;
  background-color: #cce0ff;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid #005b96;
  color: #03396c;
}

.rating input[type="radio"]:checked + label {
  background-color: #005b96;
  color: white;
}

.buttons {
  text-align: center;
}

.buttons button {
  padding: 10px 20px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: #005b96;
  color: white;
  cursor: pointer;
  font-size: 1em;
}

.buttons button:hover {
  background-color: #03396c;
}

/* === 주소검색 버튼 높이만 살짝 줄이기 === */
/* === 주소검색 버튼 높이 고정 === */
#addrSearchBtn {
  height: 49px;     /* 기본 form-control 높이(약 38px)와 동일 */
  padding: 0 12px;  /* 좌우 패딩만 주고 상하 여백은 제거 */
  line-height: 38px;/* 글자 세로 가운데 정렬 */
}

/* === Consistent label font for 주소입력 / 금액 to match 상세주소 === */
.survey-item > label,
label[for="amountInput"],
label[for="address"] {
  font-family: inherit;
  font-weight: 400; /* match Bootstrap .form-label default */
}

/* Ensure input-group button aligns with input height */
.input-group > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  padding: .375rem .75rem; /* match .form-control vertical rhythm */
}


/* ==== Address Search button height match & single-line ==== */
.input-group > .btn {
  padding: .375rem .75rem;   /* match .form-control vertical rhythm */
  line-height: 1.5;
  white-space: nowrap;       /* prevent wrapping that makes button taller */
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}


/* ==== Label font consistency: 주소입력, 금액, 상세주소 ==== */
label.form-label,
label[for="address"],
label[for="amountInput"] {
  font-family: inherit;
  font-weight: 400;
}
