/* General styling for the calculator */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #f7f9fc;
}

.calculator-container {
    width: 100%;
    max-width: 600px;
    margin: 20px;
    padding: 30px;
    background: #c0cbf9; /* Updated container background color */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Styling for headings */
h2 {
    color: #030c67; /* Updated heading color */
    font-weight: 600;
    text-align: left; /* Changed alignment back to original (left) */
    margin-bottom: 20px;
}

h3, h4 {
    color: #030c67; /* Updated subheading color */
    font-weight: 600;
    text-align: left;
    margin: 20px 0 10px;
}

/* Center-align inputs and button, but keep labels aligned to the left */
.section {
    margin: 20px 0;
}

label {
    display: block;
    font-weight: bold;
    color: #555;
    margin-top: 10px;
    text-align: left; /* Left-align labels */
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: center; /* Center-aligns only input text */
}

/* Centering the button */
button {
    display: inline-block;
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background-color: #030c67;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-align: center;
}

button:hover {
    background-color: #005bb5;
}

/* Left-align results */
.results-section {
    text-align: left;
    margin-top: 20px;
    padding: 15px;
    background: #f1f4f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #333;
    font-size: 16px;
    overflow-wrap: break-word;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    body {
        align-items: flex-start;
        padding: 10px;
    }
    .calculator-container {
        margin: 10px;
        padding: 20px;
        box-sizing: border-box;
    }
    h2 {
        font-size: 1.4em;
    }
    h3, h4 {
        font-size: 1.2em;
    }
    input[type="number"], button {
        font-size: 14px;
    }
    .results-section {
        font-size: 14px;
    }
	h2 {
    text-align: left !important;
		}
}
