/**
 * QR Code Generator Application Project
 * 
 * The following libraries were used in this project:
 *
 * 1. Endroid QR Code
 *    - License: MIT
 *    - Link: https://github.com/endroid/qr-code
 *
 * 2. Bacon QR Code
 *    - License: MIT
 *    - Link: https://github.com/Bacon/BaconQrCode
 *
 * 3. Dasprid QR Code
 *    - License: MIT
 *    - Link: https://github.com/dasprid/php-qrcode
 *
 * All rights reserved. Please refer to the above links for more details on the licenses.
 */


body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    margin-top: 10px;
    padding: 10px;
    flex-wrap: wrap;
}

.form-container, .qr-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 10px;
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 400px;
    flex-grow: 1;
}

label {
    display: block;
    width: 100%;
    margin-bottom: 1px;
    margin-top: 5px;
    font-size: 16px;

}

input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 16px;
}

input[type="text"], input[type="number"], input[type="datetime-local"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#downloadBtn {
    margin-top: 10px;
    background-color: #007bff;
    border-radius: 5px;
}

#qrImage {
    width: 250px;
    height: 250px;
    display: none;
}

.page-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin: 25px 0 10px;
}

.language-switch {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.language-switch form {
    display: flex;
    gap: 10px;
}

.language-switch button {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

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


@media (max-width: 600px) {
    .container {
        flex-direction: column;
    }
    .form-container, .qr-container {
        width: 95%;
    }
}

@media (min-width: 601px) {
    .form-container, .qr-container {
        margin: 10px;
    }
}

body.arabic {
    font-family: 'Cairo', sans-serif;
}

label, .page-title {
    font-family: 'Droid Arabic Kufi', sans-serif;
}