.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header-user-name {
    color: #64758c;
    font-size: 13px;
    font-weight: 600;
}

.header-logout {
    border: 1px solid #cbd8e8;
    background: #fff;
    color: #44566e;
    padding: 7px 13px;
    border-radius: 9px;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.header-logout:hover {
    border-color: #df7777;
    background: #fff3f3;
    color: #b74747;
}

.header-account {
    display: grid;
    grid-template-columns: 34px minmax(72px, auto);
    align-items: center;
    gap: 8px;
    padding-right: 10px;
    border-right: 1px solid #d8e1ec;
}

.header-account .avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e4edfb;
    color: #376fbe;
    font-weight: 700;
}

.header-account b,
.header-account small {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-account b {
    color: #35465d;
    font-size: 13px;
}

.header-account small {
    margin-top: 2px;
    color: #8a99ac;
    font-size: 11px;
}

@media (max-width: 600px) {
    .header-actions .service-status,
    .header-user-name {
        display: none;
    }

    .header-account {
        grid-template-columns: 30px auto;
        gap: 6px;
        padding-right: 7px;
    }

    .header-account .avatar {
        width: 30px;
        height: 30px;
    }

    .header-account b,
    .header-account small {
        max-width: 78px;
    }

    .header-logout {
        padding: 7px 10px;
    }
}
