/* Account menu — person circle-avatar + modern dropdown (header redesign,
   option 3). Pairs with the square-avatar business switcher. Keepr tokens. */

/* ---- Trigger: circle avatar only ---- */
.dropdown-account > .dropdown-toggle {
    display: flex !important;
    align-items: center;
    padding: 21px 10px !important;   /* centre a 32px avatar to match the switcher height */
}
/* Kill Metronic's full-height toggle hover/open background — only the avatar reacts. */
.dropdown-account > .dropdown-toggle,
.dropdown-account > .dropdown-toggle:hover,
.dropdown-account > .dropdown-toggle:focus,
.dropdown-account.open > .dropdown-toggle {
    background: transparent !important;
}

.acct-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-family: 'Rubik', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: .3px;
    color: #fff;
    background: #46506a;
    transition: box-shadow .15s ease;
}
.dropdown-account > .dropdown-toggle:hover .acct-avatar,
.dropdown-account.open .acct-avatar {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
}

/* ---- Dropdown ---- */
.dropdown-account .dropdown-menu {
    min-width: 252px;
    padding: 0 0 6px !important;
}

/* Identity header block */
.dropdown-account .acct-head {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 15px 16px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--color-border);
}
.acct-avatar--lg { width: 38px; height: 38px; font-size: 15px; }
.acct-head-text { display: flex; flex-direction: column; min-width: 0; }
.acct-head-name { font-weight: 600; color: var(--color-text); line-height: 1.25; }
.acct-head-sub {
    font-size: 12px;
    color: var(--color-text-muted);
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Items */
.dropdown-account .dropdown-menu > li > a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 9px 16px !important;
    font-size: 14px;
    color: var(--color-text);
}
.dropdown-account .dropdown-menu > li > a:hover {
    background: var(--color-bg-hover);
}
.dropdown-account .dropdown-menu > li > a i {
    width: 18px;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 14px;
}
