.profile-info-card__link {
    align-items: center;
    text-decoration: none;
    color: inherit;
    max-width: 100%;
    text-align: center;
}

.profile-info-card__text {
    line-height: 1.3;
    min-width: 0;
}

.profile-info-card__name {
    font-weight: 700;
    color: #212529;

    margin: 0;
}

.profile-info-card__sub {
    color: #495057;
    font-size: 0.875rem;
    margin: 0;
}

.profile-info-card__avatar {
    margin: 0 auto;
}

/* Left-aligned row variant, for a list of accounts (vs. the single centered "current account" card) */
.profile-info-card--row {
    text-align: left;
}

.profile-info-card--row .profile-info-card__link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.profile-info-card--row .profile-info-card__avatar {
    margin: 0;
    flex-shrink: 0;
}

.profile-info-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.profile-info-actions__btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 8px;
    border: 1px solid #adb5bd;
    border-radius: 6px;
    background: transparent;
    color: #495057;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
    white-space: normal;
    overflow-wrap: break-word;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.profile-info-actions__btn:hover {
    background: #f1f3f5;
    color: #212529;
}

.profile-info-actions__btn svg,
.profile-info-actions__btn i {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.profile-info-heading {
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.875rem;
    color: #495057;
    text-align: center;
}

.profile-info-heading__site {
    /* color: #930a2c; */
}

.profile-info-link-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    /* margin-top: 8px; */
    padding: 5px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    text-align: left;
    text-decoration: none;
    font: inherit;
    cursor: pointer;
}

.profile-info-link-row:hover {
    background: #f1f3f5;
}

.profile-info-link-row__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: #eef1f4;
    color: #495057;
}

svg.hl-log-out {
    width: 36px !important;
    margin-right: 0 !important;
}
.profile-info-link-row__icon svg,
.profile-info-link-row__icon i {
    width: 18px;
    height: 18px;
}

.profile-info-link-row__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.profile-info-link-row__title {
    font-weight: 600;
    font-size: 0.875rem;
    color: #212529;
}

.profile-info-link-row__sub {
    font-size: 0.75rem;
    color: #868e96;
}

.profile-info-divider {
    margin: 8px 0;
    border: 0;
    border-top: 1px solid #e9ecef;
}

.profile-menu-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    width: 322px;
    max-width: calc(100vw - 24px);
    margin-top: 8px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

#close-panel {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

#close-panel svg,
#close-panel i {
    display: inline-block;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.profile-menu-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #f8f6fa;
    border-bottom: 1px solid #eee;
}

.profile-menu-panel__title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #868e96;
}

.profile-menu-panel__close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #868e96;
    cursor: pointer;
}

.profile-menu-panel__close:hover {
    background: #eee;
    color: #212529;
}

.profile-menu-panel__close svg,
.profile-menu-panel__close i {
    width: 16px;
    height: 16px;
}

.profile-menu-panel__body {
    padding: 12px 16px 10px;
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
}
