.bpa-account-menu {
    position: relative;
    display: inline-block;
    color: #054c1a;
    font-family: inherit;
}

.bpa-account-menu__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.bpa-account-menu__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 50%;
    background: #044c1a;
    color: #fff;
    font-size: 21px;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
}

.bpa-account-menu__name {
    max-width: 190px;
    /* overflow: hidden; */
    color: #044c1a;
    font-size: 15px;
    font-weight: 400;
    /* line-height: 1.2; */
    /* text-overflow: ellipsis; */
    /* white-space: nowrap; */
    font-family: 'Aptos';
    text-transform: capitalize;
}

button.bpa-account-menu__toggle:hover, button.bpa-account-menu__toggle:focus {
    background: none;
}

.bpa-account-menu__chevron {
    width: 12px;
    height: 10px;
    margin-left: 0px;
    fill: none;
    stroke: rgb(7 76 26);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2px;
    transition: transform .2s ease;
}

.bpa-account-menu__toggle[aria-expanded="true"] .bpa-account-menu__chevron {
    transform: rotate(180deg);
}

.bpa-account-menu__toggle:focus-visible {
    outline: 3px solid rgba(0, 82, 30, .3);
    outline-offset: 5px;
    border-radius: 30px;
}

.bpa-account-menu__dropdown {
    position: absolute;
    z-index: 10000;
    top: calc(100% + 10px);
    right: 0;
    width: max-content;
    min-width: 190px;
    padding: 8px;
    border: 1px solid rgba(0, 82, 30, .14);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(0, 44, 16, .16);
}

.bpa-account-menu__dropdown[hidden] {
    display: none;
}

.bpa-account-menu__link {
    display: block;
    padding: 11px 14px;
    border-radius: 7px;
    color: #054c1a;
    font-size: 16px;
    line-height: 1.3;
    text-decoration: none;
}

.bpa-account-menu__link:hover,
.bpa-account-menu__link:focus-visible {
    background: #eef5e9;
    color: #03350f;
    text-decoration: none;
}

.bpa-account-menu__link--logout {
    border-top: 1px solid #e5ece2;
    border-radius: 0 0 7px 7px;
}

@media (max-width: 600px) {
    .bpa-account-menu__avatar {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        font-size: 18px;
    }

    .bpa-account-menu__name {
        max-width: 125px;
        font-size: 17px;
    }
}
