/* ===== Top navbar ===== */
.pv-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 16px 24px;
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(6px);
    font-family: "Consolas", "Courier New", monospace;
}

.pv-navbar-item {
    position: relative;
}

.pv-menu-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(20, 20, 20, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #d0d0d0;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.pv-menu-trigger:hover,
.pv-menu-trigger[aria-expanded="true"] {
    border-color: #e8a020;
    color: #e8a020;
}

.pv-menu-trigger .pv-caret {
    font-size: 0.65rem;
    transition: transform 0.15s ease;
}

.pv-menu-trigger[aria-expanded="true"] .pv-caret {
    transform: rotate(180deg);
}

/* ===== Dropdown panel ===== */
.pv-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 300px;
    max-height: 420px;
    overflow-y: auto;
    background: #111214;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: none;
}

.pv-dropdown.open {
    display: block;
}

.pv-dropdown-title {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    color: #888;
    text-transform: uppercase;
    padding: 4px 8px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.pv-dropdown-empty,
.pv-dropdown-error {
    padding: 14px 8px;
    color: #888;
    font-size: 0.82rem;
}

/* ===== Admin row (badge style, matches the in-game reference screenshot) ===== */
.pv-admin-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    border-radius: 6px;
    border: 1px solid transparent;
}

.pv-admin-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pv-admin-avatar {
    position: relative;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
}

.pv-admin-avatar img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
}

.pv-status-dot {
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #111214;
}

.pv-status-dot.online  { background: #3ba55d; }
.pv-status-dot.idle    { background: #e8a020; }
.pv-status-dot.dnd     { background: #ed4245; }
.pv-status-dot.offline { background: #6b6f76; }

.pv-admin-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.pv-admin-name {
    font-size: 0.85rem;
    color: #e6e6e6;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pv-admin-status-line {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: bold;
}

.pv-admin-status-line .pv-status-text.online  { color: #3ba55d; }
.pv-admin-status-line .pv-status-text.idle    { color: #e8a020; }
.pv-admin-status-line .pv-status-text.dnd     { color: #ed4245; }
.pv-admin-status-line .pv-status-text.offline { color: #6b6f76; }

.pv-admin-activity {
    color: #777;
    font-weight: normal;
    text-transform: none;
    letter-spacing: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pv-dropdown-updated {
    padding: 8px 8px 2px;
    font-size: 0.65rem;
    color: #555;
    text-align: right;
}
