@charset "UTF-8";

.bh_insert_widget {
  width: 100% !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  padding: 40px !important;
  background: #f9fafb !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
  box-sizing: border-box !important;
}

.bh_write_form_wrap {
  width: 100% !important;
}

.bh_write_form {
  width: 100% !important;
}

.bh_row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}

.form_item {
  width: 100% !important;
  margin-bottom: 30px !important;
}

.item_title {
  margin-bottom: 8px !important;
}

.item_title .name {
  font-size: 18px !important;
  font-weight: 600 !important;
  color: #333 !important;
}

.item_input input[type="text"],
.item_input input[type="email"],
.item_input input[type="tel"],
.item_input input[type="number"],
.item_input select,
.item_input textarea {
  width: 100% !important;
  height: 48px !important;
  padding: 12px 16px !important;
  font-size: 16px !important;
  color: #333 !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  box-sizing: border-box !important;
  outline: none !important;
}




.item_input select {
  appearance: none !important;
  background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="10" viewBox="0 0 14 10"><path fill="%23333" d="M7 10L0 0h14z"/></svg>') !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 12px 8px !important;
}

.item_input textarea {
  height: 160px !important;
  resize: none !important;
}

/* 제출 버튼 (submit_btn) */
.bh.submit_btn {
  display: inline-block;
  width: 600px;
  height: 60px;
  line-height: 60px;
  background-color: #a7d5f9; /* 파스텔 블루 */
  color: #000;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}

.bh.submit_btn:hover {
  background-color: #91c9f7; /* hover시 약간 진한 파스텔 블루 */
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 취소 버튼 및 목록 버튼 (no_btn) */
a.no_btn {
  display: inline-block;
  width: 200px;
  height: 50px;
  line-height: 50px;
  background-color: #f0f0f5; /* 파스텔 그레이 */
  color: #555555;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  border: none;
  border-radius: 10px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  margin-left: 10px;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

a.no_btn:hover {
  background-color: #e2e6f0; /* hover시 살짝 짙어진 회색 */
  color: #333333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.12);
}





.agreement {
  margin-top: 30px !important;
  font-size: 14px !important;
  color: #666 !important;
}

.confirm {
  background-color: #f0f4f8 !important;
  padding: 20px !important;
  border-radius: 12px !important;
}

.confirm .ds-f {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.confirm label {
  margin-right: 20px !important;
  font-size: 16px !important;
}

.write_editor {
  width: 100% !important;
  min-height: 160px !important;
  background: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

.editor_placeholder {
  font-size: 16px !important;
  color: #999 !important;
  padding: 12px !important;
}

.editor_placeholder.hide {
  display: none !important;
}

.ta-c {
  text-align: center !important;
}

.mt-30 {
  margin-top: 30px !important;
}

/* 반응형 */
@media (max-width: 768px) {
  .bh_insert_widget {
	  width: 100% !important;
	  max-width: 350px !important;
	  margin: 0 0 !important;
	  padding: 0px !important;
	  background: #f9fafb !important;
	  border-radius: 16px !important;
	  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
	  box-sizing: border-box !important;
  }
  .item_input input,
  .item_input select,
  .item_input textarea {
    height: 44px !important;
    font-size: 15px !important;
  }
  .bh_btn {
    height: 50px !important;
    font-size: 18px !important;
  }
  .bh.submit_btn {
  display: flex; /* ✅ inline-block 대신 */
    align-items: center; /* 세로 중앙 */
    justify-content: center; /* 가로 중앙 */
  width: 350px;
  height: 100px;
  
  background-color: #a7d5f9; /* 파스텔 블루 */
  color: #000;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s, box-shadow 0.3s;
}
}
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* 혹시 줄바꿈 필요하면 */
    gap: 10px; /* 버튼 사이 간격 */
}