:root {
    --bg-body: #f0f2f5;
    --qr-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

body {
    background-color: var(--bg-body);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.qr-card {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: var(--qr-shadow);
    overflow: hidden;
}

.qr-card__header {
    background: linear-gradient(135deg, #0d6efd, #004db3);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.qr-card__body {
    padding: 1.5rem;
}

.qr-card__display {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 1rem;
    margin-top: 1.5rem;
    padding: 1rem;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.qr-card__image {
    max-width: 100%;
    border-radius: 0.5rem;
    display: none;
}

.qr-card__image--active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.qr-card__actions {
    display: none;
    margin-top: 1rem;
    width: 100%;
}

.qr-card__actions--visible {
    display: flex;
    gap: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}