#calculator {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #4caf50;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    color: #333;
}
/* (additional CSS truncated for brevity — insert full universal.css here if needed) */
#calculator {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background-color: #ffffff;
    border: 2px solid #4caf50;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-family: Arial, sans-serif;
    color: #333;
}

#calculator h2 {
    text-align: center;
    color: #4caf50;
    margin-bottom: 20px;
}

#basicCalculator p {
    text-align: center;
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

#calculator label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #4caf50;
}

#calculator input, select {
    width: calc(100% - 10px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease-in-out;
}

#calculator input:focus, select:focus {
    border-color: #4caf50;
}

#calculator button {
    width: 45%;
		align-self:center;
    padding: 10px;
    margin: 5px 1%;
    border: none;
    border-radius: 5px;
    background-color: #4caf50;
    color: #ffffff;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

#calculator button:hover {
    background-color: #45a049;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#calculator button:active {
    background-color: #3d8b41;
}

#calculator #calculationSteps {
    display: none;
    margin-top: 20px;
    padding: 10px;
    border: 1px dashed #4caf50;
    border-radius: 5px;
    background-color: #f9f9f9;
    color: #333;
    font-size: 14px;
}

#calculator button span {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}
/* Mobile-Specific Styling */
@media (max-width: 767px) {
    #calculator {
        width: 100%;
        margin: auto;
        padding: 10px;
        border: 2px solid #4caf50;
        border-radius: 10px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        font-size: 14px;
    }

    #calculator h2 {
        font-size: 18px;
    }

    #calculator label {
        font-size: 14px;
    }

    #calculator input {
        width: 100%; /* Full width for better usability */
        padding: 8px;
        font-size: 14px;
    }

    #calculator button {
        width: 100%; /* Full width buttons on mobile */
        padding: 10px;
        margin: 10px 0; /* Add spacing between buttons */
        font-size: 14px;
    }

    #calculator button:hover {
        background-color: #45a049; /* Keep hover effect subtle for mobile */
    }

    #calculationSteps {
        font-size: 14px;
    }
}