 
.molality-calculator {
    max-width: 400px;
    margin: 20px auto;
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}
.molality-calculator h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.5em;
}
.input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.input-group input, .input-group select {
    flex: 1;
    padding: 8px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.button-group {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin: 15px 0;
}
button {
    flex: 1;
    padding: 10px;
    font-size: 1em;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
#calculate {
    background-color: #0073aa;
    color: #fff;
}
.reset-btn {
    background-color: #555;
    color: #fff;
}
.note {
    text-align: center;
    font-size: 0.85em;
    color: #666;
}
.results {
    margin-top: 15px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}
@media (max-width: 480px) {
    .molality-calculator {
        width: 100%;
        padding: 15px;
        box-shadow: none;
        border: 1px solid #eee;
    }
    .input-group {
        flex-direction: column;
    }
    .button-group {
        flex-direction: column;
    }
    button {
        width: 100%;
    }
}
