/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding-bottom:3em;
}

h1 {
    text-align: center;
}

/* Form Styles */
#contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: #f4f4f4;
    padding: 20px;
    border-radius: 5px;
}

#contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-bottom: 10px;
}

#contact-form button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#contact-form button[type="submit"]:hover {
    background-color: #45a049;
}

/* Checkbox Styles */
#contact-form div {
    margin-bottom: 15px;
}

#contact-form div label {
    display: inline-block;
    margin-left: 5px;
    font-weight: normal;
}

#contact-form div p {
    margin: 5px 0 0 25px;
    font-size: 14px;
    color: #555;
}

/* Date Picker Styles */
.ui-datepicker {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}



.language-selector {
    position: relative;
    display: inline-block;
    font-family: Arial, sans-serif;
}

.language-selector select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 8px 30px 8px 40px; /* Increased left padding for flag */
    font-size: 16px;
    color: #495057;
    cursor: pointer;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    min-width: 150px;
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px 20px;
}

.language-selector select:hover {
    border-color: #80bdff;
}

.language-selector select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.language-selector::after {
    content: "\25BC";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    pointer-events: none;
    color: #495057;
}

/* Hide default arrow in IE */
.language-selector select::-ms-expand {
    display: none;
}

/* Style for the options */
.language-selector select option {
    padding: 8px 8px 8px 40px; /* Increased left padding for flag */
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 20px 20px;
}