﻿
body {
    background: #fff;
    color: #000000;/*text colour*/
    padding: 0px 0; /*Padding from top of page*/
    font-size: 13px; /* Text Size within Body  */
    height: 100%;
    width: 100%;
}

/*--------------------------------------------------------------------------------------------------------------------------------*/


.form-container {
    width: 100%; /* Ensure it can expand to available space */
    max-width: 500px; 
    margin: 0 auto; /* Centers the form other wise left*/
    padding: 5px;
    background-color: #f4f8fb;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box; /* Important to respect padding and border within width */
}


.form-header {
    max-width: 100%;
    /*margin: 0 auto; */ /* Centers the form other wise left*/
    padding: 5px 0; /* Padding for the header */
    min-height: 50px; /* Minimum height for the header */
    margin-bottom: 10px;
    font-size: 13px;
    color: #fff; /* White text */
    background: linear-gradient(90deg, #5aa035 0%, #9bcf71 100%);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Vertically center */
}


.submit-button {
    background: linear-gradient(90deg, #5aa035 0%, #9bcf71 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0px 0;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
    width: 145px; /* Set fixed width */
    height: 25px; /* Set fixed height */
    font-size: 13px; /* Font size for the submit button */
}

    .submit-button:hover {
        background: linear-gradient(90deg, #4a822b 0%, #7aa050 100%);
    }


.download-button {
    background: linear-gradient(90deg, #1976d2 0%, #42a5f5 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0px 0;
    font-weight: 600;
    cursor: pointer;
    margin-top: 0px;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(21, 101, 192, 0.08);
    width: 145px; /* Set fixed width */
    height: 25px; /* Set fixed height */
    font-size: 13px; /* Font size for the submit button */
}

    .download-button:hover {
        background: linear-gradient(90deg, #1565c0 0%, #1976d2 100%);
    }


    .download-button:disabled {
        background: linear-gradient(90deg, #cccccc 0%, #eeeeee 100%);
        color: #888888;
        cursor: not-allowed;
        box-shadow: none;
        opacity: 0.6;
    }

        .download-button:disabled:hover {
            background: linear-gradient(90deg, #cccccc 0%, #eeeeee 100%);
            cursor: not-allowed;
        }


/*--------------------------------------------------------------------------------------------------------------------------------*/


.table-container {
    overflow-x: auto;
    width: 100%;
}

table {
    width: max-content; /* Allows table to grow wider than container */
    min-width: 100%; /* Ensures it fills container if columns are few */
    /*width: 100%;*/
    margin: 0px; /* Optional: removes any extra margins */
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(21, 101, 192, 0.08);
}


th {
    background: linear-gradient(90deg, #5aa035 0%, #9bcf71 100%);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-align: center; /* Aligns text to the left */
    border-bottom: 2px solid #1565c0;
    border: 1px solid #ddd; /* Light border to distinguish headers */
    line-height: 1; /* Set a standard line height for headers */
}



tr:nth-child(even) {
    background: #f1f8e9; /* add colour to every even row - light green tint */
}

tr:hover {
    background: #dcedc8; /* slightly darker green */
}

td {
    padding: 4px 8px; /* Reduced padding for tighter rows */
    text-align: center; /* Optional: aligns text in the left column */
    /*border: 1px solid #ddd; /* Light border to distinguish cells */
    line-height: 1; /* Normal line-height for data cells */
    word-wrap: break-word;
    white-space: normal;
}

