body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f4f4;
}

/* ====== TOP BAR ====== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: black;
    color: white;
    padding: 12px 15px;
}

.topbar .left {
    display: flex;
    align-items: center;
}

.menu-icon {
    font-size: 22px;
    margin-right: 12px;
    cursor: pointer;
}

.logo {
    font-size: 20px;
    font-weight: bold;
}

.topbar .right button {
    background: white;
    color: black;
    margin-left: 10px;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    border-radius: 3px;
}

/* ====== CHANNELS MENU ====== */
#channelMenu {
    background: white;
    width: 85%;
    margin: 10px auto;
    border: 1px solid #cccccc;
    padding: 15px;
    display: none;
}

#channelMenu a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: black;
}

.hidden {
    display: none;
}

/* ====== DASHBOARD BAR (UPDATED) ====== */
.dashboard {
    display: flex;
    overflow-x: auto;      /* ENABLE horizontal scroll */
    white-space: nowrap;   /* PREVENT line break */
    background: white;
    padding: 10px 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    scrollbar-width: thin; /* for Firefox */
}

.dashboard a {
    flex: 0 0 auto;        /* prevents compressing / overlapping */
    padding: 0 15px;       /* spacing between items */
    text-decoration: none;
    color: black;
    font-weight: bold;
}

.dashboard::-webkit-scrollbar {
    height: 6px;
}

.dashboard::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 20px;
}

.dashboard a.active {
    text-decoration: underline;
}

/* ====== MAIN CONTENT AREA ====== */
.content {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.box {
    background: white;
    width: 80%;
    padding: 25px;
    border: 1px solid #ccc;
    text-align: center;
}