@charset "utf-8";

.btn_bo_user .btn.btn_act {background:#165331 !important}

.btn {padding: 0 15px;}
#bo_w .btn_confirm .btn_cancel {color:#165331 !important; border:1px solid #165331 !important; }
#bo_w .btn_confirm .btn_submit {background:#165331 !important}

.bo_v_nb li {float:left;}
.btn_prv, .btn_next {display:inline-block;width:50%;}

.bo_fx {margin:30px 0;}

/* 1. 댓글 전체 컨테이너 */
#bo_vc {
    margin: 30px 0;
    padding: 0 15px;
}

#bo_vc h2 {
    position: absolute;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
}

/* 2. 개별 댓글 아이템 */
#bo_vc .cm_item {
    padding: 25px 0;
    border-bottom: 1px solid #f2f5f7;
    background: #fff;
}

/* 3. 댓글 헤더 (수평 정렬의 핵심) */
#bo_vc .cm_header {
    display: flex;
    justify-content: space-between; /* 좌측 정보와 우측 버튼 양끝 배치 */
    align-items: center;           /* 세로 중앙 정렬 */
    margin-bottom: 12px;
}

/* 좌측: 프로필 + 이름 + 날짜 */
#bo_vc .cm_user_info {
    display: flex;
    align-items: center;
    gap: 12px;
}

#bo_vc .pf_img img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #eee;
}

#bo_vc .cm_meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

#bo_vc .cm_name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

#bo_vc .cm_date {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 4px;
}

#bo_vc .cm_date i {
    font-size: 13px;
    color: #ccc;
}

/* 우측: 수정, 삭제, 답변 버튼 */
.cm_actions {
    display: flex;
    gap: 4px;
}

.btn_cm {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    color: #888;
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s;
}

.btn_cm:hover {
    background: #f8f8f8;
    color: #333;
    border-color: #ccc;
}

.btn_cm.btn_del:hover {
    color: #e53935;
    border-color: #e53935;
}

/* 4. 댓글 본문 (헤더 아래로 배치) */
.cmt_contents {
    padding-left: 54px; /* 프로필 이미지 두께 + 간격만큼 들여쓰기 */
}

.cmt_txt {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    word-break: break-all;
}

.cmt_txt i.xi-lock {
    color: #ffb300;
    margin-right: 5px;
}

/* 5. 댓글 쓰기 영역 (에듀네이터 포인트 컬러) */
.bo_vc_w {
	margin:10px 0;
}

#wr_content {
    width: 100%;
    height: 100px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 6px;
    resize: none;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

#wr_content:focus {
    border-color: #81d8df;
}

/* 비밀글 & 등록버튼 수평 정렬 */
.comment-submit-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f3f5;
}

.secret-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.secret-label i {
    font-size: 16px;
    color: #bbb;
}

.btn-comment-submit {
    background-color: #81d8df; /* 에듀네이터 민트색 */
    color: #fff;
    border: none;
    height: 42px;
    padding: 0 25px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-comment-submit:hover {
    background-color: #6bc5cc;
}

/* 6. 모바일 대응 */
@media (max-width: 768px) {
    .cmt_contents {
        padding-left: 0;
        margin-top: 10px;
    }
    
    .cm_header {
        align-items: flex-start;
    }

    .cm_actions {
        flex-direction: row;
    }
    
    .btn_cm {
        padding: 3px 7px;
        font-size: 10px;
    }
}


/* 모달 컨테이너 */
/* 모달 컨테이너 */
.rating-modal {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 25px;
    text-align: center;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 { font-size: 18px; font-weight: bold; margin: 0; }

.modal-body {overflow:hidden;}

/* 별점 가이드 텍스트 */
.rating-guide {
    font-size: 14px;
	font-weight:800;
    color: #777;
    margin-bottom: 20px;
	text-align:center;
}

/* ⭐ 별점 선택 엔진 (핵심) */
.star-rating-v2 {
    display: flex;
    flex-direction: row-reverse; /* 역방향 정렬로 앞쪽 별색 채우기 구현 */
    justify-content: center;
    gap: 5px;
    margin-bottom: 30px;
}

.star-rating-v2 input { display: none; } /* 실제 라디오 버튼 숨김 */

.star-rating-v2 label {
    font-size: 35px;
    color: #eee; /* 빈 별 색상 */
    cursor: pointer;
    transition: color 0.2s ease-in-out;
}

/* 마우스 호버 및 선택 시 에듀네이터 포인트 컬러(옐로우/골드) 적용 */
.star-rating-v2 label:hover,
.star-rating-v2 label:hover ~ label,
.star-rating-v2 input:checked ~ label {
    color: #fbc02d; /* 활성화된 별 색상 */
}

/* 등록 버튼 (에듀네이터 민트/그린 테마) */
.submit-rating-btn {
    width: 100%;
    background-color: #1a4a3a; /* 스크린샷의 짙은 그린색 반영 */
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.submit-rating-btn:hover {
    opacity: 0.9;
}

:root {
	--primary-color: #2563eb;
	--notice-bg: #f8fafc;
	--border-color: #e2e8f0;
	--text-main: #334155;
	--text-muted: #64748b;
}

body { font-family: 'Pretendard', sans-serif; margin: 0; padding: 20px; color: var(--text-main); line-height: 1.6; }
.recruit-wrapper { max-width: 1200px; margin: 0 auto; }

/* 상단 공지사항 */
.top-notice {
	background-color: var(--notice-bg);
	padding: 12px 20px;
	border-radius: 8px;
	margin-bottom: 20px;
	border-left: 4px solid var(--primary-color);
	font-weight: 600;
	font-size: 14px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* 데스크톱 헤더 (선택, 번호, 제목, 글쓴이, 조회수, 등록일자) */
.recruit-header {
	display: grid;
	grid-template-columns: 50px 1fr 120px 80px 120px;
	padding: 15px 10px;
	background: #f1f5f9;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
	border-radius: 8px 8px 0 0;
	border: 1px solid var(--border-color);
}

/* 목록 본문 */
.recruit-list { border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 8px 8px; }
.recruit-item {
	display: grid;
	grid-template-columns: 50px 1fr 120px 80px 120px;
	padding: 15px 10px;
	border-bottom: 1px solid var(--border-color);
	align-items: center;
	text-align: center;
	transition: background 0.2s;
}
.recruit-item:last-child { border-bottom: none; }
.recruit-item:hover { background-color: #f8fafc; }

.item-title { text-align: left; padding-left: 15px; font-weight: 500; }
.item-title a { text-decoration: none; color: inherit; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item-title a:hover { color: var(--primary-color); text-decoration: underline; }

.item-writer, .item-count, .item-date, .item-num { font-size: 14px; color: var(--text-muted); }

/* --- 반응형 레이아웃 (모바일) --- */
@media (max-width: 900px) {
	.recruit-header { display: none; }
	.recruit-list { border-top: 1px solid var(--border-color); border-radius: 8px; }
	.recruit-item {
		grid-template-columns: 0px 1fr;
		grid-template-areas: 
			"check title"
			"check meta";
		text-align: left;
		padding: 15px;
	}
	.recruit-item input[type="checkbox"] { grid-area: check; width: 18px; height: 18px; margin-top: 5px; }
	.item-num, .item-count { display: none; } /* 모바일에서 중요도 낮은 항목 숨김 */
	
	.item-title { grid-area: title; padding-left: 0; font-size: 16px; margin-bottom: 5px; }
	.item-title a { white-space: normal; line-height: 1.4; }
	
	.mobile-meta { 
		grid-area: meta; 
		display: flex; 
		gap: 12px; 
		font-size: 13px; 
		color: #94a3b8; 
	}
	.mobile-meta span:not(:last-child)::after { content: "|"; margin-left: 12px; color: #e2e8f0; }
}

@media (min-width: 901px) {
	.mobile-meta { display: contents; }
}