/* === Dark Navy Theme Fix === */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    background: #0c1020;
    color: #e2e8f0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 15px;
    margin: 0;
    padding: 20px 28px;
}

h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #1a2540;
}

h2 span {
    color: #3b82f6;
}

/* Clear button */
#clear {
    margin-bottom: 14px;
    padding: 9px 20px;
    background: rgba(239, 68, 68, 0.09);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.18s;
}

#clear:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.4);
}

/* Table */
table {
    border-collapse: collapse;
    width: 100%;
    background: #111827;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1a2540;
}

thead {
    background: #0d1525;
}

th {
    text-align: left;
    padding: 12px 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    color: #3b82f6;
    border-bottom: 1px solid #1e2f4a;
    background: transparent;
    white-space: nowrap;
}

td {
    text-align: left;
    padding: 11px 16px;
    font-size: 14px;
    color: #94a3b8;
    border-bottom: 1px solid #131e30;
    vertical-align: middle;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background: rgba(59, 130, 246, 0.04);
}

/* Link column */
td:nth-child(2) {
    color: #c7d4e8;
    font-family: 'Menlo', 'Consolas', monospace;
    font-size: 12px;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* eBay links */
td a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

td a:hover {
    color: #60a5fa;
    text-decoration: underline;
}