body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    letter-spacing: 2px;
}

p {
    line-height: 1.8;
}

/* Styles for the loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader:before {
    content: "";
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hide loader initially */
.loader.hidden {
    display: none;
}

header {
    background-color: white;
    color: #fff;
    padding: 10px 0;
    text-align: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 20px;
}

.navbar {
    background-color: #f0f0f0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    letter-spacing: 1px;
}

.navbar a {
    float: left;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.navbar a:hover {
    background-color: #ddd;
    color: black;
}

/* Media query for responsive design */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: center;
    }

    .navbar a {
        text-align: center;
        padding: 10px;
        border-bottom: 1px solid #ccc;
        width: 100%;
    }

    .navbar a:last-child {
        border-bottom: none;
    }
}

.section {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
}

.chart {
    max-width: 1300px;
    width: 100%;
    height: 100%;
}

.section img {
    max-width: 100%;
    height: auto;
}

.section div {
    text-align: center;
}

h2 {
    text-align: center;
}

h3 {
    text-align: center;
}

h4 {
    text-align: center;
}

/* Example CSS styles for the table */
table {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid black;
}

th, td {
    padding: 10px;
    text-align: center;
}

/* Define specific styles for table headers */
th {
    background-color: #f2f2f2;
    font-weight: bold;
}

/* Define styles for alternate rows */
tr:nth-child(even) {
    background-color: #f2f2f2;
}

.table-wrapper {
    overflow-x: auto;
    max-width: 100%; /* Ensure the wrapper doesn't exceed the section's width */
}

* {box-sizing:border-box}

.input-form {
    padding-top: 20px; /* Adjust the value to your preferred padding */
    text-align: center;
}

.input-section > div:not(:last-child) {
    margin-bottom: 20px; /* Adjust the value to add space between rows */
}

.footer {
    text-align: center; /* Center-align text */
    padding-top: 20px;
}

.form-container .form-row .form-column {
    display: block; /* Set label to block to occupy full width */
    text-align: left; /* Align label text to the left */
}

/* Add padding above the submit button */
.submit-button {
    margin-top: 20px; /* Adjust the value as needed */
    margin-bottom: 20px; /* Adjust the value as needed */
}