/* ============================================================================================ 
색상 반전 추가
============================================================================================ */

body:has(.container_hd_white) .bb_header  {
	background: #fff;
	border-bottom: 1px solid #ECECEC !important;
}

/*로고*/
body:has(.container_hd_white) .bb_header .logo02 {
	color: #515151;
}

body:has(.container_hd_white) .bb_header .logo::before {
	    background: url(../images/header/logo_red.svg) no-repeat;
		background-size: contain;
    	background-position-y: calc(50% - 1px);
}

/*메뉴*/
body:has(.container_hd_white) .bb_header .bb_sec_menu ul li.on > a,
body:has(.container_hd_white) .bb_header .bb_sec_menu ul li.on > .dropdown-toggle {
	color: #E54848 !important;
	font-weight: 600;
}

body:has(.container_hd_white) .bb_header .bb_sec_menu ul li a {    
	color: #030303;
}

body:has(.container_hd_white) .bb_sec_menu .menu-item .arrow::after {
	filter: brightness(0.5);
}


body:has(.container_hd_white) .bb_header .bb_gnb_right>ul .user ul li span,
body:has(.container_hd_white) .bb_header .bb_gnb_right>ul .user ul li {    
	color: #343A3F;}

body:has(.container_hd_white) .bb_header .bb_gnb_right>ul .user ul::after {
	width: 0.5px;
    background: #b5b5b5;
}

body:has(.container_hd_white) .bb_header .bb_gnb_right .icon li.homepage::before,
body:has(.container_hd_white) .bb_header .bb_gnb_right .icon li.pc_m::before,
body:has(.container_hd_white) .bb_header .bb_gnb_right .icon li.logout::before
 {
	filter: brightness(0.1);
}

body:has(.container_hd_white) .bb_header .bb_gnb_right .icon a span {
	    color: #343A3F;
		font-weight: 400;
}

/* ============================================================================================ 
기존 헤더
============================================================================================ */

.bb_header {
	background: #242933;
	color: #fff;
	text-wrap: nowrap;
}

.bb_header .bb_container {
	height: 5.8rem;
	margin: 0 auto;
	max-width: 1920px;
	width: 100%;
	justify-content: space-between;
	position: relative;
}

.bb_header .bb_container .aln {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 4.8rem;
}

.bb_header .logo {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 0.6rem;
	font-size: 1.5rem;
	margin-bottom: 0;
}

.bb_header .logo::before {
	display: inline-block;
	clear: both;
	content: "";
	width: 88px;
	height: 20px;
	background: url(../images/header/logo.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: calc(50% - 1px);
}

.bb_header .logo.logo_org::before {
	display: inline-block;
	clear: both;
	content: "";
	width: 80px;
	height: 20px;
	background: url(../images/header/logo_red_org.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position-y: calc(50% - 1px);
}

.bb_header .logo02 {
	color: #c0c0c0;
	font-weight: 400;
}

.bb_header .bb_sec_menu ul:not(.dropdown-menu) {
	display: flex;
	list-style: none;
	gap: 5rem;
	margin-bottom: 0;
	padding-left: 2rem;
	align-items: center;
}


.bb_header .bb_sec_menu ul li {
	margin: 0 1.4rem;
}

/* 드롭다운 토글(.dropdown-toggle)을 가진 메뉴는 화살표(.arrow)가
   시각적으로 우측 여백을 채우므로 오른쪽 마진을 제거해
   다른 메뉴들과 동일한 시각 간격을 유지 */
.bb_header .bb_sec_menu ul li:has(> .dropdown-toggle) {
	margin-right: 0;
}

.bb_header .bb_sec_menu ul li.on a {
	color: #fff;
	font-weight: 500;
}

.bb_header .bb_sec_menu ul li a {
	color: #fff;
	text-decoration: none;
	font-size: 1.4rem;
	font-weight: 400;
	letter-spacing: -0.4px;
}

.bb_ham_menu {
	display: none;
	flex-direction: column;
	cursor: pointer;
	width: 24px;
	height: 20px;
	justify-content: space-between;
}

.bb_ham_menu span {
	display: block;
	background: #fff;
	height: 2px;
	width: 100%;
	border-radius: 300px;
}

/*오른쪽 gnb*/
.bb_header .bb_gnb_right>ul {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 0;
}

.bb_header .bb_gnb_right>ul .user ul li {
	display: inline-block;
	vertical-align: middle;
	font-size: 1.34rem;
	font-weight: 400;
	color: #fdfdfd;
}

.bb_header .bb_gnb_right ul {
	padding-left: 0;
}

.bb_header .bb_gnb_right>ul .user:not(:last-child) ul::after {
	display: inline-block;
	height: 12px;
	width: 1px;
	background: #dddddd40;
	clear: both;
	content: "";
	vertical-align: middle;
	margin: 0 2.42rem;
}

.bb_header .bb_gnb_right>ul .user ul li span {
	font-weight: 500;
	color: #fff;
}

.bb_header .bb_gnb_right>ul .user .user_img::before {
	display: inline-block;
	clear: both;
	content: "";
	width: 12px;
	height: 12px;
	background: url(../images/header/user.svg);
	vertical-align: middle;
	margin-right: 0.4rem;
	margin-top: -2px;
	background-size: 11px 11px;
	background-repeat: no-repeat;
	background-position: center;
}

.bb_header .bb_gnb_right .icon li.homepage::before{
	display: inline-block;
	clear: both;
	content: "";
	background: url(../images/header/home.svg);
	width: 22px;
	height: 22px;
	background-size: 16px auto;
	background-repeat: no-repeat;
	margin-right: 0.4rem;
	vertical-align: middle;
	background-position: center;
}

.bb_header .bb_gnb_right .icon li.pc_m::before {
	display: inline-block;
	clear: both;
	content: "";
	background: url(../images/header/icon01.svg);
	width: 22px;
	height: 22px;
	background-size: 16px auto;
	background-repeat: no-repeat;
	margin-right: 0.4rem;
	vertical-align: middle;
	background-position: center;
}

.bb_header .bb_gnb_right .icon li.logout::before {
	display: inline-block;
	clear: both;
	content: "";
	background: url('../images/header/logout.svg');
	width: 22px;
	height: 22px;
	background-size: 16px auto;
	background-repeat: no-repeat;
	margin-right: 0.4rem;
	vertical-align: middle;
	background-position: center;
	margin-top: -1px;
}


.bb_header .bb_gnb_right .icon a span {
	font-size: 1.2rem;
	font-weight: 300;
	display: inline-block;
	vertical-align: middle;
	color: #ddd;
}

.bb_header .bb_gnb_right>ul .icon ul li {
	display: inline-block;
}

.bb_header .bb_gnb_right>ul .icon ul li:first-child {
	margin-right: 1.8rem;
}
.bb_header .bb_gnb_right>ul .icon ul li.logout {margin-right:0;}

/* User Dropdown */
.bb_header .user-dropdown-wrap { position: relative; }
.bb_header .user-dropdown-arrow { vertical-align: middle; margin-left: 2px; margin-top: -1px; transition: transform .2s; }
.bb_header .user-dropdown-wrap.open .user-dropdown-arrow { transform: rotate(180deg); }
.bb_header .user-dropdown-wrap.open .user-dropdown { display: block; }
.bb_header .user-dropdown {
	display: none; position: absolute; top: 100%; right: 0;
	margin-top: 15px; background: #fff; border-radius: 8px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	min-width: 160px; z-index: 9999; overflow: hidden;
}
.bb_header .user-dropdown-item {
	display: flex; align-items: center; gap: 8px;
	padding: 12px 16px; font-size: 12.5px; color: #343A3F;
	text-decoration: none; white-space: nowrap; transition: background .15s;
}
.bb_header .user-dropdown-item:hover { background: #F5F5F5; }
.bb_header .user-dropdown-item.danger { color: #343A3F; }
.bb_header .user-dropdown-item.danger .dd-icon { background-image: url(../images/header/logout.svg); filter: brightness(0) opacity(0.55); }
.bb_header .user-dropdown .divider { height: 1px; background: #E8E8E8; margin: 2px 0; }

/* User Profile Image (header) */
.bb_header .user-profile-img {
	width: 22px; height: 22px; border-radius: 50%;
	object-fit: cover; vertical-align: middle;
	margin-right: 4px; margin-top: -1px;
	border: 1px solid rgba(255,255,255,0.3);
}
body:has(.container_hd_white) .bb_header .user-profile-img {
	border-color: #E2E8F0;
}
/* Dropdown profile area */
.bb_header .user-dropdown .dd-profile {
	display: flex; flex-direction: column; align-items: center;
	padding: 16px 16px 12px; border-bottom: 1px solid #E8E8E8;
}
.bb_header .user-dropdown .dd-profile-img {
	width: 48px; height: 48px; border-radius: 50%;
	object-fit: cover; border: 2px solid #E2E8F0;
	background: #F1F5F9;
}
.bb_header .user-dropdown .dd-profile-name {
	margin-top: 8px; font-size: 13px; font-weight: 600; color: #0F172A;
}
.bb_header .user-dropdown-item .dd-icon {
	display: inline-block; width: 16px; height: 16px; flex-shrink: 0;
	background-repeat: no-repeat; background-position: center;
}
.bb_header .user-dropdown-item .dd-icon.ic-user { background-image: url(../images/header/user.svg); }
.bb_header .user-dropdown-item .dd-icon.ic-remote { background-image: url(../images/header/icon01.svg); filter: brightness(0) opacity(0.55); }
.bb_header .user-dropdown-item .dd-icon.ic-logout { background-image: url(../images/header/logout.svg); filter: brightness(0) opacity(0.55); }

/* 반응형 스타일 */
@media screen and (min-width: 1200px) {

	.bb_btn_close,
	.mobile_r {
		display: none !important;
	}
}

@media screen and (max-width: 1200px) {

	.bb_gnb_right,
	.bb_breadcrumb {
		display: none !important;
	}

	.bb_ham_menu {
		display: flex;
	}

	/* 사이드 메뉴 */
	.bb_side_menu {
		position: fixed;
		top: 0;
		right: -100%;
		/* 메뉴 초기 위치 (화면 밖) */
		width: 100%;
		height: 100vh;
		background: #fff;
		color: #222;
		overflow-y: auto;
		transition: left 0.3s ease;
		/* 슬라이드 애니메이션 */
		z-index: 1000;
		box-shadow: 2px 0px 16px #00000010;
		visibility: hidden;
		opacity: 0;
	}

	.bb_side_menu ul:not(.dropdown-menu):not(.mobile_r) {
		list-style: none;
		margin: 6.4rem auto;
		padding: 0rem !important;
	}

	.bb_side_menu>ul>li {
		margin: 0;
	}

	.bb_side_menu>ul>li:not(:last-child) {
		border-bottom: 1px solid #ededed;
	}

	.bb_side_menu ul li a {
		text-decoration: none;
		color: #222;
		font-size: 1.8rem;
		display: block;
	}

	.bb_header .mobile_r {
		width: 90%;
		position: absolute;
		bottom: 5%;
    left: 50%;
    transform: translate(-50%, 0%);
		flex-direction: row !important;
		justify-content: space-around;
		background: #faf6fb;
		padding: 1rem !important;
		border-radius: 6px;
	}
	.mobile_r .user> ul { 
		margin: 0 !important;
	}
	.bb_header .mobile_r>li {
		border-bottom: 0 !important;
		width: fit-content !important;
		margin: 0 !important;
	}

	.bb_header .mobile_r .user .user_img::before {
		display: inline-block;
		clear: both;
		content: "";
		width: 32px;
		height: 32px;
		background: url(../images/header/user.svg);
		vertical-align: middle;
		margin-right: 0.4rem;
		margin-top: -2px;
		background-size: 32x 32px;
		background-repeat: no-repeat;
		background-position: center;
	}


	.bb_header .mobile_r .logout::before {
		display: inline-block;
		clear: both;
		content: "";
		background: url('../images/header/logout.svg');
		width: 32px;
		height: 32px;
		background-size: 20px auto;
		background-repeat: no-repeat;
		margin-right: 0.4rem;
		vertical-align: middle;
		background-position: center;
		margin-top: -1px;
	}

	.bb_header .mobile_r .logout a {
		display: inline-block;
		vertical-align: middle;
	}

	.bb_header .mobile_r .user ul {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.bb_header .mobile_r .user ul li, 	.bb_header .mobile_r .logout {
		margin: unset;
		font-size: 1.5rem;
		color: #333;
		font-weight: 500;
		width: fit-content !important;
	}

	.bb_header .mobile_r .logout::before{
		filter: brightness(0);
	}

	/* 닫기 버튼 */
	.bb_btn_close {
		position: absolute;
		top: 1.6rem;
		right: 2.4rem;
		background: none;
		border: none;
		color: #444;
		font-size: 32px;
		cursor: pointer;
	}

	/* 오버레이 */

	/* 메뉴 활성화 상태 */
	.bb_side_menu.on {
		left: 0;
		display: block;
		visibility: visible;
		opacity: 1;
		/* 메뉴가 화면 안으로 들어옴 */
	}

	.bb_side_menu.on ul {
		line-height: unset;
		gap: unset !important;
		flex-direction: column;
	}

}

/*브레드크럼*/
.bb_breadcrumb {
	width: 100%;
	height: 40px;
	line-height: 40px;
	background-color: #ffffff !important;
	margin-bottom: 0 !important;
	border-bottom: 1px solid #f1f1f1;
}

.bb_breadcrumb ul {
	display: flex;
	align-items: center;
	flex-direction: row;
	gap: 1em;
	max-width: 1920px;
	width: 100%;
	height: 100%;
	margin: 0 auto;
	padding: unset;
}

.bb_breadcrumb ul li a {
	color: #7A7F96;
	font-size: 12px;
	font-weight: 400;
}

.bb_breadcrumb ul li:last-child a{
	font-weight: 500;
	color: #5d5d5d
}

.bb_breadcrumb ul li a:hover {
	text-decoration: underline !important;
}

.bb_breadcrumb ul li:last-child .page_on {
	font-weight: 500;
	color: #444;
}

.bb_breadcrumb ul li:not(:last-child)::after {
	display: inline-block;
	clear: both;
	content: "";
	background: url(../images/header/arrow.svg);
	width: 8px;
	height: 8px;
	background-repeat: no-repeat;
	background-size: 8px 8px;
	margin-left: 1em;
}

/*고정 공지사항*/
.bb_notice {
	height: 4.8rem;
	background: #fafafa;
	border-bottom: 1px solid #e7e7e7;
}

.bb_notice ul {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin: 0 auto;
	max-width: 1920px;
	width: 100%;
	height: 100%;
}

.bb_notice li.bb_notice_icon {
	background: url('../../static-app/images/header/campaign.svg');
	width: 1.4rem;
	height: 2.4rem;
	background-repeat: no-repeat;
	background-size: 1.4rem 2.4rem;
	margin-right: 0.8rem;
}

.bb_notice li {
	color: #222;
	font-size: 1.4rem;
	font-weight: 500;
	line-height: 4.8rem;
}



/** 드롭다운 메뉴 추가 **/

.bb_sec_menu .menu-item .arrow::after {
	display: inline-block;
	clear: both;
	content: "";
	width: 20px;
	height: 6px;
	background-size: 10px 6px !important;
	background-position: top center;
	background-repeat: no-repeat !important;
	background: url(../images/component/Shape.png);
	margin-left: 8px;
	vertical-align: middle;
}

.bb_sec_menu .menu-item {
	position: relative;
}

.bb_sec_menu .dropdown-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.bb_sec_menu .dropdown-menu {
	display: none;
	transition: all 0.3s ease-in-out;
}

.menu-item.open .dropdown-menu {
	display: block;
	position: absolute;
	top: 44px;
	left: -60px;
	width: 220px;
	padding: 2rem 2.4rem;
	background: #fff;
	box-shadow: 1px 1px 17px #0000001c;
	border-radius: 6px;
	z-index: 999;
}

.bb_sec_menu .menu-item.open .dropdown-menu li {
	padding: 1.6rem 0 0;
	width: 100%;
}

.bb_sec_menu .menu-item.open .dropdown-menu li a:hover {
	color: #0080FF !important;
}

.bb_sec_menu .menu-item.open .dropdown-menu li:first-child {
	padding-top: 0;
}

.bb_sec_menu .menu-item.open .dropdown-menu li a {
	color: #222 !important;
	width: 100%;
}

.bb_sec_menu .menu-item.open .dropdown-menu li a.submenu-active {
	color: #E54848 !important;
	font-weight: 600;
}

.bb_sec_menu .arrow {
	transition: transform 0.3s ease;
}

.bb_sec_menu .menu-item.open .arrow {
	transform: rotate(-180deg);
}

/* 모바일에서는 밀리면서 펼쳐지도록 수정 */
@media screen and (max-width: 768px) {
	.bb_sec_menu .menu-item.open .dropdown-menu {
		position: unset;
		width: unset;
		box-shadow: unset;
		padding: 2.8rem;
		background: #F4F6FB;
		margin-bottom: 1.6rem;
		border-radius: 6px;
	}

	.bb_sec_menu .menu-item.open .dropdown-menu li {
		padding-top: 2rem !important;
	}

	
	.bb_sec_menu .menu-item.open .dropdown-menu a {
		font-size: 1.4rem;
	}

	.bb_sec_menu .menu-item.open .dropdown-menu li a {
		color: #7A7F96 !important;
	}

	.bb_sec_menu ul {
		flex-direction: column;
	}

	.bb_sec_menu .dropdown-menu {
		display: none;
		position: relative;
		width: auto;
		padding-left: 20px;
	}

	.bb_sec_menu .menu-item.open .dropdown-menu {
		display: block;
	}

	.bb_sec_menu .menu-item.has-submenu {
		margin-bottom: 0;
		padding: 0;
	}

	.bb_sec_menu .menu-item.open+.menu-item {
		margin-top: 10px;
	}

	.bb_header .bb_sec_menu ul:not(.dropdown-menu) {
		width: 90%;
	}

	.bb_header .bb_sec_menu ul:not(.dropdown-menu) li {
		width: 100%;
	}

	.bb_header .bb_sec_menu ul:not(.dropdown-menu) li a {
		font-size: 1.6rem;
		font-weight: 500;
		color: #222;
		padding: 1.6rem;
	}

	.bb_header .bb_sec_menu ul.dropdown-menu li {
		margin: 0;
	}

	.bb_sec_menu .menu-item.open .dropdown-menu li a {
		padding: 0 0.4rem;
	}

	.bb_sec_menu .menu-item.open .dropdown-menu li:first-child {
		padding-top: 0 !important;
	}
}










/* ========================================================================================================================

Footer

=========================================================================================================================== */
footer {
	background: #fff;
    width: 100%;
    bottom: 0;
    padding: 16px 24px;
	pointer-events: unset;
}











/* ========================================================================================================================

page Footer

=========================================================================================================================== */
.page_footer {
	background: url(../images/component/footer_back.png);
	background-repeat: no-repeat;
	background-size: 100%;
	padding: 32px 61px;
	    border-top: 1px solid #DBDBDB !important;
}

.page_footer > ul {
	display: flex;
	gap: 32px;
	color: #706F71;
	font-weight: 400;
}

.page_footer > ul li:not(:last-child)::after {
	display: inline-block;
	clear: both;
	content: "";
	background: #CBCFD9;
	width: 1px;
	height: 8px;
	margin-left: 32px;
}

.page_footer > ul li:nth-child(1) {
	color: #2085CD;
	font-weight: 600;
}


.page_footer > ul li a:hover {
	text-decoration: underline !important;
	cursor: pointer;
}

.page_footer .info-box {
	    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_footer .footer-left-c {
	display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page_footer .footer-logo {
	width: 150px;
    margin: 48px 0 24px;
}

.page_footer .footer-info {
	    display: flex;
    flex-direction: column;
    gap: 4px;
}

.page_footer .footer-info ul {
	    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
}

.page_footer .footer-info ul li{
	    color: #666;
    font-size: 12px;
}

.page_footer .footer-right-c {
	display: flex;
    flex-direction: row;
    gap: 6px;
}

.page_footer .footer-right-c button {
	height: 52px;
	border-radius: 12px;
	border: none;
	outline: none;
	padding: 0 24px;
}

.page_footer .footer-right-c button:first-child {
    background: #004F8D;
	display: flex;
	align-items: center;
	    flex-direction: row;
}

.page_footer .footer-right-c button:first-child:hover {
	background: #013E6E;
	cursor: pointer;
}

.page_footer .footer-right-c button:first-child span {
	    color: rgba(255, 255, 255, 0.60);
    letter-spacing: -0.8px;
    font-size: 12px;
}

.page_footer .footer-right-c button:first-child strong {
	    color: #fff;
    font-size: 16px;
	    margin-left: 6px;
}

.page_footer .footer-right-c button:last-child {
	    background: #236FAB;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 54px;
    align-items: center;
    color: #fff;
    font-size: 14px;
}

.page_footer .footer-right-c button:last-child:hover {
	background: #0067B7;
	cursor: pointer;
}

.page_footer .copyright {
	    border-top: 1px solid #DCDEE1;
    padding-top: 24px;
    margin-top: 32px;
    color: #B7B8B9;
}

/* ===== 시스템 전환 드롭다운 (D안) ===== */
.sys-switch-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sys-switch-trigger {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(255,255,255,0.06);
    transition: background .15s;
    position: relative;
    user-select: none;
    font-size: 15px;
	letter-spacing: -0.6px;
}

.sys-switch-trigger:hover {
    background: rgba(255,255,255,0.14);
}

body:has(.container_hd_white) .bb_header .sys-switch-trigger {
    background: #F1F5F9;
}

body:has(.container_hd_white) .bb_header .sys-switch-trigger:hover {
    background: #E2E8F0;
}

.sys-switch-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 10px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 200px;
    overflow: hidden;
    z-index: 1000;
    color: #343A3F;
    font-weight: 400;
}

.sys-switch-dropdown-header {
    padding: 10px 16px;
    font-size: 11px;
    color: #94A3B8;
    font-weight: 600;
    border-bottom: 1px solid #F1F5F9;
}

.sys-switch-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    font-size: 12.5px;
    color: #343A3F;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
}

.sys-switch-item:hover {
    background: #F5F5F5;
    color: #343A3F;
    text-decoration: none;
}

.sys-switch-item.active {
    background: #F0F4FF;
    font-weight: 600;
    color: #4780EE;
}

.sys-switch-item.active:hover {
    background: #E8EEFF;
}

.sys_switch_divider {
    height: 1px;
    background: #E8E8E8;
    margin: 4px 0;
}

/* ============================================================================================
   탭메뉴 서브바 (TAB_YN='Y' 부모의 자식들 자동 노출)
   - 메인 헤더(.bb_header)가 position:fixed; height:5.8rem 이므로 서브바도 그 아래에 고정
   - body.has-tab-subbar 가 붙은 페이지(자원 서브바 노출)에서만 본문에 추가 padding 적용
   ============================================================================================ */
.tab_subbar {
    position: fixed;
    top: 5.4rem;
    left: 0; right: 0;
    height: 46px;
    background: #f7f7f7;
    border-bottom: 1px solid #ddd;
    display: flex; align-items: center;
    padding: 0 24px;
    z-index: 90;
}
.tab_subbar_label {
    font-size: 1.2rem;
    font-weight: 500;
    color: #808080;
	margin-top: 2px;
    margin-right: 16px;
    letter-spacing: -0.4px;
    white-space: nowrap;
}
.tab_subnav {
    display: flex; align-items: center;
    flex: 1; min-width: 0;
}
.tab_subnav a {
    position: relative;
    display: inline-flex; align-items: center; gap: 4px;
    padding: 15px 16px 12px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.4px;
    color: #3a3a3a;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color .12s;
}
.tab_subnav a::after {
    content: '';
    position: absolute;
    left: 10px; right: 10px;
    bottom: -1px;
    height: 3px;
    background: transparent;
    transition: background .12s;
}
.tab_subnav a:hover { color: #e54848; }
.tab_subnav a.on { color: #e54848; }
.tab_subnav a.on::after { background: #e54848; }
body.has-tab-subbar .container { padding-top: 100px !important; }

/* ============================================================================================
   헤더 토스트 (mainView 의 mv2ShowToast 디자인 차용)
   화면 정가운데에 슬라이드인, 3초 후 자동 사라짐
   ============================================================================================ */
#hdr_toast_container {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
}
.hdr_toast {
    background: #fff; color: #1f2937;
    padding: 28px 40px;
    border: 0.5px solid #EDF0F4; border-radius: 6px;
    font-size: 14px; font-weight: 500;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 14px;
    animation: hdrToastIn .2s ease;
    min-width: 360px; max-width: 560px;
    text-align: center;
    pointer-events: auto;
}
.hdr_toast::before {
    content: '';
    display: block;
    width: 56px; height: 56px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 44' fill='none' stroke='%23CBD5E1' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><circle cx='22' cy='22' r='18'/><line x1='22' y1='13' x2='22' y2='25'/><circle cx='22' cy='31' r='2' fill='%23CBD5E1' stroke='none'/></svg>");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
@keyframes hdrToastIn {
    from { transform: translateY(-12px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}