/* ========================================
   WawaCoin 사이드바 네비게이션 - 기존 디자인 통합
   ======================================== */

/* 레이아웃 조정 - 사이드바만 추가, 컨텐츠는 그대로 */

/* 왼쪽 사이드바 - WawaCoin 다크 테마 */
.wawa-sidebar {
    width: 280px;
    background: linear-gradient(180deg, #0c0c0c 0%, #1a1a1a 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 50; /* z-index 더 낮게 조정 */
    overflow-y: auto;
    transition: transform 0.3s ease;
}

/* 사이드바 헤더 */
.wawa-sidebar-header {
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.wawa-sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
}

.wawa-sidebar-logo .logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.wawa-sidebar-logo .logo-icon svg {
    width: 100%;
    height: 100%;
}

/* 사용자 정보 섹션 */
.wawa-sidebar-user {
    margin-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.wawa-sidebar-user .user-info {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wawa-sidebar-user .user-info:hover {
    background: rgba(255, 255, 255, 0.05);
}

.wawa-sidebar-user .user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(247, 147, 26, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.wawa-sidebar-user .user-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.wawa-sidebar-user .user-name {
    font-size: 14px;
    color: #ffffff;
    font-weight: 500;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wawa-sidebar-user .user-status {
    font-size: 11px;
    color: #4caf50;
    margin-top: 2px;
}

.wawa-sidebar-user .dropdown-arrow {
    transition: transform 0.3s ease;
}

.wawa-sidebar-user .dropdown-arrow svg {
    stroke: rgba(255, 255, 255, 0.5);
}

/* 사용자 드롭다운 메뉴 */
.wawa-sidebar-user .user-dropdown {
    margin: 10px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.wawa-sidebar-user .user-dropdown a {
    display: block;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.wawa-sidebar-user .user-dropdown a:hover {
    background: rgba(247, 147, 26, 0.1);
    color: #f7931a;
    padding-left: 20px;
}

.wawa-sidebar-user .dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 5px 0;
}

.wawa-sidebar-user .logout-link {
    color: rgba(255, 68, 68, 0.9) !important;
}

.wawa-sidebar-user .logout-link:hover {
    background: rgba(255, 68, 68, 0.1) !important;
    color: #ff4444 !important;
}

/* 사이드바 메뉴 */
.wawa-sidebar-menu {
    padding: 30px 0 20px 0; /* Add top padding to align with content */
}

.wawa-menu-category {
    padding: 10px 20px;
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-top: 10px;
}

.wawa-menu-item {
    margin: 2px 10px;
}

.wawa-menu-item a {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    font-size: 16px;
}

.wawa-menu-item a:hover {
    background: rgba(247, 147, 26, 0.1);
    color: #f7931a;
    transform: translateX(5px);
}

/* 법적정보 메뉴 특별 스타일 */
.wawa-menu-item.has-submenu > a {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wawa-menu-item.has-submenu > a:hover {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(247, 147, 26, 0.05) 100%);
    border-color: rgba(247, 147, 26, 0.2);
}

.wawa-menu-item.submenu-open > a {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.15) 0%, rgba(247, 147, 26, 0.08) 100%);
    border-color: rgba(247, 147, 26, 0.3);
    color: #f7931a;
}

.wawa-menu-item a.active {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(255, 179, 71, 0.1) 100%);
    color: #f7931a;
    border-left: 3px solid #f7931a;
}

.wawa-menu-item .menu-icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wawa-menu-item .menu-icon svg {
    width: 20px;
    height: 20px;
    color: inherit;
}

.wawa-menu-item .menu-badge {
    margin-left: auto;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

/* 메뉴 구분선 */
.wawa-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px 20px;
}

/* 메인 컨텐츠 영역 조정 - 가운데 정렬 수정 */
body.with-sidebar {
    padding-left: 280px; /* 사이드바 너비만큼 패딩 */
    transition: padding-left 0.3s ease;
    width: 100%; /* 전체 너비 사용 */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    box-sizing: border-box;
}

.with-sidebar .container {
    margin: 0 auto !important; /* auto 제거하여 중앙정렬 해제 */
    max-width: 1400px !important; /* 전체 너비 사용 */
    width: 100% !important;
    transition: all 0.3s ease;
    padding: 95px 40px 40px 40px; /* Top padding for menu bar */
    box-sizing: border-box;
    position: relative;
    flex: 1;
}

/* 메인 컨텐츠 wrapper */
.with-sidebar .main-content {
    width: 100%;
    box-sizing: border-box;
}

/* 푸터 영역 조정 */
.with-sidebar footer,
.with-sidebar .footer,
.with-sidebar .footer-section,
.with-sidebar #footer-placeholder > * {
    max-width: 1920px !important;
    margin: 0 auto !important;
    padding: 40px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 페이지 컨텐츠 영역 공통 스타일 */
.with-sidebar .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 100px);
    width: 100%;
}

.with-sidebar .content-wrapper {
    flex: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* 차트와 콘텐츠 영역 보정 - 실시간차트 기준 1400px */
.with-sidebar .crypto-table,
.with-sidebar .chart-container,
.with-sidebar .market-section,
.with-sidebar .news-section,
.with-sidebar .main-content-wrapper,
.with-sidebar .table-section,
.with-sidebar .favorites-section,
.with-sidebar .main-content,
.with-sidebar .content-section,
.with-sidebar .page-content,
.with-sidebar .support-container,
.with-sidebar .guide-container,
.with-sidebar .faq-container,
.with-sidebar .terms-container,
.with-sidebar .privacy-container,
.with-sidebar .disclaimer-container,
.with-sidebar .legal-container,
.with-sidebar .news-container,
.with-sidebar .trading-dashboard {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    overflow-x: auto;
    position: relative;
    z-index: 1;
}

/* 페이지별 컨테이너 조정 - 실시간차트 기준 */
.with-sidebar .lotto-container,
.with-sidebar .support-container,
.with-sidebar .guide-container,
.with-sidebar .faq-container,
.with-sidebar .terms-container,
.with-sidebar .privacy-container,
.with-sidebar .disclaimer-container,
.with-sidebar .legal-container,
.with-sidebar .news-container,
.with-sidebar .trading-dashboard {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 40px;
    box-sizing: border-box;
}

/* 레퍼럴 배너 조정 */
.with-sidebar .referral-banner-section {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 20px auto;
}

/* 차트 섹션 조정 */
.with-sidebar .chart-section {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

/* TradingView 위젯 조정 */
.with-sidebar .tradingview-widget-container,
.with-sidebar #tradingview_chart {
    width: 100% !important;
    height: 700px !important;
    position: relative !important;
    z-index: 1 !important;
}

.with-sidebar .chart-container {
    width: 100% !important;
    height: 700px !important;
}

/* 지표 섹션 조정 */
.with-sidebar .indicators-section {
    width: 100%;
    padding: 0;
    box-sizing: border-box;
}

/* 섹션별 마진 조정 */
.with-sidebar section {
    width: 100%;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 40px;
    box-sizing: border-box;
}

/* 뉴스 페이지 특별 조정 */
body[data-page="news"] .news-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 95px 40px 40px 40px !important; /* Keep top padding for menu spacing */
    width: 100% !important;
    box-sizing: border-box !important;
}

body[data-page="news"] .news-grid,
body[data-page="news"] .news-header {
    max-width: 1400px !important;
}

/* 모든 페이지 공통 조정 - 직접 자식 div들 */
body.with-sidebar > div:not(.wawa-sidebar):not(.sidebar-mobile-toggle):not(.sidebar-mobile-overlay):not(#navigation-placeholder):not(#footer-placeholder):not(.content-top-bar) {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 95px 40px 40px 40px !important; /* Keep top padding for menu spacing */
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 각 페이지별 컨테이너 조정 */
body[data-page="trading"] .trading-dashboard,
body[data-page="support"] .support-container,
body[data-page="guide"] .guide-container,
body[data-page="faq"] .faq-container,
body[data-page="terms"] .terms-container,
body[data-page="privacy"] .privacy-container,
body[data-page="disclaimer"] .disclaimer-container,
body[data-page="legal"] .legal-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 95px 40px 40px 40px !important; /* Keep top padding for menu spacing */
    box-sizing: border-box !important;
}

/* 기존 navbar 숨기기 - 사이드바만 사용 */
.with-sidebar .navbar,
.with-sidebar #navigation-placeholder,
.with-sidebar .top-ticker {
    display: none !important;
}

/* 모바일 토글 버튼 */
.sidebar-mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.sidebar-mobile-toggle svg {
    width: 24px;
    height: 24px;
}

.sidebar-mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 사이드바 푸터 - 고객센터 버튼 */
.wawa-sidebar-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.footer-support-link {
    display: block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.support-button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.1) 0%, rgba(255, 179, 71, 0.1) 100%);
    border: 1px solid rgba(247, 147, 26, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-support-link:hover .support-button {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.2) 0%, rgba(255, 179, 71, 0.2) 100%);
    border-color: #f7931a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 147, 26, 0.2);
}

.footer-support-link.active .support-button {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.25) 0%, rgba(255, 179, 71, 0.25) 100%);
    border-color: #f7931a;
}

.support-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.support-icon svg {
    width: 20px;
    height: 20px;
    color: #f7931a;
}

.support-text {
    flex: 1;
    font-size: 15px;
    font-weight: 600;
    color: #f7931a;
    letter-spacing: 0.5px;
}

/* 사이드바 축소 모드 */
.wawa-sidebar.collapsed {
    width: 70px;
}

.wawa-sidebar.collapsed .wawa-sidebar-logo span:not(.logo-icon),
.wawa-sidebar.collapsed .menu-text,
.wawa-sidebar.collapsed .menu-badge,
.wawa-sidebar.collapsed .wawa-menu-category,
.wawa-sidebar.collapsed .support-text,
.wawa-sidebar.collapsed .submenu-arrow,
.wawa-sidebar.collapsed .wawa-submenu {
    display: none;
}

.wawa-sidebar.collapsed .wawa-sidebar-footer {
    padding: 10px;
}

.wawa-sidebar.collapsed .support-button {
    justify-content: center;
    padding: 12px;
}

.wawa-sidebar.collapsed .wawa-menu-item a {
    justify-content: center;
    padding: 12px;
}

.wawa-sidebar.collapsed .menu-icon {
    margin-right: 0;
}

body.with-sidebar.sidebar-collapsed {
    padding-left: 70px;
    width: 100%;
}

.with-sidebar.sidebar-collapsed .container {
    width: 100% !important;
}

.with-sidebar .navbar.sidebar-collapsed {
    padding-left: 70px;
    width: 100%;
}

/* 텍스트 콘텐츠 영역 정렬 */
.with-sidebar .content-section h1,
.with-sidebar .content-section h2,
.with-sidebar .content-section h3,
.with-sidebar .content-section p,
.with-sidebar .content-section ul,
.with-sidebar .content-section ol,
.with-sidebar .content-section div {
    max-width: 1400px;
}

/* 모바일 반응형 */
@media (max-width: 1024px) {
    body.with-sidebar {
        margin-left: 0;
        width: 100%;
    }

    .wawa-sidebar {
        transform: translateX(-100%);
        z-index: 200; /* 모바일에서는 z-index 높게 */
    }

    .wawa-sidebar.mobile-active {
        transform: translateX(0);
    }

    body.with-sidebar {
        padding-left: 0;
    }

    .with-sidebar .container,
    .with-sidebar .navbar {
        margin-left: 0 !important;
        width: 100% !important;
    }

    .sidebar-mobile-toggle {
        display: block;
    }

    /* 모바일 오버레이 */
    .sidebar-mobile-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 9998;
    }

    .sidebar-mobile-overlay.active {
        display: block;
    }
}

/* 스크롤바 스타일링 */
.wawa-sidebar::-webkit-scrollbar {
    width: 5px;
}

.wawa-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}

.wawa-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}

.wawa-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* 애니메이션 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.wawa-menu-item {
    animation: fadeInLeft 0.3s ease;
}

/* 호버 효과 */
.wawa-sidebar-logo:hover .logo-icon svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* 서브메뉴 지원 - 모던 디자인 */
.wawa-submenu {
    display: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(10px);
    margin: 8px 15px;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05),
                inset 0 -1px 0 rgba(0, 0, 0, 0.3),
                0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wawa-submenu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wawa-submenu a {
    display: flex;
    align-items: center;
    padding: 12px 20px 12px 45px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.wawa-submenu a:last-child {
    border-bottom: none;
}

.wawa-submenu a::before {
    content: '';
    position: absolute;
    left: 25px;
    width: 4px;
    height: 4px;
    background: rgba(247, 147, 26, 0.5);
    border-radius: 50%;
    transition: all 0.2s ease;
}

.wawa-submenu a:hover {
    background: linear-gradient(90deg, rgba(247, 147, 26, 0.15) 0%, rgba(247, 147, 26, 0.05) 100%);
    color: #f7931a;
    padding-left: 50px;
}

.wawa-submenu a:hover::before {
    width: 6px;
    height: 6px;
    background: #f7931a;
    box-shadow: 0 0 8px rgba(247, 147, 26, 0.5);
}

.wawa-submenu a.active {
    background: linear-gradient(90deg, rgba(247, 147, 26, 0.2) 0%, rgba(247, 147, 26, 0.08) 100%);
    color: #f7931a;
    font-weight: 500;
}

.wawa-submenu a.active::before {
    width: 8px;
    height: 8px;
    background: #f7931a;
    box-shadow: 0 0 12px rgba(247, 147, 26, 0.6);
}

/* 서브메뉴 화살표 */
.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    padding: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
}

.submenu-arrow svg {
    width: 10px;
    height: 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.wawa-menu-item.has-submenu > a {
    padding-right: 12px;
    position: relative;
}

.wawa-menu-item.has-submenu > a:hover .submenu-arrow svg {
    opacity: 1;
}

.wawa-menu-item.submenu-open > a .submenu-arrow {
    background: rgba(247, 147, 26, 0.1);
}

.wawa-menu-item.submenu-open > a .submenu-arrow svg {
    color: #f7931a;
    opacity: 1;
}

/* 기존 네비게이션 숨기기 옵션 */
.with-sidebar.hide-top-nav .navbar {
    display: none;
}

.with-sidebar.hide-top-nav .container {
    padding-top: 95px; /* Keep menu bar spacing */
}

/* ===== FINAL OVERRIDE STYLES - 최종 오버라이드 스타일 ===== */
/* 모든 페이지 메인 컨테이너 강제 가운데 정렬 - 실시간차트 기준 */
.with-sidebar .news-container,
.with-sidebar .support-container,
.with-sidebar .guide-container,
.with-sidebar .faq-container,
.with-sidebar .terms-container,
.with-sidebar .privacy-container,
.with-sidebar .disclaimer-container,
.with-sidebar .legal-container,
.with-sidebar .trading-dashboard,
.with-sidebar .lotto-container {
    display: block !important;
    max-width: 1400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 95px 40px 40px 40px !important; /* Keep top padding for menu spacing */
    width: calc(100% - 80px) !important;
    box-sizing: border-box !important;
}

/* 푸터 강제 가운데 정렬 */
.with-sidebar footer,
.with-sidebar .footer {
    display: block !important;
    max-width: 1920px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: 40px !important;
    padding: 40px 20px !important;
    width: calc(100% - 40px) !important;
    box-sizing: border-box !important;
}

/* body 직접 자식 요소들 정렬 */
body.with-sidebar > div.news-container,
body.with-sidebar > div.support-container,
body.with-sidebar > div.guide-container,
body.with-sidebar > div.faq-container,
body.with-sidebar > div.terms-container,
body.with-sidebar > div.privacy-container,
body.with-sidebar > div.disclaimer-container,
body.with-sidebar > div.legal-container,
body.with-sidebar > div.trading-dashboard,
body.with-sidebar > div.lotto-container,
body.with-sidebar > footer {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1400px !important;
}

/* === FINAL CENTER ALIGNMENT OVERRIDE === */
body.with-sidebar .container,
body.with-sidebar .main-content,
body.with-sidebar .lotto-container,
body.with-sidebar .news-container,
body.with-sidebar .trading-dashboard,
body.with-sidebar .support-container,
body.with-sidebar .guide-container,
body.with-sidebar .faq-container,
body.with-sidebar .terms-container,
body.with-sidebar .privacy-container,
body.with-sidebar .disclaimer-container,
body.with-sidebar .legal-container,
body.with-sidebar .table-section,
body.with-sidebar .chart-section,
body.with-sidebar .favorites-section {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 95px 30px 30px 30px !important; /* Top padding for menu bar */
    box-sizing: border-box !important;
}

/* Remove flex from body to prevent sidebar issues */


/* OVERRIDE: 고객센터 버튼 강제 표시 */
.wawa-sidebar-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1000;
}

.footer-support-link,
.support-button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 메뉴 컨텐츠 패딩 조정 */
.wawa-menu-content {
    padding-bottom: 120px !important; /* 고객센터 버튼 공간 */
}

/* 사이드바 스크롤 영역 */
.wawa-sidebar {
    overflow-y: auto;
    overflow-x: hidden;
}


/* 고객센터 버튼 크기 및 스타일 개선 */
.wawa-sidebar-footer {
    padding: 20px 15px !important;
}

.support-button {
    padding: 16px 20px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    justify-content: center !important;
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.15) 0%, rgba(255, 179, 71, 0.15) 100%) !important;
    border: 2px solid rgba(247, 147, 26, 0.4) !important;
    border-radius: 14px !important;
}

.support-icon {
    width: 28px !important;
    height: 28px !important;
}

.support-icon svg {
    width: 24px !important;
    height: 24px !important;
}

.support-text {
    font-size: 15px !important;
    font-weight: 500 !important;
    color: #f7931a !important;
}

.footer-support-link:hover .support-button {
    background: linear-gradient(135deg, rgba(247, 147, 26, 0.3) 0%, rgba(255, 179, 71, 0.3) 100%) !important;
    border-color: #f7931a !important;
    box-shadow: 0 6px 20px rgba(247, 147, 26, 0.3) !important;
}

/* 축소 상태에서도 버튼 보이도록 */
.wawa-sidebar.collapsed .support-button {
    padding: 14px !important;
}

.wawa-sidebar.collapsed .support-text {
    display: none !important;
}


/* 고객센터 버튼 - 사이드바 너비에 꽉 차게 */
.wawa-sidebar-footer {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 10px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.9) 100%) !important;
}

.footer-support-link {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
}

.support-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    padding: 18px 10px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    background: linear-gradient(135deg, #f7931a 0%, #ff6b00 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

.support-text {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.support-icon svg {
    width: 24px !important;
    height: 24px !important;
    fill: #ffffff !important;
}

.footer-support-link:hover .support-button {
    background: linear-gradient(135deg, #ff6b00 0%, #f7931a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(247, 147, 26, 0.4) !important;
}

.footer-support-link.active .support-button {
    background: linear-gradient(135deg, #e5881a 0%, #e65c00 100%) !important;
}

/* 사이드바 축소 상태 */
.wawa-sidebar.collapsed .wawa-sidebar-footer {
    padding: 10px 5px !important;
}

.wawa-sidebar.collapsed .support-button {
    width: calc(100% - 10px) !important;
    padding: 16px 5px !important;
}

.wawa-sidebar.collapsed .support-text {
    display: none !important;
}

.wawa-sidebar.collapsed .support-icon {
    margin: 0 auto !important;
}


/* 고객센터 버튼 - 심플한 디자인 */
.wawa-sidebar-footer {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    padding: 10px !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.support-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: calc(100% - 20px) !important;
    margin: 0 auto !important;
    padding: 20px 10px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease !important;
}

.support-icon {
    display: none !important;
}

.support-text {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-align: center !important;
    width: 100% !important;
}

.footer-support-link:hover .support-button {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) !important;
}

.footer-support-link.active .support-button {
    background: rgba(247, 147, 26, 0.1) !important;
    border-color: rgba(247, 147, 26, 0.3) !important;
}

.footer-support-link.active .support-text {
    color: #f7931a !important;
}

/* 축소된 상태에서도 텍스트 표시 */
.wawa-sidebar.collapsed .support-text {
    display: block !important;
    font-size: 14px !important;
}


/* 고객센터 버튼 테두리 주황색 */
.support-button {
    border: 2px solid #f7931a !important;
}

.footer-support-link:hover .support-button {
    border-color: #ff6b00 !important;
    background: rgba(247, 147, 26, 0.1) !important;
}

