/* recruit 페이지 */

/* Hero Banner */
.recruitHero {
    width: 100%;
    background: url('/main/img/main/recruit_bg.png') center center / cover no-repeat;
    padding: 80px 20px;
    margin-bottom: 48px;
}
.recruitHero .heroInner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.recruitHero .heroTitle {
    font-size: 34px;
    font-weight: 700;
    color: #212529;
    line-height: 1.45;
    letter-spacing: -0.5px;
}
.recruitHero .heroTitle span {
    display: block;
}

/* Form container tune */
.secFrom .formWrap {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* 지점 선택 (top select) */
#recruitForm .topSelect {
    max-width: 240px;
    margin-bottom: 28px;
    border: 1px solid #E9ECEF;
    border-radius: 12px;
    background: #fff;
    position: relative;
}
#recruitForm .topSelect.is-open { border-color: #212529; }
#recruitForm .topSelect .selectBtn {
    width: 100%; padding: 14px 16px; border: 0; background: transparent; text-align: left;
    border-radius: 12px; position: relative; color: #212529;
    font-size: 15px; font-weight: 600;
}
#recruitForm .topSelect .selectLabel { display: block; width: 100%; }
#recruitForm .topSelect .selectLabel.is-placeholder { color: #868E96; font-weight: 400; }
#recruitForm .topSelect .selectArrow { font-size: 16px; pointer-events: none; }
#recruitForm .topSelect.is-open .selectArrow { transform: rotate(180deg); }
#recruitForm .topSelect .selectList {
    display: none; position: absolute; left: 0; right: 0; top: calc(100% + 4px);
    border-radius: 12px; background: #fff; z-index: 50; padding: 10px 0;
    box-shadow: 4px 4px 20px 0 rgba(0, 0, 0, 0.10);
    max-height: 280px; overflow-y: auto;
    list-style: none;
}
#recruitForm .topSelect.is-open .selectList { display: block; }
#recruitForm .topSelect .selectOption {
    padding: 10px 16px; color: #212529; font-size: 14px; font-weight: 500; cursor: pointer;
}
#recruitForm .topSelect .selectOption:hover { background-color: #F8F9FA; }
#recruitForm .topSelect .selectOption.is-selected { font-weight: 700; color: #BB2649; }

/* Table */
.recruitTable {
    border-top: 1px solid #E9ECEF;
}
.recruitRow {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #E9ECEF;
    height:68px;
    gap: 16px;
}
.recruitRow .rowLabel {
    flex: 0 0 180px;
    color: #BB2649;
    background-color:#F8F9FA;
    height:100%;
    padding:0px 16px;
    display:flex;
    align-items:center;
    font-size: 16px;
    font-weight: 600;
}
.recruitRow .rowLabel .labelNote {
    color: #868E96;
    font-weight: 400;
    font-size: 12px;
    margin-left: 4px;
}
.recruitRow .rowField {
    flex: 1;
    min-width: 0;
}

/* Inline inputs (no box, underline-less) */
.recruitRow input[type="text"],
.recruitRow input[type="tel"],
.recruitRow input[type="email"] {
    background: transparent;
    border: 0;
    width: 100%;
    font-size: 15px;
    color: #212529;
    padding: 6px 0;
    outline: none;
}
.recruitRow input::placeholder { color: #ADB5BD; }
.recruitRow input:focus { color: #212529; }

/* 직군 선택 체크박스 그룹 */
.typeCheckGroup {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    row-gap: 12px;
}
.typeCheckItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #343A40;
    user-select: none;
}
.typeCheckItem input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.typeCheckItem .checkMark {
    width: 18px; height: 18px;
    border: 1.5px solid #DEE2E6;
    border-radius: 4px;
    background: #fff;
    display: inline-block;
    position: relative;
    flex: 0 0 auto;
    transition: all 0.15s;
}
.typeCheckItem input[type="checkbox"]:checked + .checkMark {
    background: #BB2649;
    border-color: #BB2649;
}
.typeCheckItem input[type="checkbox"]:checked + .checkMark::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 4px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.typeCheckItem .checkText { line-height: 1; }

/* File upload */
.fileUpload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #868E96;
    font-size: 14px;
    padding: 4px 0;
}
.fileUpload .fileInput { display: none; }
.fileUpload .fileIcon { font-size: 18px; color: #868E96; }
.fileUpload.has-file,
.fileUpload.has-file .fileIcon { color: #212529; }

/* Bottom bar */
.recruitBottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 10px 0;
    gap: 16px;
}
.agreeCheck {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: #343A40;
    user-select: none;
}
.agreeCheck input[type="checkbox"] {
    position: absolute; opacity: 0; width: 0; height: 0;
}
.agreeCheck .checkMark {
    width: 16px; height: 16px;
    border: 1.5px solid #DEE2E6;
    border-radius: 3px;
    background: #fff;
    display: inline-block;
    position: relative;
    flex: 0 0 auto;
    transition: all 0.15s;
}
.agreeCheck input[type="checkbox"]:checked + .checkMark {
    background: #BB2649;
    border-color: #BB2649;
}
.agreeCheck input[type="checkbox"]:checked + .checkMark::after {
    content: '';
    position: absolute;
    left: 4px; top: 0px;
    width: 4px; height: 9px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submitBtn {
    background: #BB2649;
    color: #fff;
    border: 0;
    border-radius: 30px;
    padding: 13px 34px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s;
}
.submitBtn:hover { opacity: 0.9; }

/* Mobile */
@media (max-width: 767px) {
    .recruitHero {
        padding: 48px 20px;
        margin-bottom: 28px;
    }
    .recruitHero .heroTitle {
        font-size: 20px;
        line-height: 1.5;
    }

    .secFrom .formWrap { padding-bottom: 40px; }

    #recruitForm .topSelect {
        max-width: none;
        margin-bottom: 20px;
    }
    #recruitForm .topSelect .selectBtn { padding: 12px 14px; font-size: 14px; }
    #recruitForm .topSelect .selectOption { font-size: 13px; padding: 10px 14px; }

    .recruitRow {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 8px;
    }
    .recruitRow .rowLabel {
        flex: none;
        font-size: 14px;
    }
    .recruitRow .rowField { width: 100%; }
    .recruitRow input[type="text"],
    .recruitRow input[type="tel"],
    .recruitRow input[type="email"] { font-size: 14px; }

    .typeCheckGroup { gap: 14px; row-gap: 10px; }
    .typeCheckItem { font-size: 13px; }

    .fileUpload { font-size: 13px; }

    .recruitBottom {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 20px 8px 0;
    }
    .agreeCheck { font-size: 12px; }
    .submitBtn {
        width: 100%;
        padding: 13px 20px;
        font-size: 14px;
    }
}
