/* styles.css - Tailwind Polish & Specialty Component Overrides */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');

:root {
    --brand-blue: #0b57d0;
    --brand-hover: #0842a0;

    /* Light Theme (Default) */
    --app-bg: #f0f4f9;
    --app-bg2: #f0f4f9bd;
    --panel-bg: #ffffff;
    --panel-bg-glass: rgba(255, 255, 255, 0.65);
    --sidebar-bg: transparent;
    --text-deep: #1f1f1f;
    --text-muted: #444746;
    --border-color: #f1f5f9;
    --active-blue: #d3e3fd;
    --strip-bg: #f8fafca8;
    --shadow-premium: 0 1px 3px rgba(11, 87, 208, 0.05), 0 1px 2px rgba(11, 87, 208, 0.1);
    --app-bg-gradient: radial-gradient(circle at 50% 50%, rgba(224, 231, 255, 0.5) 0%, rgba(240, 244, 249, 1) 100%);
    --loop-purple: #7c3aed;
    --loop-purple-light: #a78bfa;
}

[data-theme='dark'] {
    --app-bg: #131314;
    --app-bg2: #131314bd;
    --panel-bg: #1e1f20;
    --panel-bg-glass: rgba(30, 31, 32, 0.888);
    --sidebar-bg: transparent;
    --text-deep: #e3e3e3;
    --text-muted: #b1b1b1;
    --border-color: #333537;
    --active-blue: #394457;
    --strip-bg: #1d1e1fbd;
    --shadow-premium: 0 4px 12px rgba(0, 0, 0, 0.2);
    --app-bg-gradient: radial-gradient(circle at 10% 20%, hsla(215, 100%, 58%, 0.158) 0%, hsla(215, 100%, 50%, 0.1) 40%, transparent 60%),
        radial-gradient(circle at 85% 30%, hsla(165, 100%, 45%, 0.35) 0%, hsla(165, 100%, 45%, 0.1) 40%, transparent 60%),
        radial-gradient(circle at 45% 85%, hsla(215, 100%, 63%, 0.25) 0%, hsla(215, 100%, 50%, 0.08) 30%, transparent 50%),
        radial-gradient(circle at 20% 75%, hsla(165, 100%, 45%, 0.25) 0%, hsla(165, 100%, 45%, 0.08) 30%, transparent 50%),
        radial-gradient(circle at 75% 85%, hsla(215, 100%, 50%, 0.2) 0%, hsla(215, 100%, 50%, 0.05) 30%, transparent 50%);
}

body {
    background-color: var(--app-bg);
    background-image: var(--app-bg-gradient);
    background-attachment: fixed;
    color: var(--text-deep);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hidden {
    display: none !important;
}

.mobile {
    display: none;
}

.bg-white,
.bg-panel-bg {
    background-color: var(--panel-bg) !important;
}

.bg-app-bg {
    background-color: var(--app-bg) !important;
}

.text-slate-deep {
    color: var(--text-deep) !important;
}

.text-slate-muted {
    color: var(--text-muted) !important;
}

.border-gray-100,
.border-gray-50,
.border-gray-200 {
    border-color: var(--border-color) !important;
}

.glass-panel {
    background-color: var(--panel-bg-glass) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.gradient-text-ai {
    background: linear-gradient(135deg, #002fff 0%, #00ffaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
}

/* Scrollbar Styling - Modern & Subtle */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

#chat-input {
    background-color: var(--panel-bg);
    border: 3px solid rgb(11 87 208);
    border-radius: 30px;
    outline: none;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(100, 116, 139, 0.2);
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 116, 139, 0.4);
}

#tabs-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
}

/* Monaco Editor Overrides - Themed */
[data-theme='dark'] .monaco-editor,
[data-theme='dark'] .monaco-editor .margin,
[data-theme='dark'] .monaco-editor-background {
    background-color: #1e1f20 !important;
}

/* Quill.js Rich Text Adjustments */
.ql-editor {
    font-family: 'Inter', sans-serif;
    color: var(--text-deep);
    line-height: 1.6;
}

.ql-toolbar {
    border: none !important;
    border-bottom: 1px solid var(--border-color) !important;
    background-color: var(--panel-bg);
}

.ql-snow.ql-toolbar button:hover,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-item:hover {
    color: var(--brand-blue) !important;
}

[data-theme='dark'] .ql-snow.ql-toolbar button .ql-stroke,
[data-theme='dark'] .ql-snow.ql-toolbar button .ql-fill,
[data-theme='dark'] .ql-snow.ql-toolbar .ql-picker-label {
    stroke: var(--text-deep) !important;
    color: var(--text-deep) !important;
}

[data-theme='dark'] .ql-snow .ql-picker-options {
    background-color: var(--panel-bg) !important;
    border-color: var(--border-color) !important;
}

.ql-snow .ql-picker.ql-size {
    width: 60px !important;
}

.ql-container {
    border: none !important;
    background-color: var(--panel-bg);
}

/* Custom Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.3s ease-out forwards;
}

/* Loop Landing Styles */
.loop-hero {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    z-index: 10;
}

.loop-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    color: #1a1a1a;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.loop-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

.floating-card {
    position: absolute;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.03);
    animation: float 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 5;
}

.floating-card.card-1 { top: 10%; left: 5%; animation-delay: 0s; }
.floating-card.card-2 { top: 15%; right: 5%; animation-delay: 1s; }
.floating-card.card-3 { bottom: 20%; left: 10%; animation-delay: 2s; }
.floating-card.card-4 { bottom: 15%; right: 10%; animation-delay: 3s; }
.floating-card.card-5 { top: 50%; left: -5%; animation-delay: 1.5s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.btn-loop-primary {
    background: var(--loop-purple);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
}

.btn-loop-primary:hover {
    background: var(--loop-purple-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
}

.btn-loop-outline {
    border: 2px solid var(--loop-purple);
    color: var(--loop-purple);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-loop-outline:hover {
    background: rgba(124, 58, 237, 0.05);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

.brand-badge span {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1.1rem;
}

/* Right Strip & Vertical Navigation */
#right-strip {
    width: 64px;
    height: calc(100vh - 16px);
    background-color: var(--strip-bg);
    border-radius: 24px;
    margin-right: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    gap: 12px;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s ease;
    z-index: 40;
}

#mobile-tab-bar {
    display: none;
}

#tabs-container {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-right: 16px;
}

#tabs-container::-webkit-scrollbar {
    display: none;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    #app {
        padding: 0;
        gap: 0;
    }

    .mobile {
        display: inline-block;
    }

    #sidebar-toggle-btn {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 12px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    #tabs-container,
    #theme-toggle,
    #file-actions-toolbar,
    header .w-px,
    #run-js-btn {
        display: none !important;
    }

    #mobile-tab-bar:not(.hidden) {
        display: flex !important;
    }

    #sidebar-toolbar {
        display: flex !important;
    }

    #left-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 100;
        background: var(--panel-bg);
        transform: translateX(-100%);
        width: 85%;
        max-width: 320px;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.1);
    }

    #left-sidebar.mobile-open {
        transform: translateX(0);
    }

    #sidebar-close-btn {
        display: flex !important;
    }

    #right-strip {
        position: fixed;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        width: auto;
        height: auto;
        flex-direction: row;
        padding: 8px 24px;
        border-radius: 40px;
        margin: 0;
        background: var(--panel-bg);
        border: 1px solid var(--border-color);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

    .main-area {
        border-radius: 0;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 90;
        display: none;
        transition: opacity 0.3s ease;
    }

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

    /* Mobile Full-Screen Tabs Control */
    #right-panel:not(.hidden) {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background: var(--panel-bg) !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Shrink/Hide everything else when tab is open on mobile */
    #right-panel:not(.hidden)~#main-content-area,
    #right-panel:not(.hidden)~#left-sidebar,
    #right-panel:not(.hidden)~#right-strip,
    #right-panel:not(.hidden)~.sidebar-overlay {
        display: none !important;
    }

    #tabs-container::-webkit-scrollbar {
        display: none;
    }
}

.landing-project-card {
    background: rgba(7, 7, 7, 0.4);
    backdrop-filter: blur(20px);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(20px);
     margin: 20px;
    margin-top: 20px;
    border: 3px solid rgba(58, 133, 255, 0.582);
   
}

.landing-project-card:hover {
    background: rgba(255, 255, 255, 0.6);
    
    border: 3px solid #3a7ef2;
}

#empty-project-state {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.03) 0%, transparent 70%);
}

#empty-project-state i {
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.folder-icon-yellow {
    color: #f59e0b !important;
    /* Amber-500 for better visibility in both modes */
}
.landing-project-card:hover .folder-icon-yellow{
    color: #ffffff !important;
}
.landing-project-card .folder-icon-yellow{
    color: #002fff;
}

.share-btn {
    padding: 6px;
    border-radius: 8px;
    color: #94a3b8;
    transition: all 0.2s;
}

.share-btn:hover {
    background-color: #ffffff;
    color: #0b57d0;
}

/* Sidebar Navigation - Unified Design */
.nav-item,
div.nav-item,
#project-list .nav-item,
#file-tree .nav-item {
    display: grid !important;
    grid-template-columns: 32px 1fr auto !important;
    align-items: center !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    font-size: 13.5px !important;
    color: var(--text-muted) !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
    margin-bottom: 2px !important;
    position: relative !important;
    border-left: 3px solid transparent !important;
    width: calc(100% - 10px) !important;
    margin-left: 5px !important;
}

.nav-item:hover {
    background-color: var(--active-blue) !important;
    color: var(--brand-blue) !important;
}

.nav-item.active {
    background-color: var(--active-blue) !important;
    color: var(--brand-blue) !important;
    font-weight: 600 !important;
    border-left-color: var(--brand-blue) !important;
}

.nav-item .icon-wrapper {
    width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
}

.nav-item [data-lucide] {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 2px !important;
    display: block !important;
}

.nav-item .actions {
    display: none !important;
    align-items: center !important;
    gap: 4px !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

.nav-item:hover .actions {
    display: flex !important;
}


.folder-children {
    position: relative;
    transition: all 0.3s ease;
}

.folder-children::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--border-color);
    opacity: 0.4;
}

.chevron-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.2s;
}

.chevron-icon.open {
    transform: rotate(90deg);
}

/* Tab Styling */
.tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    color: var(--text-muted);
}

.tab.active {
    background: var(--active-blue);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.tab-close {
    width: 14px;
    height: 14px;
    padding: 2px;
    border-radius: 4px;
    transition: background 0.2s;
}

.tab-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

/* Agent Mode Mode Switch Smoothness */
.mode-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

/* Monaco Customization */
.editor-container {
    position: relative;
    flex: 1;
}

#monaco-editor {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Markdown Rendering in Chat */
.chat-msg .text-slate-deep p {
    margin-bottom: 0.75rem;
}

.chat-msg .text-slate-deep p:last-child {
    margin-bottom: 0;
}

.chat-msg code {
    background: rgba(0, 0, 0, 0.4);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Fira Code', monospace;
    font-size: 0.85em;
}

.chat-msg pre {
    background: #1e293b;
    color: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    margin: 1rem 0;
    overflow-x: auto;
    font-family: 'Fira Code', monospace;
}

/* Chat Message Bubbles */
.msg-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    background-color: var(--panel-bg);
    color: var(--text-deep);
    font-size: 14px;
    line-height: 1.5;
    max-width: 90%;
    word-wrap: break-word;
    box-shadow: var(--shadow-premium);
    margin-bottom: 8px;
}

.user-message {
    background-color: var(--brand-blue) !important;
    color: white !important;
    border-radius: 20px 20px 4px 20px !important;
    margin-left: auto;
}

.msg-bubble p {
    margin-bottom: 0.5rem;
}

.msg-bubble p:last-child {
    margin-bottom: 0;
}

/* Tab Active Indicator Transition */
.active-indicator {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* List Item Reset & Task Styling */
#notes-list,
#todos-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.note-item,
.todo-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
    cursor: pointer;
    margin-bottom: 0.5rem;
}

.note-item:hover,
.todo-item:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.todo-item.completed span {
    text-decoration: line-through;
    color: #94a3b8;
}

.todo-item .delete-btn {
    opacity: 0;
    transition: opacity 0.2s;
    color: #ef4444;
    padding: 0.25rem;
}

.todo-item:hover .delete-btn {
    opacity: 1;
}

/* Right Strip Navigation */
#right-strip {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid #f1f5f9;
}

.strip-item {
    color: #64748b;
    position: relative;
    z-index: 10;
}

.strip-item:hover {
    color: var(--brand-blue);
    background-color: #ffffff;
}

.strip-item.active {
    color: var(--brand-blue);
    background-color: #ffffff;
    box-shadow: 0 4px 12px rgba(11, 87, 208, 0.08);
}

.strip-item.active::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background-color: var(--brand-blue);
    border-radius: 4px 0 0 4px;
}

/* Right Panel Fullscreen Logic */
#right-panel.panel-fullscreen {
    position: fixed;
    top: 8px;
    right: 64px;
    /* Space for the right strip */
    bottom: 8px;
    left: 264px;
    /* Default sidebar width + padding */
    width: auto !important;
    z-index: 50;
    border-radius: 24px;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border: 1px solid #f1f5f9;
}

/* When sidebar is collapsed */
#left-sidebar.collapsed~#right-panel.panel-fullscreen {
    left: 80px;
    /* Collapsed sidebar width */
}

/* Ensure editor is hidden but main container might stay for background if needed */
#app.has-fullscreen-panel #monaco-editor {
    visibility: hidden;
}

/* Adjust strip border when panel is open */
#right-panel:not(.hidden)+#right-strip {
    border-left: none;
}

/* Panel Transition Polish */
.panel-content {
    transition: opacity 0.2s ease-in-out;
}

#right-panel.hidden {
    width: 0;
    opacity: 0;
    overflow: hidden;
    border-left: none;
}

#mobile-tabs-container {
    padding: 8px 0;
}

#mobile-tabs-container .tab {
    white-space: nowrap;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.03);
    font-size: 13px;
    font-weight: 500;
}

#mobile-tabs-container .tab.active {
    background: var(--brand-blue);
    color: white;
}

#sidebar-toolbar .nav-item {
    padding: 10px 16px;
}

#sidebar-toolbar button i {
    width: 18px;
    height: 18px;
}

/* JS Console Terminal Styling */
#js-console {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

#js-console.console-maximized {
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
}

#console-output div {
    animation: consoleSlideIn 0.2s ease-out forwards;
}

@keyframes consoleSlideIn {
    from {
        opacity: 0;
        transform: translateX(-4px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

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

/* Elite Terminal Styling */
#terminal-prompt-bar {
    position: relative;
    z-index: 10;
}

#terminal-prompt-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

#terminal-input::placeholder {
    color: #334155;
    font-style: italic;
    opacity: 0.5;
}

#terminal-input:focus::placeholder {
    opacity: 0.3;
}

.terminal-entry {
    background: rgba(16, 185, 129, 0.05);
    border-left: 2px solid #10b981;
    margin-bottom: 4px;
    transition: all 0.2s ease;
}

.terminal-entry:hover {
    background: rgba(16, 185, 129, 0.1);
}

/* Run Button Pulse */
@keyframes runPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

#run-js-btn:not(.hidden),
#run-code-mobile:not(.hidden) {
    animation: runPulse 2s infinite;
}

#run-code-mobile {
    display: none;
}

@media (max-width: 768px) {
    #run-code-mobile:not(.hidden) {
        display: inline-flex !important;
    }

    #js-console:not(.hidden) {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50vh !important;
        z-index: 2000;
        border-radius: 20px 20px 0 0;
        margin: 0 !important;
        box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.3);
    }

    /* Adjust console header for mobile */
    #js-console .flex.items-center.justify-between {
        padding: 12px 16px;
    }
}

/* Dark mode adjustments for new mobile elements */
[data-theme="dark"] #mobile-tab-bar {
    background: rgba(15, 23, 42, 0.5);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] #sidebar-toolbar {
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] #sidebar-toolbar button {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}