/* Wrapper styles */
.ntsa-wrapper {
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

/* Search input */
#ntsa-search {
    display: block;
    width: 100%;
    max-width: 520px;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 12px;
    box-sizing: border-box;
}

/* Hide Ninja Table header by default (we show only matched rows) */
.ntsa-wrapper .ninja_table_wrapper thead {
    display: none !important;
}

/* Clean table look for visible columns */
.ntsa-wrapper .ninja_table_wrapper table {
    width: 100%;
    border-collapse: collapse;
}

/* Visible cell style (plugin will hide other columns) */
.ntsa-wrapper .ninja_table_wrapper td,
.ntsa-wrapper .ninja_table_wrapper th {
    padding: 6px 10px;
    border: 1px solid #e6e6e6;
    vertical-align: middle;
}

/* Highlight style (color overridden by inline style from JS) */
.ntsa-highlight {
    background-color: yellow;
    padding: 0 2px;
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .ntsa-wrapper .ninja_table_wrapper table,
    .ntsa-wrapper .ninja_table_wrapper td,
    .ntsa-wrapper .ninja_table_wrapper th {
        display: block;
        width: 100%;
    }
    #ntsa-search { font-size: 15px; padding: 9px; }
}

/* No-table fallback message */
.ntsa-no-table {
    background: #fff3cd;
    padding: 10px;
    border-left: 4px solid #ffeeba;
    margin-top: 8px;
}
