﻿
.webgrid-table {
    margin: 8px 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.webgrid-table th,
.webgrid-table td {
    border: 0;
    border-bottom: 1px solid var(--color-border);
    padding: 10px 12px;
    color: var(--color-text);
    vertical-align: middle;
}

.webgrid-table th {
    background: var(--color-brand-secondary);
    color: var(--color-surface);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    font-weight: 700;
}

.webgrid-table th a,
.webgrid-table th a:visited {
    color: var(--color-surface);
    text-decoration: none;
    font-weight: 700;
}

.webgrid-table th a:hover,
.webgrid-table th a:focus {
    color: #ffffff;
    text-decoration: underline;
}

.webgrid-header {
    background: var(--color-brand-secondary);
}

.webgrid-footer {
    background: #f2f4f5;
}

.webgrid-footer td {
    border-bottom: 0;
}

.webgrid-alternating-rows {
    background: #f8fafb;
}

.webgrid-row-style {
    color: var(--color-text);
}

.webgrid-table tr:hover td {
    background: rgba(13, 57, 78, 0.05);
}

.webgrid-table a {
    color: var(--color-brand-primary);
    font-weight: 600;
}

.webgrid-table a:hover,
.webgrid-table a:focus {
    color: var(--color-brand-accent);
}
