/* Code Ref: DM-P34-CSS-001
   File: assets/css/list-view-pro.css
   Purpose: Professional searchable list/table UI for vendor and super-admin pages.
*/

.nfcyes-list-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin: 14px 0;
    padding: 13px 14px;
    border: 1px solid rgba(123, 22, 13, .12);
    border-radius: 18px;
    background: rgba(255, 250, 244, .92);
    box-shadow: 0 10px 28px rgba(66, 24, 10, .06);
}

.nfcyes-list-toolbar strong {
    color: #7b160d;
    font-size: 15px;
}

.nfcyes-list-toolbar small {
    color: #836255;
    display: block;
    margin-top: 2px;
}

.nfcyes-list-search {
    min-width: min(360px, 100%);
    flex: 1 1 280px;
    border: 1px solid rgba(123, 22, 13, .18);
    border-radius: 14px;
    padding: 11px 13px;
    font-size: 15px;
    background: #fff;
    outline: none;
}

.nfcyes-list-search:focus {
    border-color: #ff9f2a;
    box-shadow: 0 0 0 4px rgba(255, 159, 42, .14);
}

table.data-table,
.table-scroll table,
.sa-panel table,
.panel-card table {
    border-collapse: separate !important;
    border-spacing: 0 8px !important;
    width: 100%;
}

table.data-table thead th,
.table-scroll table thead th,
.sa-panel table thead th,
.panel-card table thead th {
    color: #7b160d;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: #fff4e4 !important;
    border: 0 !important;
    padding: 12px !important;
}

table.data-table tbody tr,
.table-scroll table tbody tr,
.sa-panel table tbody tr,
.panel-card table tbody tr {
    background: #fff;
    box-shadow: 0 8px 22px rgba(66, 24, 10, .06);
}

table.data-table tbody td,
.table-scroll table tbody td,
.sa-panel table tbody td,
.panel-card table tbody td {
    border-top: 1px solid rgba(123, 22, 13, .08) !important;
    border-bottom: 1px solid rgba(123, 22, 13, .08) !important;
    padding: 12px !important;
    vertical-align: middle;
}

table.data-table tbody td:first-child,
.table-scroll table tbody td:first-child,
.sa-panel table tbody td:first-child,
.panel-card table tbody td:first-child {
    border-left: 1px solid rgba(123, 22, 13, .08) !important;
    border-radius: 14px 0 0 14px;
}

table.data-table tbody td:last-child,
.table-scroll table tbody td:last-child,
.sa-panel table tbody td:last-child,
.panel-card table tbody td:last-child {
    border-right: 1px solid rgba(123, 22, 13, .08) !important;
    border-radius: 0 14px 14px 0;
}

.nfcyes-list-hidden {
    display: none !important;
}

.nfcyes-empty-search {
    border-radius: 16px;
    background: #fff4e4;
    border: 1px dashed rgba(123, 22, 13, .22);
    color: #7b160d;
    padding: 16px;
    margin: 10px 0;
    font-weight: 800;
}

.nfcyes-version-badge {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 2500;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(123, 22, 13, .14);
    color: #7b160d;
    box-shadow: 0 12px 30px rgba(66, 24, 10, .12);
    font-weight: 900;
    font-size: 12px;
    text-decoration: none !important;
}

.nfcyes-version-badge:hover {
    background: #fff4e4;
}

@media (max-width: 720px) {
    .nfcyes-list-toolbar {
        display: block;
        padding: 12px;
    }

    .nfcyes-list-search {
        margin-top: 10px;
        width: 100%;
        min-width: 0;
    }

    .table-scroll,
    .panel-card {
        overflow-x: auto;
    }

    table.data-table,
    .table-scroll table,
    .sa-panel table,
    .panel-card table {
        min-width: 720px;
    }
}
