.qr-gallery-form {
    max-width: 500px;
    margin: 2em auto;
    padding: 1em;
    background: #fefefe;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    font-family: 'Segoe UI', sans-serif;
}

.qr-gallery-form label {
    display: block;
    margin-top: 1em;
    font-weight: bold;
}

.qr-gallery-form input[type="text"],
.qr-gallery-form textarea,
.qr-gallery-form input[type="file"] {
    width: 100%;
    padding: 0.5em;
    margin-top: 0.3em;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.qr-gallery-form button {
    margin-top: 1.5em;
    padding: 0.7em 1.2em;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1em;
}

.qr-gallery-success {
    background-color: #e0ffe0;
    border: 1px solid #8bc34a;
    padding: 1em;
    margin-bottom: 1em;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}

.qr-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5em;
    margin: 2em 0;
}

.qr-gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.qr-gallery-item:hover {
    transform: scale(1.02);
}

.qr-gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.qr-gallery-caption {
    padding: 0.8em;
    text-align: center;
    font-family: 'Georgia', serif;
    color: #444;
}

.qr-message {
    font-style: italic;
    margin-bottom: 0.5em;
}

.qr-name {
    font-weight: bold;
    color: #0073aa;
}

.qr-gallery-empty {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin-top: 3em;
}
