
.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: 340px;
    background-color: var(--ui-color-surface, #1a1a1a);
    border-radius: var(--ui-radius-lg, 22px);
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

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

.modal-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

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

.modal-body {
    padding: 20px;
    text-align: center;
}

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

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