.hw-removed-floating {
    display: none !important;
}

.hw-inert-control {
    cursor: pointer;
}

.hw-qr-open {
    overflow: hidden;
}

.hw-qr-modal[hidden] {
    display: none !important;
}

.hw-qr-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: grid;
    place-items: center;
    padding: 24px;
}

.hw-qr-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.62);
    cursor: pointer;
}

.hw-qr-card {
    position: relative;
    width: min(620px, 100%);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.35);
    padding: 28px;
    text-align: center;
}

.hw-qr-card h2 {
    margin: 0;
    color: #111827;
    font-size: 28px;
    line-height: 1.3;
}

.hw-qr-card > p {
    margin: 8px 0 22px;
    color: #667085;
    font-size: 16px;
}

.hw-qr-close {
    position: absolute;
    top: 10px;
    right: 14px;
    width: 38px;
    height: 38px;
    border: 0;
    background: transparent;
    color: #667085;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.hw-qr-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.hw-qr-grid figure {
    margin: 0;
}

.hw-qr-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    object-fit: contain;
    background: #fff;
}

.hw-qr-grid figcaption {
    margin-top: 10px;
    color: #344054;
    font-size: 16px;
    font-weight: 600;
}

[data-hw-control-action="disabled"] {
    cursor: pointer !important;
}

@media (max-width: 560px) {
    .hw-qr-modal {
        padding: 14px;
    }

    .hw-qr-card {
        max-height: calc(100vh - 28px);
        overflow: auto;
        padding: 24px 18px 20px;
    }

    .hw-qr-grid {
        gap: 12px;
    }

    .hw-qr-card h2 {
        font-size: 24px;
    }
}
