/* Account dropdown - pure hover */
.account-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.account-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    pointer-events: none; /* prevent click focus issues */
}

.account-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    border-radius: 50%;
    object-fit: cover;
    pointer-events: none;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: 0;
    padding-top: 6px;
    background: transparent;
    min-width: 180px;
    z-index: 300;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
}

.dropdown-menu > * {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.45);
    display: block;
}

.dropdown-menu a,
.dropdown-user {
    padding: 0.6rem 1rem;
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    border: none;
    border-radius: 0;
    background: var(--card);
}

.dropdown-menu a:first-of-type,
.dropdown-user {
    border-radius: 8px 8px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 8px 8px;
}

.dropdown-menu a:hover {
    background: rgba(255,255,255,0.06);
}

.account-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-user {
    font-weight: 600;
    border-bottom: 1px solid var(--border);
}
