/* Basic reset for consistency */
form {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #FFF;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    border-radius: 4px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Style for labels */
label {
    display: block;
    font-weight: bold;
    font-size: 0.7em;
}

/* Style for all input fields */
input {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width */
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

checkbox {
    width: 20px;
    height: 20px;
}

/* Style for buttons */
button {
    padding: 10px 15px;
    background-color: #000035;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

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

input[type="submit"] {
    /* Style the button */
    padding: 10px 20px;
    background-color: #000035;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

input[type="submit"]:hover {
    background-color: #0056b3;
}


/* Resetting default appearance for better cross-browser consistency */
select {
    -webkit-appearance: none; /* For Webkit browsers (Chrome, Safari) */
    -moz-appearance: none;    /* For Mozilla browsers (Firefox) */
    appearance: none;         /* Standard property */
}

/* Basic styling for the select element */
select {
    padding: 4px;
    font: inherit; /* Inherit font styles from parent */
    padding: 0.5em 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    line-height: 1.5; /* Adjust line height for better spacing */
    cursor: pointer;
    outline: none; /* Remove default focus outline */
}

/* Styling for when the select element is focused */
select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Styling for the dropdown arrow (requires a custom background image) */
select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-6.5%200-12.3%203.2-16.1%208.1-3.8%204.9-4.8%2011.5-2.7%2017.4l131.7%20131.7a17.6%2017.6%200%200%200%2025%200l131.7-131.7c4.7-4.7%205.7-12.7%202.4-18.7z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 0.7em top 50%;
    background-size: 0.65em auto;
    padding-right: 2.5em; /* Make space for the custom arrow */
}

/* Styling for options (limited browser support) */
select option {
    background-color: #fff;
    color: #333;
    padding: 0.5em 1em;
}

/* Styling for hovered options (limited browser support) */
select option:hover {
    background-color: #e9ecef;
}

.next_button, .previous_button {
    background-color: #89CFF0;
    border double: 2px solid #000035 !important;

}

.rqd {
    border-left: 4px solid orange;
}