/* SSW2-specific overrides on top of engineer-specialist-visa.css and
   specified-skilled-worker-i.css. The new component here is the SSW1 vs SSW2
   comparison table. */

.ssw-compare-wrap {
    margin: 28px 0 32px;
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-default);
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 12px 32px rgba(0,0,0,.06);
}

.ssw-compare {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    min-width: 640px;
}

.ssw-compare thead th {
    background: #f6f8fb;
    color: var(--text-main);
    font-weight: 800;
    text-align: left;
    padding: 14px 18px;
    border-bottom: 2px solid var(--text-main);
    font-size: 12.5px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ssw-compare thead th.ssw-compare-highlight {
    background: linear-gradient(135deg, #003e82 0%, #0058b8 60%, #0071eb 100%);
    color: #fff;
    border-bottom-color: #001f4a;
}

.ssw-compare tbody th {
    text-align: left;
    padding: 12px 18px;
    font-weight: 700;
    color: var(--text-main);
    background: #fafbfd;
    border-bottom: 1px solid var(--border-default);
    width: 28%;
    font-size: 13px;
}

.ssw-compare tbody td {
    padding: 12px 18px;
    border-bottom: 1px solid var(--border-default);
    color: var(--text-main);
    vertical-align: top;
    line-height: 1.5;
}

.ssw-compare tbody tr:last-child th,
.ssw-compare tbody tr:last-child td {
    border-bottom: none;
}

.ssw-compare tbody td.ssw-compare-better {
    background: #f0faf4;
    color: #15722f;
    font-weight: 700;
    position: relative;
}

.ssw-compare tbody td.ssw-compare-better::before {
    content: '✓';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    color: #15a345;
    font-weight: 900;
}

@media (max-width: 720px) {
    .ssw-compare { font-size: 12.5px; }
    .ssw-compare thead th,
    .ssw-compare tbody th,
    .ssw-compare tbody td { padding: 10px 12px; }
}
