.QR_Page {
    display: flex;
    flex-direction: column;
    background-color: #333; 
    color: white;
    min-height: 100vh;
    width: 100%;
    padding: 30px;
    justify-content: center; /* Vertically centers content */
    align-items: center; /* Horizontally centers content */
    /* text-align: center; Centers text inside the content */
}

.QR_Page form {
    width: 80%;
    max-width: 500px;
    background-color: #1c1c1c;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 0px 25px rgba(255, 255, 255, 0.2);
}

.QR_Page h3 {
    color: #f1f1f1;
    margin-bottom: 15px;
    text-align: center;
}

.QR_Page label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    color: #ddd;
}

.QR_Page input[type="text"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #2c2c2c;
    border: 1px solid #555;
    border-radius: 5px;
    color: #f1f1f1;
    margin-bottom: 20px;
}

.QR_Page .field {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.QR_Page button {
    flex: 1;
    padding: 10px;
    font-size: 16px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.QR_Page button:hover {
    background-color: #666;
}

.download-success {
    text-align: center;
    margin-top: 20px;
}

.download-success img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #888;
}

.download-success a {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: #555;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.download-success a:hover {
    background-color: #777;
}

@media (max-width: 768px) {
    .QR_Page {
        display: flex;
        flex-direction: column;
        background-color: #333;
        color: white;
        min-height: 100vh;
        margin-top: 0;
        width: 100%;
        justify-content: center; /* Vertically centers content */
        align-items: center; /* Horizontally centers content */
       /*  text-align: center;  Centers text inside the content */
    }

    .QR_Page form {
        width: 95%;
        padding: 20px;
    }

    .QR_Page .field {
        flex-direction: column;
    }

    .QR_Page button {
        width: 100%;
    }
}
