#cfc-calculators {
    display: flex;
    gap: 20px; /* Space between the boxes */
    justify-content: space-between;
    flex-wrap: wrap; /* Allows boxes to wrap to a new line on smaller screens */
}

.cfc-box {
    flex: 1;
    min-width: 300px; /* Minimum width of each box */
    max-width: 48%; /* To ensure two boxes fit in one row with some space between */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensure boxes have equal height */
}

.cfc-box h2 {
    margin-top: 0;
    font-size: 24px;
    color: #333;
}

.cfc-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.cfc-box input {
    width: calc(100% - 22px);
    padding: 8px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cfc-box button {
    background-color: #345dae;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    padding: 10px 20px;
   font-size: 18px;
   min-width: 139px;
   font-weight: 600;
   text-transform: uppercase;
   font-family: 'arial';
    transition: all 0.3s ease-in;
}

.cfc-box button:hover {
    background-color: #042360;
}

.cfc-box #cfc-flatwork-result, .cfc-box #cfc-column-result {
  margin-top: 20px;
  font-size: 22px;
  font-weight: 600;
  color: orange;
  padding-bottom: 20px;
}

@media only screen and (max-width: 480px) {
    .cfc-box {
        max-width:100%;
    }
}
