/* Compatibility Table */
.compat-table {
    margin: 1.5rem 0 2rem;
    padding: 0.75rem 1rem;
    background: #fafafa;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow-x: auto;
}

.compat-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Header */
.compat-table thead th {
    background: #f2f4f7;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #555;
    border-bottom: 2px solid #e2e8f0;
}

/* Cells */
.compat-table th,
.compat-table td {
    padding: 0.5rem 0.75rem;
    text-align: left;
    white-space: nowrap;
}

/* Zebra striping */
.compat-table tbody tr:nth-child(even) {
    background: #fcfcfc;
}

/* Hover */
.compat-table tbody tr:hover {
    background: #f3f4f6;
}

/* Emphasis rules */
.compat-table td:first-child {
    font-weight: 600;
    color: #1f2937;
}

/* Lombok version column: code-like */
.compat-table td:nth-child(3) {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8rem;
}

/* Dates slightly muted */
.compat-table td:nth-child(2),
.compat-table td:nth-child(4) {
    color: #6b7280;
}

.compat-table tbody tr {
    border-bottom: 1px solid #eee;
}

.compat-table tbody tr:last-child {
    border-bottom: none;
}

@media (max-width: 640px) {
    .compat-table {
        padding: 1rem;
    }
}

/* Modern Table Styling */
.content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 1.5rem 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden; /* Ensures rounded corners work */
    font-size: 0.85rem;
}

.content thead th {
    background: var(--bg-light);
    color: var(--slate-900);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid var(--border);
    text-align: left;
}

.content td {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--slate-700);
    vertical-align: middle;
}

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

/* Zebra striping for better readability */
.content tbody tr:nth-child(even) {
    background: rgba(248, 250, 252, 0.5); /* Very subtle slate tint */
}

/* Hover effect on rows */
.content tbody tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

/* LTS Badge */
.lts-badge {
    display: inline-flex;
    align-items: center;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid #bae6fd;
    vertical-align: middle;
}

/* Current Badge */
.current-badge {
    display: inline-flex;
    align-items: center;
    background: #dcfce7;
    color: #15803d;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.05rem 0.3rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    border: 1px solid #bbf7d0;
    vertical-align: middle;
}