:root { 
    --bg-dark: #121212; 
    --sidebar-bg: #1e1e1e; 
    --text-main: #e0e0e0; 
    --text-muted: #888;
    --accent: #3794ff; 
    --border: #333;
}
body { background-color: var(--bg-dark); color: var(--text-main); font-family: 'Segoe UI', sans-serif; overflow: hidden; margin: 0; }

.wrapper { display: flex; width: 100%; height: 100vh; transition: all 0.3s ease; }

/* Sidebar */
#sidebar {
    min-width: 300px; max-width: 300px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    transition: margin 0.3s ease;
    display: flex; flex-direction: column;
    z-index: 100;
}
#sidebar.active { margin-left: -300px; }

/* Content */
#content { width: 100%; display: flex; flex-direction: column; background-color: #000; position: relative; }
#terminal { flex-grow: 1; padding: 10px; width: 100%; height: 100%; }

/* Buttons & Inputs */
#sidebarCollapse { position: absolute; top: 10px; left: 10px; z-index: 999; background: rgba(255,255,255,0.1); color: #fff; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; }
#sidebarCollapse:hover { background: var(--accent); }
.form-control-dark { background-color: #2d2d2d; border: 1px solid #444; color: #fff; font-size: 0.9rem; }
.form-control-dark:focus { background-color: #333; color: #fff; border-color: var(--accent); box-shadow: none; }

/* Snippets & Vault Items */
.snippet-item, .vault-item { padding: 8px 12px; border-bottom: 1px solid #2a2a2a; cursor: pointer; transition: background 0.2s; }
.snippet-item:hover, .vault-item:hover { background-color: #2d2d2d; border-left: 3px solid var(--accent); }
.snippet-title { font-weight: 600; font-size: 0.9rem; color: #ddd; }
.snippet-desc, .vault-host { font-size: 0.75rem; color: var(--text-muted); }
.badge-count { font-size: 0.7rem; background: #333; padding: 2px 6px; border-radius: 4px; float: right; }
.delete-btn { float: right; color: #ff4444; font-size: 0.8rem; text-decoration: none; margin-left: 5px; z-index: 10; position: relative; }

/* Accordion */
.accordion-button { background-color: #252526 !important; color: #ccc !important; font-size: 0.9rem; padding: 10px; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--accent) !important; background-color: #2d2d2d !important; }
.accordion-body { padding: 0; background-color: var(--sidebar-bg); }
.accordion-item { border: none; background: transparent; }

/* Login Page Specific */
.login-container { height: 100vh; display: flex; align-items: center; justify-content: center; background: #0f0f0f; }
.login-box { width: 100%; max-width: 400px; padding: 40px; background: #1e1e1e; border-radius: 10px; box-shadow: 0 0 20px rgba(0,0,0,0.5); }