/* ==================== GPU SETTINGS TABLES ==================== */
/* Shared by settings.html and overview.html (rendered by gpuTable.js).
   Pages add their own reveal animation and the resting table border. */

/* ==================== TWO-COLUMN LAYOUT ==================== */

.gpu-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.col-left,
.col-right {
    min-width: 0;
}

/* ==================== MANUFACTURER SECTION ==================== */

.manufacturer-section {
    margin-bottom: 48px;
}

.manufacturer-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(95, 208, 255, 0.25);
    text-shadow:
        0 0 8px rgba(95, 208, 255, 0.3);
}

/* ==================== SERIES BLOCK ==================== */

.series-block {
    margin-bottom: 24px;
}

.series-header {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    padding-left: 2px;
}

/* ==================== TABLE ==================== */

.table-wrap {
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(
        180deg,
        rgba(21, 26, 35, 0.98),
        rgba(16, 21, 29, 0.98)
    );
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    position: relative;
}

thead::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(95, 208, 255, 0.2),
        transparent
    );
    pointer-events: none;
}

th {
    padding: 8px 14px;
    text-align: left;
    background: linear-gradient(
        180deg,
        rgba(28, 36, 50, 0.92),
        rgba(18, 24, 34, 0.96)
    );
    color: #8fd8ff;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 6px rgba(95, 208, 255, 0.18);
    white-space: nowrap;
}

td {
    padding: 7px 14px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    vertical-align: middle;
}

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

tbody tr:hover {
    background: rgba(255, 255, 255, 0.018);
}

/* ==================== COLUMN WIDTHS ==================== */

.col-gpu     { width: 180px; }
.col-vram    { width: 75px;  }
.col-profile { width: 160px; }
.col-mode    { width: 110px; }
.col-quality { width: 120px; }
.col-sharc   { width: 120px; }

/* ==================== DESKTOP / MOBILE DIVIDER ROW ==================== */

tr.type-divider td {
    padding: 6px 14px 5px;
    border-bottom: 1px solid rgba(95, 208, 255, 0.12);
    border-top: 1px solid rgba(95, 208, 255, 0.12);
    background: rgba(95, 208, 255, 0.04);
}

tr.type-divider span {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--muted);
}

tr.type-divider:hover {
    background: transparent;
}

/* ==================== TIER COLORS ==================== */
/* Collection profile and Ultra+ quality share one 4-step scale (gpuTable.js maps values) */

.tier-1  { color: #e0c775; }
.tier-2  { color: #75d4e0; }
.tier-3  { color: #a775e0; }
.tier-4  { color: #e075a7; }
.tier-na { color: #e06c75; }

.sharc-na { color: #4a7a94; }

/* ==================== ERROR ==================== */

.load-error {
    text-align: center;
    color: #e06c75;
    margin-top: 4rem;
}
