body {
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    margin: 0;
    padding: 20px;
    color: #333;
}

h1 {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

form {
    max-width: 800px;
    margin: auto;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

fieldset {
    border: none;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #2a5298;
}

.field {
    margin-bottom: 15px;
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
    border-color: #2a5298;
    outline: none;
    box-shadow: 0 0 5px rgba(42, 82, 152, 0.5);
}

.row {
    display: flex;
    gap: 15px;
}

.row .field {
    flex: 1;
}

.radio-group,
.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.radio-group label,
.check-group label {
    background: #f0f4ff;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.radio-group input,
.check-group input {
    margin-right: 5px;
}

.radio-group label:hover,
.check-group label:hover {
    background: #dce6ff;
}

textarea {
    resize: none;
}

button {
    width: 100%;
    padding: 12px;
    background: #2a5298;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #1e3c72;
}

.req {
    color: red;
}
