/* KJF form only - wrapped by .newform to avoid collision */
button.submit {border-radius:10px}
.newform {
    max-width: 1100px;
    margin: 0 auto 60px;
    padding: 34px;
    background: #fff;
    border: 1px solid #e5e8ee;
    border-radius: 16px;
    box-sizing: border-box;
    color: #222;
    font-family: 'Noto Sans KR', Arial, sans-serif;
}
.newform * { box-sizing: border-box; }
.newform .nf-title { margin: 0 0 24px; font-size: 30px; font-weight: 700; color: #111; }
.newform .nf-msg { margin: 0 0 18px; padding: 13px 15px; border-radius: 8px; font-size: 14px; line-height: 1.5; }
.newform .nf-msg.ok { background: #effaf3; border: 1px solid #bee8c9; color: #146c2e; }
.newform .nf-msg.err { background: #fff2f2; border: 1px solid #f2c6c6; color: #b00020; }
.newform .nf-row { margin-bottom: 18px; }
.newform label.nf-label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 15px; color: #222; }
.newform .req { color: #d90000; }
.newform input[type="text"],
.newform input[type="email"],
.newform input[type="password"],
.newform input[type="tel"],
.newform input[type="date"],
.newform select,
.newform textarea {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d8dde6;
    border-radius: 8px;
    background: #fff;
    font-size: 15px;
    color: #222;
    outline: none;
}
.newform textarea { height: 120px; padding: 12px 13px; resize: vertical; line-height: 1.5; }
.newform input:focus, .newform select:focus, .newform textarea:focus { border-color: #1b5ebd; box-shadow: 0 0 0 3px rgba(27,94,189,.12); }
.newform .nf-help { margin-top: 7px; font-size: 13px; color: #777; line-height: 1.45; }
.newform .nf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.newform .nf-radio-group, .newform .nf-check-group { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 12px 14px; border: 1px solid #e1e5ec; border-radius: 8px; background: #fafbfc; }
.newform .nf-radio, .newform .nf-check { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.newform .nf-radio input, .newform .nf-check input { width: 16px; height: 16px; margin: 0; }
.newform .nf-actions { display: flex; gap: 10px; margin-top: 28px; }
.newform .nf-btn { min-width: 130px; height: 48px; padding: 0 24px; border: 0; border-radius: 8px; background: #1b5ebd; color: #fff; font-size: 16px; font-weight: 700; cursor: pointer; text-align: center; line-height: 48px; text-decoration: none; }
.newform .nf-btn:hover { background: #144b99; }
.newform .nf-btn.gray { background: #596273; }
.newform .nf-btn.gray:hover { background: #454d5b; }
.newform .nf-top-link { margin-top: 18px; font-size: 14px; }
.newform .nf-top-link a { color: #1b5ebd; text-decoration: underline; }
@media (max-width: 768px) {
    .newform { padding: 22px 16px; border-radius: 10px; }
    .newform .nf-title { font-size: 25px; }
    .newform .nf-grid { grid-template-columns: 1fr; gap: 0; }
    .newform .nf-radio-group, .newform .nf-check-group { display: block; }
    .newform .nf-radio, .newform .nf-check { display: flex; margin: 8px 0; }
    .newform .nf-actions { display: block; }
    .newform .nf-btn { display: block; width: 100%; margin-bottom: 8px; }
}
