:root {
    /* 원시 컬러 */
    --color-white: #ffffff;
    --color-black: #111111;

    --color-blue-100: #F0F1FF;
    --color-blue-500: #4C6CE6;

    --color-purple-100: #E0E0EE;
    --color-purple-200: #CBC7DB;

    --color-gray-100: #F5F5F5;
    --color-gray-200: #E5E7EB;
    --color-gray-300: #DDDDDD;
    --color-gray-500: #8D8D8D;
    --color-gray-600: #767676;
    --color-gray-700: #666666;
    --color-gray-800: #333333;
    --color-gray-900: #222222;

    --color-slate-500: #797C92;

    /* 시맨틱 컬러 */
    --primary: var(--color-blue-500);

    --surface: var(--color-white);
    --surface-soft: var(--color-blue-100);
    --surface-muted: var(--color-gray-100);
    --surface-hover: var(--color-purple-100);

    --border: var(--color-gray-300);
    --border-soft: var(--color-gray-200);
    --border-strong: var(--color-gray-500);
    --border-map: var(--color-purple-200);

    --text-title: var(--color-black);
    --text-strong: var(--color-gray-900);
    --text-value: var(--color-gray-800);
    --text-body: var(--color-gray-700);
    --text-sub: var(--color-gray-600);

    --step-bg: var(--color-slate-500);

    /* 투명도 (rgba용) */
    --color-black-rgb: 0, 0, 0;
    --color-white-rgb: 255, 255, 255;
}

#page_content {
    width: 100%;
}

.career_center_container {
    width: 100%;
}

.office_wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    width: 100%;
}

.map_section,
.form_section {
    flex: 1;
    padding: 0 0 20px 0
}

/* SVG 지도 */
.office_wrapper .map_section {
    background: var(--surface-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative
}

#svgMap {
    max-width: 100%;
    height: auto
}

.office_wrapper .region_area {
    cursor: pointer;
    transition: all 0.3s ease
}

.office_wrapper .region_area path {
    fill: var(--surface);
    stroke: var(--border-map);
    stroke-width: 1
}

.office_wrapper .region_area:hover path {
    fill: var(--surface-hover)
}

.office_wrapper .region_area.selected path {
    fill: var(--surface-hover) !important;
    stroke: var(--border-map);
    stroke-width: 1
}

.office_wrapper .region_area {
    position: relative
}

.office_wrapper .region_area::after {
    content: attr(name);
    position: absolute;
    background: rgba(var(--color-black-rgb), 0.8);
    color: var(--surface);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000
}

.office_wrapper .region_area:hover::after {
    opacity: 1
}


/* 지도 팝업 */
.office_wrapper .map_popup {
    position: absolute;
    background: var(--surface);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 8px 25px rgba(var(--color-black-rgb), 0.15);
    z-index: 2000;
    min-width: 300px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(-10px)
}

.office_wrapper .map_popup.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0)
}

.office_wrapper .map_popup h3 {
    margin: 0 0 12px 0;
    color: var(--text-title);
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--border-soft);
    padding-bottom: 8px
}

.office_wrapper .map_popup ul {
    margin: 0;
    padding: 0
}

.office_wrapper .map_popup li {
    margin: 0 0 6px 0;
    font-size: 14px;
    color: var(--text-sub);
    display: flex;
    align-items: flex-start
}

.office_wrapper .map_popup li strong {
    min-width: 50px;
    color: var(--text-title);
    font-weight: 600
}

.office_wrapper .map_popup_close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--text-sub);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center
}

.office_wrapper .map_popup_close:hover {
    color: var(--text-title)
}

.office_wrapper .form_section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    font-size: 16px
}

/* 폼 step */
.office_wrapper .form_step {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 24px
}

.office_wrapper .step_header {
    display: flex;
    align-items: center;
    gap: 0.5rem
}

.office_wrapper .step_number {
    width: 24px;
    height: 24px;
    background: var(--step-bg);
    color: var(--surface);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700
}

.office_wrapper .step_title {
    font-size: 18px;
    line-height: 28px;
    font-weight: 500;
    color: var(--text-title);
    padding-left: 4px
}

.button_group_wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px
}

.career_form_btn {
    border-radius: 10px;
    padding: 0 20px;
    font-size: 15px;
    min-height: 45px;
    cursor: pointer;
    border: 1px solid var(--border);
    background-color: var(--surface);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center
}

.career_form_btn:hover {
    background: var(--primary);
    color: var(--surface)
}

.career_form_btn.active {
    background: var(--primary);
    color: var(--surface);
    border-color: var(--primary)
}




.store_bubble {
    float: left;
    cursor: default;
    position: relative;
    background: var(--surface);
    padding: 30px 25px 20px 25px;
    box-sizing: border-box;
    border-radius: 8px;
    border-width: 0px;
    min-height: 370px;
    border: 1px solid var(--border-strong);
    box-shadow: 0 4px 12px rgba(var(--color-black-rgb), 0.15);
    width: 540px;
    max-width: 90vw
}

.store_bubble:after {
    content: '';
    display: block;
    position: absolute;
    z-index: 10;
    left: 40px;
    bottom: -25px;
    background: url(/pages/basic/img/sub/store_bubble_arrow.png) no-repeat 0 0;
    width: 33px;
    height: 25px
}

.store_bubble .btn_close {
    position: absolute;
    top: 12px;
    right: 15px;
    background: url(/assets/img/bubble_btn_close.png) no-repeat 0 0;
    width: 14px;
    height: 13px;
    display: block;
    z-index: 20
}

.store_bubble .btn_close span {
    font-size: 0
}

.store_bubble .txt_wrap {
    width: 100%;
    height: 100%
}

.store_bubble .txt_wrap h4 {
    font-size: 20px;
    font-weight: bold;
    padding: 0 30px 14px 0;
    line-height: 20px;
    color: var(--text-title);
    margin: 0
}

.store_bubble .txt_wrap .info_list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0
}

.store_bubble .txt_wrap .info_list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 6px;
    font-size: 12px;
    line-height: 18px
}

.store_bubble .txt_wrap .info_list .label {
    color: var(--text-body);
    font-weight: 400;
    min-width: 60px;
    flex-shrink: 0;
    font-size: 15px;
}

.store_bubble .txt_wrap .info_list .value {
    color: var(--text-value);
    font-weight: 400;
    flex: 1;
    word-break: break-all;
    font-size: 15px;
}

.store_bubble .txt_wrap a.details {
    background: var(--surface);
    color: var(--text-strong);
    border: 1px solid var(--text-body);
    font-size: 14px;
    line-height: 24px;
    padding: 6px 20px;
    display: inline-block;
    margin: 8px 0 24px 0;
    font-weight: 400;
    text-decoration: none
}

.store_bubble .txt_wrap a.details:hover {
    background: var(--text-strong);
    color: var(--surface);
    border: 1px solid var(--text-strong)
}

.swiper_container {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface-muted)
}

.swiper_wrapper {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
    width: 100%
}

.swiper_slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center
}

.swiper_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.swiper_button_prev,
.swiper_button_next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(var(--color-black-rgb), 0.6);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    color: var(--surface);
    z-index: 15;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1
}

.swiper_button_prev:hover,
.swiper_button_next:hover {
    background: rgba(var(--color-black-rgb), 0.8);
    transform: translateY(-50%) scale(1.1)
}

.swiper_button_prev {
    left: 10px
}

.swiper_button_next {
    right: 10px
}

.swiper_pagination {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 15
}

.swiper_pagination_bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(var(--color-white-rgb), 0.6);
    cursor: pointer;
    transition: all 0.2s ease
}

.swiper_pagination_bullet.active {
    background: var(--surface);
    transform: scale(1.3)
}

.p_info {
    margin-top: 10px;
}


@media screen and (min-width:320px) and (max-width:900px) {
    .office_wrapper {
        display: inline-block;
    }

    .office_wrapper .map_section {
        height: 500px;
    }

    .office_wrapper .form_section {
        display: inline-block;
        width: 100%;
        margin: 20px 0;
    }
}

.branch-item {
    float: left;
    margin-top: 10px;
    margin-left: 10px;
}

/* 반응형 — head 인라인 <style>에서 이동 (form_section 단일컬럼) */
@media screen and (min-width:320px) and (max-width:1180px) {
    .office_wrapper .form_section {
        display: inline-block;
    }
}

.company-popup {
    padding: 40px 0;
    display: none;
    display: flex;
    gap:12px
}



#company_popup1 {
    display: block;
}


.company-popup .store_bubble {
    float: none;
    width: 100%;
    max-width: 520px;
    min-height: auto;
    box-shadow: none;
    border: none;
    padding: 0;
}

.company-popup .store_bubble:after {
    display: none
}

.map-col {
    flex: 0 0 555px;
    max-width: 555px;
    height: auto;
    background: var(--surface)
}


/* 인라인 style → 클래스 분리 (지도/팝업/지점버튼) */
/* 오른쪽 지점 상세 패널 (모달 → 인라인 교체) */
.branch-detail {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.map-img {
    width: 100%;
    max-width: 555px
}

#branch_buttons .branch-item {
    display: none
}