/* GTGFAST Bosch ECU Database */
.gtgfast-bosch-wrap {
    width: 100%;
    font-family: system-ui, -apple-system, sans-serif;
}

.gtgfast-bosch-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

#gtgfast_bosch_search {
    flex: 1;
    min-width: 200px;
    max-width: 380px;
    padding: 9px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgb(50,50,50);
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
#gtgfast_bosch_search:focus {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220,38,38,.15);
}
#gtgfast_bosch_search::placeholder { color: #888; }

#gtgfast_bosch_search_btn,
#gtgfast_bosch_reset_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}
#gtgfast_bosch_search_btn {
    background: #dc2626;
    color: #fff;
}
#gtgfast_bosch_search_btn:hover { background: #b91c1c; }

#gtgfast_bosch_reset_btn {
    background: rgba(255,255,255,.1);
    color: #ccc;
    border: 1px solid rgba(255,255,255,.15);
}
#gtgfast_bosch_reset_btn:hover { background: rgba(255,255,255,.18); color: #fff; }

/* DataTables overrides */
#gtgfast_bosch_table_wrapper {
    color: #e5e7eb;
}
#gtgfast_bosch_table_wrapper table.dataTable {
    border-collapse: collapse;
    width: 100% !important;
}
#gtgfast_bosch_table_wrapper table.dataTable thead th {
    background: rgba(0,0,0,.4);
    color: #e5e7eb;
    border-bottom: 1px solid rgba(255,255,255,.2);
    padding: 10px 14px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .06em;
}
#gtgfast_bosch_table_wrapper table.dataTable tfoot th {
    border-top: 1px solid rgba(255,255,255,.15);
    color: #9ca3af;
    padding: 8px 14px;
    font-size: 12px;
}
#gtgfast_bosch_table_wrapper table.dataTable tbody tr td {
    padding: 9px 14px;
    border-top: 1px solid rgba(255,255,255,.07);
    font-size: 13px;
    font-family: 'DM Mono', 'Courier New', monospace;
}
#gtgfast_bosch_table_wrapper table.dataTable tbody tr:nth-child(odd) td {
    background: rgba(255,255,255,.03);
}
#gtgfast_bosch_table_wrapper table.dataTable tbody tr:hover td {
    background: rgba(220,38,38,.1);
}
#gtgfast_bosch_table_wrapper .dt-info {
    color: #9ca3af;
    font-size: 12px;
    padding: 8px 0;
}
#gtgfast_bosch_table_wrapper .dt-paging {
    text-align: right;
    padding: 8px 0;
}
#gtgfast_bosch_table_wrapper .dt-paging .dt-paging-button {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    color: #e5e7eb !important;
    padding: 5px 11px;
    border-radius: 5px;
    cursor: pointer;
    margin: 0 2px;
    font-size: 13px;
    transition: background .15s;
}
#gtgfast_bosch_table_wrapper .dt-paging .dt-paging-button:hover {
    background: rgba(220,38,38,.25);
    border-color: rgba(220,38,38,.4);
}
#gtgfast_bosch_table_wrapper .dt-paging .dt-paging-button.current,
#gtgfast_bosch_table_wrapper .dt-paging .dt-paging-button.current:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff !important;
}
#gtgfast_bosch_table_wrapper .dt-paging .dt-paging-button.disabled {
    opacity: .35;
    cursor: default;
}

@media (max-width: 600px) {
    .gtgfast-bosch-search-row { flex-direction: column; align-items: stretch; }
    #gtgfast_bosch_search { max-width: 100%; }
}
