
         @font-face {
        font-family: 'Mark Pro Black';
        src: url('../fonts/MarkWebPro-Black.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
        }

        body {
            font-family: 'Mark Pro Black', sans-serif;
            /*background: radial-gradient(circle, #ff4c4c, #8b0000);*/
            background-image: url("../static/nature.jpg");
            background-size: cover;
            color: #333;
            margin: 30px 10px;
            padding: 0;
            display: flex;
            align-items: flex-start;
            justify-content: center;
            min-height: 100vh;
            overflow-y: auto;
            scroll-behavior: smooth;
        }

      .table-window {
    background-color: rgba(105, 193, 143, 0.95);
    border-radius: 10px;
    /* Adjusted glow effect */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2),
                0 0 12px 3px rgba(39, 245, 136, 0.4), /* Slightly smaller inner glow */
                0 0 20px 8px rgba(39, 245, 136, 0.2); /* Subtle, softer outer glow */
    padding: 20px;
    display: block;
    width: 90%;
    /*overflow-x: hidden;*/
    scrollbar-width: thin;
    scrollbar-color: #888 #f5f5f5;
}





     /* Ensure the container can actually scroll */
    .table-container {
        display: flex;
        align-content: center;
        overflow-x: auto; /* Enable horizontal scrolling */
        width: 100%;
        position: relative;
        overflow-y: visible; /* Disable vertical scrolling */
        scrollbar-width: thin; /* For Firefox: Make scrollbar thinner */
        scrollbar-color: #888 #f0f0f0; /* For Firefox: Thumb and track colors */
        margin-bottom: 40px;
        margin-left: 20px;
        margin-right: 20px;
        background-color: rgba(240, 255, 240, 0.9);
    }

    /* For Webkit Browsers (Chrome, Safari, Edge) */
    .table-container::-webkit-scrollbar {
        height: 10px; /* Adjust scrollbar height for horizontal scrollbars */
    }

    .table-container::-webkit-scrollbar-track {
        background: #f0f0f0; /* Light gray track background */
        border-radius: 10px; /* Rounded corners for track */
    }

    .table-container::-webkit-scrollbar-thumb {
        background: #888; /* Dark gray thumb */
        border-radius: 10px; /* Rounded corners for thumb */
        border: 2px solid #f0f0f0; /* Creates space between thumb and track */
    }

    .table-container::-webkit-scrollbar-thumb:hover {
        background: #555; /* Darker gray thumb on hover */
    }

        .fields {
            display: flex;
            justify-content: space-between;
            gap: 15px;
            margin-bottom: 20px;
        }

        .fields div {
            flex: 1;
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 10px;
            background-color: rgba(240, 255, 240, 0.9);
            font-size: 14px;
            color: #333;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .fields div:not(:last-child) {
            margin-right: 15px;
        }

        .fields div label {
            font-weight: bold;
        }

        @font-face {
        font-family: 'Mark Pro Bold';
        src: url('../fonts/markpro-bold-webfont.ttf') format('truetype');
        font-weight: bold;
        font-style: normal;
    }

        h1 {
            font-family: 'Mark Pro Bold';
            padding-left: 10px;
            font-size: 28px;
            font-weight: 150;
            color: #000000;
            text-align: left;
        }

        .headerTFF{
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
        }
        .headerTFTimg{

        }

        .calculation-field {
            margin-bottom: 20px;
            padding: 0.2em;
            background-color: rgba(240, 255, 240, 0.9);
            border-radius: 15px;
            text-align: center;
            font-weight: bold;
            color: #333;
        }

        table {
            margin: 160px 0px  0px 0px;
            max-width: 200px;
            width: auto;
            border-collapse: collapse;
            border-spacing: 0;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            background-color: #fff;
            border-radius: 10px;
            /*overflow: hidden;*/
        }

        th, td {
            /*border: 1px solid #e0e0e0;*/
            background-color: rgba(240, 255, 240, 0.9);
            padding: 12px;
            text-align: center;
            font-size: 14px;
            color: #333;
        }
        /* Table columns styling */
        th:first-child, td:first-child {
            text-wrap: nowrap;
            padding-left: 10px; /* Add a little left padding */

        }
        th{
            background-color: rgba(200, 255, 205, 0.95);
            font-weight: bold;
        }
        td:first-child {
            text-align: center;
            font-weight: bold;
            padding-left: 15px;
        }
        td:nth-child(2) .picklist-selected{
            text-wrap: auto;
            width: 100px;
            /*padding-right: 10px;*/
        }

        select {
            width: 100%;
            padding: 6px;
            padding-left: 60px;
            padding-right: 10px;
            font-size: 14px;
            color: #333;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #fff;
        }

        select:focus {
            outline: none;
            border-color: #4a90e2;
        }
     .hours-select {
    -webkit-appearance: none; /* Remove default dropdown styling */
    -moz-appearance: none;
    appearance: none;

    /* Keep your padding for dropdown size */
    padding: 10px 40px 10px 20px; /* Adjust space for text and arrow */
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;

    /* Add custom arrow using background image */
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center; /* Arrow on the right */
    background-size: 12px; /* Size of the arrow icon */

    color: #333;
    text-align: left; /* Ensures selected value aligns to the left */
    width: 100%;
}

.hours-select:focus {
    outline: none;
    border-color: #4a90e2;
}

.hours-select option {
    text-align: left;
}
/* Container for the picklist */
.picklist-container {
    position: relative;
    width: 100%;
    font-size: 14px;
    color: #333;
}

/* Selected item (closed state) */
.picklist-selected {
    /*padding: 10px 40px 10px 20px; !* Consistent padding for size *!*/
    width: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    text-align: center; /* Horizontally center text */
    line-height: 1.2; /* Vertically align text */
    min-height: 38px; /* Prevent shrinking when empty */
    height: 38px; /* Fixed height to prevent growth */
    display: flex;
    align-items: center; /* Vertically center text */
    justify-content: center; /* Horizontally center text */
    z-index: 3;
}

/* Custom arrow */
.picklist-selected::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 5px;
    width: 10px;
    height: 10px;
    background-image: url('data:image/svg+xml;charset=UTF-8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-chevron-down" viewBox="0 0 16 16"%3E%3Cpath fill-rule="evenodd" d="M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-50%);
}

/* Dropdown options */
.picklist-options {
    /*padding-right: 30px;*/
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    display: none; /* Initially hidden */
    z-index: 10;
}


/* If the picklist is one of the last 3 rows, show it above */
tbody tr:nth-last-child(-n+4) .picklist-options {
    top: -550%;
}
/* Picklist option items */
.picklist-options li {
    padding: 10px 0.2em; /* Adds left padding */
    cursor: pointer;
    list-style: none;
    text-align: left; /* Left-align text */
    display: block; /* Ensure it behaves like a normal block element */
    width: 100%; /* Take up full width */
    z-index: 3;
    text-wrap: auto;
}

ul {
    padding-inline-start: 0; /* Remove left padding from all lists */
}

/* Full-width background on hover */
.picklist-options li:hover {
    background-color: #f0f0f0;
    width: 100%; /* Ensure background covers full width */
}

/* Show dropdown options when active */
.picklist-container.active .picklist-options {
    display: block;
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center; /* Align buttons to the right */
    gap: 20px; /* Add space between buttons */
    margin-bottom: 20px; /* Add space above buttons */
    margin-top: 20px;
}

/* Secondary Button (Save and Continue Later) */
.btn-secondary {
    background: #fff;
    color: #333;
    border: 2px solid #ccc;
    border-radius: 50px;
    padding: 15px 30px; /* Increased padding for larger size */
    font-size: 16px; /* Increased font size */
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: #888;
    background: #f5f5f5;
}

/* Primary Button (Submit) */
.btn-primary {
    background: #28b485;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 30px; /* Increased padding for larger size */
    font-size: 16px; /* Increased font size */
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #25a272;
}

/*.outer-container {
    padding-bottom: 3em;
}*/

/* Table container allows horizontal scrolling */
.table-container {
    background-color: rgba(240, 255, 240, 0.0);
    overflow-x: auto;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
    white-space: nowrap; /* Prevent columns from wrapping */
}

.table-container::-webkit-scrollbar{
  top: 100%;
}
td:nth-child(3), th:nth-child(3), td:last-child, th:last-child{
    border-left: none;
}

td:last-child, th:last-child, td:nth-last-child(-n + 2), th:nth-last-child(-n + 2) {
    border-right:none;
}
td.sticky-left, td.sticky-right {
    border:none;
    background-color: rgba(240, 255, 240, 1);
}
th.sticky-left, th.sticky-right{
    border:none;
    background-color:rgba(200, 255, 205, 1);
}

/* Sticky Employee column (left-most) */
.sticky-left:first-child {
    position: sticky;
    left: 0; /* Position this column at the far-left */
    z-index: 5; /* Ensure it appears above other table content */
    overflow: visible; /* Allow dropdowns to overflow sticky cells */
}

/* Sticky Job Title column (second sticky column) */
.sticky-left:nth-child(2) {
    position: sticky;
    left: 97px; /* Adjust this value to match the width of the Employee column */
    z-index: 4;
    overflow: visible; /* Allow dropdowns to overflow sticky cells */
}

/* Sticky column on the right */
.sticky-right {
    position: sticky;
    right: -1px;
    z-index: 4;
    font-weight: bold;
    overflow: visible; /* Allow dropdowns to overflow sticky cells */
}


.sticky-left::after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: #ccc; /* Black border */
    z-index: 5;
}

/* Horizontal border on the bottom */
.sticky-left::before, .sticky-right::before{
    content: '';
    position: absolute;
    bottom: 0; /* Border on the bottom */
    left: 0;
    width: 100%; /* Full width */
    height: 1px; /* Border thickness */
    background: #ccc; /* Border color */
    z-index: 5;
}

/* Add left border as a pseudo-element */
.sticky-right::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0; /* Border on the left */
    width: 1px; /* Border thickness */
    height: 100%; /* Full height of the cell */
    background: #ccc; /* Border color */
    z-index: 5; /* Ensure the border is above other content */
}


th, td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ccc;
    white-space: nowrap; /* Prevent cell content from wrapping */
}

.progress-container {
    margin: 20px 0;
    width: 100%;
}

label.progress-text{
    margin-bottom: 100px;
    padding-bottom: 10px;
}
.progress-bar {
    margin-bottom: -160px;
    width: 100%;
    height: 25px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: #4caf50; /* Green */
    width: 0%;
    transition: width 0.5s ease-in-out;
}
