/*
 * Main Styles for py-postman docs
 * Author: McSixDev (mcsixdev)
 * Telegram: @McSixDev
 * Last Update: 24.02.2026
 */
.table-wrapper { position: relative; width: 100%; }
.table-scroll-hint::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 2rem; background: linear-gradient(to left, rgba(255,255,255,1), transparent); pointer-events: none; border-radius: 0 0.75rem 0.75rem 0; }
html.dark .table-scroll-hint::after { background: linear-gradient(to left, #0f172a, transparent); }

.table-container { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 0.75rem; background: #ffffff; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
html.dark .table-container { background: #0f172a; border-color: #1e293b; }

table { width: 100%; text-align: left; border-collapse: separate; border-spacing: 0; }
th { background: #f8fafc; padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; color: #334155; font-weight: 600; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.05em; }
html.dark th { background: rgba(30, 41, 59, 0.5); border-bottom-color: #1e293b; color: #e2e8f0; }

td { padding: 1rem 1.25rem; border-bottom: 1px solid #e2e8f0; color: #475569; font-size: 0.875rem; transition: background-color 0.2s ease, color 0.2s ease; }
html.dark td { border-bottom-color: #1e293b; color: #94a3b8; }

tr:last-child td { border-bottom: none; }
tr:hover td { background-color: #f1f5f9; color: #0f172a; cursor: default; }
html.dark tr:hover td { background-color: rgba(51, 65, 85, 0.4); color: #f8fafc; }
