.ncm-auth-widget--hidden {
    display: none !important;
}

.ncm-header-profile {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ncm-header-profile__toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    border: 2px solid #2750fb;
    border-radius: 8px;
    background: #fff;
    color: #2750fb !important;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.2;
    font-family: inherit;
    font-size: inherit;
}

.ncm-header-profile__toggle:hover,
.ncm-header-profile__toggle:focus {
    background: #f5f7ff;
    color: #2750fb !important;
}

.ncm-header-profile__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.ncm-header-profile__menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    padding: 0.35rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    z-index: 9999;
    display: none;
}

.ncm-header-profile.is-open .ncm-header-profile__menu {
    display: block;
}

.ncm-header-profile__menu a {
    display: block;
    padding: 0.65rem 1rem;
    color: #111 !important;
    text-decoration: none !important;
    font-weight: 500;
}

.ncm-header-profile__menu a:hover {
    background: #f5f7ff;
    color: #2750fb !important;
}

.ncm-header-profile__menu a.is-logout {
    border-top: 1px solid #f0f0f0;
    color: #b42318 !important;
}

.ncm-header-profile__menu a.is-logout:hover {
    background: #fef3f2;
    color: #b42318 !important;
}
