.container {
max-width: 500px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
border-radius: 5px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.form-group {
display: flex;
margin-top: 10px;
margin-bottom: 10px;
justify-content: space-between;
}
.form-group label {
display: block;
margin-bottom: 5px;
font-weight: 700;
width: 70px;
font-size: 16px;
}
.output-field {
display: inline-block;
width: 360px;
height: 40px!important;
padding: 5px;
border: 1px solid #ccc;
border-radius: 3px;
}
.output-field:disabled, .output-field[readonly] {background-color: #e9ecef;
opacity: 1;
}
.input-container {
margin-bottom: 10px;
}
label {
font-weight: bold;
display: block;
}
input[type="number"] {
width: 100%;
padding: 8px;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
.button-container {
display: flex;
justify-content: center;
}
button {
padding: 10px 20px;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
margin: 0 10px;
}
#calculate-btn {
background-color: green;
color: #fff;
}
#reset-btn {
background-color: red;
color: #fff;
}
button:hover {
opacity:0.8;
}