.page-header {
border-bottom:2px solid #444;
margin-bottom:30px;
}
.page-header h2 {
font-size:26px;
margin:0;
}
.breadcrumb {
font-size:13px;
color:#888;
text-align:right;
}


.section-title {
display:flex;
align-items:center;
margin:20px 0 10px;
}
.section-title h3 {
font-size:18px;
margin-left:8px;
}


.intro-box {
padding:15px;
}


.info-table {
width:100%;
border-collapse:collapse;
}
.info-table th {
background:#f5f5f5;
border:1px solid #ddd;
padding:10px;
}
.info-table td {
border:1px solid #ddd;
padding:10px;
}
.info-table td:first-child {
text-align:center;
width:20%;
background:#fafafa;
}


.file-link {
color:#0066cc;
margin-left:10px;
}

#bo_list_wrap {
margin-top:40px;
}


.list-header {
margin-bottom:10px;
}
.list-header .red {
color:red;
}


.board-table {
width:100%;
border-collapse:collapse;
}
.board-table th {
	background:#f0f0f0;
	border:1px solid #e6e6e6;
	border-top:2px solid #333;
	border-bottom:1px solid #ccc;
	padding:10px;
	font-size:15px;
	font-weight:600 !important;
}
.board-table td {
border:1px solid #e6e6e6;
border-bottom:1px solid #e0e0e0;
padding:10px;
text-align:center;
font-size:1.2em;
}
.board-table td.left {
text-align:left;
}


.file {
display:inline-block;
width:16px;
height:16px;
background:url('/img/icon_file.png') no-repeat center;
}


.pagination {
text-align:center;
margin:20px 0;
}
.pagination a {
display:inline-block;
padding:6px 10px;
border:1px solid #ddd;
margin:0 2px;
}
.pagination .active {
background:#e60012;
color:#fff;
border-color:#e60012;
}


.btn-area {
text-align:right;
}
.btn-apply {
display:inline-block;
background:#0b5ed7;
color:#fff;
padding:10px 25px;
border-radius:20px;
font-weight:600;
}

/* 붙임서류 다운로드 버튼 */
.btn_attach_download {
    display: inline-block;
    padding: 12px 66px;
    background-color: #1f5e9c;   /* 캡처와 동일 */
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease;
}

/* hover */
.btn_attach_download:hover {
    background-color: #174b7c;
    color: #ffffff;
}

/* 검색 영역 */
.board-search-wrap {
    width: 100%;
    background: #f5f5f5;
    padding: 15px;
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

.board-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-label {
    font-weight: 600;
    color: #333;
    min-width: 50px;
}

.search-input {
    flex: 1;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.search-btn,
.search-reset {
    width: 38px;
    height: 38px;
    border: none;
    background: #666;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-reset {
    background: #999;
}

.search-btn:hover,
.search-reset:hover {
    background: #333;
}

/* ===== 검색 영역 버튼 쏠림 완전 해결 ===== */

.board-search-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;          /* 줄바꿈 방지 */
}

.board-search-form * {
    box-sizing: border-box;
}

/* label */
.search-label {
    height: 38px;
    line-height: 38px;
    display: inline-block;
}

/* input */
.search-input {
    height: 38px;
    line-height: 38px;
    vertical-align: middle;
}

/* button / a 공통 */
.search-btn,
.search-reset {
    height: 38px;
    line-height: 38px;
    padding: 0;
    display: inline-flex;       /* 핵심 */
    align-items: center;
    justify-content: center;
    vertical-align: middle;
}

/* button 기본 스타일 제거 */
.search-btn {
    border-radius: 0;
}

/* a 태그 버튼화 */
.search-reset {
    text-decoration: none;
}




/* =========================
   BRAND TABLE – 기준 UI
========================= */
.brand-table,
.brand-ui table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #333;
    margin-bottom: 20px;
}

.brand-table th,
.brand-ui table th {
    width: 20%;
    padding: 12px 14px;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    font-weight: 600;
    text-align: center;
	font-size: 16px;
}

.brand-table td,
.brand-ui table td {
    border-bottom: 1px solid #ddd;
    text-align: left;
    color: #333;
	font-size: 16px;
}

/* 제목형 row */
.brand-ui .brand-title th {
    background: #eee;
    font-size: 16px;
    text-align: left;
}

/* 버튼 영역 */
.brand-ui-btn {
    margin-top: 20px;
    text-align: center;
}

.brand-ui-btn a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    margin: 0 5px;
}

.btn-register {
    background: #333;
    color: #fff;
}

.btn-cancel {
    background: #aaa;
    color: #fff;
}

/* 제목 + 임시저장 버튼 한 줄 정렬 */
#autosave_wrapper {
    display: flex;
    align-items: center;
    gap: 8px;                 /* 제목과 버튼 간격 */
}

/* 제목 입력창은 최대 너비 사용 */
#autosave_wrapper input#wr_subject {
    flex: 1;
}

/* 임시 저장 버튼 줄바꿈 방지 */
#btn_autosave {
    white-space: nowrap;
}