* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background-color: #e8eef3;
    padding: 40px 20px;
}

form {
    background: #ffffff;
    max-width: 700px;
    margin: 40px auto;
    padding: 40px 35px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #1f3c88;
}

label {
    display: block;
    margin-top: 15px;
    color: #34495e;
    font-weight: bold;
}

input[type="text"],
input[type="number"],
input[type="date"],
select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 15px;
    transition: 0.2s;
}

input:focus,
select:focus {
    border-color: #1f3c88;
    outline: none;
    box-shadow: 0 0 5px rgba(31, 60, 136, 0.3);
}

.radio-group,
.checkbox-group {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group label,
.checkbox-group label {
    font-weight: normal;
    color: #2c3e50;
}

input[type="button"] {
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    background: linear-gradient(to right, #1f3c88, #3a5bbf);
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

input[type="button"]:hover {
    background: linear-gradient(to right, #3a5bbf, #1f3c88);
}

#output {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 25px 30px;
    background: #f7f9fc;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    line-height: 1.6;
}

#output h2 {
    margin-bottom: 15px;
    color: #1f3c88;
}
