﻿.pipeline-table {
    display: flex;
    flex-direction: column;
}
.pipeline-table-header {
    display: flex;
    border-bottom: 1px solid lightgray;
}
.pipeline-table-row {
    display: flex;
    border-bottom: 1px solid lightgray;
    cursor: pointer;
    position: relative; /* Ensure the row is the reference for the overlay */
    overflow: hidden;
    padding:7px;
    font-size:0.8rem;
}
    .pipeline-table-row:not(.loan-locked):hover {
        background-color: var(--primary-color-lighter);
    }
    .pipeline-table-cell {
        width: 14%;
        max-width: 14%;
        min-width: 10%;
        display: flex;
        flex-direction: column;
    }
.pipeline-table-header-title {
    font-size: 0.8rem;
    padding: 10px;
    color: var(--color-text-gray);
    display:flex;
}
.pipeline-secondary-search-input {
    max-width:90%;
    width:90%;
}
.pipeline-filter-header {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 100%;
}
.pipeline-filter-header label {
    font-size:1.1rem;
    font-weight:600;
    padding-bottom:5px;
}
.pipeline-filter-header input {
    border-radius: 6px;
    padding: 2px;
    font-size: 1rem;
    max-width: auto;
    margin-bottom: 5px;
    border: 1px solid lightgray;
}
.pipeline-filter-header select {
    border-radius: 6px;
    padding: 2px;
    font-size: 1rem;
    max-width: auto;
    margin-bottom: 5px;
    border: 1px solid lightgray;
}

.pipeline-filter-header-radios label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    cursor: pointer;
}

.pipeline-filter-radio {
    margin: 0;
}




.pipeline-table-row-value {
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display:flex;
    gap:3px;
}
    .pipeline-table-row-value img {
        display: inline-block;
        vertical-align: middle;
    }
.my-pagination-container {
    display: flex;
    flex: 3;
    align-items: end;
    flex-wrap: nowrap;
    overflow-x: auto; 
    width: 75%; 
    gap: 5px; 
}
    .my-pagination-container > :first-child {
        margin-left: auto;
    }
.pagination-button {
    min-width: 29px;
    min-height: 23px;
    font-size: 0.8rem;
    color: black;
    background-color: var(--color-lightgray);
    margin: 0 3px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

    .pagination-button:hover {
        background-color: lightgray;
    }

    .pagination-button.page-selected {
        color: white;
        background-color: var(--color-main-blue);
        border: 1px solid var(--color-main-blue-dark); 
        font-weight: bold;
    }
.filter-container {
    flex: 3;
    justify-content: space-between;
    padding: 0 20px;
    display: flex;
    gap: 5px;
}
.filter-button {
    padding:15px 25px !important;
}
.filter-text {
    font-size:0.8rem;
    font-weight:bold;
    display:flex;
    align-items:center;
    padding:0 20px;
}
.sort-span {
    display:inline-block;
    width:30px;
    color:black;
    margin-left:auto;
    padding:0 6px;
    cursor:pointer;
}
.pipeline-filter-container {
    position: absolute;
    display:flex;
    flex-direction:column;
    padding:30px;
    gap:10px;
    width: 25%;
    background-color: white;
    min-height: 100%;
    border-bottom-right-radius: 25px;
    border-top-right-radius: 25px;
    box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
    z-index:2;
    justify-content:space-between;
}
.pipeline-filter-container-buttons {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-top: 10px;
    border-top: 2px solid lightgray;
}
.pipeline-filter-container-header {
    padding-bottom:10px;
    display:flex;
    justify-content:space-between;
    border-bottom: 2px solid lightgray;
}
.pipeline-filter-container-header h3 {
    font-size:1.6rem;
    font-weight:500;
}
.loan-locked {
    cursor: default !important;
}

.locked-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(239, 80, 80, 0.29); 
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    line-height: 2; 
    pointer-events: none; 
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
}
@media screen and (max-width: 1920px) {
}

@media screen and (max-width: 1000px) {
    .pipeline-table-row {
        flex-direction:column;
    }
    .pipeline-table-header {
        flex-direction: column;
    }
    .pipeline-table-cell {
        border-right: 0;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        min-width: 100%;
    }
    .pipeline-table-header-title {
        min-width:60%;
    }
    .pipeline-table-row {
        flex-direction: column;
    }
}