input[readonly] {
    background-color: #f8f9fa;
    cursor: text;
}

.input-group .btn {
    border-left: 0;
}

.qr-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.qr-img {
    max-width: 180px;
    border-radius: 10px;
}

.qr-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
}

.qr-wrapper:hover .qr-overlay {
    opacity: 1;
}

.qr-overlay i {
    color: #fff;
    font-size: 2rem;
}

/* Full modal without padding */
.qr-modal-full {
    width: 30%;
    margin: auto;
    border-radius: 16px;
    overflow: hidden;
    border: none;
}

/* Image takes full modal */
.qr-full-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Close button – top right floating */
.qr-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 8px;
}

/* Remove default modal padding */
.modal-content {
    padding: 0;
}
