/* recruit 페이지 */

/* Hero Banner */
.recruitHero {
    width: 100%;
    background: url('/main/img/main/recruit_bg.png') center center / cover no-repeat;
    padding: 40px 20px;
    margin-top:40px;
}
.recruitHero .heroInner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}
.recruitHero .heroTitle {
    font-size: 28px;
    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: 20px;
    }
    .recruitHero .heroTitle {
        font-size: 20px;
        line-height: 1.5;
    }

    .secFrom .formWrap { padding: 0 16px 40px; }

    #recruitForm .topSelect {
        max-width: none;
        margin-bottom: 16px;
    }
    #recruitForm .topSelect .selectBtn { padding: 12px 14px; font-size: 14px; }
    #recruitForm .topSelect .selectOption { font-size: 13px; padding: 10px 14px; }

    .recruitTable { border-top: none; }

    .recruitRow {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        border-bottom: none;
        gap: 8px;
        padding: 10px 0;
    }
    .recruitRow .rowLabel {
        flex: none;
        background: none;
        height: auto;
        padding: 0;
        font-size: 14px;
        font-weight: 700;
    }
    .recruitRow .rowField { width: 100%; }

    .recruitRow input[type="text"],
    .recruitRow input[type="tel"],
    .recruitRow input[type="email"] {
        background: #fff;
        border: 1px solid #E9ECEF;
        border-radius: 10px;
        padding: 14px 14px;
        font-size: 14px;
        box-sizing: border-box;
    }
    .recruitRow input:focus {
        background: #fff;
        border-color: #212529;
    }

    .typeCheckGroup {
        gap: 12px; row-gap: 10px;
        background: #fff;
        border: 1px solid #E9ECEF;
        border-radius: 10px;
        padding: 14px;
    }
    .typeCheckItem { font-size: 13px; min-width: calc(33% - 12px); }

    .fileUpload {
        font-size: 13px;
        background: #fff;
        border: 1px solid #E9ECEF;
        border-radius: 10px;
        padding: 14px 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .recruitBottom {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px 0 0;
    }
    .agreeCheck { font-size: 12px; }
    .submitBtn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ============================ 내부링크 클러스터 (sharWrap4) ============================ */
.sharWrap4 { background: #F8F9FA; border-top: 1px solid #eee; padding: 70px 0; }
.sharWrap4 .tonseHead3 { font-size: 32px; line-height: 1.35; }
.sharWrap4 .ilcLabel { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sharWrap4 .ilcLabel::before { content: ''; display: inline-block; width: 3px; height: 18px; background: #bb2649; border-radius: 2px; flex-shrink: 0; }
.sharWrap4 .ilcLabel span { font-size: 12px; font-weight: 700; color: #bb2649; letter-spacing: 2.5px; text-transform: uppercase; }
.sharWrap4 .ilcGrid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sharWrap4 .ilcCard { display: flex; flex-direction: column; background: #fff; border: 1px solid #e8e2de; border-radius: 20px; padding: 28px 24px 22px; text-decoration: none; color: #212529; position: relative; overflow: hidden; transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease; }
.sharWrap4 .ilcCard::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #bb2649; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.sharWrap4 .ilcCard:hover { box-shadow: 0 10px 36px rgba(187,38,73,0.10); transform: translateY(-4px); border-color: #d9aab6; }
.sharWrap4 .ilcCard:hover::before { transform: scaleX(1); }
.sharWrap4 .ilcIcon { width: 46px; height: 46px; background: #FFF0F3; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; margin-bottom: 18px; transition: background 0.2s; }
.sharWrap4 .ilcCard:hover .ilcIcon { background: #ffd6de; }
.sharWrap4 .ilcCardTit { font-size: 17px; font-weight: 700; color: #212529; margin: 0 0 8px; letter-spacing: -0.5px; }
.sharWrap4 .ilcCardDesc { font-size: 13px; color: #999; line-height: 1.7; margin: 0; flex: 1; letter-spacing: -0.3px; }
.sharWrap4 .ilcArrow { display: flex; align-items: center; gap: 5px; margin-top: 18px; font-size: 13px; font-weight: 700; color: #bb2649; opacity: 0; transform: translateX(-4px); transition: opacity 0.22s ease, transform 0.22s ease; }
.sharWrap4 .ilcCard:hover .ilcArrow { opacity: 1; transform: translateX(0); }
.sharWrap4 .ilcCard:hover .ilcArrow svg { transform: translateX(3px); }
.sharWrap4 .ilcCardWide { grid-column: span 3; flex-direction: row; align-items: center; gap: 20px; padding: 22px 28px; }
.sharWrap4 .ilcCardWide .ilcIcon { margin-bottom: 0; flex-shrink: 0; }
.sharWrap4 .ilcCardWide .ilcCardBody { flex: 1; }
.sharWrap4 .ilcCardWide .ilcCardBody .ilcCardTit { margin-bottom: 4px; }
.sharWrap4 .ilcCardWide .ilcArrow { opacity: 1; transform: none; flex-shrink: 0; margin-top: 0; border: 1.5px solid #bb2649; border-radius: 30px; padding: 10px 20px; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.sharWrap4 .ilcCardWide:hover .ilcArrow { background: #bb2649; color: #fff; transform: none; }

@media (max-width: 1024px){
    .sharWrap4 .ilcGrid { grid-template-columns: repeat(2, 1fr); }
    .sharWrap4 .ilcCardWide { grid-column: span 2; }
}
@media (max-width: 767px){
    .sharWrap4 { padding: 48px 0; }
    .sharWrap4 .tonseHead3 { font-size: 22px; }
    .sharWrap4 .ilcGrid { grid-template-columns: 1fr; gap: 12px; }
    .sharWrap4 .ilcCardWide { grid-column: span 1; flex-direction: column; align-items: flex-start; }
    .sharWrap4 .ilcCardWide .ilcIcon { margin-bottom: 14px; }
    .sharWrap4 .ilcCardWide .ilcArrow { margin-top: 14px; }
}
