.cpx-photo-qr .cpx-modal__panel {
    align-items: stretch;
    justify-content: flex-start;
    gap: 23px;
    min-height: 0;
    padding: 20px;
    box-shadow: 0 0 13px rgb(0 0 0 / 40%);
}

.cpx-photo-qr .cpx-modal__body {
    text-align: left;
}

.cpx-photo-qr [data-cpx-modal-title] {
    text-align: center;
}

.cpx-photo-qr__main {
    display: flex;
    flex-direction: column;
    gap: 19px;
}

.cpx-photo-qr__row {
    display: flex;
    align-items: center;
    gap: 56px;
}

.cpx-photo-qr__row[hidden],
.cpx-photo-qr__wait [data-cpx-photo-qr-loader][hidden],
.cpx-photo-qr__wait [data-cpx-photo-qr-title][hidden],
.cpx-photo-qr__done[hidden] {
    display: none;
}

.cpx-photo-qr__done {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.cpx-photo-qr__copy {
    display: flex;
    flex-direction: column;
    gap: 19px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 214px;
}

.cpx-photo-qr__link {
    display: flex;
    flex-direction: column;
    max-width: 213px;
}

.cpx-photo-qr__link a {
    color: #000;
    word-break: break-all;
    text-decoration: underline;
}

.cpx-photo-qr__image {
    width: 128px;
    height: 126px;
    flex: 0 0 auto;
    object-fit: contain;
}

.cpx-photo-qr__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cpx-photo-qr__wait {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.cpx-photo-qr__refresh {
    width: 100%;
}

@media (max-width: 768px) {
    .cpx-photo-qr__row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cpx-photo-qr__copy,
    .cpx-photo-qr__link {
        max-width: none;
    }

    .cpx-photo-qr__image {
        align-self: center;
    }
}
