
#inquiry-widget {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 360px;
  height: 480px;
  background: #fff;
  border: 2px solid #007BFF;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.2);
  padding: 0;
  font-family: sans-serif;
  overflow: hidden;
}

.inquiry-header {
  background: #007bff;
  color: white;
  font-weight: bold;
  text-align: center;
  padding: 10px 0;
  position: relative;
  font-size: 14px;
}

.inquiry-header .close-btn {
  position: absolute;
  right: 12px;
  top: 6px;
  font-size: 20px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.inquiry-title {
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 0 6px;
  color: #222;
  margin-bottom: 50px;
}

.inquiry-step {
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px 30px;
  position: relative;
}

.inquiry-step.active {
  display: flex;
}

.inquiry-step .form-content {
  margin-top: 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.inquiry-step label {
  font-size: 15px;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
  align-self: center; /* 다시 중앙 정렬로 변경 */
  text-align: center; /* 텍스트도 중앙 정렬로 변경 */
  width: 100%; /* 부모에 꽉 차게 */
}

.inquiry-step input[type="text"],
.inquiry-step textarea {
  width: 85%;
  height: 48px;
  padding: 12px;
  font-size: 16px;
  border-radius: 12px;
  border: 1px solid #ccc;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.inquiry-step textarea {
  height: 80px;
  resize: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column; /* 세로 정렬 유지 */
  align-items: center; /* 체크박스 그룹 자체를 중앙 정렬 */
  gap: 10px;
  width: 100%; /* 너비를 100%로 유지하고, 내부 label에서 너비를 조절 */
  padding-left: 0;
  margin-left: 0;
  box-sizing: border-box;
}

/* 개별 체크박스 레이블 스타일 조정 */
.checkbox-group label {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 체크박스와 텍스트를 레이블 내에서 왼쪽으로 정렬 */
  width: 85%; /* 입력 필드와 동일한 너비로 제한 */
  text-align: left; /* 텍스트는 왼쪽 정렬 */
  padding-left: 0;
  margin-bottom: 0;
  font-size: 15px;
}

.checkbox-group label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  transform: translateY(-1px);
}


.next-btn,
.submit-btn {
  background-color: #007bff;
  color: white;
  padding: 12px 0;
  width: 120px;
  border: none;
  border-radius: 30px;
  margin-top: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.prev-btn {
  background-color: #fff;
  color: #ff6b6b;
  border: 1px solid #ff6b6b;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 25px;
  left: 20px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.prev-btn:hover {
  color: #ff3333;
  border-color: #ff3333;
}

.next-btn:hover,
.submit-btn:hover {
  background-color: #0056b3;
}

.inquiry-complete {
  text-align: center;
  padding: 40px 20px;
  font-size: 15px;
  font-weight: 500;
  color: #007bff;
  display: none;
}

.progress-container {
  width: calc(100% - 100px);
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 50px;
  position: absolute;
  top: 36px;
  left: 50%;
  transform: translateX(-50%);
}

.progress-bar {
  height: 100%;
  width: 0%;
  background-color: #ff6b6b;
  border-radius: 50px;
  transition: width 0.3s ease-in-out;
}

.step-indicator {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 12px;
  color: #777;
  font-weight: bold;
}

/* inquiry-open-btn 스타일 */
#inquiry-open-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 0;
  box-shadow: none;
}

#inquiry-open-btn img {
  width: 123px;
  height: 131px;
  vertical-align: middle;
}