/* Loaded only for the desktop guest dialog. */
#clients-popup-guest {
    box-sizing: border-box;
    width: 460px;
    max-width: calc(100vw - 48px);
    padding: 32px;
    border-radius: 20px;
    text-align: center;
}

#clients-popup-guest .work-record {
    display: block;
    margin: 0 auto 20px;
    max-width: 320px;
}

.work-record svg {
    display: block;
    width: 100%;
    height: auto;
}

#clients-popup-guest .fancybox-popup__img-wrapper,
#clients-popup-guest .fancybox-popup__large-text-interval {
    display: none;
}

#clients-popup-guest .work-record__details {
    white-space: nowrap;
}

#clients-popup-guest .fancybox-popup__title {
    margin: 0 0 14px;
    color: #000;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 600;
}

#clients-popup-guest .fancybox-popup__text,
#clients-popup-guest .fancybox-popup__text p {
    margin: 0;
    color: #6c6c78;
    font-size: 15px;
    line-height: 1.6;
}

#clients-popup-guest .fancybox-popup__buttons {
    display: grid;
    gap: 14px;
    margin: 34px 0 0;
}

#clients-popup-guest .fancybox-popup__buttons button {
    width: 100%;
    margin: 0;
    font: inherit;
    font-size: 16px;
    font-weight: 500;
}

#clients-popup-guest .btn-grey {
    min-height: 48px;
    border: 0;
    border-radius: 12px;
    background: #5846ed;
    color: white;
}

#clients-popup-guest .btn-grey:hover { background: #4939d8; }

#clients-popup-guest .btn-default {
    height: auto;
    min-height: 34px;
    padding: 5px;
    border: 0;
    background: transparent;
    color: #5846ed;
}

#clients-popup-guest .btn-default:hover { text-decoration: underline; }

@media (prefers-reduced-motion: no-preference) {
    .work-record__ink > *,
    .work-record__progress,
    .work-record__check {
        stroke-dasharray: 1;
        animation: work-record-draw .8s ease-out both;
    }

    .work-record__progress { animation-duration: 1s; animation-delay: .35s; }
    .work-record__check { animation-duration: .55s; animation-delay: 1.45s; }

    .work-record__line {
        transform-box: fill-box;
        transform-origin: left center;
        animation: work-record-line .8s ease-out .2s both;
    }

    .work-record__line--reverse { transform-origin: right center; }

    @keyframes work-record-draw {
        from { stroke-dashoffset: 1; }
        to { stroke-dashoffset: 0; }
    }

    @keyframes work-record-line {
        from { transform: scaleX(0); }
        to { transform: scaleX(1); }
    }
}
