
/* 톱 메뉴 전체 최소폭 유지 프레임 */
.hea2, .tm1, .topmns1 { 
	min-width: 1130px; 
}
.topmns1 {
	width: 100%;
	padding: 0;
	margin: -100px 0 0 0;
	position: absolute;
	background: #f1f1f1;
	height: 36px;
}

/* [핵심 수정] 관리자가 등록한 전체 메뉴 리스트를 통째로 우측 정렬 */
.topmns1 ul {
	list-style: none;
	width: 1130px;
	margin: 0 auto;
	padding: 0;
	display: flex; /* 가로 배열을 위한 Flexbox 가동 */
	justify-content: flex-end; /* [핵심] 모든 메뉴를 오른쪽 맨 끝 벽면으로 밀착 정렬 */
	align-items: center; /* 세로축 정중앙 정렬 */
}
.topmns1 ul:after {
	content: "";
	display: block;
	clear: both;
}

/* 관리자 메뉴 설정으로 생성되는 개별 메뉴(li)의 좁고 컴팩트한 양식 */
.topmns1 li {
	margin: 0;
	padding: 8px 10px; /* 메뉴 글자들끼리 좁고 조밀하게 배치되도록 간격 조율 */
}
.topmns1 li a {
	color: #6a6a6a;
	white-space: nowrap;
	font-size: 12px;
	text-decoration: none;
}
.topmns1 li.active a { color: #000; }
.topmns1 li.first { padding: 4px 14px 2px; } /* 오른쪽 정렬에 맞춰 패딩 최적화 */
.topmns1 li.active:last-child {
	padding: 4px 10px 2px;
	border-right: 1px solid #dfdfdf;
}

/* ==========================================================================
   📦 [수정] 사이드 컬럼 & lnb 프레임 서식
   ========================================================================== */
.lnb {
    width: 238px;
    float: left;
    padding: 20px 0;
    margin: 0;
    text-align: center;
}
.lnb_m {
    width: 240px;
    padding: 0;
    margin: -1px 0 0 0;
    box-sizing: border-box;
}

/* [제거/보완] 구형 탭 버튼(.Tap_On, .Tap_Off) 서식은 사용하지 않으므로 깔끔하게 보정 처리 */
.Tap_Off, .Tap_On {
    display: none !important; /* 탭 버튼 영역 제거 */
}

/* 탭 본문 상세 출력 컨트롤러 - 물품 메뉴판 상시 노출 고정 */
.Tap_Detail {
    clear: both;
    padding: 0;
    display: none;
    box-sizing: border-box;
}
/* 물품 메뉴판(#menu_Detail)은 스크립트 없이 항상 보이도록 강제 활성화 */
#menu_Detail.Tap_Detail {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.bgtt {
    transition: all .4s;
    cursor: pointer;
}
.columnLefts {
    position: relative;
    float: left;
    width: 240px;
    background: #fff;
    margin: 0;
    padding: 0;
}
.columnLefts:after {
    display: block;
    clear: both;
    content: '';
}

/* ==========================================================================
   🚨 [기존 보존] 최상위 우선순위 방어선 코드 (제공해주신 소스 그대로 유지)
   ========================================================================== */
div.columnLefts div.lnb-left-menu,
.columnLefts .lnb-left-menu {
    float: left !important;
    width: 240px !important;
    padding: 16px 0 !important;
    box-sizing: border-box !important;
    background-color: #ffffff !important;
    border-left: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
    border-top: none !important;
    border-right: none !important;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.02) !important;
}

div.columnLefts div.lnb-left-menu > ul,
.columnLefts .lnb-left-menu > ul {
    list-style: none !important;
    padding: 0 12px !important;
    margin: 0 !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item,
.columnLefts .lnb-left-menu > ul > .menu-item {
    display: block !important;
    margin: 0 0 10px 0 !important;
    padding: 0 !important;
    border-radius: 8px !important;
    position: relative !important;
    overflow: hidden !important;
    background-color: transparent !important;
    transition: background-color 0.2s ease !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item > a.menu-link,
.columnLefts .lnb-left-menu > ul > .menu-item > .menu-link {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important; 
    font-size: 14.5px !important; 
    font-weight: 600 !important; 
    letter-spacing: -0.4px !important; 
    color: #475569 !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    gap: 12px !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item > a.menu-link i,
.columnLefts .lnb-left-menu > ul > .menu-item > .menu-link i {
    font-size: 15px !important;
    color: #cbd5e1 !important;
    margin: 0 !important;
    vertical-align: middle !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover {
    background-color: #f1f5f9 !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover > a.menu-link {
    color: #0f172a !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item:hover > a.menu-link i {
    color: #475569 !important;
}

div.columnLefts div.lnb-left-menu > ul > li.menu-item.on {
    background-color: #6b7277 !important;
    border: none !important;
    padding: 0 !important;
    box-shadow: 0 4px 12px rgba(107, 114, 119, 0.15) !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item.on > a.menu-link {
    color: #ffffff !important;
    font-weight: 700 !important;
}
div.columnLefts div.lnb-left-menu > ul > li.menu-item.on > a.menu-link i {
    color: #ffffff !important;
}

/* ==========================================================================
   📁 [기존 보존] jnb 물품 메뉴 카테고리판 서식
   ========================================================================== */
#jnb_wrp {
    z-index: 20;
    margin: 0;
    width: 239px;
    float: left;
    border: 1px solid #ddd;
    border-right: 0px solid #ddd;
    box-sizing: border-box;
    background: #ffffff;
}
#jnb {
    margin: 10px;
    padding: 0;
}
#jnb li {
    position: relative;
    list-style: none;
}
#jnb .li1 {
    display: block;
    border: 1px solid #fff;
    transition: background 0.2s ease;
}
#jnb .li1:hover {
    background: #6b7277;
}
#jnb .a1 {
    display: block;
    font-size: 13px;
    padding: 5px 6px;
    text-decoration: none;
    color: #333;
}
#jnb .a1:hover {
    color: #fff;
}
#jnb .a1.on {
    color: #FFF;
    background: #6b7277 !important;
}

/* 서브 메뉴 오버 효과 서식 */
#jnb ul {
    display: none;
    width: 90%;
    border: 1px solid #6b7277;
    position: absolute;
    margin-top: -26px;
    left: 130px;
    z-index: 20;
    padding: 0;
    background: #fff;
}
#jnb .li2:first-child {
    height: 2px;
    padding: 0;
    left: -1px;
}
#jnb .ul2 a {
    font-size: 13px;
    display: block;
    min-width: 60px;
    padding: 6px 42px 6px 12px;
    text-decoration: none;
    white-space: nowrap;
    color: #444;
    transition: all .5s;
}
#jnb .ul2 b {
    position: absolute;
    right: 8px;
}
#jnb .ul2 a:hover, #jnb .ul2 a:focus {
    background: rgba(0,0,0,.4);
    color: #FFF;
}
#jnb .ul2 .on .a2, #jnb .a3.on {
    color: #FFF;
    background: #444 !important;
}
#jnb .ul3 {
    top: 2px;
    left: 96%;
}

.ui_font {
    font-family: "Noto Sans KR", sans-serif;
}
#googleside {
    position: absolute;
    top: 0;
    background: #fff;
    width: 232px;
    height: 600px;
    margin: 0 0 0 -248px;
}
/* ==========================================================================
   🛠️ [색상 일치 완료] 플러스 뱃지와 '등록하기' 글자색을 완벽히 동기화한 CSS
   ========================================================================== */

/* 1. 최우측 구석 고정용 absolute 컨테이너 */
.custom_standalone_register_container {
    position: absolute; 
    top: 50px;          
    right: 0px;         
    width: 60px;       
    box-sizing: border-box;
    z-index: 9999;      
}

/* 2. 등록버턴 스타일 (외곽 배경색과 테두리선 삭제) */
.custom_standalone_btn {
    display: flex;
    flex-direction: column; 
    align-items: center;
    justify-content: center;
    gap: 5px;               /* 미니멀 원형 아이콘과 아래 텍스트 사이의 간격 */
    width: 100%;        
    background: transparent; 
    border: none;           
    padding: 0;
    cursor: pointer;
    box-sizing: border-box;
}

/* 24px 크기의 완전 플랫 원형 + 아이콘 뱃지 */
.register_circle_plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;            
    height: 24px;           
    background-color: #d32f2f; /* 기본 상태: 시그니처 레드 */
    border-radius: 50%;     
    box-shadow: none;       
    transition: background-color 0.2s ease;
}
/* 플러스 아이콘 자체 서식 */
.register_circle_plus i {
    color: #ffffff;
    font-size: 11px;        
    font-weight: bold;
}

/* [핵심 수정] 동그라미 바로 아래에 들어가는 '등록하기' 글씨 양식 
   - 👈 아이콘 컬러와 완벽한 일체감을 주도록 기본 색상을 레드로 통일 지정했습니다. */
.register_bottom_text {
    font-size: 11.5px;
    font-weight: 600; /* 글씨 색상이 레드로 바뀌었으므로 시인성을 위해 조금 더 두껍게 지정 */
    color: #d32f2f;   /* 👈 [수정] 기본 글자색을 24px 플러스 뱃지와 동일하게 레드화 */
    letter-spacing: -0.3px;
    transition: color 0.2s ease;
}

/* ==========================================================================
   ⚡ [반전 동기화] 마우스를 올렸을 때 (Hover 상태) 세트로 색상 변환
   ========================================================================== */
.custom_standalone_btn:hover .register_circle_plus {
    background-color: #222222; /* 👈 마우스 올리면 동그라미가 차콜 블랙으로 반전 */
    box-shadow: none;          
    transform: none;           
}
.custom_standalone_btn:hover .register_bottom_text {
    color: #222222;            /* 👈 [수정] 마우스 올리면 글씨도 아이콘과 매칭되어 동일하게 차콜 블랙으로 동시 전환 */
}

/* 3. 버튼 클릭 시 아래로 넓게 펼쳐지는 외부 대형 패널 */
.custom_standalone_detail {
    position: absolute;
    top: 50px;          
    right: 0;           
    width: 890px;       
    background-color: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    padding: 12px;      
    box-sizing: border-box;
}

/* 4. 큰 상자 자체들을 가로 3열 바둑판 모양으로 나열해 주는 외부 그리드 프레임 */
.custom_standalone_grid_wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 8px; 
    width: 100%;
    box-sizing: border-box;
}

/* 5. 메뉴 4개가 담기는 독립된 거대 라운드 사각형 상자 디자인 */
.custom_register_bundle_box {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    grid-auto-rows: 28px;                   
    gap: 4px 6px;                           
    list-style: none;
    margin: 0;
    padding: 10px 8px;                      
    background-color: #ffffff;
    border: 1px solid #ced4da;              
    border-radius: 10px;                    
    box-sizing: border-box;
    min-height: 84px;                       
}

.custom_register_bundle_box li {
    margin: 0;
    padding: 0;
    width: 100%;
    list-style: none;
}

/* 6. 큰 상자 내부의 개별 텍스트 링크 메뉴 스타일 */
.custom_register_bundle_box li a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    height: 100%;
    color: #495057;
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}
.custom_register_bundle_box li a:hover {
    color: #d32f2f;
}
.custom_register_bundle_box li a i {
    font-size: 11px;
    color: #cbd5e1;
}
.custom_register_bundle_box li a:hover i {
    color: #d32f2f;
}
