.wpcqr-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpcqr-popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.wpcqr-popup-content {
    position: relative;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 90%;
    z-index: 1;
    text-align: center;
}

.wpcqr-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    line-height: 1;
}

.wpcqr-popup-close:hover {
    color: #e2401c;
}

.wpcqr-popup-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#wpcqr-qrcode {
    margin-top: 10px;
}

.wpcqr-top-text {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    text-align: center;
}

.wpcqr-bottom-text {
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    color: #000;
    text-align: center;
}

.wpcqr-canvas {
    display: flex;
    justify-content: center;
    position: relative;
}

.wpcqr-download-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.wpcqr-canvas:hover .wpcqr-download-btn {
    opacity: 1;
    visibility: visible;
}

.wpcqr-download-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translate(-50%, -50%) scale(1.1);
}

.wpcqr-button {
    transition: color 0.2s ease;
}

.wpcqr-button:hover {
    color: #000 !important;
}
