* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #0f0f0f;
    color: #f1f1f1;
    font-family: "Roboto", "Arial", sans-serif;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

/* Navbar oben fixiert */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #0f0f0f;
    padding: 0 16px;
    height: 56px;
    z-index: 10;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-icon {
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
}
.menu-icon:hover { background-color: #272727; }

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -0.5px;
}
.logo-red { color: #ff0000; }

/* Suchleiste */
.nav-center {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-box {
    display: flex;
    border: 1px solid #303030;
    border-radius: 40px;
    overflow: hidden;
    background-color: #121212;
}

.search-box input {
    flex-grow: 1;
    background: none;
    border: none;
    padding: 0 16px;
    color: white;
    font-size: 16px;
    outline: none;
    height: 40px;
}

.search-box button {
    background-color: #222222;
    border: none;
    border-left: 1px solid #303030;
    width: 64px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.search-box button:hover { background-color: #272727; }

/* Inhalts-Layout unter dem Header */
.container {
    display: flex;
    flex-grow: 1;
    height: calc(100vh - 56px);
    overflow: hidden;
}

.sidebar {
    width: 240px;
    background-color: #0f0f0f;
    padding: 12px;
    overflow-y: auto;
    flex-shrink: 0;
}

.menu-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item, .sub-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #f1f1f1;
    padding: 0 12px;
    height: 40px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    background: none;
    border: none;
    text-align: left;
    width: 100%;
}

.menu-item:hover, .sub-item:hover { background-color: #272727; }
.menu-item.active { background-color: #272727; font-weight: 500; }
.menu-item .material-symbols-outlined { margin-right: 24px; font-size: 24px; }

.section-header {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    font-size: 16px;
    font-weight: 500;
}

.separator {
    border: none;
    border-top: 1px solid #3f3f3f;
    margin: 12px 0;
}

.avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 24px;
}

.sub-name {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content {
    flex-grow: 1;
    padding: 24px;
    overflow-y: auto;
}
