/* Reset some default browser styles */
body, ul, li, a {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin: 0; 
    font-family: Tahoma;
    background-color: #fff;
}

.header {
    color: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.head-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
}
.container {
    text-align: center;
    padding: 20px;
   
}

.logo {
    flex: 1;
}

.logo-image {
    height: 60px;
}

.menu {
    display: flex;
    align-self: self-end;
    height: 100%; /* Ensure the nav fills the container */
}

    .menu ul {
        display: flex;
        align-items: flex-end; /* Align items to the bottom of the ul */
        list-style-type: none;
        padding: 0;
        margin: 0;
        height: 100%; /* Ensure ul fills the height of the nav */
    }

    .menu li {
        margin: 0 15px 15px 15px; /* Space between each menu item */
    }

        .menu li a {
            display: block;
            padding: 10px 15px; /* Add padding for better click area */
            color: #fff;
            text-decoration: none;
            transition: color 0.3s;
        }

            .menu li a:hover {
                color: #f0ad4e; /* Change color on hover */
            }

.menu-toggle {
    display: none;
    cursor: pointer;
    color: #1f1d71;
    font-size: 24px;
}

.content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--header-footer-height, 120px))
}
.error {
    color: red;
    margin-left: 20px;
}
.footer {
    background-color: #007e00;
    color: white;
    text-align: center;
    padding: 5px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.2);
}

.login-container {
    width: 550px; /* Adjust width to make it wider */
    margin: 7em auto;
    padding: 30px; /* Add padding for better spacing */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    text-align: left;
    position: relative; /* Ensure the container remains positioned properly */
}

    .login-container h3 {
        text-align: center;
        margin-bottom: 20px;
        color: #333;
    }

.error-message {
    color: red;
    text-align: center;
    margin-bottom: 15px;
}

form {
    width: 1200px;
}

.form-group {
    margin-bottom: 1.2em; /* Space between form elements */
}

    .form-group label {
        display: block;
        margin-bottom: 0.5em;
        color: #555;
    }

.form-control {
    width: 100%; /* Full width of the parent container */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

    .form-control:focus {
        border-color: #007bff;
        outline: none;
    }

.btn-submit {
    width: 100%; /* Full width of the button */
    padding: 12px; /* Increased padding for a larger button */
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 1em;
}

    .btn-submit:hover {
        background-color: #0056b3;
    }

.login-footer {
    margin-top: 20px;
    text-align: center;
}

.btn-submit, .footer-link {
    display: inline-block !important;
    width: 100%; /* Ensure the link/button takes the full width of its container */
    padding: 10px 15px; /* Adjust padding for larger click area */
    background-color: #1f1d71;
    color: white;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 5px 0; /* Add vertical spacing */
    box-sizing: border-box;
}

    .footer-link:hover {
        background-color: #0056b3;
    }

/* Container for the form and table */
.table-container {
    max-width: 1000px;
   
    min-width: 350px;
    margin: 50px auto 20px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

.table-ver-container {
    max-width: 800px;
    min-width: 400px;
    margin: 50px auto 20px auto;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.1);
}

/* Styling the form */
.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

    .form-row div {
        flex: 1 1 150px; /* Adjust input size */
        min-width: 150px;
    }

    .form-row label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #333;
    }

    .form-row input[type="text"],
    .form-row select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

    .form-row input[type="submit"] {
        padding: 5px 20px;
        background-color: #1f1d71;
        color: white;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s;
        margin-right: 5px;
        width: auto;
    }

        .form-row input[type="submit"].btn-danger {
            background-color: red;
        }

        .form-row input[type="submit"]:hover {
            background-color: #0056b3;
        }

        .form-row input[type="submit"].btn-danger:hover {
            background-color: darkred;
        }

/* Table styling */
.table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

    .table-responsive input[type="text"] select {
        width: 100%;
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
        box-sizing: border-box;
    }

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    min-width: 350px
}

    .table th, .table td {
        padding: 10px;
        text-align: left;
        border: 1px solid #ddd;
    }
td[data-label] {
    font-size: 14px !important; /* Adjust this value to your desired font size */
}

    .table th {
        background-color: #f4f4f4;
        font-weight: bold;
    }

.table-striped tbody tr:nth-child(odd) {
    background-color: #f9f9f9;
}

.table-striped tbody tr:nth-child(even) {
    background-color: #fff;
}

.text-center {
    text-align: center;
}

/* Button styles */
.btn-link {
    background: none;
    color: #007bff;
    text-decoration: underline;
    border: none;
    cursor: pointer;
}

    .btn-link:hover {
        color: #0056b3;
    }

/* Pagination and other details */
.d-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

/* Modal styling */
#warningModal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with transparency */
}

#modalContent {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 700px;
    text-align: left;
    border-radius: 5px;
}

#closeButton {
    padding: 8px 16px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

    #closeButton:hover {
        background-color: #0056b3;
    }

.header-link {
    color: #333 !important;
    text-decoration: underline !important;
}

.cell {
    display: none;
}
.contentDiv {
    display: flex;
    flex-wrap: wrap; /* Allows columns to stack on small screens */
    justify-content: space-between;
    max-width: 1600px;
    margin: 0 auto; /* Center the content */
    padding: 20px;
    min-width: 350px;
}

.stmtDiv, .ajaxDiv{
    flex: 1; /* Take up equal width */
    margin: 10px;
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's width and height */
}

.stmtDiv {
    max-width: 25%; /* Minimum width to maintain layout on small screens */
    min-width: 300px;
}
.ajaxDiv {
    max-width: 74%;
    min-width: 300px;
}
.addyUl li {
    padding: .2em
}
label {
    font-weight: bold;
    font-size: 10pt;
}
.ci {
    display: none;
}
.qi {
    display: none;
}
.pdfPresent {
    width: 100%;
}
.pdfPage {
    width: 1056px;
    height: 790px; 
    padding: 50px;
    background-color: #fff; 
    overflow: hidden;
    border: 1px solid #ccc;
    position: relative;
}
.mainPage {
    margin-top: 6em;
}
.pdfFooter {
    position: absolute;
    bottom: 0;
    left: 0;
    text-align: center;
    width: 100%;
    padding: 10px 0;
}
.homeSectionPara{
    width: 100%;
    margin: 1em;
    padding: 0;
    text-align: left;
}
.headerPara {
    width: 100%;
    margin: .2em 1em;
    padding: 0;
}
.logoRow {
    height: 150px;
}
.productLogo{
    height: 150px;
    float: left;
}
.companyLogo {
    height: 75px;
    margin-top: 2.5em;
    float: right;
}
.pageLabel {
    float: left;
    margin-left: 3em;
    margin-bottom: 3em;
    font-weight: normal;
    color: gray;
    text-align: left;
}
.footerText{
    margin-bottom: 3em;
    color: gray;
}
.surrenderTable {
    min-width: 75%; 
    margin-left: 1em;
    border-collapse: collapse;
}
.surrenderTable tr {
    border: 1px solid #ccc;
}
    .surrenderTable th {
        padding: .2em;
    }

    .surrenderTable td {
        padding: .1em;
        border-right: 1px solid #ccc;
    }
.chartTable tr {
    border: 1px solid #ccc;
}
.chartTable {
    min-width: 40%;
    margin-left: 1em;
    margin-top: 6em;
    border-collapse: collapse;
    font-size: .9em
}
.chartTable th {
    padding: .5em;
}

.chartTable td {
    padding: .5em;
}
#myPieChart {
    max-width: 400px!important;
    max-height: 400px!important;
    margin-top: 4em;
}
.colorSpan {
    background-color: green;
    padding: .5em;
    display: block;
    height: 5px;
    width: 5px;
    float: left;
    margin-right: .5em;
}
.comparisonHeader {
    text-align: center;
}
.comparisonHeader h3 {
    font-weight: normal!important;
}
.sectionTables {
    display: flex; /* Use flexbox to arrange children in a row */
    justify-content: space-between; /* Distribute tables with equal space */
    gap: 5px; /* Optional: Add space between tables */
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.section-table {
    border: 1px solid #ccc; /* Optional: Table border styling */
    border-collapse: collapse;
    width: 33%; /* Ensure each table takes up a third of the row */
    text-align: center;
}
    .section-table tr:nth-child(odd) {
        background-color: #f2f2f2; /* Light gray for odd rows */
    }

    .section-table tr:nth-child(even) {
        background-color: #ffffff; /* White for even rows */
    }

    .section-table th {
        padding: 2px;
        border: 1px solid #ccc;
        font-size: .8em;
        text-align: center;
        font-weight: normal
    }
    .section-table td {
        padding: 2px;
        border: 1px solid #ccc;
        font-size: .85em;
        text-align: right;
    }
.section-table-mva {
    border: 1px solid #ccc; /* Optional: Table border styling */
    border-collapse: collapse;
    width: 85%; /* Ensure each table takes up a third of the row */
    text-align: left;
    margin: 0 auto;
}

    .section-table-mva tr:nth-child(odd) {
        background-color: #f2f2f2; /* Light gray for odd rows */
    }

    .section-table-mva tr:nth-child(even) {
        background-color: #ffffff; /* White for even rows */
    }

    .section-table-mva th {
        padding: 10px;
        border: 1px solid #ccc;
        font-size: .85em;
        text-align: center;
        font-weight: normal
    }

    .section-table-mva td {
        padding: 2px 5px;
        border: 1px solid #ccc;
        font-size: .85em;
        text-align: left;
    }
.imgHidden {
    height: 70px;
    float: right;
    margin-top: -1.2em;
    display: none;
}
.disclaimer {
    font-size: .9em;
}
.page-break-before {
    page-break-before: always; /* Start a new page before this element */
}

.page-break-after {
    page-break-after: always; /* Start a new page after this element */
}

.no-page-break {
    page-break-inside: avoid; /* Avoid breaking inside this element */
}
.gifLoading {
    background-color: rgba(0,0,0, 0.6);
    width: 100%;
    height: 100vh;
    position: fixed; 
    top: 0;
    left: 0;
    display: none;
}
.giffy {
    margin-top: 15%
}
/* Adjust for small screens */
@media (max-width: 768px) {
    .stmtDiv, .ajaxDiv {
        flex-basis: 100%; /* Stack columns vertically on mobile */
    }
}
@media print {
    .form-row {
        display: none!important;
    }
    .chartTable {
        min-width: 38%;
        margin-left: 1em;
        margin-top: 6em;
        border-collapse: collapse;
        font-size: .9em
    }
}
@media print {
    .gifLoading {
        display: none;
    }
    .section-table-mva {
        border: 1px solid #ccc; /* Optional: Table border styling */
        border-collapse: collapse;
        width: 85%; /* Ensure each table takes up a third of the row */
        text-align: left;
        margin: 0 auto;
    }

        .section-table-mva tr:nth-child(odd) {
            background-color: #f2f2f2; /* Light gray for odd rows */
        }

        .section-table-mva tr:nth-child(even) {
            background-color: #ffffff; /* White for even rows */
        }

        .section-table-mva th {
            padding: 10px;
            border: 1px solid #ccc;
            font-size: .85em;
            text-align: center;
            font-weight: normal
        }

        .section-table-mva td {
            padding: 2px 5px;
            border: 1px solid #ccc;
            font-size: .85em;
            text-align: left;
        }
}
@media (max-width: 1300px) {
    form {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 0 0 0 !important;
    }
    .mobileHide {
        display: none!important;
    }
    .menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100%;
        background-color: #1f1d71;
        color: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

        .menu ul {
            flex-direction: column;
            padding-top: 50px;
        }

            .menu ul li a {
                color: white;
                padding: 15px;
                text-align: center;
            }

    .menu-toggle {
        display: block;
        margin-right: .5em;
    }

    .menu.active {
        right: 0;
    }

    .menu.open ul {
        display: flex;
    }

    .form-row {
        flex-direction: column;
        width: 100%;
    }

        .form-row div {
            flex: 1 1 50px !important; /* Adjust input size */
            min-width: 150px;
        }

    .table tr {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #ddd;
        margin-bottom: 15px;
    }

    /* Style each cell to look like a block */
    .table td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
        border: none;
        border-bottom: 1px solid #ddd;
    }

    table td::before {
        content: attr(data-label);
        float: left;
        font-weight: bold;
    }
    /* Make sure the last cell does not have a bottom border */
    .table tr {
        border-bottom: none;
        background-color: #fff !important;
    }

    /* Hide table headers on mobile as rows stack */
    .table thead {
        display: none;
    }

    .cpu {
        display: none !important;
    }

    .footer {
        padding: 0 25px;
    }

    .login-container {
        width: 100% !important;
    }
    .form-control {
        width: 50%;
    }
}
