/* General styles */
body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #f4f6f9;
}

.container {
    text-align: center;
    padding: 30px 50px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    max-width: 600px;
    margin: 20px;
    transition: all 0.3s ease-in-out;
}

.hidden {
    display: none;
}

.back-link {
    position: absolute;
    top: 20px;
    left: 20px;
    text-decoration: none;
    font-size: 18px;
    color: #007bff;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #0056b3;
}

/* Selection page */
h1, h2, h3 {
    color: #333;
    font-weight: 500;
    margin-bottom: 20px;
}

#serviceSelect, #productSelect {
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

#description {
    font-style: italic;
    margin-top: 10px;
    color: #666;
}

#productContainer {
    margin-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

input[type="text"], input[type="number"] {
    padding: 15px;
    margin: 10px 0;
    width: 100%;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

button {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px 5px;
    font-size: 16px;
    cursor: pointer;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

button[type="submit"] {
    background-color: #28a745;
}

button[type="submit"]:hover {
    background-color: #218838;
}

#priceDisplay {
    font-size: 18px;
    margin-top: 10px;
    color: #333;
}

/* Payment page */


#amountDisplay {
    font-size: 22px;
    font-weight: bold;
    margin-top: 20px;
    color: #333;
}

#qrCode {
    margin-top: 20px;
}

.qr-code {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

button:nth-child(2) {
    background-color: #ffc107;
    color: #333;
}

button:nth-child(2):hover {
    background-color: #e0a800;
}

button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    input[type="text"], input[type="number"], #serviceSelect, #productSelect {
        width: 100%;
    }
}

