/**
 * VIEW: SUPPLIERS
 * Root PHP: .ec-view--suppliers / [data-ec-view="suppliers"]
 * Arquivo exclusivo da view suppliers.
 */
.ec-front-modal [data-ec-form="supplier"] label,
#ec-front-modal [data-ec-form="supplier"] label{
    font-size:12px !important;
    font-weight:800 !important;
    text-transform:uppercase !important;
}
[data-ec-form="supplier"] [data-ec-uppercase]{
    text-transform:uppercase !important;
}

/* v3.16.0 - Tabela ERP de fornecedores */
.ec-view--suppliers .ec-front-filterbar{
    margin-top:14px;
    margin-bottom:14px;
}

.ec-view--suppliers .ec-suppliers-table-wrap{
    max-height:calc(100vh - 315px);
    min-height:180px;
    overflow:auto;
    border:1px solid #e5e7eb;
    border-radius:10px;
    background:#fff;
}

.ec-view--suppliers .ec-suppliers-table{
    width:100%;
    min-width:760px;
    border-collapse:separate;
    border-spacing:0;
    table-layout:fixed;
}

.ec-view--suppliers .ec-suppliers-table thead th{
    position:sticky;
    top:0;
    z-index:3;
    padding:13px 16px;
    border:0;
    border-bottom:1px solid #111827;
    background:#000;
    color:#fff;
    font-size:12px;
    font-weight:800;
    line-height:1.2;
    letter-spacing:.04em;
    text-align:left;
    text-transform:uppercase;
    white-space:nowrap;
}

.ec-view--suppliers .ec-suppliers-table thead th:nth-child(1){width:38%;}
.ec-view--suppliers .ec-suppliers-table thead th:nth-child(2){width:25%;}
.ec-view--suppliers .ec-suppliers-table thead th:nth-child(3){width:20%;}
.ec-view--suppliers .ec-suppliers-table thead th:nth-child(4){width:17%;}

.ec-view--suppliers .ec-suppliers-table tbody td{
    padding:13px 16px;
    border:0;
    border-bottom:1px solid #e5e7eb;
    background:#fff;
    color:#374151;
    font-size:14px;
    line-height:1.35;
    vertical-align:middle;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

.ec-view--suppliers .ec-suppliers-table tbody tr:nth-child(even) td{
    background:#fafafa;
}

.ec-view--suppliers .ec-suppliers-table tbody tr:hover td{
    background:#f3f4f6;
}

.ec-view--suppliers .ec-suppliers-table tbody tr:last-child td{
    border-bottom:0;
}

.ec-view--suppliers .ec-supplier-name{
    color:#111827 !important;
    font-weight:800;
}

.ec-view--suppliers .ec-suppliers-actions-heading,
.ec-view--suppliers .ec-suppliers-actions{
    text-align:right !important;
}

.ec-view--suppliers .ec-suppliers-actions .ec-object-actions{
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:8px;
    white-space:nowrap;
}

.ec-view--suppliers .ec-suppliers-table .ec-dashboard-empty{
    padding:24px 10px;
}

@media (max-width:900px){
    .ec-view--suppliers .ec-suppliers-table-wrap{
        max-height:none;
    }
}
