
.modal {
    display: none;
    position: fixed;
    z-index: var(--ui-z-overlay, 1000);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--ui-color-overlay, rgba(0, 0, 0, 0.6));
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    width: 90%;
    max-width: 21.25rem;
    background-color: var(--ui-color-surface, #1a1a1a);
    border-radius: var(--ui-radius-lg, 1.375rem);
    overflow: hidden;
    box-shadow: 0 0.625rem 1.5625rem rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9375rem;
    border-bottom: 0.0625rem solid var(--ui-color-border, rgba(255, 255, 255, 0.1));
}

.modal-header h4 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--ui-color-text, white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
}

.modal-body {
    padding: 1.25rem;
    text-align: center;
}

#qr-code-container {
    background-color: white;
    margin: 0 auto 0.9375rem;
    padding: 0.9375rem;
    border-radius: var(--ui-radius-lg, 1.375rem);
    width: 12.5rem;
    height: 12.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-link-text {
    font-size: 0.8125rem;
    color: var(--ui-color-text, #ffffff);
    margin: 0;
    word-break: break-all;
}