@charset "utf-8";

/* ========================================
   방명�?게시???��???
   깔끔?�고 모던???�자??
======================================== */
@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@latest/dist/web/static/pretendard.css");

html, body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic",
               Arial, sans-serif;
}

button,
input[type="button"],
input[type="submit"] {
  all: unset;              /* ?�� 브라?��? 기본 ?��????��? ?�거 */
  display: inline-flex;    /* 버튼처럼 ?�기 ?�해 ?�시 지??*/
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}
:root {
    --primary-color: #6B4E9B;
    --primary-light: #8B6EBB;
    --primary-dark: #4B2E7B;
    --accent-color: #7B5FA8;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --border-radius: 8px;
    --box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --box-shadow-hover: 0 4px 16px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

/* 기본 리셋 */
#guestbook_wrap {
    max-width:100%;
    margin: 0 auto;
    padding: 0px 0px;
    font-family: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    line-height: 1.6; margin-top: -20px
}

#bo_list_title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-color);
}

/* ========================================
   글?�기 ???�역
======================================== */
.guestbook_write_box {
    background: #fff;
    border-radius: 20px;

    padding: 20px 25px;
    margin-bottom: 30px;
    border: 1px solid #ccc;
}

.write_title {
    font-size: 16px;
    font-weight: 600;
    color:#000;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-200);
}

/* 2???�이?�웃 */
.form_layout {
    display: flex;
    gap: 25px;
}

.form_left {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form_right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form_group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form_group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
}

.required_mark {
    color: var(--danger-color);
    font-weight: 600;
}

.form_input {
    padding: 8px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 13px;
    transition: var(--transition);
    background: var(--gray-50);
}

.form_input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(107, 78, 155, 0.1);
}

.form_input::placeholder {
    color: var(--gray-400);
}

.form_input_full {
    width: 100%;
    box-sizing: border-box;
}

.form_textarea {
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 13px;
    height: 80px;
    resize: none;
    transition: var(--transition);
    background: var(--gray-50);
    font-family: inherit;
}

.form_textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #fff;
    box-shadow: 0 0 0 2px rgba(107, 78, 155, 0.1);
}

.form_textarea::placeholder {
    color: var(--gray-400);
}

/* ?�단 ?�역 (개인?�보?�의, 캡차, 버튼) */
.form_bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.form_bottom_row {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}


/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) {.privacy_area {
    background: var(--gray-50);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}
}
/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}
/**** 모바일 ****/
@media only all and (max-width:767px) {.privacy_area {
    background: var(--gray-50);
    padding: 12px 15px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200); width: 100%
}
}
/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/


.privacy_check {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.privacy_check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
    cursor: pointer;
}

.privacy_check label {
    font-size: 13px;
    color: var(--gray-700);
    cursor: pointer;
    margin: 0;
}

.btn_privacy_view {
    padding: 0px 10px!important;
    background: #fff;
    border: 1px solid var(--primary-color);
    border-radius: 15px;
    color: var(--primary-color);
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition); height: 30PX!important
}

.btn_privacy_view:hover {
    background: var(--primary-color);
    color: #fff;
}


/* 구분 -----------------------------------*/
/**** pc ****/
@media only all and (min-width:768px) {
.captcha_submit_row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}
}
/**** pc2 ****/
@media all and (max-width:1280px) and (min-width:768px) {
}
/**** 모바일 ****/
@media only all and (max-width:767px) {
.captcha_submit_row {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between; flex-direction: column; width: 100%
}
}
/**** 모바일2 ****/
@media only all and (max-width:400px) {
}
/* 구분 //end -----------------------------------*/


/* 캡차 ?�라??*/
.captcha_inline {
    display: flex;
    align-items: center;
    gap: 2px;
}

.captcha_inline #captcha_img {
    height: 40px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
}

.captcha_inline .captcha_input {
    width: 70px;
    padding: 6px 10px;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 13px;
}

.captcha_inline .captcha_btn {
    padding: 0px 10px!important;
    background:#333!important;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 11px;
    color:#FFF!important;
    cursor: pointer;
    transition: var(--transition);
}

.captcha_inline .captcha_btn:hover {
    background: var(--gray-200);
}

/* ?�록 버튼 */
.btn_submit,
button.btn_submit,
#btn_submit,
button#btn_submit {
    padding: 0px 50px !important;
    background: #6B4E9B !important;
    background-color: #6B4E9B !important;
    border: none !important;
    border-radius: 6px !important;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    margin-left: auto !important;
}

.btn_submit:hover,
button.btn_submit:hover,
#btn_submit:hover,
button#btn_submit:hover {
    background: #4B2E7B !important;
    background-color: #4B2E7B !important;
}

.btn_submit:disabled,
button.btn_submit:disabled {
    background: #9e9e9e !important;
    background-color: #9e9e9e !important;
    cursor: not-allowed !important;
}

/* ========================================
   개인?�보 ?�의 모달
======================================== */
.modal_overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal_content {
    background: #fff;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal_header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--gray-900);
}

.modal_close {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 24px;
    color: var(--gray-500);
    cursor: pointer;
    transition: var(--transition);
    border-radius: 50%; aspect-ratio:1 / 1; 
}

.modal_close:hover {

    color: var(--gray-800);
}

.modal_body {
    padding: 25px;
    max-height: 50vh;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.8;
    color: var(--gray-700);
}

.modal_body p {
    margin: 0 0 5px 0;
}

.modal_body strong {
    color: var(--gray-900);
}

.modal_footer {
    padding: 20px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.btn_agree {
    padding: 12px 40px;
    background: var(--primary-color);
    border: none;
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn_agree:hover {
    background: var(--primary-dark);
}

/* ========================================
   방명�?목록 (?�림 가�??�이?�웃)
======================================== */
.guestbook_list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.guest_item {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest_item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--box-shadow);
}

/* ?�쪽: 번호, ?�름 */
.guest_left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
    flex-shrink: 0;
}

.guest_num {
    font-size: 12px;
    color: var(--gray-400);
    font-weight: 500;
    min-width: 24px;
}

.guest_name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 14px;
    white-space: nowrap;
}

/* 가?�데: ?�용, 기�??�보 */
.guest_center {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    overflow: hidden;
}

.guest_content_wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.guest_content_text {
    color: var(--gray-700);
    font-size: 14px;
    white-space: normal;
    line-height: 1.5;
}

/* 관리자??추�? ?�보 (?�용 ?�래) */
.guest_extra {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.guest_extra .extra_item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--gray-500);
    white-space: nowrap;
}

.guest_extra .extra_item i {
    color: var(--primary-color);
    font-size: 12px;
}

/* 관리자??추�? ?�보 (기존 ?�환) */
.guest_extra_info {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.guest_extra_info span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--gray-500);
    white-space: nowrap;
}

.guest_extra_info i {
    color: var(--primary-color);
    font-size: 14px;
}

/* ?��? 배�? */
.comment_badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    flex-shrink: 0;
}

.comment_badge i {
    font-size: 12px;
}

/* ?��? ?�시 ?�역 (리스???�래) */
.guest_comments {
    padding: 8px 16px 12px 16px;
    padding-left: 145px; /* 번호+이름 영역(120px) + gap(15px) + 여유(10px) */
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-top: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    margin-top: -8px;
}

.guest_comment_item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 6px 0;
    font-size: 13px;
    color: var(--gray-700);
    border-bottom: 1px dashed var(--gray-200);
}

.guest_comment_item:last-child {
    border-bottom: none;
}

.comment_arrow {
    color: var(--primary-color);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 1px;
}

.comment_content_wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.comment_text {
    line-height: 1.5;
    color: var(--gray-700);
}

.comment_info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--gray-500);
}

.comment_author {
    font-weight: 600;
    color: var(--primary-color);
}

/* 댓글 액션 버튼 (관리자용) */
.comment_actions {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    margin-left: auto;
}

.comment_actions .btn_icon {
    width: 24px;
    height: 24px;
    padding: 0;
    font-size: 12px;
}

.btn_comment_edit {
    background: var(--gray-100);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

.btn_comment_edit:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.btn_comment_delete {
    background: #fff;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.btn_comment_delete:hover {
    background: var(--danger-color);
    color: #fff;
}

/* 댓글 수정 폼 */
.comment_edit_form {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    box-sizing: border-box;
}

/* 댓글 아이템에 수정폼이 있을 때 flex-wrap */
.guest_comment_item {
    flex-wrap: wrap;
}

.comment_edit_textarea {
    width: 100%;
    min-height: 60px;
    padding: 10px;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    font-size: 13px;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}

.comment_edit_textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment_edit_buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
}

.btn_cancel_edit,
.btn_save_edit {
    all: unset;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px 16px !important;
    border-radius: var(--border-radius) !important;
    font-size: 12px !important;
    cursor: pointer;
    transition: var(--transition);
    box-sizing: border-box;
}

.btn_cancel_edit {
    background: var(--gray-100) !important;
    color: var(--gray-700) !important;
    border: 1px solid var(--gray-300) !important;
}

.btn_cancel_edit:hover {
    background: var(--gray-200) !important;
}

.btn_save_edit {
    background: var(--primary-color) !important;
    color: #fff !important;
    border: 1px solid var(--primary-color) !important;
}

.btn_save_edit:hover {
    background: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
}

/* 댓글 있는 게시물 border-radius 조정 */
.guest_item.has_comments {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    margin-bottom: 0;
}

/* ?�른�? ?�짜, 버튼 */
.guest_right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
    min-width: 90px;
}

.guest_date {
    font-size: 12px;
    color: var(--gray-500);
}

.guest_actions {
    display: flex;
    gap: 4px;
}

.btn_icon {
    width: 24px;
    height: 24px!important;
    padding: 0;
    border: 1px solid var(--gray-300);
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn_icon i {
    font-size: 14px;
    color: var(--gray-500);
}

.btn_icon:hover {
    background: var(--gray-100);
}

.btn_icon.btn_edit:hover {
    border-color: var(--primary-color);
    background: rgba(107, 78, 155, 0.1);
}

.btn_icon.btn_edit:hover i {
    color: var(--primary-color);
}

.btn_icon.btn_delete:hover {
    border-color: var(--danger-color);
    background: rgba(231, 76, 60, 0.1);
}

.btn_icon.btn_delete:hover i {
    color: var(--danger-color);
}

/* ?��? 버튼 */
.btn_icon.btn_reply {
    border-color: var(--success-color);
}

.btn_icon.btn_reply i {
    color: var(--success-color);
}

.btn_icon.btn_reply:hover {
    border-color: var(--success-color);
    background: rgba(39, 174, 96, 0.1);
}

/* ========================================
   ?��? ?�성 ??(관리자??
======================================== */
.reply_form_wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    padding: 12px 16px;
    margin-top: -4px;
    margin-bottom: 4px;
}

.reply_form {
    width: 100%;
}

.reply_input_wrap {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.reply_textarea {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 13px;
    font-family: inherit;
    resize: none;
    min-height: 40px;
    max-height: 80px;
    background: #fff;
}

.reply_textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.reply_btns {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.reply_submit_btn {
    padding: 8px 16px;
    background: var(--success-color);
    border: none;
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.reply_submit_btn:hover {
    background: #219a52;
}

.reply_cancel_btn {
    padding: 8px 16px;
    background: var(--gray-400);
    border: none;
    border-radius: var(--border-radius);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.reply_cancel_btn:hover {
    background: var(--gray-500);
}

/* 기존 ?�환???��? */
.guest_header {
    display: none;
}

.guest_info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.guest_checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-color);
}

.badge_notice {
    display: inline-block;
    padding: 2px 8px;
    background: var(--danger-color);
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.badge_current {
    display: inline-block;
    padding: 2px 8px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
}

.guest_content {
    display: none;
}

.secret_msg {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--gray-500);
    font-size: 13px;
    font-style: italic;
}

.secret_msg i,
.icon_secret {
    color: var(--warning-color);
}

.guest_footer {
    display: none;
}

.guest_comment {
    display: none;
}

.comment_link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    background: var(--gray-100);
    border-radius: 20px;
    color: var(--gray-600);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.comment_link:hover {
    background: var(--primary-color);
    color: #fff;
}

.comment_link.has_comment {
    background: var(--primary-color);
    color: #fff;
}

.comment_link.has_comment:hover {
    background: var(--primary-dark);
}

/* �?목록 */
.empty_list {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-500);
}

.empty_list i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.empty_list p {
    margin: 0;
    font-size: 16px;
}

/* ========================================
   관리자 버튼
======================================== */
.bo_fx {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.btn_bo_adm {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn_bo_adm li {
    margin: 0;
}

.btn_bo_adm input {
    padding: 0px 16px!important;
    border: 1px solid var(--danger-color);
    background: #fff;
    color: var(--danger-color);
    border-radius: var(--border-radius);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
}

.btn_bo_adm input:hover {
    background: var(--danger-color);
    color: #fff;
}

.btn_bo_user {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.btn_bo_user li {
    margin: 0;
}

/* ========================================
   검???�역
======================================== */
#bo_sch {
    margin: 30px 0;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--gray-200);
}

#bo_sch legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
}

#bo_sch form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

#bo_sch select {
    padding: 10px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    background: #fff;
}

#bo_sch .frm_input {
    padding: 10px 15px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    min-width: 200px;
}

#bo_sch .frm_input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn_search {
    padding: 0px 10px!important;
    background: #333!important;
    border: none;
    border-radius: 6px!important;
    color: #fff!important;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.btn_search:hover {
    background: var(--primary-dark);
}

/* ========================================
   ?�이지?�이??
======================================== */
.pg_wrap {
    margin: 30px 0;
    text-align: center;
}

.pg {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.pg a,
.pg strong {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.pg a {
    background: #fff;
    color: var(--gray-700);
}

.pg a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pg strong,
.pg .pg_current {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff;
}

/* ========================================
   ?��? ?�역 (관리자 ?��?)
======================================== */
#bo_vc {
    margin-top: 30px;
    padding: 25px;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

#bo_vc h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

#bo_vc article {
    background: #fff;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 10px;
    border: 1px solid var(--gray-200);
}

#bo_vc header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 0;
    flex-wrap: wrap;
}

#bo_vc h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
    font-weight: 600;
    color: var(--primary-color);
}

.bo_vc_hdinfo {
    font-size: 13px;
    color: var(--gray-500);
    margin: 0;
}

#bo_vc p {
    margin: 0;
    padding: 10px 0;
    line-height: 1.7;
    color: var(--gray-700);
    border-top: 1px solid var(--gray-100);
}

#bo_vc_empty {
    text-align: center;
    padding: 30px;
    color: var(--gray-500);
}

.bo_vc_act {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo_vc_act a {
    font-size: 13px;
    color: var(--gray-500);
    text-decoration: none;
}

.bo_vc_act a:hover {
    color: var(--primary-color);
}

/* ?��? ?�성 ??*/
#bo_vc_w {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

#bo_vc_w h2 {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0 0 15px 0;
    border: none;
    padding: 0;
}

#bo_vc_w .tbl_frm01 {
    width: 100%;
}

#bo_vc_w .tbl_frm01 th {
    padding: 8px 10px;
    text-align: left;
    font-weight: 500;
    font-size: 14px;
    color: var(--gray-700);
    background: transparent;
    border: none;
}

#bo_vc_w .tbl_frm01 td {
    padding: 8px 0;
    border: none;
}

#bo_vc_w .frm_input {
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
}

#bo_vc_w .frm_input:focus {
    outline: none;
    border-color: var(--primary-color);
}

#bo_vc_w textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

#bo_vc_w textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

#bo_vc_w .btn_confirm {
    margin-top: 15px;
    text-align: right;
}

#bo_vc_w .btn_submit {
    width: auto;
    padding: 10px 30px;
    font-size: 14px;
}


/* ========================================
   반응???�자??
======================================== */
@media screen and (max-width: 768px) {
    #guestbook_wrap {
    
    }

    .guestbook_write_box {
    
    }

    .form_layout {
        flex-direction: column;
        gap: 15px;
    }

    .form_left {
        width: 100%;
    }

    .form_bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .btn_submit {
        width: 100%;
        margin-left: 0;
    }

    .guest_info {
        flex-wrap: wrap;
    }

    /* ?�림 리스??모바???�??*/
    .guest_item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .guest_left {
        width: 100%;
        min-width: auto;
    }

    .guest_center {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .guest_content_text {
        -webkit-line-clamp: unset;
        overflow: visible;
        text-overflow: clip;
    }

    .guest_comments {
        padding: 8px 12px 10px 12px;
    }

    .guest_comment_item {
        font-size: 12px;
    }

    .guest_extra_info {
        flex-wrap: wrap;
        gap: 8px;
    }

    .guest_right {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        min-width: auto;
    }

    .guest_date {
        margin-left: 0;
    }

    #bo_sch form {
        flex-direction: column;
    }

    #bo_sch .frm_input {
        width: 100%;
        min-width: auto;
    }

    .modal_content {
        margin: 20px;
    }
}

/* ========================================
   ?�근??
======================================== */
.sound_only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ?�커???��???*/
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ========================================
   캡차 ?��???(그누보드 기본 캡차)
======================================== */
.captcha_area {
    background: var(--gray-50);
    padding: 15px;
    border-radius: var(--border-radius);
}

.captcha_box {
    margin-top: 10px;
}

/* 캡차 fieldset ?��???*/
#captcha,
fieldset#captcha,
fieldset.captcha {
    border: none;
    padding: 0;
    margin: 0;
    min-inline-size: auto;
}

#captcha legend,
.captcha legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

#captcha_img {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    background: #fff;
    margin-right: 10px;
}

input#captcha_key,
.captcha_input {
    display: inline-block;
    padding: 10px 12px;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 14px;
    width: 100px;
    vertical-align: middle;
    background: #fff;
    margin-right: 10px;
}

input#captcha_key:focus,
.captcha_input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(107, 78, 155, 0.1);
}

button#captcha_mp3,
button#captcha_reload,
.captcha_btn {
    display: inline-block;
    padding: 10px 15px;
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 13px;
    cursor: pointer;
    transition: var(--transition);
    vertical-align: middle;
    color: var(--gray-700);
}

button#captcha_mp3:hover,
button#captcha_reload:hover,
.captcha_btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

button#captcha_mp3 span,
button#captcha_reload span {
    display: none;
}

#captcha_info {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-top: 10px;
}

#captcha_audio {
    display: none;
}

/* ========================================
   기존 ?��????�버?�이??
======================================== */
#bo_list,
.guestwrap,
.writewrap,
.tbl_head01,
.tbl_wrap {
    display: none;
}




        .notice-container {
            width: 100%;
            background: #f6f6f6;
            border-radius: 30px;
            padding: 50px;
            float: left;
            margin-bottom: 50px;
        }

        .detail-box {
            background: transparent;
        }

        .detail-title {
            color: #333;
            font-size: 28px;
            font-weight: 700;
            margin-bottom: 30px;
            text-align: center;
            background: transparent;
        }

        .detail-title em {
            color: #6b2c91;
        }

        .intro-section {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            margin-bottom: 30px;
            border: 1px solid #eee;
        }

        .statement-title {
            color: #333;
            padding: 0;
            border-radius: 0;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            background: transparent;
        }

        .statement-content {
            color: #333;
            font-size: 16px;
            line-height: 130%;
            margin-bottom: 0px;
        }

        .demand-header {
            display: none;
        }

        .demand-list {
            list-style: none;
            counter-reset: demand-counter;
        }

        .demand-item {
            counter-increment: demand-counter;
            margin-bottom: 15px;
            padding: 20px;
            background: #fff;
            border-radius: 15px;
            display: flex;
            align-items: flex-start;
            gap: 15px;
            transition: all 0.3s ease;
        }

        .demand-item:hover {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }

        .demand-item::before {
            content: counter(demand-counter);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 36px;
            height: 36px;
            background: linear-gradient(135deg, #6b2c91 0%, #8b3faa 100%);
            color: #fff;
            border-radius: 50%;
            font-weight: 700;
            font-size: 16px;
            flex-shrink: 0;
            margin-top: -2px;
        }

        .demand-content {
            flex: 1;
        }

        .demand-main {
            color: #333;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.6;
        }

        .demand-sub {
            color: #999;
            font-size: 14px;
            line-height: 1.8;
            margin-top: 8px;
        }

        .closing-statement {
            background: #fff;
            padding: 30px;
            border-radius: 15px;
            margin-top: 30px;
        }

        .closing-text {
            color: #333;
            font-size: 16px;
            line-height: 2;
            text-align: center;
            font-weight: 400;
        }

        .highlight {
            color: #333;
            font-weight: 700;
        }

        @media (max-width: 768px) {
            .notice-container {
                padding: 20px;
            }

            .detail-title {
                font-size: 22px;
            }

            .intro-section {
                padding: 20px;
            }

            .statement-title {
                font-size: 18px;
            }

            .demand-item {
                padding: 15px;
                gap: 12px;
            }

            .demand-item::before {
                min-width: 32px;
                height: 32px;
                font-size: 15px;
                margin-top: -1px;
            }

            .demand-main {
                font-size: 15px;
            }

            .demand-sub {
                font-size: 13px;
            }

            .closing-statement {
                padding: 20px;
            }
        }