.job50-avatar-preview-trigger { cursor: zoom-in; }
.job50-avatar-preview-trigger:focus-visible { outline: 2px solid #ed1c24; outline-offset: 3px; }
.job50-avatar-has-fallback { background: #ed1c24; }
.job50-avatar-has-fallback :is(.job50-avatar-fallback, .job50-match-sidebar-initials, .job50-dashboard-parallel__avatar-fallback) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #ed1c24;
    color: #fff;
    border-radius: inherit;
    font-weight: 700;
    line-height: 1;
}
:is([data-job50-avatar], .job50-user-avatar, .job50-match-sidebar-logo.is-avatar, .job50-dashboard-v2__avatar, .job50-dashboard-parallel__avatar-shell, .job50-media-picker.is-avatar .job50-media-preview) > [hidden] { display: none !important; }
.job50-avatar-preview-modal .job50-avatar-preview-modal__dialog {
    box-sizing: border-box;
    width: fit-content;
    min-width: min(280px, calc(100vw - 32px));
    max-width: min(440px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    padding: 20px 20px 24px;
    border-radius: 8px;
}
.job50-avatar-preview-modal__title {
    margin: 0 40px 16px 0;
    font-size: 16px;
    line-height: 1.3;
    overflow-wrap: anywhere;
}
.job50-avatar-preview-modal__image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: min(420px, calc(100dvh - 120px));
    margin: 0 auto;
    border-radius: 8px;
    object-fit: contain;
}
