body {
    font-family: Arial, sans-serif;
    background-color: #f4f6f9;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.container {
    max-width: 800px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input, textarea, button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.custom-radio label {
    display: inline-block;
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    cursor: pointer;
}

.custom-radio input[type="radio"] {
    display: none;
}

.custom-radio input[type="radio"]:checked + label {
    background-color: #0078d4;
    color: #fff;
    border-color: #0078d4;
}

button {
    background-color: #0078d4;
    color: white;
    cursor: pointer;
    border: none;
    font-size: 16px;
    margin-top: 20px;
}

button:hover {
    background-color: #005a9e;
}

#responseMessage {
    margin-top: 15px;
    text-align: center;
    color: green;
}

/* Custom styling for checkboxes */
.custom-checkbox {
    display: flex;
    flex-direction: column;
    margin: 10px 0;
    font-size: 16px;
    color: #333;
}

.custom-checkbox label {
    display: flex;
    align-items: center;
    margin: 5px 0;
    cursor: pointer;
    font-weight: 500;
}

.custom-checkbox input[type="checkbox"] {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #0078D4; /* Blue border */
    border-radius: 4px; /* Rounded edges */
    margin-right: 8px;
    position: relative;
    cursor: pointer;
    outline: none;
    transition: background-color 0.2s ease;
}

.custom-checkbox input[type="checkbox"]:checked {
    background-color: #0078D4; /* Blue background when checked */
    border-color: #0078D4;
}

.custom-checkbox input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid #fff; /* White checkmark */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
