/* 채용공고 게시판 스킨 CSS */

/* 리스트 */
.recruit-list {
    width: 100%;
    border-top: 2px solid #005627;
}

.recruit-list table {
    width: 100%;
    border-collapse: collapse;
}

.recruit-list th {
    background: #f8f8f8;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.recruit-list td {
    padding: 12px 8px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    color: #555;
}

.recruit-list td.td_subject {
    text-align: left;
}

.recruit-list td.td_subject a {
    color: #333;
    text-decoration: none;
}

.recruit-list td.td_subject a:hover {
    color: #005627;
    text-decoration: underline;
}

.recruit-list .status {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.recruit-list .status.ing {
    background: #e8f5e9;
    color: #2e7d32;
}

.recruit-list .status.end {
    background: #eee;
    color: #999;
}

.recruit-list .empty_table {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 글쓰기 폼 */
.recruit-form {
    width: 100%;
    margin-top: 20px;
}

.recruit-form .form-section {
    margin-bottom: 30px;
}

.recruit-form .form-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #005627;
    padding-bottom: 10px;
    border-bottom: 2px solid #005627;
    margin-bottom: 15px;
}

.recruit-form table {
    width: 100%;
    border-collapse: collapse;
}

.recruit-form th {
    width: 130px;
    background: #f8f8f8;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #ddd;
    vertical-align: middle;
}

.recruit-form td {
    padding: 10px 15px;
    border-bottom: 1px solid #eee;
}

.recruit-form input[type="text"],
.recruit-form input[type="password"],
.recruit-form input[type="email"],
.recruit-form input[type="url"] {
    width: 100%;
    max-width: 500px;
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.recruit-form textarea {
    width: 100% !important;
    max-width: none !important;
    height: 120px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
    resize: vertical;
}

.recruit-form select {
    height: 38px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.recruit-form .time-select select {
    width: 80px;
    display: inline-block;
}

.recruit-form .time-select span {
    margin: 0 8px;
    font-size: 14px;
}

.recruit-form .chk-method {
    margin: 5px 0;
}

.recruit-form .chk-method label {
    font-size: 14px;
    margin-right: 20px;
    cursor: pointer;
}

.recruit-form .chk-method .sub-input {
    display: none;
    margin-top: 8px;
}

.recruit-form .chk-method .sub-input.show {
    display: block;
}

.recruit-form .pw-notice {
    color: #e53935;
    font-size: 12px;
    margin-top: 5px;
}

.recruit-form .required {
    color: #e53935;
}

.recruit-form .btn_confirm {
    text-align: center;
    margin-top: 30px;
}

.recruit-form .btn_confirm a,
.recruit-form .btn_confirm input[type="submit"] {
    display: inline-block;
    padding: 10px 30px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    margin: 0 5px;
}

.recruit-form .btn_confirm input[type="submit"] {
    background: #005627;
    color: #fff;
}

.recruit-form .btn_confirm a {
    background: #666;
    color: #fff;
}

/* 비밀번호 확인 */
.pwd-check {
    max-width: 400px;
    margin: 80px auto;
    text-align: center;
}

.pwd-check h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #333;
}

.pwd-check p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.pwd-check input[type="password"] {
    width: 250px;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
}

.pwd-check button {
    display: inline-block;
    height: 42px;
    padding: 0 25px;
    background: #005627;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 5px;
}

.pwd-check .btn-list {
    display: inline-block;
    margin-top: 15px;
    color: #666;
    font-size: 13px;
    text-decoration: none;
}

/* 상세보기 (관리자) */
.recruit-view {
    width: 100%;
    margin-top: 20px;
}

.recruit-view table {
    width: 100%;
    border-collapse: collapse;
    border-top: 2px solid #005627;
}

.recruit-view th {
    width: 130px;
    background: #f8f8f8;
    padding: 12px 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.recruit-view td {
    padding: 12px 15px;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.recruit-view .content-area {
    padding: 20px 15px;
    line-height: 1.8;
    white-space: pre-wrap;
}

.recruit-view .btn_confirm {
    text-align: center;
    margin-top: 30px;
}

.recruit-view .btn_confirm a {
    display: inline-block;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    margin: 0 3px;
}

.recruit-view .btn-edit {
    background: #005627;
    color: #fff;
}

.recruit-view .btn-delete {
    background: #e53935;
    color: #fff;
}

.recruit-view .btn-list2 {
    background: #666;
    color: #fff;
}

/* 관리자 상태변경 */
.admin-status {
    display: inline-block;
    margin-left: 10px;
}

.admin-status select,
.admin-status-select {
    height: 30px;
    font-size: 12px;
    padding: 0 5px;
    border: 1px solid #ddd;
    border-radius: 3px;
    margin-left: 10px;
}

.admin-status button {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    background: #005627;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* 비밀번호 모달 */
.pwd-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.pwd-modal {
    background: #fff;
    padding: 30px 35px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
}

.pwd-modal h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.pwd-modal p {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.pwd-modal input[type="password"] {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 14px;
    box-sizing: border-box;
}

.pwd-modal-btns {
    margin-top: 15px;
}

.pwd-modal-btns button {
    display: inline-block;
    height: 42px;
    padding: 0 25px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 3px;
}

.pwd-modal-btns button[type="submit"] {
    background: #005627;
    color: #fff;
}

.pwd-modal-btns button[type="button"] {
    background: #999;
    color: #fff;
}

/* 페이지네이션 */
.pagenation {
    padding: 0;
    text-align: center;
    margin: 30px 0;
}

.pagenation li {
    display: inline;
    padding: 7px 0;
    border: 1px solid #b6b6b6;
    margin: 0 3px;
}

.pagenation li a {
    color: #424242;
    padding: 0px 10px;
}

.pagenation li:hover {
    background: #f8f8f8;
}

.pagenation li.on {
    background: #005627;
    border: 1px solid #005627;
}

.pagenation li.on a {
    color: #ffffff;
}

/* 반응형 */
@media (max-width:768px) {
    .recruit-form th {
        width: 100px;
        padding: 10px;
        font-size: 13px;
    }

    .recruit-form td {
        padding: 8px 10px;
    }

    .recruit-form input[type="text"],
    .recruit-form input[type="password"] {
        max-width: 100%;
    }

    .recruit-list th,
    .recruit-list td {
        padding: 8px 5px;
        font-size: 12px;
    }

    .recruit-list .hide-mo {
        display: none;
    }
}