/* ============================================
   VARASTOHALLINTA PRO - STYLES
   ============================================ */

/* CSS Variables - Dark Theme (default) */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-tertiary: #1a1a25;
    --accent-cyan: #00d4ff;
    --accent-magenta: #ff00aa;
    --accent-green: #00ff88;
    --accent-yellow: #ffcc00;
    --accent-red: #ff4466;
    --text-primary: #f0f0f5;
    --text-secondary: #8888aa;
    --border-color: #2a2a3a;
}

/* Light theme */
[data-theme="light"] {
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8ecf1;
    --accent-cyan: #0088cc;
    --accent-magenta: #cc0077;
    --accent-green: #00aa55;
    --accent-yellow: #cc9900;
    --accent-red: #dd3355;
    --text-primary: #1a1a2e;
    --text-secondary: #666688;
    --border-color: #d0d5dd;
}

/* Moon theme - high contrast dark with muted colors */
[data-theme="moon"] {
    --bg-primary: #000000;
    --bg-secondary: #0d0d0d;
    --bg-tertiary: #1a1a1a;
    --accent-cyan: #5ba3c0;
    --accent-magenta: #c07ba8;
    --accent-green: #6abf8a;
    --accent-yellow: #d4b84a;
    --accent-red: #cf6679;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
}

[data-theme="moon"] .mesh-bg {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(91, 163, 192, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(192, 123, 168, 0.03) 0%, transparent 50%),
        var(--bg-primary);
}

[data-theme="moon"] .urgency-critical { 
    background: linear-gradient(90deg, rgba(207, 102, 121, 0.2), transparent);
    border-left: 3px solid var(--accent-red);
}
[data-theme="moon"] .urgency-warning { 
    background: linear-gradient(90deg, rgba(212, 184, 74, 0.15), transparent);
    border-left: 3px solid var(--accent-yellow);
}
[data-theme="moon"] .urgency-ok { 
    background: linear-gradient(90deg, rgba(106, 191, 138, 0.1), transparent);
    border-left: 3px solid var(--accent-green);
}

[data-theme="moon"] .upload-zone:hover { 
    border-color: var(--accent-cyan); 
    background: rgba(91, 163, 192, 0.08); 
}

[data-theme="moon"] .data-table tbody tr:hover { 
    background: rgba(91, 163, 192, 0.08); 
}

[data-theme="light"] .mesh-bg {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 136, 204, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(204, 0, 119, 0.04) 0%, transparent 50%),
        var(--bg-primary);
}

[data-theme="light"] .upload-zone:hover { 
    border-color: var(--accent-cyan); 
    background: rgba(0, 136, 204, 0.05); 
}

[data-theme="light"] .data-table tbody tr:hover { 
    background: rgba(0, 136, 204, 0.05); 
}

[data-theme="light"] .urgency-critical { 
    background: linear-gradient(90deg, rgba(221, 51, 85, 0.1), transparent);
}
[data-theme="light"] .urgency-warning { 
    background: linear-gradient(90deg, rgba(204, 153, 0, 0.1), transparent);
}
[data-theme="light"] .urgency-ok { 
    background: linear-gradient(90deg, rgba(0, 170, 85, 0.05), transparent);
}

/* Base styles */
* { box-sizing: border-box; }

/* Auth loading - hide content until authenticated */
body.auth-loading {
    visibility: hidden;
}

body.auth-loading::before {
    content: '';
    visibility: visible;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 9999;
}

/* Collapsible sections */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    transition: margin-bottom 0.3s ease;
}

.section-header h3 {
    font-weight: 600;
    font-size: 0.9rem;
}

.section-header.collapsed {
    margin-bottom: 0;
}

.collapse-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    transition: all 0.2s;
}

.collapse-btn:hover {
    background: var(--bg-tertiary);
    color: var(--accent-cyan);
}

.collapse-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
    fill: currentColor;
    stroke: none;
}

.collapse-btn.collapsed svg {
    transform: rotate(180deg);
}

/* Smooth collapse animation using CSS grid */
.collapsible-wrapper {
    display: grid;
    grid-template-rows: 1fr;
    transition: grid-template-rows 0.35s ease-out;
}

.collapsible-wrapper.collapsed {
    grid-template-rows: 0fr;
}

.collapsible-content {
    overflow: hidden;
    min-height: 0;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
}

.mono { font-family: 'JetBrains Mono', monospace; }

.mesh-bg {
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(255, 0, 170, 0.06) 0%, transparent 50%),
        var(--bg-primary);
}

/* Card */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

/* Upload zones */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.upload-zone:hover { 
    border-color: var(--accent-cyan); 
    background: rgba(0, 212, 255, 0.02); 
}

.upload-zone.loaded { 
    border-color: var(--accent-green); 
    border-style: solid; 
}

.upload-zone.outdated { 
    border-color: var(--accent-red) !important; 
    border-style: solid; 
}

.upload-zone input[type="file"] { 
    display: none;
}

/* Status dot */
.status-dot { 
    width: 8px; 
    height: 8px; 
    border-radius: 50%; 
}
.status-dot.waiting { background: var(--text-secondary); }
.status-dot.loaded { background: var(--accent-green); }

/* Data table */
.data-table { 
    width: 100%; 
    border-collapse: separate; 
    border-spacing: 0; 
}

.data-table thead th {
    background: var(--bg-tertiary);
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: calc(var(--table-font-size, 13px) - 2px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    cursor: pointer;
    white-space: nowrap;
}

.data-table thead th:hover { 
    color: var(--accent-cyan); 
}

.data-table thead th.sorted-asc,
.data-table thead th.sorted-desc {
    color: var(--accent-cyan);
}

.data-table tbody tr:hover { 
    background: rgba(0, 212, 255, 0.03); 
}

.data-table tbody td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
    font-size: var(--table-font-size, 13px);
}

/* Sort icons */
.sort-icon {
    margin-left: 0.25rem;
    opacity: 0.5;
}

.sorted-asc .sort-icon,
.sorted-desc .sort-icon {
    opacity: 1;
}

/* Urgency rows */
.urgency-critical { 
    background: linear-gradient(90deg, rgba(255, 68, 102, 0.15), transparent); 
    border-left: 3px solid var(--accent-red); 
}
.urgency-warning { 
    background: linear-gradient(90deg, rgba(255, 204, 0, 0.1), transparent); 
    border-left: 3px solid var(--accent-yellow); 
}
.urgency-ok { 
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.05), transparent); 
    border-left: 3px solid var(--accent-green); 
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary { 
    background: linear-gradient(135deg, var(--accent-cyan), #0099cc); 
    color: var(--bg-primary); 
}
.btn-primary:hover { 
    transform: translateY(-1px); 
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3); 
}

.btn-secondary { 
    background: var(--bg-tertiary); 
    color: var(--text-primary); 
    border: 1px solid var(--border-color); 
}
.btn-secondary:hover { 
    border-color: var(--accent-cyan); 
}

.btn-danger { 
    background: rgba(255, 68, 102, 0.1); 
    color: var(--accent-red); 
    border: 1px solid rgba(255, 68, 102, 0.3); 
}
.btn-danger:hover {
    background: rgba(255, 68, 102, 0.2);
}

.btn-sm {
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
}

/* Input */
.input {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-primary);
    font-size: 0.85rem;
    width: 100%;
}

/* Custom number input styling */
input[type="number"].input {
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"].input::-webkit-outer-spin-button,
input[type="number"].input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Custom number input wrapper with styled buttons */
.number-input-wrapper {
    position: relative;
    display: inline-flex;
    align-items: stretch;
}

.number-input-wrapper .input {
    padding-right: 2rem;
    text-align: center;
}

.number-input-wrapper .number-controls {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.number-input-wrapper .number-btn {
    width: 18px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 3px;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 8px;
    line-height: 1;
    transition: all 0.15s;
}

.number-input-wrapper .number-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
}

.number-input-wrapper .number-btn:active {
    transform: scale(0.95);
}

.input:focus { 
    outline: none; 
    border-color: var(--accent-cyan); 
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1); 
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-cyan { background: rgba(0, 212, 255, 0.15); color: var(--accent-cyan); }
.badge-green { background: rgba(0, 255, 136, 0.15); color: var(--accent-green); }
.badge-cyan { background: rgba(0, 255, 255, 0.15); color: var(--accent-cyan); }
.badge-yellow { background: rgba(255, 204, 0, 0.15); color: var(--accent-yellow); }
.badge-red { background: rgba(255, 68, 102, 0.15); color: var(--accent-red); }

/* Number colors */
.num-positive { color: var(--accent-green); }
.num-negative { color: var(--accent-red); }

/* Custom checkbox */
.checkbox-custom {
    appearance: none; 
    width: 18px; 
    height: 18px;
    background: var(--bg-tertiary); 
    border: 1px solid var(--border-color);
    border-radius: 4px; 
    cursor: pointer; 
    position: relative;
}

.checkbox-custom:checked { 
    background: var(--accent-cyan); 
    border-color: var(--accent-cyan); 
}

.checkbox-custom:checked::after { 
    content: '✓'; 
    position: absolute; 
    color: var(--bg-primary); 
    font-size: 12px; 
    font-weight: bold; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
}

/* Modal */
.modal-overlay {
    position: fixed; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px); 
    z-index: 100;
    display: flex; 
    align-items: center; 
    justify-content: center;
    opacity: 0; 
    visibility: hidden; 
    transition: all 0.3s ease;
}

.modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.modal-content {
    background: var(--bg-secondary); 
    border: 1px solid var(--border-color);
    border-radius: 16px; 
    max-width: 600px; 
    width: 90%; 
    max-height: 80vh; 
    overflow: auto;
}

/* Variation Tabs */
.variation-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    margin-bottom: 0;
}

.variation-tab {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.variation-tab:hover {
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.variation-tab.active {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
}

/* Toast notifications */
.toast-container { 
    position: fixed; 
    bottom: 1.5rem; 
    right: 1.5rem; 
    z-index: 200; 
    display: flex; 
    flex-direction: column; 
    gap: 0.5rem; 
}

.toast {
    background: var(--bg-secondary); 
    border: 1px solid var(--border-color);
    border-radius: 8px; 
    padding: 0.75rem 1rem;
    display: flex; 
    align-items: center; 
    gap: 0.75rem;
    animation: slideIn 0.3s ease; 
    min-width: 280px;
}

.toast.success { border-left: 3px solid var(--accent-green); }
.toast.error { border-left: 3px solid var(--accent-red); }
.toast.warning { border-left: 3px solid var(--accent-yellow); }
.toast.info { border-left: 3px solid var(--accent-cyan); }

@keyframes slideIn { 
    from { transform: translateX(100%); opacity: 0; } 
    to { transform: translateX(0); opacity: 1; } 
}

/* Timeline */
.timeline-track { 
    height: 6px; 
    background: var(--bg-tertiary); 
    border-radius: 3px; 
    position: relative; 
    margin: 25px 1.5rem 25px 1.5rem; 
}

.timeline-fill { 
    position: absolute; 
    height: 100%; 
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-magenta)); 
    border-radius: 3px; 
}

.timeline-handle {
    width: 16px; 
    height: 16px; 
    background: var(--text-primary);
    border: 3px solid var(--accent-cyan); 
    border-radius: 50%;
    position: absolute; 
    top: -5px; 
    cursor: grab;
    transform: translateX(-50%);
    z-index: 2;
}

.timeline-handle:hover {
    transform: translateX(-50%) scale(1.1);
}

.timeline-handle:active {
    cursor: grabbing;
}

/* Timeline tick marks */
.timeline-tick {
    position: absolute;
    width: 2px;
    height: 14px;
    background: var(--border-color);
    top: -4px;
    transform: translateX(-50%);
    border-radius: 1px;
}

/* Timeline labels */
.timeline-labels-top,
.timeline-labels-bottom {
    position: relative;
    height: 18px;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
}

.timeline-labels-top {
    margin-bottom: 2px;
}

.timeline-labels-bottom {
    margin-top: 2px;
}

.timeline-label {
    position: absolute;
    transform: translateX(-50%);
    white-space: nowrap;
}

/* Stop points for timeline */
.timeline-stop {
    position: absolute;
    width: 4px;
    height: 12px;
    background: var(--border-color);
    top: -3px;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }

/* Mobile */
@media (max-width: 1024px) { 
    .hide-mobile { display: none; } 
}

/* Column management modal */
.column-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: grab;
    transition: all 0.2s, margin 0.15s ease-out;
}

.column-item:hover { 
    border-color: var(--accent-cyan); 
}

.column-item.dragging { 
    opacity: 0.5; 
    border-style: dashed; 
}

.column-item.hidden-col { 
    opacity: 0.5; 
}

.column-item .drag-handle { 
    color: var(--text-secondary); 
    margin-right: 0.5rem;
    cursor: grab;
}

/* Drag gap indicators */
.column-item.drag-gap-above {
    margin-top: 2.5rem;
    border-top-color: var(--accent-cyan);
}

.column-item.drag-gap-above::before {
    content: '';
    position: absolute;
    top: -1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

.column-item.drag-gap-below {
    margin-bottom: 2.5rem;
    border-bottom-color: var(--accent-cyan);
}

.column-item.drag-gap-below::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-cyan);
    border-radius: 2px;
}

/* Position relative for pseudo-elements */
.column-item {
    position: relative;
}

/* Theme toggle icons */
/* Theme icons - controlled by JS */
.theme-icon-synthwave,
.theme-icon-moon,
.theme-icon-light {
    display: none;
}
.theme-icon-synthwave {
    display: block; /* Default: show rainbow (synthwave is default theme) */
}

/* Stat card for modal */
.stat-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.stat-value { 
    font-size: 1.5rem; 
    font-weight: 700; 
}

.stat-label { 
    font-size: 0.7rem; 
    text-transform: uppercase; 
    color: var(--text-secondary); 
    margin-top: 0.25rem; 
}

/* Delete button in table rows */
.btn-delete-row {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s;
}

.btn-delete-row:hover {
    color: var(--accent-red);
    background: rgba(255, 68, 102, 0.1);
}

/* Font size buttons */
.font-size-btn {
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s;
    min-width: 2rem;
    text-align: center;
}

.font-size-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
}

.font-size-btn:active {
    transform: scale(0.95);
}

.font-size-btn.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-primary);
}

.font-size-btn-small {
    font-size: 0.65rem;
}

.font-size-btn-normal {
    font-size: 0.8rem;
}

.font-size-btn-large {
    font-size: 0.95rem;
}

/* Upload zone action buttons */
.upload-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.upload-actions .btn {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
}

/* External link style */
.external-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: all 0.2s;
}

.external-link:hover {
    text-decoration: underline;
}

.external-link svg {
    width: 12px;
    height: 12px;
}

/* Input with clear button */
.input-wrapper {
    position: relative;
    display: inline-block;
}

.input-clearable {
    padding-right: 2rem !important;
}

.input-clear-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.2s;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.input-wrapper:hover .input-clear-btn,
.input-clearable:focus + .input-clear-btn {
    opacity: 0.5;
}

.input-clear-btn:hover {
    opacity: 1 !important;
    color: var(--accent-red);
    background: rgba(255, 68, 102, 0.1);
}

/* Multi-filter container */
.multi-filter-container {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.multi-filter-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    min-width: 200px;
    max-width: 400px;
    transition: border-color 0.2s;
}

.multi-filter-inner:focus-within {
    border-color: var(--accent-cyan);
}

.multi-filter-input {
    flex: 1;
    min-width: 80px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.875rem;
    padding: 0.25rem 0;
    outline: none;
}

.multi-filter-input::placeholder {
    color: var(--text-secondary);
}

.filter-tags {
    display: contents;
}

.filter-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.2rem;
    background: var(--accent-cyan);
    color: var(--bg-primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem 0.2rem;
    border-radius: 1rem;
    white-space: nowrap;
    line-height: 1.2;
}

.filter-tag-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--bg-primary);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.15s;
}

.filter-tag-remove:hover {
    opacity: 1;
}

.filter-add-btn,
.filter-clear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.375rem;
    border: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 0;
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
    padding: 0 0 0.15rem 0;
}

.filter-add-btn:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    border-color: var(--accent-cyan);
}

.filter-clear-btn:hover {
    background: var(--accent-red);
    color: white;
    border-color: var(--accent-red);
}

/* Table column borders */
.data-table tbody td {
    padding: 0.625rem 1rem;
    border-bottom: 1px solid rgba(42, 42, 58, 0.5);
    border-right: 1px solid rgba(42, 42, 58, 0.3);
    font-size: var(--table-font-size, 13px);
}

.data-table tbody td:last-child {
    border-right: none;
}

.data-table thead th {
    border-right: 1px solid rgba(42, 42, 58, 0.3);
}

.data-table thead th:last-child {
    border-right: none;
}
