.calculator, .calculator-h1 {
    background: #E4E7EA;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    width: 95%;
	text-align: center; /* Center align the title */
}



.calculator-h1 h1 {
    text-align: center;
    color: #333;
}

.calculator  {
  transition: transform 0.5s ease; /* Smooth transition */
}

.calculator:hover {
  transform: scale(1.04); /* Zoom effect */
}

input[type=number] {
    border: 1px solid;
    border-radius: 20px;
    padding: 10px 15px;
    max-width: 100%;
}


.p4 {
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background-color: #3582C4;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}


.form-h1 {
    display: flex;
    flex-direction: column;
}

.label-h1 {
    margin-top: 10px;
	 font-size: 18px;
    font-weight: bold;
}

.input-h1, .select-h1, .button-h1 {
    margin-top: 5px;
    padding: 8px;
    font-size: 18px;
}

.input-h1.error, .select-h1.error, .button-h1.error {
    border: 1px solid red;
    background-color: #ffe6e6;
}

.button-h1 {
    margin-top: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button-h1:hover {
    background-color: #0056b3;
}

.error-message-h1 {
    color: red;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid red;
    background-color: #ffe6e6;
    border-radius: 5px;
}

.results-h1 {
    margin-top: 20px;
}


.results-h1 {
    margin-top: 20px;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f8f9fa; /* Light background color */
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.results-table th, .results-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.results-table th {
    background-color: #007BFF;
    color: white;
}

.results-table td {
    background-color: #fff;
}

