.container {
max-width: 400px;
margin: 0 auto;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
background-color: #fff;
padding: 20px;
margin-bottom: 20px;
}
.form-group {
margin-bottom: 10px;
}
label {
display: block;
margin-bottom: 5px;
}
input[type="number"],
input[type="text"],
select {
width: 100%;
padding: 10px;
border-radius: 5px;
border: none;
box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
font-size: 16px;
color: #555;
}
select {
appearance: none;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 10 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23333' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 10px;
}
button[type="button"] {
background-color: #4CAF50;
border: none;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-right: 10px;
cursor: pointer;
border-radius: 5px;
}
button[type="reset"] {
background-color: #f44336;
color: white;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 4px;
}
button:hover {
opacity: 0.8;
}
#result {
font-size: 24px;
font-weight: bold;
text-align: center;
margin-bottom: 10px;
}