/* TruckerProfit Driver — slim 56px sticky top bar */
.drv-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    background: linear-gradient(180deg, rgba(3,13,28,0.96) 0%, rgba(3,13,28,0.88) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    font-family: 'DM Sans', system-ui, sans-serif;
}
.drv-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}
.drv-topbar-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FF7A1A 0%, #FF9A3D 100%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(255,122,26,0.3);
}
.drv-topbar-icon svg {
    width: 18px;
    height: 18px;
    color: #fff;
}
.drv-topbar-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.drv-topbar-title small {
    display: block;
    font-size: 10px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.drv-topbar-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.drv-topbar-name {
    font-size: 13px;
    font-weight: 500;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.92;
}
.drv-topbar-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a2e4d 0%, #0a1729 100%);
    border: 1.5px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: #FF9A3D;
    letter-spacing: 0;
}
/* When topbar present, page hero gets a small breathing room */
body[data-page] .drv-topbar + main { padding-top: 0; }
@media (max-width: 380px) {
    .drv-topbar-name { display: none; }
}
