body {
    font-family: Arial, sans-serif;
    margin: 20px;
    background-color: #f8f9fa;
}
.container {
    max-width: 900px;
    margin: auto;
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
}
h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #007bff;
}
.form-group label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}
.btn-calculate {
    background-color: #28a745;
    color: white;
    border: none;
}
.btn-calculate:hover {
    background-color: #218838;
}
.table-responsive {
    margin-top: 20px;
}
.result-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.result-table th, .result-table td {
    border: 1px solid #dee2e6;
    padding: 8px;
    text-align: center;
}
.result-table th {
    background-color: #f8f9fa;
    font-weight: bold;
}
.btn-download-pdf {
    background-color: #17a2b8;
    color: white;
    border: none;
    margin-top: 20px;
}
.btn-download-pdf:hover {
    background-color: #13849b;
}
#totalResultsContainer {
    display: none;
    margin-bottom: 20px; /* Reduced margin-top and added margin-bottom */
    padding: 15px;
    background-color: #e9ecef;
    border-radius: 5px;
    text-align: center;
}
#totalResultsContainer h4 {
    color: #007bff;
    margin-bottom: 10px;
}
.total-row td {
    font-weight: bold;
    background-color: #f8f9fa; /* Style for total row */
}

.amount-in-words-marathi {
    display: block; /* Display Marathi words below numerical amount */
    font-style: italic;
    font-size: 0.9em;
    color: #777; /* Gray color for less emphasis */
    margin-top: 5px; /* Add a little space above */
    text-align: center; /* Center align the word representation */
}