:root {
    --sidebar-width: 280px;
    --sidebar-bg: rgba(10, 10, 15, 0.9);
    --accent-color: #00d4ff;
    --text-primary: #ffffff;
    --text-muted: #888899;
    --hover-bg: rgba(255, 255, 255, 0.05);
    --active-bg: rgba(0, 212, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #050505;
    color: var(--text-primary);
    overflow: hidden;
    height: 100vh;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Sidebar Styling */
.sidebar {
    width: var(--sidebar-width);
    height: 100%;
    background: var(--sidebar-bg);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.portal-title {
    font-size: 1.2rem;
    letter-spacing: 0.2rem;
    font-weight: 600;
}

.portal-title span {
    color: var(--accent-color);
    margin-left: 0.5rem;
    font-weight: 300;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.sidebar-nav ul {
    list-style: none;
}

.nav-item {
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: var(--hover-bg);
    padding-left: 1.75rem;
}

.nav-item.active {
    background: var(--active-bg);
    border-left-color: var(--accent-color);
    color: var(--accent-color);
}

.nav-item .icon {
    font-size: 1.2rem;
    margin-right: 1rem;
    opacity: 0.8;
}

.nav-item .label {
    font-weight: 400;
    font-size: 0.95rem;
}

.sidebar-footer {
    padding: 1.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

/* Content Area Styling */
.content-area {
    flex: 1;
    height: 100%;
    position: relative;
    background: #000;
}

#content-viewer {
    width: 100%;
    height: 100%;
    border: none;
    transition: opacity 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 4px;
}

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

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

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