/* ====== board-wrap 안 컨텐츠(문의폼) 전용 추가 스타일 ====== */
.board-wrap .consult-card{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(18,26,45,.62), rgba(18,26,45,.36));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.board-wrap .consult-head{
  padding:18px 18px 16px;
  border-bottom:1px solid var(--line);
  background: rgba(15,22,38,.55);
}

.board-wrap .consult-head .desc{
  margin:0 0 8px 0;
  color: var(--text);
  font-weight:800;
  letter-spacing:-.1px;
  font-size:16px;
}

.board-wrap .consult-head .req{
  margin:0;
  color: var(--muted);
  font-size:12px;
}
.board-wrap .consult-head .star{ color:#ff6b6b; font-weight:900; }

/* 섹션 */
.board-wrap .consult-section{
  padding: 18px;
  border-top:1px solid var(--line);
}
.board-wrap .consult-section:first-of-type{ border-top:none; }

.board-wrap .consult-title{
  margin:0 0 8px 0;
  font-size:16px;
  font-weight:850;
  letter-spacing:-.1px;
  color: var(--text);
  display:flex;
  align-items:center;
  gap:10px;
}
.board-wrap .consult-title i{
  width:28px; height:28px;
  display:inline-grid;
  place-items:center;
  border-radius:12px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(233,238,249,.92);
}

.board-wrap .consult-desc{
  margin:0 0 14px 0;
  color: var(--muted);
  font-size:13px;
  line-height:1.55;
}

/* 체크/라디오 그리드 */
.board-wrap .pick-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap:12px;
}

/* 카드 공통 */
.board-wrap .pick-card{
  position:relative;
  display:block;
  cursor:pointer;
  user-select:none;
}
.board-wrap .pick-card input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.board-wrap .pick-card .pick-content{
  min-height: 86px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,24,44,.28);
  border-radius: var(--radius);
  padding: 14px 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  color: rgba(233,238,249,.86);
  transition: .18s ease;
  text-align:center;
}
.board-wrap .pick-card .pick-content i{
  font-size:22px;
  color: rgba(233,238,249,.72);
}

.board-wrap .pick-card:hover .pick-content{
  transform: translateY(-2px);
  background: rgba(255,255,255,.06);
  border-color: rgba(110,168,255,.28);
}

.board-wrap .pick-card input:checked + .pick-content{
  border-color: rgba(110,168,255,.45);
  background: linear-gradient(135deg, rgba(110,168,255,.18), rgba(138,125,255,.14));
  box-shadow: 0 18px 45px rgba(110,168,255,.10);
  color: var(--text);
}

/* 라디오(텍스트형) */
.board-wrap .pick-card.is-radio .pick-content{
  min-height: 56px;
  flex-direction:row;
  font-weight:800;
  letter-spacing:-.1px;
}

/* 입력류 */
.board-wrap .consult-input,
.board-wrap .consult-textarea{
  width:100%;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(10,14,22,.55);
  color: var(--text);
  padding: 12px 14px;
  outline:none;
  transition:.18s ease;
}
.board-wrap .consult-textarea{
  resize: vertical;
  min-height: 140px;
  line-height:1.7;
}
.board-wrap .consult-input:focus,
.board-wrap .consult-textarea:focus{
  border-color: rgba(110,168,255,.45);
  box-shadow: 0 0 0 4px rgba(110,168,255,.10);
}

/* 연락처 grid */
.board-wrap .contact-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:12px;
}
.board-wrap .form-group label{
  display:block;
  margin:0 0 8px 0;
  color: rgba(233,238,249,.86);
  font-weight:800;
  font-size:13px;
}

/* 파일 업로드 */
.board-wrap .file-upload-area{
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(10,14,22,.35);
  border-radius: var(--radius);
  padding: 16px;
  position:relative;
  cursor:pointer;
  transition:.18s ease;
}
.board-wrap .file-upload-area.dragover{
  border-color: rgba(110,168,255,.50);
  background: rgba(110,168,255,.08);
}
.board-wrap .file-upload-area.has-file{
  border-style: solid;
  border-color: rgba(45,212,191,.40);
  background: rgba(45,212,191,.06);
}
.board-wrap .file-upload-area .file-input{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.board-wrap .file-upload-content{
  display:flex;
  align-items:center;
  gap:12px;
  color: var(--muted);
  font-weight:750;
}
.board-wrap .file-upload-content i{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color: rgba(233,238,249,.88);
  font-size:18px;
}
.board-wrap .file-name{
  margin-top:10px;
  color: rgba(233,238,249,.86);
  font-size:13px;
}

/* 보안 문자 (CAPTCHA) */
.board-wrap .captcha-wrap{
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
}
.board-wrap .captcha-img-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:6px 10px;
}
.board-wrap .captcha-img-wrap img{
  border-radius:8px;
  width:320px;
  height:100px;
  display:block;
  image-rendering:pixelated;
}
.board-wrap .captcha-refresh{
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.06);
  color:rgba(233,238,249,.88);
  cursor:pointer;
  font-size:15px;
  display:grid;
  place-items:center;
  transition:.18s ease;
}
.board-wrap .captcha-refresh:hover{
  background:rgba(110,168,255,.15);
  border-color:rgba(110,168,255,.35);
  color:rgba(110,168,255,.95);
}

/* 개인정보 동의 */
.board-wrap .privacy-agree{
  display:flex;
  align-items:center;
  gap:12px;
  padding: 14px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(15,24,44,.28);
}
.board-wrap .privacy-agree input{
  width:18px; height:18px;
  accent-color: var(--accent);
}
.board-wrap .btn-privacy-detail{
  margin-left:10px;
  border:none;
  background: transparent;
  color: rgba(110,168,255,.95);
  font-weight:800;
  cursor:pointer;
}
.board-wrap .btn-privacy-detail:hover{ text-decoration: underline; }

/* 하단 submit bar */
.board-wrap .consult-actions{
  padding: 18px;
  border-top: 1px solid var(--line);
  background: rgba(15,22,38,.55);
  display:flex;
  justify-content:flex-end;
}
.board-wrap .btn-submit{
  border:none;
  cursor:pointer;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight:900;
  color: #0b0f17;
  background: linear-gradient(135deg, rgba(110,168,255,1), rgba(138,125,255,1));
  box-shadow: 0 18px 45px rgba(110,168,255,.18);
  transition:.18s ease;
}
.board-wrap .btn-submit:hover{ transform: translateY(-1px); filter: brightness(1.03); }
.board-wrap .btn-submit i{ margin-right:8px; }

/* 모달 (기존 JS 그대로 쓰되 board-wrap에 맞춤) */
.board-wrap .privacy-modal{
  display:none;
  position:fixed;
  inset:0;
  background: rgba(0,0,0,.55);
  z-index:9999;
  padding: 18px;
}
.board-wrap .privacy-modal.show{ display:flex; align-items:center; justify-content:center; }
.board-wrap .privacy-modal-content{
  width: min(720px, 100%);
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(18,26,45,.95), rgba(11,15,23,.95));
  box-shadow: 0 30px 90px rgba(0,0,0,.55);
  padding: 18px 18px 16px;
  position:relative;
}
.board-wrap .privacy-modal-content h4{
  margin:0 0 12px 0;
  color: var(--text);
  font-size:16px;
  font-weight:900;
}
.board-wrap .privacy-detail{
  color: rgba(233,238,249,.78);
  line-height:1.7;
  font-size:13px;
}
.board-wrap .privacy-detail p{ margin: 0 0 10px 0; }
.board-wrap .btn-close{
  position:absolute;
  top:12px;
  right:12px;
  width:42px;
  height:42px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  font-size:22px;
  line-height:1;
}
.board-wrap .btn-close:hover{ background: rgba(255,255,255,.10); }

/* 모바일 반응형 */
@media all and (max-width: 1100px){
  .board-wrap .pick-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media all and (max-width: 980px){
  .board-wrap .pick-grid{ grid-template-columns: repeat(2, 1fr); }
  .board-wrap .contact-grid{ grid-template-columns: 1fr; }
}
@media all and (max-width: 420px){
  .board-wrap .pick-grid{ grid-template-columns: 1fr; }
}
