﻿.input-field-panel {
    margin-top: 4px;
    margin-bottom: 0px;
    width: 100%;
}


.page-customers {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.page-container-customers {
    display: flex;
    justify-content: space-between;
}

.search-container-inputs {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: -10px;
    margin-bottom: 15px;
}

.search-customers-inputs {
    display: grid;
    grid-template-columns: 2fr 1fr 0fr;
    align-items: center;
    gap: 10px;
}

.search-customers-button {
    border: none;
    cursor: pointer;
    background-color: transparent;
}

    .search-customers-button img {
        width: 24px;
        height: 24px;
    }

.search-customers-list {
    overflow: auto;
    min-height: 600px;
    margin: 10px;
}

.search-customers-title {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1.5fr 1fr 1fr;
    background-color: #F4F4F4;
    padding: 12px 40px;
    font-weight: bold;
    justify-content: space-between;
    border-radius: 5px;
    gap: 20px;
    white-space: nowrap;
}

    .search-customers-title span:nth-child(1) {
        min-width: 200px;
    }

    .search-customers-title span:nth-child(2) {
        min-width: 220px;
    }

    .search-customers-title span:nth-child(3) {
        min-width: 100px;
    }

    .search-customers-title span:nth-child(4) {
        min-width: 100px;
    }

    .search-customers-title span:nth-child(5) {
        min-width: 100px;
    }

    .search-customers-title span:nth-child(6) {
        min-width: 150px;
    }
    .search-customers-title span:nth-child(7) {
        min-width: 50px;
    }

    .search-customers-title span:nth-child(8) {
        min-width: 50px;
    }


.search-customers-results {
    margin-top: 10px;
    min-height: 38vh;
}

.search-customers-results-user {
    padding: 12px 40px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr 1fr 1.5fr 1fr 1fr;
    gap: 20px;
    white-space: nowrap;

}

    .search-customers-results-user span:nth-child(1) {
        min-width: 200px;

    }

    .search-customers-results-user span:nth-child(2) {
        min-width: 220px;
    }

    .search-customers-results-user span:nth-child(3) {
        min-width: 100px;
    }

    .search-customers-results-user span:nth-child(4) {
        min-width: 100px;
    }

    .search-customers-results-user span:nth-child(5) {
        min-width: 100px;
    }

    .search-customers-results-user span:nth-child(6) {
        min-width: 150px;
    }

    .search-customers-results-user span:nth-child(7) {
        min-width: 50px;
    }

    .search-customers-results-user span:nth-child(8) {
        min-width: 50px;
    }

.selected-customers-user {
    background-color: black;
    color: white;
}


.pagination-customers-controls {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    margin-bottom: 20px;
}

    .pagination-customers-controls button {
        padding: 0.4rem 0.8rem;
        border: 1px solid #ced4da;
        background-color: #ffffff;
        color: #495057;
        border-radius: 4px;
        cursor: pointer;
        font-size: 0.9rem;
        transition: background-color 0.2s, border-color 0.2s;
    }

        .pagination-customers-controls button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

.input-with-clear-customer {
    position: relative;
    display: inline-block;
}

.clear-button-customer {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: #888;
}



@media (max-width: 1326px) {
    .page-container-customers {
        flex-direction: column;
        gap: 20px;
    }

    .search-container-inputs {
        flex-direction: column;
        gap: 10px;
    }

    .search-customers-inputs {
        grid-template-columns: 3fr 1fr 0fr;
    }

}


@media (max-width: 768px) {
    .page-customers {
        width: 100%;
        padding: 0px 20px 20px 20px;
        display: flex;
        margin-top: 150px;
        flex-direction: column;
        justify-content: space-between;
        gap: 40px;
    }
}
