body { font-family: Dotum, Arial, sans-serif; font-size: 13px; }
input, textarea { font-family: Dotum, Arial, sans-serif; }

/* ===== Ethics form refresh (UI only) ===== */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --line: #d1d5db;
  --primary: #1d4ed8;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  line-height: 1.5;
}

.form-card {
  max-width: 760px;
  margin: 24px auto;
  padding: 24px;
  background: var(--card);
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.form-title {
  margin: 0 0 16px;
  font-size: 1.25rem;
  font-weight: 700;
}

.form-subtitle {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
}

.field-label {
  margin: 14px 0 8px;
  font-weight: 600;
}

.choice-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 8px;
}

.input-text,
.input-area {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
  margin-bottom: 8px;
}

.input-text:focus,
.input-area:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.btn-submit {
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  background: #0f172a;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

.btn-submit:hover {
  background: #1e293b;
}

@media (max-width: 768px) {
  .form-card {
    margin: 12px;
    padding: 16px;
  }
}

.enquiry-shell {
  max-width: 800px;
  margin: 24px auto;
}
.enquiry-title {
  margin-bottom: 12px;
}

/* textarea visual alignment */
form[name="ContactUsForm"] textarea[name="enquirycontent"] {
  width: 100% !important;
  min-height: 100px;
  max-height: 200px;
  box-sizing: border-box;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
  background: #ffffff;
  resize: vertical; /* 가로 고정, 세로만 조절 */
  margin-bottom: 8px;
  white-space: pre-line; /* 기본 템플릿 줄바꿈 표시 */
}

form[name="ContactUsForm"] textarea[name="enquirycontent"]:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

form[name="ContactUsForm"] label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

form[name="ContactUsForm"] input[type="radio"] {
  width: auto;
  margin: 0;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* 한 줄 질문 + 라디오 2개 */
.inline-question {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  margin: 10px 0;
}

.inline-question .field-label {
  margin: 0;
  white-space: nowrap;
}

.inline-question label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  white-space: nowrap;
}

.inline-question input[type="radio"] {
  width: auto;
  margin: 0;
  vertical-align: middle;
  flex: 0 0 auto;
}

/* 모바일에서는 줄바꿈 허용 */
@media (max-width: 768px) {
  .inline-question {
    flex-wrap: wrap;
    gap: 8px;
  }
}

/* enquiry iframe center align */
.container {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 12px;
}

#iFrmCnts {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 820px;
  border: 0;
}

/* 제보하기 버튼만 중앙 정렬 */
form[name="ContactUsForm"] input[type="submit"].btn-submit {
  display: block;
  margin: 24px auto 0;
}

/* ===== Header ===== */
.site-header {
  background: #ffffff;
  padding: 0 16px;
  margin-bottom: 0;
  border-bottom: 1px solid #e5e7eb;
}

.site-header + form[name="ContactUsForm"],
.site-header ~ form[name="ContactUsForm"] {
  margin-top: 28px;
  padding-left: 10px;
  padding-right: 10px;
}

.site-header-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100px;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo-img {
  height: 88px;
  width: auto;
}

.header-title {
  color: #00338D;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-left: 1px solid #d1d5db;
  padding-left: 14px;
  line-height: 1.3;
}

/* ===== Footer ===== */
.site-footer {
  margin-top: 32px;
  padding: 20px 16px;
  border-top: 1px solid #e5e7eb;
  text-align: left;
}

.footer-privacy {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
}

.footer-privacy a {
  color: #7ec8e3;
  text-decoration: none;
}

.footer-privacy a:hover {
  color: #4aa8c8;
  text-decoration: underline;
}

.footer-copy {
  margin: 0;
  font-size: 11px;
  color: #6b7280;
  line-height: 1.6;
  text-align: left;
}
