body {
font-family: 'Segoe UI', sans-serif;
background-color: #f4f6f8;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
form {
background-color: #ffffff;
padding: 30px;
border-radius: 15px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
width: 300px;
}
h2 {
text-align: center;
color: #333;
margin-bottom: 20px;
}
label {
margin-top: 10px;
color: #555;
font-weight: bold;
}
input[type="number"],select,output {
width: 100%;
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 8px;
box-sizing: border-box;
font-size: 16px;
}
output {
background-color: #f0f0f0;
font-weight: bold;
text-align: center;
}