/* General Styles */
body {
    font-family: 'Roboto', 'Open Sans', sans-serif;
    background-color: #181818; 
    color: #e8e8e8;
    margin: 0; 
}

h1 {
    font-size: 2rem; /* Slightly smaller font for mobile */
    margin: 20px 0; 
    text-align: center;
}

p {
    text-align: center;
    line-height: 1.6;
    margin-bottom: 10px; 
    font-size: 0.9rem; /* Slightly smaller font for mobile */
}

/* Calculator Container */
.calculator-container {
    background-color: #252525; 
    padding: 20px; /* Reduce padding for smaller screens */
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Softer shadow */
    width: 95%; /* Take up more screen width on mobile */
    max-width: 400px; 
    margin: 20px auto; /* Center on mobile */
}

/* Input Groups */
.input-group {
    margin-bottom: 15px; /* Reduce spacing between inputs */
}

label {
    color: #b3b3b3; 
    font-weight: 500; 
    font-size: 0.9rem; /* Smaller label font */
}

/* Inputs and Button */
input[type="number"],
select,
button {
    width: 100%; /* Full width for inputs and button on mobile */
    padding: 8px;  /* Smaller padding */
    border: 1px solid #444;
    border-radius: 4px;
    box-sizing: border-box; 
}

input[type="number"],
select {
    background-color: #303030;  
    color: #e8e8e8;
}

button {
    background-color: #007bff; 
    color: white;
    font-weight: 600;
    cursor: pointer; /* Add cursor pointer for better visual feedback */
}

button:hover {
    background-color: #0056b3;
}

/* Results */
#results {
    background-color: #1f1f1f;
    padding: 15px; /* Reduce padding */
    border-radius: 8px;
    margin-top: 20px;
    width: 100%; 
    text-align: center;
}
