@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-top:30px;}

:root {
	--primary-color: #2563eb;
	--notice-bg: #f8fafc;
	--border-color: #e2e8f0;
	--status-ongoing: #10b981;
	--status-end: #ef4444;
	--text-main: #334155;
	--text-muted: #64748b;
}

body { font-family: 'Pretendard', sans-serif; margin: 0; padding: 20px; background-color: #fff; color: var(--text-main); }
.recruit-wrapper { max-width: 1180px; 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: 120px 100px 1fr 120px;
	padding: 15px 20px;
	background: #f1f5f9;
	font-weight: bold;
	font-size: 14px;
	text-align: center;
	border-radius: 8px 8px 0 0;
}

/* 채용 목록 본문 */
.recruit-list { border: 1px solid var(--border-color); border-top: none; border-radius: 0 0 8px 8px; }
.recruit-item {
	display: grid;
	grid-template-columns: 120px 100px 1fr 120px;
	padding: 15px 20px;
	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-category { font-size: 13px; color: var(--text-muted); }
.item-status { font-size: 12px; font-weight: bold; padding: 4px 8px; border-radius: 4px; display: inline-block; }
.item-status.ing { background: #ecfdf5; color: var(--status-ongoing); }
.item-status.end { background: #fef2f2; color: var(--status-end); }
.item-title { text-align: left; font-weight: 500; padding-left: 20px; cursor: pointer; }
.item-title:hover { color: var(--primary-color); text-decoration: underline; }
.item-date { font-size: 13px; color: #94a3b8; }

/* --- 반응형 레이아웃 (모바일) --- */
@media (max-width: 850px) {
	.recruit-header { display: none; } /* 데스크톱 헤더 숨김 */
	.recruit-list { border-top: 1px solid var(--border-color); border-radius: 8px; }
	.recruit-item {
		grid-template-columns: auto 1fr;
		grid-template-areas:
			"check status"
			"check title"
			"check meta";
		text-align: left;
		padding: 15px;
		gap: 5px;
	}
	.recruit-item input[type="checkbox"] { grid-area: check; margin: 0; }
	.item-status-wrap { grid-area: status; }
	.item-title { grid-area: title; padding-left: 0; font-size: 16px; margin: 5px 0; }
	.mobile-meta {
		grid-area: meta;
		display: flex;
		gap: 10px;
		font-size: 12px;
		color: var(--text-muted);
	}
	.desktop-only { display: none; }
}
@media (min-width: 851px) {
	.mobile-meta { display: contents; } /* 데스크톱에서는 grid 열에 맞게 배치 */
}
