/* --- Layout --- */
.app-container {
    display: flex;
    flex: 1;
    width: 100%;
    overflow: hidden;
}

.sidebar {
    width: 260px;
    background: var(--surface);
    border-right: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    padding: 24px;
    z-index: 10;
    transition: var(--transition);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-cyan) transparent;
}

.sidebar::-webkit-scrollbar {
    width: 4px;
}

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

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 242, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.sidebar:hover::-webkit-scrollbar-thumb {
    background: var(--accent-cyan);
    box-shadow: 0 0 10px var(--glow-cyan);
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
    background: radial-gradient(circle at top right, rgba(112, 0, 255, 0.05), transparent 40%);
}

.logo-container {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-glass);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-container img {
    height: 40px;
    filter: drop-shadow(0 0 10px var(--accent-cyan));
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    margin-bottom: 8px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
}

.nav-item.active {
    background: rgba(0, 242, 255, 0.1);
    color: white;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 15px var(--glow-cyan);
}

/* --- Content Views --- */
.content-view {
    display: none;
    flex: 1;
    width: 100%;
    flex-direction: column;
    animation: fadeIn 0.3s ease-out;
}

.content-view.active {
    display: flex !important;
}
