/* ===== Neo Common Style ===== */

/* ---- 웹폰트 로드 ---- */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;500;700&display=swap');

:root{
  --ink:#111;
  --bg:#f7f9ff;
  --card:#fff;
  --line:#e6eaf2;
  --accent:#1E6BB8;
}

/* ---- 기본 ---- */
*{ box-sizing:border-box; }
html, body{
  background:var(--bg);
  color:var(--ink);
  margin:0;
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight:400;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

.wrap{
  max-width:960px;
  margin:24px auto;
  padding:0 16px;
  display:grid;
  gap:16px;
}

/* ---- 카드 ---- */
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.card-compact{ padding:12px; }

/* ---- 타이틀 ---- */
.h2{
  font-size:16px;
  margin:0 0 12px;
  font-weight:600;
}
.title{font-size:24px}

/* ---- 폼 컨트롤 ---- */
.input, .textarea{
  width:100%;
  padding:12px 14px;
  border:1px solid #dfe3eb;
  border-radius:10px;
  font-size:14px;
  background:#fff;
  line-height:1.3;
  font-family:'Noto Sans KR', sans-serif;
}
.input::placeholder, .textarea::placeholder{ color:#aaa; }
.textarea{ min-height:120px; resize:vertical; }

/* ---- 레이아웃 유틸 ---- */
.row{ display:flex; gap:12px; align-items:flex-start; flex-wrap:wrap; }
.vstack{ display:flex; flex-direction:column; gap:10px; }
.control{ width:100%; height:44px; font-size:14px; }

/* ---- 버튼 ---- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  height:44px;
  padding:0 16px;
  border-radius:10px;
  border:1px solid var(--accent);
  background:var(--accent);
  color:#fff;
  font-weight:600;
  font-size:14px;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
  transition:background .15s ease, color .15s ease, border .15s ease, box-shadow .15s ease;
}
.btn:hover:not([disabled]){ background:#155a9a; }
.btn[disabled]{ opacity:.6; cursor:not-allowed; }

/* ---- 보조 버튼 ---- */
.btn.secondary{
  background:#fff;
  color:#223;
  border-color:#dfe3eb;
}
.btn.secondary:hover:not([disabled]){ background:#f9f9f9; }
.btn.ghost{
  background:#fff;
  color:#111;
  border:1px solid #dfe3eb;
}
.btn.ghost:hover:not([disabled]){ background:#f1f3f6; }

/* ---- 액션 바 ---- */
.actions{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

/* ---- 1줄 폼 ---- */
.row.one-line{
  display:grid;
  grid-template-columns: 140px 1fr;
  gap:12px;
}

/* ---- 파일 인풋 숨김 ---- */
.btn > input[type="file"]{ display:none; }