body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f4f8;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
}

.container {
    background-color: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

header h1 {
    color: #0056b3;
    margin-top: 0;
    text-align: center;
}

header p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

.form-group, .radio-group {
    margin-bottom: 20px;
}

label, legend {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

input:first-of-type {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
}

input:invalid,
select:invalid,
textarea:invalid {
  border-color: red;
}

input:valid,
select:valid,
textarea:valid {
  border-color: green;
}

.radio-group {
            border: 1px solid #ddd;
            border-radius: 4px;
            padding: 15px;
            margin-bottom: 20px;
        }

        .radio-group legend {
            font-weight: bold;
            color: #555;
            padding: 0 10px;
        }

        .radio-group input[type="radio"] {
            margin-right: 8px;
            margin-bottom: 10px;
        }

        .radio-group input[type="radio"]:checked {
            border-color: blue;
            background-color: blue;
            box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
        }

        input[type="radio"]:checked + label {
            color: blue;
        }

        .radio-group label {
            display: inline;
            margin-bottom: 10px;
            margin-right: 20px;
        }


input:first-of-type {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

button {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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