.javo-portal-account {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    padding: 20px;
    border: 1px solid #e5e8ee;
    border-radius: 12px;
    background: #fff;
    color: #172033;
}

.javo-portal-account__identity {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.javo-portal-account__avatar {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    overflow: hidden;
    border-radius: 50%;
    background: #1f2632;
}

.javo-portal-account__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.javo-portal-account__identity-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.javo-portal-account__name,
.javo-portal-account__guest-title {
    margin: 0;
    color: #172033;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.3;
}

.javo-portal-account__welcome,
.javo-portal-account__guest-text {
    color: #8a94a3;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.javo-portal-account__guest-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: #f2f4f7;
    color: #667085;
    font-size: 21px;
}

.javo-portal-account__guest-text {
    margin: -5px 0 0;
}

.javo-portal-account[data-account-state="guest"] {
    align-items: center;
    text-align: center;
}

.javo-portal-account[data-account-state="guest"] .javo-portal-account__guest-text {
    max-width: 250px;
}

.javo-portal-account__primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 8px;
    background: #1f2632;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .18s ease, transform .18s ease;
}

.javo-portal-account__primary:hover,
.javo-portal-account__primary:focus-visible {
    background: #111827;
    color: #fff;
    transform: translateY(-1px);
}

.javo-portal-account__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding-top: 10px;
    border-top: 1px solid #eef0f3;
}

.javo-portal-account__links a {
    display: flex;
    min-width: 0;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 8px 6px;
    color: #667085;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.javo-portal-account__links a + a {
    border-left: 1px solid #e4e7ec;
}

@media (max-width: 767px) {
    .javo-portal-account {
        padding: 17px;
    }
}
