@charset "utf-8";

/* 테마 게시판 글쓰기 — 공통 (notice, skin_note, before_after) */
body.syou-theme-board-page #bo_w.syou-board-write {
    color: var(--syou-text, #222);
    font-size: 16px;
    font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.syou-theme-board-page #bo_w.syou-board-write .write_div {
    margin-bottom: 14px;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__title-wrap {
    position: relative;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__subject,
body.syou-theme-board-page #bo_w.syou-board-write .frm_input,
body.syou-theme-board-page #bo_w.syou-board-write select.frm_input,
body.syou-theme-board-page #bo_w.syou-board-write textarea.frm_input {
    width: 100%;
    font-size: 15px;
    font-weight: 400;
    color: var(--syou-text, #222);
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__subject {
    height: 44px;
    padding: 0 12px;
}

body.syou-theme-board-page #bo_w.syou-board-write .bo_w_select select {
    height: 44px;
    padding: 0 10px;
}

body.syou-theme-board-page #bo_w.syou-board-write #char_count_desc,
body.syou-theme-board-page #bo_w.syou-board-write #char_count_wrap {
    font-size: 13px;
    line-height: 1.45;
    color: var(--syou-muted, #666);
}

body.syou-theme-board-page #bo_w.syou-board-write .wr_content {
    font-size: 15px;
    color: var(--syou-text, #222);
}

body.syou-theme-board-page #bo_w.syou-board-write .wr_content iframe,
body.syou-theme-board-page #bo_w.syou-board-write .wr_content textarea {
    font-size: 15px;
    color: var(--syou-text, #222);
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 4px;
    text-align: right;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-decoration: none;
    text-shadow: none;
    box-sizing: border-box;
    cursor: pointer;
    -webkit-font-smoothing: antialiased;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--cancel {
    border: 1px solid #ccc;
    background: #fff;
    color: #555;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--cancel:hover,
body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--cancel:focus {
    border-color: #aaa;
    background: #f5f5f5;
    color: #333;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--submit {
    border: 1px solid var(--syou-primary, #c49a6b);
    background: var(--syou-primary, #c49a6b);
    color: #fff;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--submit:hover,
body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__btn--submit:focus {
    border-color: var(--syou-primary-dark, #a87f52);
    background: var(--syou-primary-dark, #a87f52);
    color: #fff;
}

/* legacy style.css (#bo_w) 덮어쓰기 */
body.syou-theme-board-page #bo_w.syou-board-write .bo_w_tit .frm_input {
    padding-right: 12px;
}

body.syou-theme-board-page #bo_w.syou-board-write .btn_confirm .btn_cancel,
body.syou-theme-board-page #bo_w.syou-board-write .btn_confirm .btn_submit {
    font-size: 15px;
    font-weight: 500;
    text-shadow: none;
}

/* 공지·피부관리노트 — 첨부파일 (시술전후 photo-field와 동일 톤) */
body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach {
    margin-bottom: 12px;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach-field {
    position: static;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 10px 12px;
    border: 1px dashed #d5d5d5;
    border-radius: 6px;
    background: #fff;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach-field .frm_file {
    width: 100%;
    margin: 0;
    padding: 0;
    padding-left: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--syou-muted, #666);
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach-field .frm_file::file-selector-button {
    margin-right: 10px;
    padding: 7px 12px;
    border: 1px solid var(--syou-primary, #c49a6b);
    border-radius: 4px;
    background: var(--syou-primary-light, #faf6f1);
    font-size: 13px;
    font-weight: 500;
    color: var(--syou-primary, #c49a6b);
    cursor: pointer;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach .file_del {
    position: static;
    display: block;
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.45;
    color: var(--syou-muted, #666);
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach .file_del label {
    color: var(--syou-muted, #666);
    font-weight: 400;
}

body.syou-theme-board-page #bo_w.syou-board-write .syou-board-write__attach .frm_input {
    margin-top: 10px;
}
