/* css/notice_write.css */

/* .content.notice-write-page-content 내부의 글쓰기 폼 스타일 */
.notice-write-page-content {
    /* 기존 content.css 스타일을 기반으로 필요한 경우 여기서 덮어쓰거나 추가 */
    /* 예를 들어, content.css에 매우 구체적인 자식 요소 스타일이 있다면, 
       이곳에서 우선순위를 높여 적용해야 할 수도 있습니다. */
}

.notice-write-page-content h2 {
    margin-top: 0; /* content.css 에 h1 스타일이 있을 수 있으므로 h2에 대한 조정 */
    margin-bottom: 25px;
    font-size: 24px; /* 글꼴 크기는 프로젝트에 맞게 조정 */
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    text-align: left; /* 기본 정렬 */
}

#noticeForm .form-group {
    margin-bottom: 20px;
}

#noticeForm .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

#noticeForm .form-group input[type="text"],
#noticeForm .form-group input[type="file"],
#noticeForm .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc; /* 테두리 색상 기본값 조정 */
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    background-color: #fff; /* 배경색 명시 */
    color: #333; /* 글자색 명시 */
}

#noticeForm .form-group input[type="text"]:focus,
#noticeForm .form-group input[type="file"]:focus,
#noticeForm .form-group textarea:focus {
    border-color: #007bff; /* 예시 포커스 색상 */
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25); /* 예시 포커스 그림자 */
}

#noticeForm .form-group input[readonly] {
    background-color: #f8f9fa; /* 읽기 전용 배경색 */
    cursor: not-allowed;
}

#noticeForm .form-actions {
    margin-top: 30px;
    text-align: right; /* 버튼 오른쪽 정렬 */
    border-top: 1px solid #eee;
    padding-top: 20px;
}

#noticeForm .form-actions .btn {
    padding: 10px 20px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    font-weight: 500;
}

#noticeForm .form-actions .btn-submit {
    background-color: #007bff; /* 예시 등록 버튼 색상 */
    color: white;
}
#noticeForm .form-actions .btn-submit:hover {
    background-color: #0056b3;
}

#noticeForm .form-actions .btn-temp-save {
    background-color: #ffc107; /* 예시 임시저장 버튼 색상 */
    color: #212529;
}
#noticeForm .form-actions .btn-temp-save:hover {
    background-color: #e0a800;
}

#noticeForm .form-actions .btn-cancel {
    background-color: #6c757d; /* 예시 취소 버튼 색상 */
    color: white;
}
#noticeForm .form-actions .btn-cancel:hover {
    background-color: #5a6268;
}