@media (max-width: 767px) {
    #sidebarToggle {
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        margin: 0 !important;
        padding: 0 !important;
        /* 햄버거 메뉴 숨기기 */
    }

    .login-icon {
        display: block !important;
        /* 로그인 아이콘 보이기 */
    }

    .hamburger-btn {
        position: absolute !important;
        width: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .bendit-hamburger-wrapper {
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* PC 해상도에서는 기존 사이드바 메뉴 버튼을 보이게 설정 */
@media (min-width: 768px) {
    .login-icon {
        main-desc display: none !important;
        /* 로그인 아이콘 숨기기 */
    }
}

/* 모바일 기본 크기 */
.menu-container {
    margin-top: 50px;
}

/* 세로 간격 및 배치 조정 */
.menu-container .row {
    justify-content: center;
    /* 전체 항목을 중앙으로 정렬 */
    gap: 15px;
    /* 행 간격은 그대로 두고 */
}

.col-2 {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* 아이콘 상단 정렬 */
    margin-right: 5px;
    /* 열 간격을 좁히기 위해 오른쪽 여백을 줄임 */
}

.d-flex.flex-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    /* 부모의 높이를 100%로 설정 */
}

/* PC 해상도에서 아이콘과 텍스트 크기 키우기 */
@media (min-width: 1024px) {
    /* .bi {
        font-size: 2.5rem;
    }*/

    .text-muted {
        font-size: 1rem;
        /* 텍스트 크기 키우기 */
    }

    .menu-container .row {
        gap: 30px;
        /* 항목 간 간격 넓히기 */
    }

}

/* PC 해상도에서 사이드바 고정 */
@media (min-width: 1024px) {
    #sidebar {
        border-radius: 30px;
        top: 15px !important;
        left: 8px;
        position: sticky;
        top: 0;
        width: 270px;
        height: 100vh;
        box-sizing: border-box;

        /* 사이드바 높이를 화면의 높이로 설정 */
        overflow-y: auto;
        /* 세로 스크롤 가능 */
    }

    /* 사이드바 내부 항목이 길어지면 스크롤이 생기도록 
    #sidebarCollapse {
        /*padding-top: 20px;*/
    /* 상단 여백 추가 
    }*/
}

/* 테블릿 해상도에서 사이드바 고정 */
@media (min-width: 768px) and (max-width: 1023px) {
    #sidebar {
        border-radius: 30px;
        position: sticky;
        top: 0;
        height: 150vh;
        /* 사이드바 높이를 화면의 높이로 설정 */
        overflow-y: auto;
        /* 세로 스크롤 가능 */
    }

    /* 사이드바 내부 항목이 길어지면 스크롤이 생기도록 */
    #sidebarCollapse {
        padding-top: 20px;
        /* 상단 여백 추가 */
    }
}

/* 모바일에서 버튼을 100%로 설정 */
@media (max-width: 767px) {
    .login-btn {
        width: 100% !important;
    }
}

/* PC에서 버튼을 작게 설정 */
@media (min-width: 768px) {
    .login-btn {
        width: 300px !important;
    }
}

.swiper {
    width: 100%;
    padding: 30px 0 50px;
}

/*
.swiper-slide {
    width: 300px;
    transition: transform 0.3s;
}
*/

.image-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    text-align: left;
    padding: 15px;
    color: #333;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 40px;
}

/* 3. 터치 스크롤 활성화 */
@media (hover: hover) {
    .sidebar {
        overscroll-behavior: contain;
        /* 부드러운 스크롤 */
        -webkit-overflow-scrolling: touch;
    }
}

.menu-item {
    background-color: #f1f4f8;
    border-radius: 12px;
    padding: 25px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-item:hover {
    /*background-color: #3d566e;*/
    transform: translateY(-3px);
}

.menu-icon {
    font-size: 28px;
    color: #869ab8;
    margin-bottom: 0px;
}

.menu-text {
    color: #869ab8;
    font-size: 14px;
    text-align: center;
}

a {
    text-decoration: none
}


.nav-link {
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    font-size: 14px;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:hover {
    background: #f0f4ff;
    color: #3456ff;
}

.nav-link.active {
    background: #615cff;
    color: white;
}

.sidebar-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}

.section-link {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.section-link i {
    margin-right: 10px;
    font-size: 15px;
    color: #555;
    width: 18px;
    text-align: center;
}

.section-link:hover {
    background: #f0f2ff;
    color: #4a5cf0;
}

.section-link:hover i {
    color: #4a5cf0;
}

.sub-link {
    padding-left: 32px;
    font-size: 13px;
    color: #666;
}

.sub-link:hover {
    background: #e8edff;
    color: #4a5cf0;
}

.menu-icon,
.section-link i {
    transition: transform 0.3s ease;
}

.menu-item:hover .menu-icon,
.section-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.menu-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.menu-item.active .menu-icon,
.menu-item.active .menu-text {
    color: white;
}

.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-item.open .sub-menu {
    max-height: 500px;
    /* 충분히 큰 값 */
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}

/* 섹션 링크 */
.section-link {
    display: flex;
    align-items: center;
    padding: 8px 10px;
    font-size: 14px;
    color: #333;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.section-link i {
    font-size: 15px;
    margin-right: 10px;
    color: #555;
    width: 18px;
    min-width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.section-link:hover {
    background: #f0f2ff;
    color: #4a5cf0;
}

.section-link:hover i {
    color: #4a5cf0;
    transform: scale(1.2) rotate(5deg);
}

/* 서브 메뉴 */
.sub-link {
    padding-left: 32px;
    font-size: 13px;
    color: #666;
}

.sub-link:hover {
    background: #e8edff;
    color: #4a5cf0;
}

/* nav-link 공통 */
.nav-link {
    color: #000;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    transition: background 0.3s;
    font-size: 14px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.nav-link i {
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.nav-link:hover {
    background: #f0f4ff;
    color: #000;
}

.nav-link.active {
    background: #615cff;
    color: white;
}

/* 서브 메뉴 열릴 때 */
.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.nav-item.open .sub-menu {
    max-height: 500px;
}



/* 애니메이션 효과 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 92, 240, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 92, 240, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 92, 240, 0);
    }
}

.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: "";
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    width: 100px;
    height: 100px;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 터치 스크롤 */
@media (hover: hover) {
    #sidebar {
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }
}

/* 기본 스타일 및 반응형 설정 생략 없이 포함 */

/* 1. 공통 설정 */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Pretendard', sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    transition: background 0.3s, color 0.3s;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 2. 사이드바 공통 */
.sidebar-sections {
    padding: 55px 0px;
}

.sidebar-section {
    background: #f1f4f8;
    border-radius: 12px;
    margin-bottom: 25px;
    padding: 20px;
}

.section-title {
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding-left: 10px;
    text-transform: uppercase;
}

.section-link,
.nav-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    font-size: 14px;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 8px;
    color: #000;
    transition: background 0.3s, color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.section-link i,
.nav-link i {
    min-width: 20px;
    text-align: center;
    margin-right: 10px;
    font-size: 15px;
    color: #555;
}

.section-link:hover,
.nav-link:hover {
    background-color: #f0f4ff;
    color: #3456ff;
}

.section-link:hover i,
.nav-link:hover i {
    color: #3456ff;
}

/* 3. 반응형 */
@media (max-width: 767px) {
    .sidebar-sections {
        padding: 10px;
    }

    .section-link,
    .nav-link {
        font-size: 13px;
        padding: 8px 10px;
    }

    .section-link i,
    .nav-link i {
        font-size: 14px;
        margin-right: 8px;
    }
}

/* 4. 메뉴 아이템 및 애니메이션 */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 20px 10px;
    min-height: 100px;
    transition: transform 0.3s;
}

.menu-icon {
    font-size: 28px;
    color: #869ab8;
}

.menu-text {
    font-size: 14px;
    color: #869ab8;
    text-align: center;
}

.menu-item:hover .menu-icon {
    transform: scale(1.2) rotate(5deg);
}

.menu-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.menu-item.active .menu-icon,
.menu-item.active .menu-text {
    color: white;
}



/* 6. 다크모드 토글 버튼 */
.toggle-btn {
    background: none;
    border: none;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
}

.toggle-btn:hover {
    transform: rotate(15deg) scale(1.2);
    color: #4a5cf0;
}

/* 7. 다크모드 지원 */
body.dark-mode {
    background-color: #121212;
    color: #eee;
}

body.dark-mode .sidebar-section {
    background-color: #1e1e1e;
}

body.dark-mode .menu-text,
body.dark-mode .menu-icon {
    color: #bbb;
}

body.dark-mode .section-link,
body.dark-mode .nav-link {
    color: #ccc;
}

body.dark-mode .section-link:hover,
body.dark-mode .nav-link:hover {
    background-color: #2a2a2a;
    color: #4a5cf0;
}

body.dark-mode .section-link:hover i,
body.dark-mode .nav-link:hover i {
    color: #4a5cf0;
}

/* 8. 애니메이션 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 92, 240, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 92, 240, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 92, 240, 0);
    }
}


/* 배너 스타일 */
/* 배너 기본 스타일 */
.sticky-banner {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    padding: 15px 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 배너 내용 스타일 */
.top-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* 텍스트 영역 */
.banner-text {
    font-size: 16px;
    font-weight: 600;
    color: #2d3436;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 추가 콘텐츠 영역 */
.banner-extras {
    display: flex;
    align-items: center;
    gap: 25px;
}

/* 프로그레스 바 */
.progress-container {
    width: 200px;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 2px;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ff6b6b 0%, #ff8787 100%);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* 버튼 스타일 */
.banner-buttons {
    display: flex;
    gap: 12px;
}

.top-banner-close-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    color: #2d3436;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.top-banner-close-btn:hover {
    background: #007bff;
    color: white;
    transform: translateY(-2px);
}

/* 추가 요소 스타일 */
.detail-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.detail-link:hover {
    text-decoration: underline;
}

#countdown-timer {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: #e74c3c;
}

.sticky-banner {
    touch-action: pan-y;
    /* 수직 스크롤 허용 */
}

.swipe-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 2px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .top-banner-content {
        flex-direction: column;
        gap: 15px;
    }

    .banner-text {
        font-size: 14px;
        /*-webkit-line-clamp: 2;*/
        -webkit-box-orient: vertical;
        display: -webkit-box;
        text-align: center;
    }

    .banner-extras {
        flex-direction: column;
        gap: 10px;
    }

    .progress-container {
        width: 100%;
    }

    .banner-buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 수정된 CSS 클래스명 */
/* 배너 컨테이너 */
.wt-banner-container {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    overflow: hidden;
    z-index: 1000;
    background: linear-gradient(160deg, #f8fafb 0%, #ffffff 100%);
    /*box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);*/
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* 배너 랩퍼 */
.wt-banner-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* 개별 배너 */
.wt-banner-item {
    flex: 0 0 100%;
    padding: 12px 20px;
    display: flex;
    align-items: center;
}

/* 배너 내용 */
.wt-banner-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 30px;
}

/* 텍스트 영역 */
.wt-banner-text {
    font-size: 16px;
    font-weight: 900;
    color: #2d3436;
}

/* 닫기 버튼 그룹 */
.wt-close-group {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* 공통 버튼 스타일 */
.wt-close-btn,
.wt-close-today-btn {
    background: rgba(51, 122, 255, 0.1);
    color: #337aff;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.wt-close-btn:hover,
.wt-close-today-btn:hover {
    background: #337aff;
    color: white;
    transform: translateY(-1px);
}

/* 카운터 */
.wt-banner-counter {
    font-size: 14px;
    color: #666;
    min-width: 50px;
    text-align: center;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .wt-banner-container {
        height: 100px;
    }

    .wt-banner-content {
        flex-direction: column;
        gap: 10px;
    }

    .wt-banner-text {
        font-size: 15px;
        text-align: center;
    }

    .wt-close-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 배너 왼쪽 콘텐츠 */
.wt-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* 자세히 보기 링크 스타일 */
.detail-link {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    flex-shrink: 0;
    /* 링크는 줄어들지 않게 고정 */
}

.detail-link:hover {
    text-decoration: underline;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .wt-banner-left {
        justify-content: center;
    }

    .detail-link {
        font-size: 13px;
    }
}

.user-auth-box {
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.user-auth-box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.hover-effect:hover {
    color: #0d6efd;
    /* Bootstrap primary */
}

/* 새로운  Navbar */
.custom-bendit-nav {
    background: #fff;
    /* 반투명 글라스 효과 */
    /*border-bottom: 0px solid #e9ecef;*/
    /*padding-top: 0.8rem;
    padding-bottom: 0.8rem;*/
    z-index: 1030;
    /* 라운드 처리 */
    margin: 0px auto 0 auto;
    max-width: 1440px;
}

.custom-bendit-nav .container-fluid {
    max-width: 1440px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.custom-bendit-nav .navbar-brand img {
    max-height: 35px;
    /* 모바일 기본 로고 크기 */
    vertical-align: middle;
    transition: max-height 0.3s ease-in-out;
    /* 크기 변경 시 부드러운 효과 */
}

/* PC 메뉴 스타일 */
.custom-bendit-nav .navbar-nav .nav-link {
    font-size: 0.95rem;
    /* 모바일/기본 메뉴 텍스트 크기 */
    font-weight: bold;
    color: #343a40;
    padding: 0.5rem 0.85rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
    border-radius: 6px;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.custom-bendit-nav .navbar-nav .nav-link:hover {
    color: #000000;
    background-color: #f8f9fa;
}

.custom-bendit-nav .navbar-nav .nav-link.active {
    color: #000000;
    font-weight: 900;
    background-color: #f0f0f0;
}

/* 로그인 버튼 및 사용자 프로필 */
.custom-bendit-nav .btn-login {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    /* 모바일 기본 버튼 패딩 */
    font-size: 0.9rem;
    /* 모바일 기본 버튼 폰트 크기 */
    transition: background-color 0.2s ease, transform 0.2s ease, padding 0.3s ease, font-size 0.3s ease;
    /* 전환 효과 추가 */
}

.custom-bendit-nav .btn-login:hover {
    transform: translateY(-1px);
}

.custom-bendit-nav .user-main-toggle {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: background-color 0.2s ease-in-out;
}

.custom-bendit-nav .user-main-toggle:hover {
    background-color: #f8f9fa;
}

.custom-bendit-nav .user-main-toggle img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border: 1px solid #dee2e6;
}

.custom-bendit-nav .user-main-toggle span {
    font-size: 0.9rem;
    color: #343a40;
    font-weight: 500;
    margin-left: 0.5rem;
}

.custom-bendit-nav .dropdown-item {
    color: #f5f6fa !important;
    border-radius: 10px;
    transition: background 0.15s;
    padding: 8px 23px;
}

.custom-bendit-nav .dropdown-item:hover,
.custom-bendit-nav .dropdown-item:focus {
    background: #343a40 !important;
    color: #f5f6fa !important;
}

/* Navbar Toggler 숨김 (Offcanvas 제거로 인해 더 이상 사용하지 않음) */
.custom-bendit-nav .navbar-toggler {
    display: none;
}

/* 미디어 쿼리 추가: PC 해상도 (lg 이상) */
@media (min-width: 992px) {
    .custom-bendit-nav .navbar-brand img {
        max-height: 40px;
        /* PC 로고 크기는 사용자가 55px로 직접 설정함 (기본 스타일에서) */
    }

    .custom-bendit-nav .navbar-nav .nav-link {
        font-size: 1.1rem;
        /* PC 메뉴 텍스트 크기 증가 */
        letter-spacing: 0.4px;
        /* 자간 추가 */
        padding: 0.6rem 1.1rem;
        /* 패딩 조정으로 시원한 느낌 추가 */
    }

    .custom-bendit-nav .btn-login {
        padding: 0.75rem 1.5rem;
        /* PC 로그인 버튼 패딩 증가 */
        font-size: 1rem;
        /* PC 로그인 버튼 폰트 크기 증가 */
    }
}

@media (min-width: 1024px) {
    .navbar-nav.d-lg-flex {
        display: none !important;
    }
}



.hamburger-btn svg {
    display: block;
    vertical-align: middle;
}

.hamburger-btn svg rect {
    fill: #000 !important;
    height: 2px;
    rx: 1;
    transition: fill 0.2s;
}

.hamburger-btn:hover svg rect {
    fill: #555 !important;
}

.myapp-search__form {
    display: flex;
    justify-content: center;
    padding: 0 15px;
    margin-bottom: 1.5rem;
}

.myapp-search__input-group {
    display: flex;
    width: 100%;
    max-width: 400px;
    position: relative;
    background-color: #f2f2f2;
    border-radius: 50px;
    overflow: hidden;
    /*border: 1px solid #e0e0e0;*/
}

.myapp-search__input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: none;
    background-color: transparent;
    font-size: 15px;
    color: #333;
    outline: none;
}

.myapp-search__button {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.myapp-search__button:hover {
    color: #333;
}

.myapp-search__button i {
    font-size: 16px;
}

.myapp-search__submit {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 20px;
    background: #333;
    border: none;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-left: 1px solid #e0e0e0;
}

.myapp-search__submit:hover {
    background: #444;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .myapp-search__form {
        padding: 0 20px;
        margin-bottom: 1.2rem;
    }

    .myapp-search__input {
        padding: 10px 15px 10px 40px;
        font-size: 14px;
    }

    .myapp-search__button {
        left: 15px;
    }

    .myapp-search__button i {
        font-size: 15px;
    }

    .myapp-search__submit {
        padding: 0 15px;
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .hamburger-btn {
        display: none !important;
    }
}

.dropdown-menu[aria-labelledby="dropdownUserNav"] *,
.dropdown-menu[aria-labelledby="dropdownUserNav"] {
    color: #fff !important;
}

.dropdown-menu[aria-labelledby="dropdownUserNav"] .btn {
    background: #000 !important;
    color: #fff !important;
    border: none !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    font-weight: 500;
    border-radius: 12px;
    transition: background 0.18s;
}

.dropdown-menu[aria-labelledby="dropdownUserNav"] .btn:hover {
    background: #111 !important;
    color: #fff !important;
}

/* 새로운 네비게이션 버튼 스타일 */
.nav-category-btn {
    padding: 8px 16px;
    font-size: 15px;
    font-weight: normal;
    color: #000;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s ease;
    background: transparent;
    letter-spacing: 0.8px;
}

.nav-category-btn:hover {
    background: #f5f5f5;
    color: #000;
    transform: translateY(-1px);
}

.nav-category-btn.active {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
    color: #000;
    font-weight: 700;
    letter-spacing: 0.8px;
}

/* 모바일 대응 스타일 */
@media (max-width: 991px) {
    .nav-category-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .navbar-brand.d-lg-none {
        margin-right: 0 !important;
    }

    .d-flex.align-items-center.ms-4 {
        margin-left: 8px !important;
    }

    .btn-login {
        font-size: 13px;
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .nav-category-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    .btn-login {
        font-size: 12px;
        padding: 5px 10px;
    }
}

/* 네비게이션 버튼 컨테이너 */
.nav-buttons-container {
    gap: 5px;
    white-space: nowrap;
}

/* 드롭다운 메뉴 스타일 */
.custom-dropdown {
    position: fixed;
    top: 60px;
    right: 10px;
    left: auto;
    transform: none;
    width: calc(100% - 20px);
    max-width: 320px;
    margin: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    overflow-x: visible;
    z-index: 2000;
}

.custom-dropdown .dropdown-item {
    color: #f5f6fa;
    padding: 8px 23px;
    font-size: 16px;
    border-radius: 10px;
}

.custom-dropdown .btn {
    padding: 8px 15px;
    font-size: 16px;
    border-radius: 8px;
}

/* 드롭다운 메뉴 스크롤 스타일 */
.custom-dropdown {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.custom-dropdown::-webkit-scrollbar {
    width: 6px;
}

.custom-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.custom-dropdown::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.custom-dropdown::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 모바일 대응 스타일 */
@media (max-width: 576px) {
    .custom-dropdown {
        width: calc(100% - 20px);
        max-width: 320px;
        margin: 0;
    }
}

/* 작은 화면에서의 스크롤 처리 */
@media (max-height: 600px) {
    .custom-dropdown {
        max-height: calc(100vh - 80px);
    }
}

/* --- Start: Custom Navigation Styles (Bootstrap Replacement) --- */

.custom-bendit-nav.bendit-sticky-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    /* Bootstrap's z-index for sticky elements */
}

.bendit-nav-container {
    /* from: .container-fluid .d-flex .align-items-center .justify-content-between .px-3 */
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
}

.nav-left-group {
    /* from: .d-flex .align-items-center .flex-shrink-0 */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.bendit-hamburger-wrapper {
    /* Replaces .d-flex .align-items-center .me-2 */
    display: flex;
    align-items: center;
    margin-right: 1rem;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 10px;
}

.bendit-logo {
    /* from: .navbar-brand */
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    font-size: 1.25rem;
    /* Bootstrap's default size */
    text-decoration: none;
    white-space: nowrap;
}

.bendit-logo img {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

.logo-desktop {
    /* from: .d-none .d-lg-block .ms-2 */
    display: none;
    margin-left: 0.5rem;
    /* ms-2 */
}

.logo-mobile {
    /* from: .d-lg-none .mx-auto */
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {

    /* lg breakpoint */
    .logo-desktop {
        display: block;
    }

    .logo-mobile {
        display: none;
    }
}

.nav-links-container {
    /* from: .d-flex .align-items-center .ms-4 .nav-buttons-container */
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
    /* ms-4 */
}

.nav-right-group {
    /* from: .d-flex .align-items-center */
    display: flex;
    align-items: center;
}

/* --- End: Custom Navigation Styles --- */

/* --- Start: BENDIT Navigation Bar (Replaces Bootstrap) --- */

.bendit-navbar {
    /* Replaces .navbar, .custom-bendit-nav */
    background: #fff;
    border-bottom: 1px solid #f2f2f2;
    padding: 10px 0;
    /* Crucial for top/bottom spacing */
    min-height: 70px;
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.bendit-navbar.is-sticky {
    /* Replaces .sticky-top */
    position: sticky;
    top: 0;
    z-index: 1020;
}

.bendit-navbar-container {
    /* Replaces .container-fluid .d-flex .align-items-center .justify-content-between .px-3 */
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
}

.bendit-navbar-left {
    /* Replaces .d-flex .align-items-center .flex-shrink-0 and inline min-width */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.bendit-hamburger-wrapper {
    /* Replaces .d-flex .align-items-center .me-2 */
    display: flex;
    align-items: center;
    margin-right: 1rem;
}

.bendit-hamburger-button {
    /* Replaces .hamburger-btn and inline height */
    height: 24px;
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.bendit-navbar-brand {
    /* Replaces .navbar-brand */
    padding-top: 0.3125rem;
    padding-bottom: 0.3125rem;
    font-size: 1.25rem;
    text-decoration: none;
    white-space: nowrap;
}

.bendit-navbar-brand img {
    height: 24px;
    width: auto;
    vertical-align: middle;
}

.bendit-navbar-brand.is-desktop-logo {
    /* Replaces .d-none .d-lg-block .ms-2 and inline margin */
    display: none;
    margin-left: 6px;
}

.bendit-navbar-brand.is-mobile-logo {
    /* Replaces .d-lg-none .mx-auto */
    margin-left: auto;
    margin-right: auto;
}

.bendit-navbar-links {
    /* Replaces .d-flex .align-items-center .ms-4 .nav-buttons-container */
    display: flex;
    align-items: center;
    margin-left: 1.5rem;
}

.bendit-navbar-right {
    /* Replaces .d-flex .align-items-center */
    display: flex;
    align-items: center;
}

/* Responsive styles */
@media (min-width: 992px) {

    /* Bootstrap's lg breakpoint */
    .bendit-navbar-brand.is-desktop-logo {
        display: block;
    }

    .bendit-navbar-brand.is-mobile-logo {
        display: none;
    }

    /* PC 해상도에서 햄버거 버튼과 로고 간 여백 추가 */
    .bendit-hamburger-wrapper {
        margin-right: 0.8rem;
    }
}

/* --- End: BENDIT Navigation Bar --- */

/* --- Start: Navigation Bootstrap Replacement --- */

.nav-container-replacement {
    /* Replaces: .container-fluid .d-flex .align-items-center .justify-content-between .px-3 */
    width: 100%;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 1rem;
    padding-left: 1rem;
}

.nav-left-group-replacement {
    /* Replaces: .d-flex .align-items-center .flex-shrink-0 */
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.nav-hamburger-wrapper-replacement {
    /* Replaces: .d-flex .align-items-center .me-2 */
    display: flex;
    align-items: center;
    margin-right: 0rem;
    margin: 0;
}

.logo-desktop-replacement {
    /* Replaces: .d-none .d-lg-block .ms-2 */
    display: none;
    margin-left: 6px;
}

.logo-mobile-replacement {
    /* Replaces: .d-lg-none .mx-auto */
    margin-left: auto;
    margin-right: auto;
}

/* LG Breakpoint for logo visibility */
@media (min-width: 992px) {
    .logo-desktop-replacement {
        display: block;
    }

    .logo-mobile-replacement {
        display: none;
    }
}

.nav-links-replacement {
    /* Replaces: .d-flex .align-items-center .ms-4 */
    display: flex;
    align-items: center;
    margin-left: 0.5rem;
    gap: 0.1rem;
}

.nav-right-group-replacement {
    /* Replaces: .d-flex .align-items-center */
    display: flex;
    align-items: center;
}

/* --- End: Navigation Bootstrap Replacement --- */