/* This is the new dynamic background magic */
body {
    font-family: sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;

    /* Define a gradient with 4 colors */
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    /* Zoom in on the gradient so we can move around it */
    background-size: 400% 400%;
    /* Animate the background position */
    animation: gradientMove 15s ease infinite;
}

/* Define how the animation moves */
@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.container {
    background: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37); /* Glassmorphism shadow */
    text-align: center;
    backdrop-filter: blur(4px); /* Blur the background behind the box */
}

input { padding: 10px; width: 250px; margin-bottom: 10px; border: 1px solid #ddd; border-radius: 5px; }

button {
    padding: 10px 20px;
    background-color: #23a6d5; /* Matched to background */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s; /* Smooth click effect */
}

button:hover { transform: scale(1.05); }

#qrcode { margin-top: 20px; display: flex; justify-content: center; }
