﻿
/* ============================================
   Modal QR Code Centrée (Grande)
   ============================================ */

.qr-modal-overlay-centered {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--spacing-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

    .qr-modal-overlay-centered.show {
        opacity: 1;
        visibility: visible;
    }

.qr-modal-large {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all var(--transition-normal);
}



/* ============================================
   QR Display Area (plus grande)
   ============================================ */

.qr-display {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border: 3px solid var(--gray-200);
}

    .qr-display img {
        max-width: 350px;
        max-height: 350px;
        width: 100%;
        height: auto;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-lg);
    }



/* ============================================
   QR Modal Footer
   ============================================ */

.qr-modal-footer {
    padding: var(--space-6);
    border-top: 2px solid var(--gray-200);
    background: var(--gray-50);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

/* ============================================
   QR Format Selector
   ============================================ */

.qr-format-selector {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

    .qr-format-selector label {
        font-size: var(--font-size-sm);
        font-weight: 600;
        color: var(--gray-700);
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .qr-format-selector select {
        width: 100%;
        padding: var(--space-4);
        border: 2px solid var(--gray-300);
        border-radius: var(--radius-lg);
        font-size: var(--font-size-base);
        font-weight: 500;
        transition: all var(--transition-fast);
        background: var(--white);
        cursor: pointer;
    }

        .qr-format-selector select:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
        }

        .qr-format-selector select:hover {
            border-color: var(--primary-color);
        }
