:root {
    --main-padding : 20px;
    --container-padding: 20px;
    --inactive-color: #9e9e9e;
    --primary-color: #2e7d32; /* 초록색 테마 */
    --bg-color: #f5f5f5;

}

#registration_root { display: flex; justify-content: center;  background:#f5f5f5; }
#main_intro { position: relative; width: 360px;  text-align: center; margin:20px; }
#main_intro img { position: absolute; top: 100px; left: 50%; transform: translateX(-50%); max-width: 100%; height: auto; border-radius: 16px; }
#main_content { width: 660px; position:relative; isolation: isolate; 
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), 
              15px 0 15px -10px rgba(0, 0, 0, 0.05), /* 오른쪽 */
             -15px 0 15px -10px rgba(0, 0, 0, 0.05); /* 왼쪽 */

} 
.main_content_wrap { padding-left:var(--container-padding); padding-right:var(--container-padding); box-sizing:border-box; min-height: calc(100vh - 260px); background:#ffffff; padding-bottom:30px; }


/* subtle 2px side shadow 
#main_content::before, #main_content::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px; 
    pointer-events: none;
}
#main_content::before { left: -2px; background: linear-gradient(to right, rgba(0,0,0,0.06), rgba(0,0,0,0)); }
#main_content::after { right: -2px; background: linear-gradient(to left, rgba(0,0,0,0.06), rgba(0,0,0,0)); }
*/




.top-btn {
    position: -webkit-sticky; 
    position: absolute;
    /* top:0; */
    /* bottom: 20px; */
    right:20px;
    margin-left: auto; /* 오른쪽 정렬을 위한 설정 */
    margin-right: 20px;    
    width: 30px;
    height: 30px;
    line-height: 30px;
    background-color: #003366; /* 마이페이지와 톤 맞춤 */
    color: #000;
    text-align: center;
    border-radius: 50%;
    font-size: 14px;
    z-index: 999;
    transition: all 0.3s;
    text-decoration: none !important;
    display:block;
    background-color: #fff;
    /* mix-blend-mode: difference;  배경색과 대비되는 색으로 자동 변환  */
    border:1px solid #dfdfdf;
}



.top-btn:hover {
    background-color: #001f3f;
    transform: translateY(-5px); /* 살짝 위로 뜨는 효과 */
}


.no-padding-page { --main-padding : 0px; }

#logo_wrap { display: flex; justify-content: space-between; align-items: center; padding:10px 0px; font-size:0.875rem; }
#logo_wrap .logo { width:70px; }
#logo_wrap h1 { display:flex; align-items: center; gap:5px; }
.login_wrap { display:flex; align-items: center; gap:6px; ;}
.login_wrap .login_btn { border-radius: 10px; border:1px solid #e5e7eb; padding:6px; text-decoration:none;}
.login_wrap .search_icon { color:#a9aaab; font-size:1.2rem; cursor:pointer; }
.login_btn_wrap { display: flex; font-weight: 500; gap:6px; align-items: center;  }
.login_btn_wrap a { color:#4b5563;}
.header-btn {
text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    padding: 6px 12px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s;
    white-space: nowrap;
}
.designer-btn {
    background: linear-gradient(135deg, #ff6b95, #a361ff);
    color: #fff !important;
    border: none;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 107, 149, 0.2);

}

.main_cate { display: flex; flex-wrap: wrap;}
.main_cate li { width: calc(100% / 4); box-sizing: border-box; text-align: center; padding:10px 0; }



/* footer */
/* 푸터 전체 영역 */
.footer-info {
    padding: 20px 20px 30px; /* 위쪽 여백을 넓혀 여유를 줌 */
    background-color: #2c2c2c;
    color: #bbb;             /* 텍스트 색상을 밝은 회색으로 변경하여 대비 */
    font-size: 13px;
    line-height: 1.8;
    text-align: left;
    border-top: 1px solid #444; /* 미세한 상단 구분선 */
}

/* 개인정보/이용약관 링크 영역 */
.privacy {
    margin-bottom: 25px; /* 정보 리스트와의 간격 확보 */
    font-weight: bold;
    color: #eee;          /* 링크 텍스트를 더 밝게 */
    display: flex;       /* 가로 배치 */
    align-items: center; /* 세로 중앙 정렬 */
    gap: 15px;            /* 세로 구분선 대신 간격 활용 */
}

/* 링크 스타일 */
.privacy a {
    color: #eee;
    text-decoration: none;
    transition: all 0.2s ease; /* 부드러운 호버 효과 */
}

/* 마우스를 올렸을 때(호버 시) 밑줄 효과 */
.privacy a:hover {
    text-decoration: underline; /* 요청하신 밑줄 효과 */
    color: #fff;               /* 호버 시 텍스트를 흰색으로 */
}

/* 사업자 정보 리스트 */
.company-details {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    display: flex;       /* 가로 배치 (PC) */
    flex-wrap: wrap;    /* 자동 줄바꿈 (반응형) */
    gap: 0px 20px;       /* 항목 간 간격 확보 */
    color: #999;          /* 링크보다 조금 더 흐리게 처리 */
    font-size:14px;

}

.company-details li {
    position: relative;
    color: #aaa;
    white-space: nowrap; /* 텍스트가 줄바꿈되지 않도록 */
}




.disclaimer {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    border-top: 1px solid #3d3d3d; /* 미세한 구분선 */
    padding-top: 15px;
    letter-spacing: 0.5px; /* 글자 간격을 약간 넓히면 더 세련돼 보임 */
}


/* 카피라이트 끝 */

/* 상단카테고리 */
#main_nav { margin:40px 0; font-size:20px; }
#main_nav h2 { font-weight: 600;}
#bo_cate {margin:25px 0}
#bo_cate h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_cate ul {zoom:1}
#bo_cate ul:after {display:block;visibility:hidden;clear:both;content:""}
#bo_cate li {display:inline-block;padding:2px}
#bo_cate a {display:block;line-height:28px;padding:5px 15px;border-radius:10px;border:1px solid #f1f5f9;color:#475569;}
#bo_cate a:focus, #bo_cate a:hover, #bo_cate a:active {text-decoration:none;background:#000;color:#fff}
#bo_cate #bo_cate_on {
z-index:2;background:#000000;color:#ffffff;font-weight:bold;border:1px solid #f1f5f9;
/* -webkit-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
-moz-box-shadow:inset 0 2px 5px rgb(33, 135, 202);
box-shadow:inset 0 2px 5px rgb(33, 135, 202) */
}
#bo_cate1 { display: flex; flex-wrap: wrap; margin-top:30px; gap:5px 20px; justify-content: center; }
#bo_cate1 li { width: calc(100% / 6 - 20px); text-align: center; }
#bo_cate1 span { display: inline-flex; flex-direction: column; align-items: center; font-size:12px; color:#a1a1a1; font-weight:600;gap:5px; }
#bo_cate1 span img { width:40px; }


#bottom_nav {  bottom:0; background:#fff; position:sticky; width:100%;  left:0; right:0; box-sizing: border-box; border-top:1px solid #d5d5d5; font-weight: 500; color:#444; z-index:999; bottom:-1px; 
box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.05);            
            overflow: hidden;
}
.main_gnb1 { display:flex; gap:20px; justify-content: space-around; align-items: center; padding:15px 0 5px; }

       /* LI 항목 스타일 */
        .main_gnb1 li {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex: 1;
            cursor: pointer;
            transition: all 0.2s ease-in-out;
            color: var(--inactive-color);
            font-size: 11px;
            font-weight: 500;
            -webkit-tap-highlight-color: transparent;
        }

.main_gnb1 li a {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            text-decoration: none;
            color: var(--inactive-color);
            transition: all 0.2s ease-in-out;
            -webkit-tap-highlight-color: transparent;
        }


        /* SVG 아이콘 스타일 */
        .nav-icon {
            width: 24px;
            height: 24px;
            margin-bottom: 4px;
            stroke: var(--inactive-color);
            stroke-width: 2;
            fill: none;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: all 0.2s ease-in-out;
        }

        /* 활성화 및 호버 상태 */
        .main_gnb1 li:hover, .main_gnb1 li.active {
            color: var(--primary-color);
        }

        .main_gnb1 li:hover .nav-icon, .main_gnb1 li.active .nav-icon {
            stroke: var(--primary-color);
            transform: translateY(-3px); /* 위로 살짝 뜨는 효과 */
        }

@media (max-width: 800px) {
    #main_intro {display: none;}
    #main_content { width:100%;}
}


@media (max-width: 500px) {
    #bo_cate1 li { width: calc(100% / 3 - 20px);}
    /* .header-btn span { display: none;   } */
    /* .login_wrap { flex-direction: column-reverse; } */
    .designer-btn span { display:none; }

}
