.login_button {
    display: flex;
    cursor: pointer;
}

.login_button:focus:not(:focus-visible) {
    outline: none;
}

.login_item_text {
    margin: 0;
}

.login_user_menu {
    display: flex;
    flex-direction: column;
    z-index: 999;
    position: absolute;
    right: 12px;
    top: 30px;
}

.login_user_menu_wrapper {
    position: relative;
    display: none;
}

.login_user_menu_wrapper:hover .login_user_menu {
    display: flex !important;
}

.login_signup {
    display: none;
}

.login_user_info {
    display: flex;
    flex-direction: column;
}

.login_menu_name {
    margin: 0;
    font-family: var(--wiz-body-font);
}

.login_user_links {
    display: flex;
    flex-direction: column;
}

.login_temp {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.login_menu_id {
    overflow-x: scroll;
    text-wrap: nowrap;
    margin: 0;
    font-family: var(--wiz-body-font);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/*
 * Customer switcher: use design tokens so storefronts override via
 * --wiz-color-* / --wiz-login-customer-* on :root or {{WRAPPER}}.
 */
/* ── Customer switcher trigger (inside the header icon button) ── */
.login_active_customer_display {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-left: var(--wiz-login-customer-trigger-gap, 6px);
    max-width: 120px;
}

.login_active_customer_name {
    font-family: var(--wiz-body-font);
    font-size: 12px;
    font-weight: 600;
    color: var(--wiz-login-customer-name-color, var(--wiz-color-text, #111827));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    line-height: 1.3;
}

.login_active_customer_address {
    font-family: var(--wiz-body-font);
    font-size: 10px;
    font-weight: 400;
    color: var(--wiz-login-customer-address-color, var(--wiz-color-text-secondary, #6b7280));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    line-height: 1.2;
    margin-top: 2px;
    display: none;
}

.login_active_customer_chevron {
    font-size: 10px;
    color: inherit;
    opacity: 0.6;
    margin-left: var(--wiz-spacing-xs, 4px);
    flex-shrink: 0;
    align-self: center;
}

/* ── SWITCH CUSTOMER section inside the dropdown ── */
.wiz-customer-switcher {
    display: none;
    flex-direction: column;
    border-top: 1px solid var(--wiz-login-customer-divider, var(--wiz-color-border, #e5e7eb));
    margin-top: var(--wiz-spacing-sm, 8px);
    padding-top: var(--wiz-spacing-sm, 8px);
}

.wiz-customer-switcher-label {
    font-family: var(--wiz-body-font);
    font-size: 10px;
    font-weight: 600;
    color: var(--wiz-login-customer-section-label, var(--wiz-color-text-tertiary, #9ca3af));
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    padding: 0 var(--wiz-spacing-xs, 4px);
}

.wiz-customer-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wiz-customer-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--wiz-spacing-sm, 8px) 10px;
    border: 1px solid transparent;
    transition: background 0.15s ease;
}

.wiz-customer-item:hover:not(.active) {
    background: var(--wiz-login-customer-item-hover, var(--wiz-color-surface-hover, #f3f4f6));
    cursor: pointer;
}

.wiz-customer-item.active {
    border-color: var(--wiz-login-customer-item-active-border, var(--wiz-color-border, #e5e7eb));
    background: var(--wiz-login-customer-item-active-bg, var(--wiz-color-surface-muted, #f9fafb));
}

.wiz-customer-item-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.wiz-customer-item-name {
    font-family: var(--wiz-body-font);
    font-size: 13px;
    font-weight: 500;
    color: var(--wiz-login-customer-item-name, var(--wiz-color-text, #111827));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.wiz-customer-item-address {
    font-family: var(--wiz-body-font);
    font-size: 11px;
    font-weight: 400;
    color: var(--wiz-login-customer-item-address, var(--wiz-color-text-secondary, #6b7280));
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.wiz-customer-item-address-label {
    font-weight: 500;
    color: var(--wiz-login-customer-item-address-label, var(--wiz-color-text-tertiary, #9ca3af));
}

.wiz-customer-checkmark {
    color: var(--wiz-login-customer-checkmark, var(--wiz-color-text, #374151));
    font-size: 14px;
    font-weight: 600;
    flex-shrink: 0;
    margin-left: var(--wiz-spacing-sm, 8px);
}

.wiz-customer-switching-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--wiz-body-font);
    font-size: 12px;
    color: var(--wiz-login-customer-indicator, var(--wiz-color-text-secondary, #6b7280));
    padding: 6px var(--wiz-spacing-xs, 4px);
}
