/* ============================= */


/* ERP ECHO — GLOBAL TABLE STYLE */


/* ============================= */

.table-basic {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
    border: 1px solid #dce3e9;
    border-radius: 8px;
    /* REMOVE overflow hidden */
}


/* Sticky Header */

.table-basic thead th {
    position: sticky;
    top: 0;
    background: #0d4a71 !important;
    color: #fff !important;
    z-index: 5;
    padding: 12px 10px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
}


/* Rows */

.table-basic td {
    padding: 10px;
    border-bottom: 1px solid #eaeef2;
    font-size: 14px;
    background: #fff;
}


/* Hover */

.table-basic tbody tr:hover {
    background: #f7faff;
}


/* Last row */

.table-basic tbody tr:last-child td {
    border-bottom: none;
}


/* Control buttons cell */

.table-basic td:last-child {
    white-space: nowrap;
    text-align: center;
}


/* Inputs inside tables */

.table-basic input,
.table-basic select {
    width: 100%;
    padding: 7px 8px;
    border-radius: 6px;
    border: 1px solid #c7d5df;
    background: #fff;
}


/* Action buttons */

.btn-action {
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 13px;
    color: #fff;
    cursor: pointer;
    border: none;
    margin: 0 1px;
}

.btn-blue {
    background: #0369a1;
}

.btn-orange {
    background: #d97706;
}

.btn-red {
    background: #b91c1c;
}

.btn-blue:hover,
.btn-orange:hover,
.btn-red:hover {
    opacity: .85;
}


/* Responsive adjustment */

@media (max-width: 1366px) {
    .table-basic td,
    .table-basic th {
        padding: 8px 5px;
        font-size: 13px;
    }
}