/* Sliding Sidebars Styles */

/* Animation Keyframes */
@keyframes scdev-sidebar-slide-left {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

@keyframes scdev-sidebar-slide-right {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

@keyframes scdev-sidebar-flip-left {
    from { transform: perspective(1000px) rotateY(90deg); opacity: 0; }
    to { transform: perspective(1000px) rotateY(0); opacity: 1; }
}

@keyframes scdev-sidebar-flip-right {
    from { transform: perspective(1000px) rotateY(-90deg); opacity: 0; }
    to { transform: perspective(1000px) rotateY(0); opacity: 1; }
}

@keyframes scdev-sidebar-fade-slide-left {
    from { transform: translateX(-100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scdev-sidebar-fade-slide-right {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes scdev-sidebar-bounce-left {
    0% { transform: translateX(-100%); }
    60% { transform: translateX(10px); }
    80% { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

@keyframes scdev-sidebar-bounce-right {
    0% { transform: translateX(100%); }
    60% { transform: translateX(-10px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

@keyframes scdev-sidebar-zoom-left {
    from { transform: translateX(-100%) scale(0.8); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes scdev-sidebar-zoom-right {
    from { transform: translateX(100%) scale(0.8); opacity: 0; }
    to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes scdev-sidebar-rotate-left {
    from { transform: translateX(-100%) rotateZ(-5deg); opacity: 0; }
    to { transform: translateX(0) rotateZ(0); opacity: 1; }
}

@keyframes scdev-sidebar-rotate-right {
    from { transform: translateX(100%) rotateZ(5deg); opacity: 0; }
    to { transform: translateX(0) rotateZ(0); opacity: 1; }
}

@keyframes scdev-sidebar-elastic-left {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(20px); }
    65% { transform: translateX(-10px); }
    80% { transform: translateX(5px); }
    95% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

@keyframes scdev-sidebar-elastic-right {
    0% { transform: translateX(100%); }
    50% { transform: translateX(-20px); }
    65% { transform: translateX(10px); }
    80% { transform: translateX(-5px); }
    95% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

/* Border Decoration Animations */
@keyframes scdev-gradient-flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes scdev-neon-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 0, 110, 0.5), inset 0 0 5px rgba(255, 0, 110, 0.2); }
    50% { box-shadow: 0 0 20px rgba(255, 0, 110, 0.8), inset 0 0 10px rgba(255, 0, 110, 0.4); }
}

@keyframes scdev-rainbow-flow {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

@keyframes scdev-pulse-glow {
    0%, 100% { 
        box-shadow: 0 0 5px rgba(0, 217, 255, 0.4), inset 0 0 5px rgba(0, 217, 255, 0.1);
        border-width: 3px;
    }
    50% { 
        box-shadow: 0 0 15px rgba(0, 217, 255, 0.8), inset 0 0 10px rgba(0, 217, 255, 0.3);
        border-width: 4px;
    }
}

/* Rotating border animations for moving effect */
@keyframes scdev-border-rotate {
    0% { background-position: 0% 0%; }
    100% { background-position: 400% 400%; }
}

@keyframes scdev-border-rotate-reverse {
    0% { background-position: 400% 400%; }
    100% { background-position: 0% 0%; }
}

.scdev-sidebars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9980;
}

/* Sidebars */
.scdev-sidebar {
    position: fixed;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    pointer-events: auto;
    z-index: 9985;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.scdev-sidebar.scdev-sidebar-left {
    left: 0;
}

.scdev-sidebar.scdev-sidebar-right {
    right: 0;
    transform: translateX(100%);
}

.scdev-sidebar.is-open {
    transform: translateX(0);
}

/* Sidebar Close Button */
.scdev-sidebar-close {
    position: sticky;
    top: 0;
    align-self: flex-end;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: inherit;
    font-size: 28px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 9986;
    transition: background 0.2s ease;
    flex-shrink: 0;
    overflow: hidden;
}

.scdev-sidebar-close:hover {
    background: rgba(0, 0, 0, 0.2);
}

.scdev-sidebar-close-icon {
    display: block;
    line-height: 1;
}

/* Sidebar Content */
.scdev-sidebar-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 15px;
}

/* Scrollbar Styling - Webkit (Chrome, Safari, Edge) */
.scdev-sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.scdev-sidebar-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 3px;
}

.scdev-sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    transition: background 0.2s ease;
}

.scdev-sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Scrollbar Styling - Firefox */
.scdev-sidebar-content {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) rgba(0, 0, 0, 0.05);
}

/* Sidebar Widgets */
.scdev-sidebar-widget {
    margin-bottom: 20px;
}

.scdev-sidebar-widget:last-child {
    margin-bottom: 0;
}

.scdev-sidebar-widget-title {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

/* Sidebar Navigation Menus */
.scdev-sidebar .widget_nav_menu .menu,
.scdev-sidebar .widget_nav_menu .sub-menu,
.scdev-sidebar .widget_pages ul,
.scdev-sidebar .widget_recent_entries ul,
.scdev-sidebar .widget_archive ul,
.scdev-sidebar .widget_categories ul,
.scdev-sidebar .widget_meta ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.scdev-sidebar .widget_nav_menu .menu > li,
.scdev-sidebar .widget_nav_menu .sub-menu > li,
.scdev-sidebar .widget_pages li,
.scdev-sidebar .widget_recent_entries li,
.scdev-sidebar .widget_archive li,
.scdev-sidebar .widget_categories li,
.scdev-sidebar .widget_meta li {
    margin: 0 0 6px;
}

.scdev-sidebar .widget_nav_menu .menu > li:last-child,
.scdev-sidebar .widget_nav_menu .sub-menu > li:last-child,
.scdev-sidebar .widget_pages li:last-child,
.scdev-sidebar .widget_recent_entries li:last-child,
.scdev-sidebar .widget_archive li:last-child,
.scdev-sidebar .widget_categories li:last-child,
.scdev-sidebar .widget_meta li:last-child {
    margin-bottom: 0;
}

.scdev-sidebar .widget_nav_menu .sub-menu {
    margin-top: 6px;
    padding-left: 12px;
}

.scdev-sidebar .widget_nav_menu .sub-menu,
.scdev-sidebar .widget_pages .children {
    display: none;
}

.scdev-sidebar .menu-item-has-children.scdev-submenu-open > .sub-menu,
.scdev-sidebar .page_item_has_children.scdev-submenu-open > .children {
    display: block;
}

.scdev-sidebar .widget_nav_menu .menu-item-has-children > a,
.scdev-sidebar .widget_pages .page_item_has_children > a {
    padding-right: 38px;
}

.scdev-sidebar .widget_nav_menu .menu-item-has-children,
.scdev-sidebar .widget_pages .page_item_has_children {
    position: relative;
}

.scdev-sidebar .widget_nav_menu .sub-menu[hidden],
.scdev-sidebar .widget_pages .children[hidden] {
    display: none !important;
}

.scdev-sidebar .widget_nav_menu .menu-item-has-children > .scdev-sidebar-submenu-toggle,
.scdev-sidebar .widget_pages .page_item_has_children > .scdev-sidebar-submenu-toggle {
    position: absolute;
    top: 4px;
    right: 6px;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    color: #3a3f47;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 3px 8px rgba(25, 32, 46, 0.08);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.scdev-sidebar .widget_nav_menu .menu-item-has-children > .scdev-sidebar-submenu-toggle:hover,
.scdev-sidebar .widget_pages .page_item_has_children > .scdev-sidebar-submenu-toggle:hover {
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.92),
        0 5px 12px rgba(25, 32, 46, 0.12);
}

.scdev-sidebar .scdev-sidebar-submenu-toggle-icon {
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    transition: transform 0.18s ease;
}

.scdev-sidebar .menu-item-has-children.scdev-submenu-open > .scdev-sidebar-submenu-toggle .scdev-sidebar-submenu-toggle-icon,
.scdev-sidebar .page_item_has_children.scdev-submenu-open > .scdev-sidebar-submenu-toggle .scdev-sidebar-submenu-toggle-icon {
    transform: rotate(180deg);
}

.scdev-sidebar .widget_nav_menu li,
.scdev-sidebar .widget_pages li,
.scdev-sidebar .widget_recent_entries li,
.scdev-sidebar .widget_archive li,
.scdev-sidebar .widget_categories li,
.scdev-sidebar .widget_meta li {
    --scdev-menu-accent: #5aa7e8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 1),
.scdev-sidebar .widget_pages li:nth-child(4n + 1),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 1),
.scdev-sidebar .widget_archive li:nth-child(4n + 1),
.scdev-sidebar .widget_categories li:nth-child(4n + 1),
.scdev-sidebar .widget_meta li:nth-child(4n + 1) {
    --scdev-menu-accent: #5aa7e8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 2),
.scdev-sidebar .widget_pages li:nth-child(4n + 2),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 2),
.scdev-sidebar .widget_archive li:nth-child(4n + 2),
.scdev-sidebar .widget_categories li:nth-child(4n + 2),
.scdev-sidebar .widget_meta li:nth-child(4n + 2) {
    --scdev-menu-accent: #ef7aa8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 3),
.scdev-sidebar .widget_pages li:nth-child(4n + 3),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 3),
.scdev-sidebar .widget_archive li:nth-child(4n + 3),
.scdev-sidebar .widget_categories li:nth-child(4n + 3),
.scdev-sidebar .widget_meta li:nth-child(4n + 3) {
    --scdev-menu-accent: #7ccf8a;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 4),
.scdev-sidebar .widget_pages li:nth-child(4n + 4),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 4),
.scdev-sidebar .widget_archive li:nth-child(4n + 4),
.scdev-sidebar .widget_categories li:nth-child(4n + 4),
.scdev-sidebar .widget_meta li:nth-child(4n + 4) {
    --scdev-menu-accent: #c296ff;
}

.scdev-sidebar .widget_nav_menu a,
.scdev-sidebar .widget_pages a,
.scdev-sidebar .widget_recent_entries a,
.scdev-sidebar .widget_archive a,
.scdev-sidebar .widget_categories a,
.scdev-sidebar .widget_meta a {
    display: block;
    padding: 6px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 244, 249, 0.94) 100%);
    color: #3a3f47;
    text-decoration: none;
    border: 1px solid var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),
        0 6px 14px rgba(25, 32, 46, 0.08);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.scdev-sidebar .widget_nav_menu a:hover,
.scdev-sidebar .widget_pages a:hover,
.scdev-sidebar .widget_recent_entries a:hover,
.scdev-sidebar .widget_archive a:hover,
.scdev-sidebar .widget_categories a:hover,
.scdev-sidebar .widget_meta a:hover {
    color: #1f2937;
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 10px 18px rgba(25, 32, 46, 0.12);
    transform: translateY(-1px);
}

.scdev-sidebar .widget_nav_menu .current-menu-item > a,
.scdev-sidebar .widget_nav_menu .current_page_item > a,
.scdev-sidebar .widget_pages .current_page_item > a {
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45),
        0 10px 18px rgba(25, 32, 46, 0.12);
}

.scdev-sidebar-placeholder {
    margin: 0;
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

/* Overlay */
.scdev-sidebars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 9984;
    transition: background 0.3s ease;
}

.scdev-sidebars-overlay.is-visible {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.scdev-sidebar .menu-item-has-children.scdev-submenu-open > .scdev-sidebar-submenu-toggle .scdev-sidebar-submenu-toggle-icon,
.scdev-sidebar .page_item_has_children.scdev-submenu-open > .scdev-sidebar-submenu-toggle .scdev-sidebar-submenu-toggle-icon {
    transform: rotate(180deg);
}

.scdev-sidebar .widget_nav_menu li,
.scdev-sidebar .widget_pages li,
.scdev-sidebar .widget_recent_entries li,
.scdev-sidebar .widget_archive li,
.scdev-sidebar .widget_categories li,
.scdev-sidebar .widget_meta li {
    --scdev-menu-accent: #5aa7e8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 1),
.scdev-sidebar .widget_pages li:nth-child(4n + 1),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 1),
.scdev-sidebar .widget_archive li:nth-child(4n + 1),
.scdev-sidebar .widget_categories li:nth-child(4n + 1),
.scdev-sidebar .widget_meta li:nth-child(4n + 1) {
    --scdev-menu-accent: #5aa7e8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 2),
.scdev-sidebar .widget_pages li:nth-child(4n + 2),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 2),
.scdev-sidebar .widget_archive li:nth-child(4n + 2),
.scdev-sidebar .widget_categories li:nth-child(4n + 2),
.scdev-sidebar .widget_meta li:nth-child(4n + 2) {
    --scdev-menu-accent: #ef7aa8;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 3),
.scdev-sidebar .widget_pages li:nth-child(4n + 3),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 3),
.scdev-sidebar .widget_archive li:nth-child(4n + 3),
.scdev-sidebar .widget_categories li:nth-child(4n + 3),
.scdev-sidebar .widget_meta li:nth-child(4n + 3) {
    --scdev-menu-accent: #7ccf8a;
}

.scdev-sidebar .widget_nav_menu li:nth-child(4n + 4),
.scdev-sidebar .widget_pages li:nth-child(4n + 4),
.scdev-sidebar .widget_recent_entries li:nth-child(4n + 4),
.scdev-sidebar .widget_archive li:nth-child(4n + 4),
.scdev-sidebar .widget_categories li:nth-child(4n + 4),
.scdev-sidebar .widget_meta li:nth-child(4n + 4) {
    --scdev-menu-accent: #c296ff;
}

.scdev-sidebar .widget_nav_menu a,
.scdev-sidebar .widget_pages a,
.scdev-sidebar .widget_recent_entries a,
.scdev-sidebar .widget_archive a,
.scdev-sidebar .widget_categories a,
.scdev-sidebar .widget_meta a {
    display: block;
    padding: 6px 12px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(241, 244, 249, 0.94) 100%);
    color: #3a3f47;
    text-decoration: none;
    border: 1px solid var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),
        0 6px 14px rgba(25, 32, 46, 0.08);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.scdev-sidebar .widget_nav_menu a:hover,
.scdev-sidebar .widget_pages a:hover,
.scdev-sidebar .widget_recent_entries a:hover,
.scdev-sidebar .widget_archive a:hover,
.scdev-sidebar .widget_categories a:hover,
.scdev-sidebar .widget_meta a:hover {
    color: #1f2937;
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 -1px 0 rgba(0, 0, 0, 0.05),
        0 10px 18px rgba(25, 32, 46, 0.12);
    transform: translateY(-1px);
}

.scdev-sidebar .widget_nav_menu .current-menu-item > a,
.scdev-sidebar .widget_nav_menu .current_page_item > a,
.scdev-sidebar .widget_pages .current_page_item > a {
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        inset 0 0 0 1px rgba(255, 255, 255, 0.45),
        0 10px 18px rgba(25, 32, 46, 0.12);
}

.scdev-sidebar-placeholder {
    margin: 0;
    padding: 20px;
    text-align: center;
    color: rgba(0, 0, 0, 0.4);
    font-size: 14px;
}

/* Overlay */
.scdev-sidebars-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 9984;
    transition: background 0.3s ease;
}

.scdev-sidebars-overlay.is-visible {
    background: rgba(0, 0, 0, 0.5);
    pointer-events: auto;
}

.scdev-sidebars-overlay.allow-interaction {
    pointer-events: none !important;
}

/* Toggle Buttons */
.scdev-sidebar-toggles {
    position: fixed !important;
    z-index: 99999 !important;
    pointer-events: none !important; /* Let clicks pass through to underneath, buttons will have pointer-events: auto */
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.scdev-sidebar-toggle.scdev-sidebar-toggle-left {
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    border-radius: 0 8px 8px 0 !important;
    pointer-events: auto !important;
}

.scdev-sidebar-toggle.scdev-sidebar-toggle-right {
    position: fixed !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    border-radius: 8px 0 0 8px !important;
    pointer-events: auto !important;
}

.scdev-sidebar-toggle {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.7) !important;
    color: #fff !important;
    border: none !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}

.scdev-sidebar-toggle:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.scdev-sidebar-toggle:active {
    transform: scale(0.95);
}

.scdev-toggle-icon {
    display: block;
    line-height: 1;
}

/* Tab Handle Styles */
.scdev-handle-tab {
    width: auto !important;
    height: auto !important;
    padding: 15px 8px !important;
    border-radius: 0 !important;
    writing-mode: vertical-rl !important;
    text-orientation: upright !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}



/* Hide tab when sidebar is open */
.scdev-sidebars-container:has(#scdev-sidebar-left-panel.is-open) + .scdev-sidebar-toggles .scdev-sidebar-toggle-left.scdev-handle-tab {
    opacity: 0 !important;
    pointer-events: none !important;
}

.scdev-sidebars-container:has(#scdev-sidebar-right-panel.is-open) + .scdev-sidebar-toggles .scdev-sidebar-toggle-right.scdev-handle-tab {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Dark Mode Support */
body.dark-mode .scdev-sidebar {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode .scdev-sidebar-close {
    color: #e0e0e0;
}

body.dark-mode .scdev-sidebar-widget-title {
    color: #e0e0e0;
}

body.dark-mode .scdev-sidebar .widget_nav_menu a,
body.dark-mode .scdev-sidebar .widget_pages a,
body.dark-mode .scdev-sidebar .widget_recent_entries a,
body.dark-mode .scdev-sidebar .widget_archive a,
body.dark-mode .scdev-sidebar .widget_categories a,
body.dark-mode .scdev-sidebar .widget_meta a {
    background: linear-gradient(180deg, rgba(38, 44, 62, 0.98) 0%, rgba(24, 29, 43, 0.94) 100%);
    color: #edf1f7;
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 8px 18px rgba(0, 0, 0, 0.22);
}

body.dark-mode .scdev-sidebar .widget_nav_menu .menu-item-has-children > .scdev-sidebar-submenu-toggle,
body.dark-mode .scdev-sidebar .widget_pages .page_item_has_children > .scdev-sidebar-submenu-toggle {
    background: rgba(24, 29, 43, 0.92);
    color: #edf1f7;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

body.dark-mode .scdev-sidebar .widget_nav_menu .menu-item-has-children > .scdev-sidebar-submenu-toggle:hover,
body.dark-mode .scdev-sidebar .widget_pages .page_item_has_children > .scdev-sidebar-submenu-toggle:hover {
    background: rgba(33, 39, 56, 0.98);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 6px 14px rgba(0, 0, 0, 0.28);
}

body.dark-mode .scdev-sidebar .widget_nav_menu a:hover,
body.dark-mode .scdev-sidebar .widget_pages a:hover,
body.dark-mode .scdev-sidebar .widget_recent_entries a:hover,
body.dark-mode .scdev-sidebar .widget_archive a:hover,
body.dark-mode .scdev-sidebar .widget_categories a:hover,
body.dark-mode .scdev-sidebar .widget_meta a:hover {
    color: #ffffff;
    border-color: var(--scdev-menu-accent);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.26),
        0 12px 22px rgba(0, 0, 0, 0.3);
}

body.dark-mode .scdev-sidebar-placeholder {
    color: rgba(224, 224, 224, 0.4);
}

body.dark-mode .scdev-sidebar-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .scdev-sidebar-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

body.dark-mode .scdev-sidebar-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

body.dark-mode .scdev-sidebar-content {
    scrollbar-color: rgba(255, 255, 255, 0.2) rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .scdev-sidebar-toggle {
        width: 32px !important;
        height: 32px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 480px) {
    .scdev-sidebar-toggle {
        width: 28px !important;
        height: 28px !important;
        font-size: 11px !important;
    }
}
