.topbar {
    background: rgba(8, 9, 16, 0.88);
    border-bottom: 1px solid var(--border);
    padding: 0 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    position: relative;
}

.topbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(212, 82, 26, 0.35) 30%, rgba(201, 148, 58, 0.4) 50%, rgba(74, 173, 168, 0.25) 75%, transparent 95%);
}

/**********************************************
 *
 * Breadcrumbs
 *
 ***********************************************/

.topbar .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--primary-font-size);
    color: var(--mist-dim);
    font-style: italic;
}

.topbar .breadcrumbs .separator {
    color: var(--gold);
    opacity: 0.35;
    font-style: normal;
    font-size: 10px;
}

.topbar .breadcrumbs .current {
    color: var(--mist);
}

.topbar .breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.topbar .breadcrumbs a:hover {
    color: var(--gold);
}

/**********************************************
 *
 * Right panel styles, authenticated user
 *
 ***********************************************/

.topbar .right-panel li {
    list-style-type: none;
}

.topbar .right-panel {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: var(--z-index-topbar);
}

.topbar .right-panel .icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--mist);
    transition: all 0.2s;
    position: relative;
}

.topbar .right-panel .icon-btn:hover {
    border-color: var(--border-hover);
    color: var(--cream);
    background: rgba(201, 148, 58, 0.07);
}

.topbar .right-panel .icon-btn.report:hover {
    border-color: rgba(74, 173, 168, 0.38) !important;
    color: var(--teal) !important;
    background: rgba(74, 173, 168, 0.07) !important;
    box-shadow: 0 0 10px rgba(74, 173, 168, 0.1);
}

.topbar .right-panel .icon-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar .right-panel .icon-btn svg, .topbar .right-panel .icon-btn img {
    width: 15px;
    height: 15px;
}

.topbar .right-panel .unread-icon {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--ember);
    box-shadow: 0 0 5px var(--ember);
    animation: pulse-dot 2.4s ease-in-out infinite;
}

/**********************************************
 *
 * Drop-downs
 *
 ***********************************************/

.topbar .right-panel .on-click-menu {
    cursor: pointer;
}

.topbar .right-panel .flyout {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    width: 200px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(201, 148, 58, 0.06);
}

.topbar .right-panel .on-click-menu.open .flyout {
    display: inline-block;
}

.topbar .right-panel .flyout::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(212, 82, 26, 0.4) 25%, rgba(201, 148, 58, 0.5) 50%, rgba(74, 173, 168, 0.3) 75%, transparent 95%);
}

.topbar .right-panel .flyout::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-top: 1px solid rgba(201, 148, 58, 0.4);
    border-right: 1px solid rgba(201, 148, 58, 0.4);
    pointer-events: none;
    z-index: 3;
}

.topbar .right-panel .flyout-header {
    padding: 11px 16px 9px;
    border-bottom: 1px solid var(--nav-border);
    background: var(--nav-white-tint);
}

.topbar .right-panel .flyout-title {
    font-family: var(--headers-font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--nav-text-label);
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar .right-panel .flyout-title::before {
    content: '✦';
    font-size: 7px;
    color: var(--nav-accent);
}

.topbar .right-panel .flyout-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    font-size: var(--primary-font-size);
    color: var(--nav-text);
    cursor: pointer;
    transition: all 0.18s;
    position: relative;
}

.topbar .right-panel .flyout-item:hover {
    color: var(--nav-text-hover);
    background: var(--nav-item-hover) !important;
}

.topbar .right-panel a {
    text-decoration: none;
    color: inherit;
}

.topbar .right-panel .flyout form {
    padding: 0;
    margin: 0;
}

.topbar .right-panel .flyout button {
    width: 100%;
    background: inherit;
    border: none;
}

.topbar .right-panel .auth-divider {
    width: 1px;
    height: 18px;
    background: var(--border);
}