﻿.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

    .icon-btn:hover {
        background: rgba(0,0,0,0.06);
    }

.icon-svg {
    width: 34px;
    height: 34px;
    filter: brightness(0);
    color: black;
}

.qr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(190, 193, 202, 0.6);
    backdrop-filter: blur(3px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

    .qr-overlay.active {
        display: flex;
        opacity: 1;
    }

.qr-popup {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(59, 77, 129, 0.15), 0 2px 8px rgba(0,0,0,0.06);
    position: relative;
    width: 320px;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s cubic-bezier(.34,1.2,.64,1), opacity 0.2s ease;
    opacity: 0;
}

.qr-overlay.active .qr-popup {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.qr-body {
    padding: 32px 28px 8px;
    text-align: center;
}

.qr-title {
    color: #2d2d2d;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 5px;
    font-family: inherit;
}

.qr-subtitle {
    color: #888;
    font-size: 13px;
    margin: 0 0 22px;
    font-family: inherit;
}

.qr-frame {
    display: inline-block;
    padding: 14px;
    border-radius: 12px;
    border: 1.5px solid #e8eaf0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(59, 77, 129, 0.07);
}

    .qr-frame canvas,
    .qr-frame img {
        display: block;
        border-radius: 4px;
    }

.qr-url {
    margin: 14px 0 0;
    font-size: 11px;
    color: #9aa0b8;
    word-break: break-all;
    font-family: monospace;
    background: #f1f2f6;
    border-radius: 8px;
    padding: 7px 12px;
}

.qr-footer {
    padding: 16px 28px 24px;
}

.qr-close-btn {
    width: 100%;
    padding: 13px;
    background: #3b4d81;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

    .qr-close-btn:hover {
        background: #2e3d68;
    }
