.main-dashboard-page {
       background: #f5f8fd;
   }

/* =========================
   공통 요약 카드
   ========================= */
.modern-card-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 26px;
}

.modern-summary-card {
    position: relative;
    min-height: 150px;
    padding: 34px 26px 26px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(30, 48, 80, 0.10);
    border: 1px solid rgba(220, 226, 235, 0.9);
    overflow: hidden;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.2s ease;
}

.modern-summary-card:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
}

.modern-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(30, 48, 80, 0.16);
}

.modern-summary-card .summary-icon {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-summary-card .summary-icon i {
    font-size: 34px;
}

.modern-summary-card .summary-info {
    flex: 1;
    min-width: 0;
}

.modern-summary-card .card-label {
    font-size: 18px;
    font-weight: 700;
    color: #172033;
    margin-bottom: 10px;
    line-height: 1.35;
    word-break: keep-all;
}

.modern-summary-card .card-value {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.15;
    word-break: keep-all;
}

.modern-summary-card .summary-arrow {
    position: absolute;
    right: 24px;
    bottom: 22px;
    color: #596273;
    font-size: 24px;
}

/* 카드 색상 */
.card-blue:before {
    background: #2f74eb;
}

.card-blue .summary-icon {
    background: #eaf2ff;
}

.card-blue .summary-icon i,
.card-blue .card-value {
    color: #2f74eb;
}

.card-green:before {
    background: #20ad61;
}

.card-green .summary-icon {
    background: #e8f8ef;
}

.card-green .summary-icon i,
.card-green .card-value {
    color: #20ad61;
}

.card-orange:before {
    background: #f49a12;
}

.card-orange .summary-icon {
    background: #fff3df;
}

.card-orange .summary-icon i,
.card-orange .card-value {
    color: #f49a12;
}

.card-purple:before {
    background: #7949e8;
}

.card-purple .summary-icon {
    background: #f0eaff;
}

.card-purple .summary-icon i,
.card-purple .card-value {
    color: #7949e8;
}

/* =========================
   관리자 HOME - API 전송 현황
   ========================= */
.api-status-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 34px 34px 36px;
    box-shadow: 0 16px 38px rgba(30, 48, 80, 0.12);
    border: 1px solid rgba(220, 226, 235, 0.95);
    margin-top: 24px;
}

.api-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.api-title-box {
    display: flex;
    align-items: center;
    gap: 18px;
}

.api-title-icon {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #2f74eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.api-title-icon i {
    font-size: 32px;
}

.api-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f2d63;
    margin-bottom: 8px;
    line-height: 1.25;
}

.api-desc {
    font-size: 15px;
    color: #7a8496;
    line-height: 1.4;
}

.api-more-btn {
    height: 58px;
    padding: 0 22px;
    border-radius: 12px;
    border: 1px solid #d7e0ef;
    background: #ffffff;
    color: #2f74eb;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 16px rgba(30, 48, 80, 0.08);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.api-more-btn i {
    font-size: 22px;
}

.api-more-btn:hover {
    background: #f4f8ff;
    color: #1d5ed1;
    box-shadow: 0 10px 22px rgba(30, 48, 80, 0.13);
}

.api-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e2e8f2;
}

.api-status-table {
    width: 100%;
    min-width: 820px;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

.api-status-table thead th {
    height: 74px;
    background: #f2f7ff;
    color: #0f2d63;
    font-size: 18px;
    font-weight: 800;
    text-align: center;
    border-right: 1px solid #e2e8f2;
    border-bottom: 1px solid #e2e8f2;
    vertical-align: middle;
}

.api-status-table thead th:last-child {
    border-right: 0;
}

.api-status-table tbody td {
    height: 92px;
    text-align: center;
    color: #172033;
    font-size: 18px;
    border-right: 1px solid #e8edf5;
    border-bottom: 1px solid #e8edf5;
    vertical-align: middle;
}

.api-status-table tbody tr:last-child td {
    border-bottom: 0;
}

.api-status-table tbody td:last-child {
    border-right: 0;
}

.api-date-cell {
    display: grid;
    grid-template-columns: 52px 60px;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.api-date-cell strong {
    text-align: left;
    white-space: nowrap;
}

.api-date-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.api-date-icon i {
    font-size: 24px;
}

.api-date-blue {
    background: #eaf2ff;
    color: #2f74eb;
}

.api-date-green {
    background: #e8f8ef;
    color: #20ad61;
}

.api-date-purple {
    background: #f0eaff;
    color: #7949e8;
}

.api-success {
    color: #2f74eb !important;
    font-weight: 800;
}

.api-fail {
    color: #e11d2e !important;
    font-weight: 800;
}

.api-total {
    color: #172033 !important;
    font-weight: 800;
}

.api-empty {
    height: 120px !important;
    color: #8b95a7 !important;
}

.api-date-cell-wide {
    grid-template-columns: 52px auto;
}

.api-date-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.api-date-text strong {
    font-size: 18px;
    color: #172033;
}

.api-date-text span {
    font-size: 14px;
    color: #7a8496;
    white-space: nowrap;
}

/* =========================
   출하자 HOME
   ========================= */
.shipper-dashboard-panel {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px;
    box-shadow: 0 16px 38px rgba(30, 48, 80, 0.12);
    border: 1px solid rgba(220, 226, 235, 0.95);
    margin-bottom: 26px;
}

.shipper-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.shipper-title-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.shipper-title-icon {
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #2f74eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shipper-title-icon i {
    font-size: 28px;
}

.shipper-title-icon-green {
    background: #e8f8ef;
    color: #20ad61;
}

.shipper-title-icon-orange {
    background: #fff3df;
    color: #f49a12;
}

.shipper-panel-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f2d63;
    margin-bottom: 7px;
    line-height: 1.25;
}

.shipper-panel-desc {
    font-size: 14px;
    color: #7a8496;
    line-height: 1.4;
}

.shipper-chart-wrap {
    width: 100%;
    overflow-x: auto;
}

/* 출하자 HOME 하단 표 2개 반반 배치 */
.shipper-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 26px;
    align-items: stretch;
}

.shipper-dashboard-grid .shipper-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.shipper-dashboard-grid .shipper-modern-table {
    min-width: 640px;
}

/* 반반 배치일 때 카드 내부 여백 조금 축소 */
.shipper-dashboard-grid .shipper-dashboard-panel {
    padding: 26px 22px;
}

.shipper-dashboard-grid .shipper-panel-title {
    font-size: 20px;
}

.shipper-dashboard-grid .shipper-title-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;
}

.shipper-dashboard-grid .shipper-title-icon i {
    font-size: 24px;
}

/* 태블릿 이하에서는 다시 1줄씩 */
@media (max-width: 991px) {
    .shipper-dashboard-grid {
            grid-template-columns: 1fr;
            gap: 22px;
        }
}

@media (max-width: 991px) {
    .shipper-dashboard-grid .shipper-modern-table {
            min-width: 820px;
        }
}

/* 모바일 */
@media (max-width: 768px) {
    .shipper-dashboard-grid {
            grid-template-columns: 1fr;
            gap: 18px;
        }
}

@media (max-width: 768px) {
    .shipper-dashboard-grid .shipper-dashboard-panel {
            padding: 24px 18px;
        }
}

.shipper-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid #e2e8f2;
}

.shipper-modern-table {
    margin-bottom: 0 !important;
    background: #ffffff;
    min-width: 820px;
}

.shipper-modern-table thead th {
    height: 56px;
    background: #f2f7ff;
    color: #0f2d63;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    vertical-align: middle !important;
    border-bottom: 1px solid #e2e8f2 !important;
}

.shipper-modern-table tbody td {
    height: 54px;
    vertical-align: middle !important;
    font-size: 14px;
    color: #111111;
}

.shipper-modern-table tbody tr:hover {
    background: #f8fbff;
}

/* 출하자 HOME 표 금액 - 진한 검정 */
.money-blue,
.money-green,
.money-purple,
.money-orange {
    color: #111111 !important;
    font-weight: 800;
}

/* 기존/공통 차트 빈 데이터 */
.main-dashboard-page .dashboard-no-data,
.dashboard-no-data {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #777777;
    border: 1px dashed #d9d9d9;
    background: #fafafa;
}

/* =========================
   기존 메인 테이블/박스 호환
   ========================= */
.main-dashboard-page .dashboard-box {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.main-dashboard-page .dashboard-table {
    margin-bottom: 0;
    table-layout: fixed;
    white-space: nowrap;
}

.main-dashboard-page .dashboard-table th,
.main-dashboard-page .dashboard-table td {
    vertical-align: middle !important;
    text-align: center;
}

.main-dashboard-page .dashboard-table td.text-right,
.main-dashboard-page .dashboard-table th.text-right {
    text-align: right !important;
}

.main-dashboard-page .dashboard-badge {
    display: inline-block;
    min-width: 28px;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.main-dashboard-page .dashboard-badge.badge-yes {
    background: #28a745;
}

.main-dashboard-page .dashboard-badge.badge-no {
    background: #dc3545;
}

.main-dashboard-page .dashboard-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.main-dashboard-page .dashboard-chart-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.main-dashboard-page .dashboard-chart-toggle-btn {
    min-width: 86px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid #d7dde5;
    background: #ffffff;
    color: #444444;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.main-dashboard-page .dashboard-chart-toggle-btn.active {
    border-color: #7d8ea3;
    background: #eef3f8;
    color: #222222;
}

/* =========================
   반응형
   ========================= */
@media (max-width: 1360px) {
    .modern-card-row {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 768px) {
    .modern-card-row {
            grid-template-columns: 1fr;
            gap: 16px;
        }
}

@media (max-width: 768px) {
    .modern-summary-card {
            min-height: 130px;
            padding: 26px 22px;
        }
}

@media (max-width: 768px) {
    .modern-summary-card .card-value {
            font-size: 30px;
        }
}

@media (max-width: 768px) {
    .api-status-panel,
        .shipper-dashboard-panel {
            padding: 24px 18px;
        }
}

@media (max-width: 768px) {
    .api-status-header,
        .shipper-panel-header {
            align-items: flex-start;
            gap: 16px;
        }
}

@media (max-width: 1240px) {
    /* 출하자 HOME - 더보기/조회/지불등록 버튼 공통 축소 */
    .shipper-dashboard-page .api-more-btn {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    .shipper-dashboard-page .api-more-btn i {
        margin: 0 !important;
        font-size: 18px !important;
    }

    .shipper-dashboard-page .api-more-btn span {
        display: none !important;
    }

    .shipper-dashboard-page .shipper-more-btn-group {
        flex: 0 0 auto !important;
        gap: 4px !important;
    }
}
@media (max-width: 768px) {
    .api-title,
        .shipper-panel-title {
            font-size: 20px;
        }
}

@media (max-width: 768px) {
    .api-title-icon,
        .shipper-title-icon {
            width: 56px;
            height: 56px;
            flex-basis: 56px;
        }
}

@media (max-width: 768px) {
    .api-title-icon i,
        .shipper-title-icon i {
            font-size: 25px;
        }
}

/*회원가입화면*/
.join-wrap {
    padding-top: 20px;
    padding-bottom: 30px;
}

.join-guide {
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid #d2d6de;
    background: #f9fafc;
    border-radius: 4px;
    color: #555;
    line-height: 1.7;
}

.join-guide strong {
    color: #222;
}

.join-section-gap {
    margin-top: 20px;
}

.dot_rec {
    display: inline-block;
    margin-left: 4px;
    color: #e74c3c;
    font-style: normal;
}

.join-form-btns .btn + .btn {
    margin-left: 6px;
}

.pw-guide {
    margin-top: 6px;
    color: #888;
    font-size: 12px;
}

.text-muted-sm {
    font-size: 12px;
    color: #888;
}

.input-group .btn {
    border-radius: 0;
}

.input-group .btn:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.agree-box {
    padding: 12px 14px;
    border: 1px solid #d2d6de;
    background: #fcfcfc;
    border-radius: 4px;
}

.agree-box label {
    margin-right: 20px;
    font-weight: normal;
}

.agree-all {
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #b8cce0;
}

.agree-all label {
    display: inline-block;
    margin-right: 10px;
    font-weight: 600;
    color: #222;
}

/* 새로 만든 스타일 : 약관 항목 박스 */
.agree-item + .agree-item {
    margin-top: 16px;
}

/* 새로 만든 스타일 : 약관 제목줄 */
.agree-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.agree-head strong {
    color: #222;
    font-weight: 600;
}

.agree-head label {
    margin: 0;
    font-weight: normal;
}

/* 새로 만든 스타일 : 약관 본문 */
.agree-text {
    height: 150px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #dcdfe3;
    background: #fff;
    line-height: 1.7;
    color: #555;
    font-size: 13px;
    white-space: normal;
}

/* 회원가입 안내관련 */
.join-tooltip-wrap {
    position: relative;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
}

.join-shipper-corp-info {
    font-size: 12px;
    color: #6c757d;
    cursor: pointer;
    vertical-align: middle;
}

.join-shipper-corp-info:hover {
    color: #495057;
}

.join-tooltip-box {
    display: none;
    position: absolute;
    top: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 350px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #2f3542;
    color: #ffffff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    white-space: normal;
}

.join-tooltip-box::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #2f3542;
}

.join-tooltip-wrap:hover .join-tooltip-box,
.join-tooltip-wrap:focus-within .join-tooltip-box {
    display: block;
}

/* 새로 추가 : 법인사용출하자코드/법인코드 묶음 영역 */
.corp-pair-wrap {
    width: 100%;
}

.corp-pair-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.corp-pair-desc {
    font-size: 12px;
    color: #777;
}

.corp-pair-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.corp-pair-row .pair-item {
    flex: 1 1 250px;
}

.corp-pair-row .pair-item label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #555;
}

.corp-pair-row .pair-del {
    margin-top: 20px;
}

.date-tilde {
    color: #666;
    font-weight: bold;
}

/* 새로 추가 : 출하자 회원가입 전체 영역 */
.join-shipper-wrap {
    padding-bottom: 20px;
}

/* 새로 추가 : 안내 박스 */
.join-shipper-guide {
    margin-bottom: 15px;
    padding: 12px 15px;
    border: 1px solid #b8cce0;
    background: #fafafa;
    line-height: 1.7;
}

.join-shipper-text-muted {
    font-size: 12px;
    color: #777;
}

.join-shipper-section-gap {
    margin-top: 18px;
}

.join-shipper-pw-guide {
    margin-top: 6px;
    font-size: 12px;
    color: #888;
}

.join-shipper-inline-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.join-shipper-inline-group .form-control {
    width: 140px;
}

.join-shipper-date-tilde {
    display: inline-block;
    line-height: 34px;
    color: #666;
    font-weight: bold;
}

/* 새로 추가 : 법인 연동정보 */
.join-shipper-corp-wrap {
    width: 100%;
}

.join-shipper-corp-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.join-shipper-corp-desc {
    display: inline-block;
    margin-top: 2px;
    font-size: 12px;
    color: #777;
}

.join-shipper-corp-row {
    margin-bottom: 8px;
}

.join-shipper-corp-row label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: normal;
    color: #555;
}

/* 새로 추가 : 약관 동의 박스 */
.join-shipper-agree-box {
    border: 1px solid #b8cce0;
    background: #fff;
    padding: 15px;
}

.join-shipper-agree-all {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #b8cce0;
    font-size: 13px;
    line-height: 1.6;
}

.join-shipper-agree-all label {
    margin-right: 10px;
    font-weight: 600;
}

.join-shipper-agree-item + .join-shipper-agree-item {
    margin-top: 14px;
}

.join-shipper-agree-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.join-shipper-agree-head strong {
    font-size: 14px;
    font-weight: 600;
    color: #222;
}

.join-shipper-agree-head label {
    margin: 0;
    font-weight: normal;
    font-size: 13px;
    color: #333;
}

.join-shipper-agree-text {
    height: 140px;
    overflow-y: auto;
    padding: 12px;
    border: 1px solid #b8cce0;
    background: #fafafa;
    font-size: 12px;
    line-height: 1.8;
    color: #333;
    white-space: normal;
    word-break: keep-all;
}

/* 새로 추가 : 체크박스 세로정렬 보정 */
.join-shipper-agree-box input[type="checkbox"] {
    position: relative;
    top: 1px;
    margin-right: 4px;
}

/* 새로 추가 : 버튼 영역 */
.join-form-btns {
    overflow: hidden;
}

/* 산지팝업 */
.local-popup-wrap .modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.local-popup-table tbody tr {
    cursor: pointer;
}

.local-popup-table tbody td {
    vertical-align: middle;
}

.local-popup-table tbody tr:hover {
    background: #f8f8f8;
}

/* 우편번호 입력영역 */
.join-shipper-zip-group .form-control[readonly] {
    background-color: #ffffff;
    cursor: pointer;
}

.join-shipper-zip-group .btn {
    white-space: nowrap;
}


/* ===== Source: 8d4b5df6-7242-4f91-9026-fe958ea07235.css ===== */
.form-address-control {
    max-width: 720px;
}

.form-zip-group.input-group {
    display: flex;
    width: 100%;
    max-width: 520px;
}

.form-zip-group.input-group .form-control {
    flex: 1 1 auto;
    min-width: 0;
}

.form-zip-group.input-group .input-group-addon {
    width: auto;
    flex: 0 0 auto;
}

.form-zip-group.input-group .btn {
    white-space: nowrap;
}

/* 메인 로고 관련 */
.btn-header-home,
.m-lnb-logo,
.custom-logo-wrap {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 0 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.custom-logo-icon,
.btn-header-home img,
.m-lnb-logo img {
    width: 92px !important;
    height: auto !important;
    display: block !important;
    flex-shrink: 0 !important;
    margin: 0 -15px 0 0 !important;
}

.custom-logo-text {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #0b3f8a !important;
    line-height: 1 !important;
    letter-spacing: -0.5px !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .custom-logo-icon,
        .btn-header-home img,
        .m-lnb-logo img {
            width: 76px !important;
            margin-right: -15px !important;
        }
}

@media (max-width: 767px) {
    .custom-logo-text {
            font-size: 17px !important;
        }
}


/* ===== Source: 7edcd921-20f2-4e58-966a-4114c246bcdf.css ===== */
/* =========================
   메뉴 탭 css
   - 대메뉴 hover
   - 중메뉴 click
   - 3뎁스는 2뎁스 오른쪽 absolute
   ========================= */
.renewal-header,
.renewal-header .rh-in,
.renewal-header .rh-left,
.renewal-header .rh-center,
.renewal-header .rh-right,
.renewal-header .cate-menu,
.renewal-header .cate-menu .depth-list-wrap-01,
.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01,
.renewal-header .cate-menu .depth-list-wrap-02,
.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02,
.renewal-header .cate-menu .depth-list-wrap-03 {
    overflow: visible !important;
}

.renewal-header {
    position: relative;
    z-index: 99999 !important;
}

.renewal-header .rh-in,
.renewal-header .rh-center,
.renewal-header .cate-menu {
    position: relative;
    z-index: 100000 !important;
}

.renewal-header .cate-menu .depth-list-wrap-01 {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    list-style: none;
}

.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 0 10px;
}

.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 56px;
    padding: 0 22px;
    border-radius: 16px;
    color: #5f718f;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link .menu-top-icon {
    font-size: 32px;
    line-height: 1;
    margin: 0;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link > span {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01:hover > a.menu-top-link,
.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01.active > a.menu-top-link {
    background: #5d84f3;
    color: #ffffff;
}

/* 2뎁스 / 3뎁스 공통 */
.renewal-header .cate-menu .depth-list-wrap-02,
.renewal-header .cate-menu .depth-list-wrap-03 {
    display: none;
    margin: 0;
    list-style: none;
    background: #ffffff;
    border: 1px solid #d9dfeb;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    padding: 8px 0;
}

/* 2뎁스 */
.renewal-header .cate-menu .depth-list-wrap-02 {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    transform: translateX(-50%);
    min-width: 250px;
    z-index: 100001 !important;
}

/* 대메뉴 hover 시 중메뉴 표시 */
.renewal-header .cate-menu .depth-list-wrap-01 > .depth-01:hover > .depth-list-wrap-02 {
    display: block;
}

/* 중메뉴 항목 */
.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02 {
    position: relative;
    z-index: 1;
}

/* 3뎁스 */
.renewal-header .cate-menu .depth-list-wrap-03 {
    position: absolute;
    top: -8px;
    left: calc(100% - 2px);
    min-width: 220px;
    z-index: 100002 !important;
}

/* 클릭된 중메뉴의 3뎁스 표시 */
.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.open {
    z-index: 100003 !important;
}

.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.open > .depth-list-wrap-03 {
    display: block;
}

/* 메뉴 링크 */
.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02 > a,
.renewal-header .cate-menu .depth-list-wrap-03 > .depth-03 > a {
    display: block;
    position: relative;
    padding: 12px 20px;
    color: #4c5f7c;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    background: #ffffff;
    cursor: pointer;
}

.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02 > a:hover,
.renewal-header .cate-menu .depth-list-wrap-03 > .depth-03 > a:hover {
    background: #f4f7fb;
    color: #2f4f7f;
}

/* 소메뉴 있는 중메뉴 화살표 */
.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.d-arrow > a {
    padding-right: 42px;
}

.renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.d-arrow > a::after {
    content: "›";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    font-size: 20px;
    color: #7a8ba5;
    line-height: 1;
}

/* 헤더 아래 본문보다 무조건 위 */
/*
.wrapper,
.content-wrapper,
.content,
.content-header,
.content-body,
.admin-body-wrap,
.box,
.box-body,
section.content {
    position: relative;
    z-index: 1;
}

.renewal-header,
.renewal-header * {
    z-index: auto;
}

.renewal-header {
    z-index: 99999 !important;
}

.renewal-header .cate-menu .depth-list-wrap-02 {
    z-index: 100001 !important;
}

.renewal-header .cate-menu .depth-list-wrap-03 {
    position: absolute;
    top: -8px;
    left: calc(100% - 2px);
    min-width: 220px;
    z-index: 100002 !important;
}
*/
/* 메뉴 관리 css */
.menu-mng-wrap {
    padding: 20px 0;
}

/* admin 공통 body 영역 */
.admin-body-wrap {
    position: relative;
 /*   padding-top: 85px;*/
    min-height: calc(100vh - 160px);
}

.ship-corp-wrap {
    border: 1px solid #b8cce0;
    border-radius: 4px;
    padding: 12px;
    background: #fafafa;
}

.ship-corp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.ship-corp-desc {
    color: #777;
    font-size: 12px;
}

.ship-corp-row {
    margin-bottom: 10px;
    border: 1px solid #b8cce0 !important;
    background: #fff;
}

.ship-corp-row > div {
    margin-top:1.0rem;
    margin-bottom:1.0rem;
}

.ship-corp-row label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
}

.ship-corp-btn-col {
    display: flex;
    align-items: flex-end;
}

/* 팝업 */
.modal-content {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
}

.modal-header {
    background: #f6f8fb;
    border-bottom: 1px solid #e3e9f0;
    padding: 14px 18px;
}

.modal-title {
    font-size: 17px;
    font-weight: 700;
    color: #243444;
}

.modal-body {
    padding: 18px;
    background: #ffffff;
}

.modal-body .form-control {
    height: 36px;
    border-radius: 8px;
}

.modal-body .table {
    margin-bottom: 0;
}

.modal-body .table > thead > tr > th {
    background: #eef3f8 !important;
    border: 1px solid #dbe3ec !important;
    text-align: center;
    font-weight: 700;
}

.modal-body .table > tbody > tr > td {
    border: 1px solid #e5ebf2 !important;
    vertical-align: middle !important;
}

.modal-body .table-hover > tbody > tr:hover > td {
    background: #f8fbff !important;
}

.m-lnb-logo img {
    height: 32px;
}

/* 법인연동정보 삭제 버튼: 수정화면과 회원가입 동일 크기 */
#corpPairContainer .ship-corp-btn-col {
    width: 82px !important;
    max-width: 82px !important;
    flex: 0 0 82px !important;
    padding-top: 20px !important;
}

#corpPairContainer .ship-corp-btn-col .btn-danger {
    width: 100% !important;
    height: 35px !important;
    padding: 5px 9px !important;
    display: block !important;

    background: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

/* ==============================
   헤더 PC 메뉴 보정
   - 1281px ~ 1570px 구간
   - 1280px 이하는 모바일 메뉴 사용
   - 메뉴/계정/로그아웃 한 줄 유지
   - 메뉴 hover / 2뎁스 / 3뎁스 유지
   ============================== */
@media (min-width: 1281px) and (max-width: 1570px) {

    .renewal-header,
    .renewal-header .rh-in {
        overflow: visible !important;
    }

    .renewal-header .rh-in {
        position: relative !important;
    }

    /* 로고 영역 */
    .renewal-header .rh-left {
        position: relative !important;
        z-index: 30 !important;
        overflow: visible !important;
    }

    .renewal-header .custom-logo-icon,
    .renewal-header .btn-header-home img {
        width: 82px !important;
        height: auto !important;
        max-width: none !important;
        object-fit: contain !important;
        margin-right: -13px !important;
    }

    .renewal-header .custom-logo-text {
        font-size: 18px !important;
        font-weight: 800 !important;
        letter-spacing: -0.8px !important;
        white-space: nowrap !important;
    }

    /* PC 메뉴 영역: 상단 가운데 고정 */
    .renewal-header .rh-center {
        position: absolute !important;
        left: 50% !important;
        top: 0 !important;
        transform: translateX(-50%) !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 80px !important;
        z-index: 40 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        overflow: visible !important;

        /* 투명한 rh-center 영역이 로그아웃 클릭 막지 않게 */
        pointer-events: none !important;
    }

    .renewal-header .cate-menu {
        position: relative !important;
        z-index: 50 !important;
        width: auto !important;
        height: 80px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: 80px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        list-style: none !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 {
        position: relative !important;
        z-index: 60 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
        min-height: 80px !important;
        height: 80px !important;
        padding: 0 4px !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    /* 메뉴 버튼 내부 좌우 여백 균형 보정 */
    /* 메뉴 버튼 내부 좌우 여백 균형 보정 */
    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
        height: 52px !important;
        min-height: 52px !important;
        padding: 0 18px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link .menu-top-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 auto !important;
        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 28px !important;
        line-height: 1 !important;
        text-align: center !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link > span {
        display: inline-block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.8px !important;
        white-space: nowrap !important;
    }
    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link .menu-top-icon {
        font-size: 27px !important;
        line-height: 1 !important;
        margin: 0 !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01 > a.menu-top-link > span {
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 1.2 !important;
        letter-spacing: -0.8px !important;
        white-space: nowrap !important;
    }

    /* 2뎁스 드롭다운 */
    .renewal-header .cate-menu .depth-list-wrap-02 {
        position: absolute !important;
        top: calc(100% - 4px) !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        min-width: 230px !important;
        z-index: 999999 !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-01 > .depth-01:hover > .depth-list-wrap-02 {
        display: block !important;
    }

    /* 3뎁스 드롭다운 */
    .renewal-header .cate-menu .depth-list-wrap-03 {
        position: absolute !important;
        top: -8px !important;
        left: calc(100% - 2px) !important;
        min-width: 220px !important;
        z-index: 1000000 !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    .renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.open > .depth-list-wrap-03,
    .renewal-header .cate-menu .depth-list-wrap-02 > .depth-02.active > .depth-list-wrap-03 {
        display: block !important;
    }

    /* 계정/로그아웃 영역: 상단 오른쪽 고정 */
    .renewal-header .rh-right {
        position: absolute !important;
        right: 24px !important;
        top: 0 !important;
        height: 80px !important;
        z-index: 80 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 14px !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        clear: none !important;
        transform: none !important;
        white-space: nowrap !important;
        overflow: visible !important;
        pointer-events: auto !important;
    }

    .renewal-header .rh-right .btn-rh {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        height: 80px !important;
        margin: 0 !important;
        padding: 0 4px !important;
        font-size: 12px !important;
        line-height: 1 !important;
        letter-spacing: -0.7px !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
        cursor: pointer !important;
    }

    .renewal-header .rh-right .btn-rh span {
        font-size: 12px !important;
        line-height: 1 !important;
        letter-spacing: -0.7px !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
    }
}


