/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header, footer {
    background-color: #007aff;
    color: white;
    text-align: center;
    padding: 15px 0;
}

h1 {
    margin: 0;
}

.tool-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    padding: 20px;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 100%;
    max-width: 810px; /* Max width for desktop */
    height: auto; /* Allow auto-adjustable height */
    min-height: 462px; /* Minimum height to maintain design */
    box-sizing: border-box;
}

label {
    margin: 10px 0 5px;
    font-weight: bold;
}

input, select {
    margin: 5px 0 15px;
    padding: 10px;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

button {
    margin: 10px 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    background-color: #007aff;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.qr-output {
    margin-top: 20px;
    text-align: center;
}

.qr-code-container {
    margin: 15px auto; /* Center the QR codes */
}

.action-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.action-buttons button {
    margin: 5px;
}

footer {
    margin-top: auto; /* Ensure footer stays at the bottom */
}

/* Responsive Design */
@media (max-width: 600px) {
    .input-container {
        width: 90%;
        height: auto;
    }

    button {
        width: 100%;
        margin: 10px 0;
    }

    input, select {
        font-size: 14px;
    }
}