/* ═══════════════════════════════════════════════════════════════════════════
   UpdateHub Dashboard — "Aurora Glass" Design System
   Glassmorphism + Data-Dense Dashboard
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Design Tokens ──────────────────────────────────────────────────── */

:root {
    /* Background */
    --bg-base: #06080F;
    --bg-surface: #0C1220;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.7);
    --bg-input: rgba(10, 16, 30, 0.8);
    --border: rgba(56, 68, 100, 0.3);
    --border-hover: rgba(99, 102, 241, 0.4);
    --border-subtle: rgba(56, 68, 100, 0.15);

    /* Accent */
    --accent: #818CF8;
    --accent-bright: #A5B4FC;
    --accent-dim: #6366F1;
    --accent-glow: rgba(129, 140, 248, 0.15);

    /* Semantic */
    --success: #34D399;
    --warning: #FBBF24;
    --error: #F87171;
    --info: #60A5FA;

    /* Text */
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --text-dim: #475569;

    /* Gradients */
    --gradient-accent: linear-gradient(135deg, #818CF8, #6366F1);
    --gradient-success: linear-gradient(135deg, #34D399, #10B981);
    --gradient-surface: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.4));

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Radius */
    --radius-card: 12px;
    --radius-input: 8px;
    --radius-tag: 6px;
    --radius-full: 9999px;

    /* Easing */
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-smooth: cubic-bezier(.4, 0, .2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(129, 140, 248, 0.15);
    --shadow-glow-lg: 0 0 40px rgba(129, 140, 248, 0.2);

    /* Sidebar */
    --sidebar-width: 260px;
    --sidebar-collapsed-width: 64px;

    /* Z-index layers */
    --z-sidebar: 40;
    --z-modal: 50;
    --z-toast: 60;
    --z-tooltip: 70;
}

/* Future light mode hook */
@media (prefers-color-scheme: light) {
    :root {
        /* Override tokens here for light mode when ready */
    }
}

/* ── 2. Base Reset & Defaults ──────────────────────────────────────────── */

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

code, pre, kbd, samp {
    font-family: var(--font-mono);
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s var(--ease-smooth);
}

a:hover {
    color: var(--accent-bright);
}

img, svg {
    display: block;
    max-width: 100%;
}

/* ── 3. Selection ──────────────────────────────────────────────────────── */

::selection {
    background: rgba(129, 140, 248, 0.3);
    color: var(--text-primary);
}

::-moz-selection {
    background: rgba(129, 140, 248, 0.3);
    color: var(--text-primary);
}

/* ── 4. Scrollbar ──────────────────────────────────────────────────────── */

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--text-dim);
    border-radius: var(--radius-full);
    transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--text-dim) transparent;
}

/* ── 5. Glass Card System ──────────────────────────────────────────────── */

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out),
        background 0.3s var(--ease-out);
}

.glass-hover {
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out),
        background 0.3s var(--ease-out);
}

.glass-hover:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    box-shadow:
        0 0 0 1px rgba(99, 102, 241, 0.08),
        0 4px 24px rgba(0, 0, 0, 0.3),
        var(--shadow-glow);
}

.glass-strong {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(32px) saturate(1.3);
    -webkit-backdrop-filter: blur(32px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.glass-input {
    background: var(--bg-input);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    transition:
        border-color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background 0.25s var(--ease-out);
}

.glass-input:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(10, 16, 30, 0.95);
}

/* ── 6. Sidebar ────────────────────────────────────────────────────────── */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: var(--sidebar-width);
    background: rgba(12, 18, 32, 0.9);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border-right: 1px solid var(--border);
    z-index: var(--z-sidebar);
    display: flex;
    flex-direction: column;
    padding: 20px 12px;
    gap: 4px;
    transition: width 0.35s var(--ease-out);
    overflow-x: hidden;
    overflow-y: auto;
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
        180deg,
        transparent 0%,
        var(--accent-glow) 30%,
        var(--accent-glow) 70%,
        transparent 100%
    );
    pointer-events: none;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-input);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition:
        color 0.2s var(--ease-out),
        background 0.2s var(--ease-out),
        box-shadow 0.2s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.sidebar-link svg,
.sidebar-link .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: opacity 0.2s var(--ease-out);
}

.sidebar-link:hover {
    color: var(--text-primary);
    background: rgba(56, 68, 100, 0.15);
}

.sidebar-link:hover svg,
.sidebar-link:hover .icon {
    opacity: 1;
}

.sidebar-link.active {
    color: var(--accent-bright);
    background: var(--accent-glow);
    box-shadow: inset 0 0 0 1px rgba(129, 140, 248, 0.1);
}

.sidebar-link.active svg,
.sidebar-link.active .icon {
    opacity: 1;
    color: var(--accent);
}

.sidebar-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 3px;
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    background: var(--gradient-accent);
}

/* Collapsed sidebar */
.sidebar-collapsed {
    width: var(--sidebar-collapsed-width);
    padding: 20px 8px;
}

.sidebar-collapsed .sidebar-link {
    justify-content: center;
    padding: 10px;
}

.sidebar-collapsed .sidebar-link span,
.sidebar-collapsed .sidebar-label {
    display: none;
}

.sidebar-collapsed .sidebar-link.active::before {
    display: none;
}

.sidebar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-input);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition:
        color 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        background 0.2s var(--ease-out);
    flex-shrink: 0;
}

.sidebar-toggle:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
}

.sidebar-section {
    padding: 16px 14px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-dim);
    white-space: nowrap;
}

/* ── 7. Keyframe Definitions ──────────────────────────────────────────── */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(24px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(24px);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 8px var(--accent-glow);
    }
    50% {
        box-shadow: 0 0 20px var(--accent-glow), 0 0 40px rgba(129, 140, 248, 0.08);
    }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes shakeX {
    10%, 90% { transform: translateX(-1px); }
    20%, 80% { transform: translateX(2px); }
    30%, 50%, 70% { transform: translateX(-4px); }
    40%, 60% { transform: translateX(4px); }
}

@keyframes pageEnter {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pageExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes toastProgress {
    from  { transform: scaleX(1); }
    to    { transform: scaleX(0); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%      { transform: translate(30px, -20px) scale(1.05); }
    66%      { transform: translate(-20px, 15px) scale(0.95); }
}

/* ── 8. Animation Utility Classes ──────────────────────────────────────── */

.fade-up {
    animation: fadeUp 0.45s var(--ease-out) both;
    animation-delay: var(--delay, 0ms);
}

.fade-in {
    animation: fadeIn 0.35s var(--ease-out) both;
    animation-delay: var(--delay, 0ms);
}

.slide-in-right {
    animation: slideInRight 0.4s var(--ease-out) both;
    animation-delay: var(--delay, 0ms);
}

.slide-out-right {
    animation: slideOutRight 0.3s var(--ease-out) both;
}

.scale-in {
    animation: scaleIn 0.35s var(--ease-out) both;
    animation-delay: var(--delay, 0ms);
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(30, 41, 59, 0.5) 25%,
        rgba(51, 65, 85, 0.5) 50%,
        rgba(30, 41, 59, 0.5) 75%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease infinite;
}

.pulse-glow {
    animation: pulseGlow 2.5s ease-in-out infinite;
}

.spin {
    animation: spin 1s linear infinite;
}

.page-enter {
    animation: pageEnter 0.4s var(--ease-out) both;
}

.page-exit {
    animation: pageExit 0.25s var(--ease-out) both;
}

/* ── 9. Toast System ───────────────────────────────────────────────────── */

.toast {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 18px;
    min-width: 320px;
    max-width: 440px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow: hidden;
    z-index: var(--z-toast);
    pointer-events: auto;
}

.toast::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: var(--radius-full) 0 0 var(--radius-full);
}

/* Toast progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    transform-origin: left center;
    animation: toastProgress var(--toast-duration, 5s) linear forwards;
}

/* Toast variants */
.toast-ok::before {
    background: var(--gradient-success);
}

.toast-ok .toast-progress {
    background: var(--success);
}

.toast-ok .toast-icon {
    color: var(--success);
}

.toast-err::before {
    background: linear-gradient(135deg, var(--error), #DC2626);
}

.toast-err .toast-progress {
    background: var(--error);
}

.toast-err .toast-icon {
    color: var(--error);
}

.toast-info::before {
    background: linear-gradient(135deg, var(--info), #3B82F6);
}

.toast-info .toast-progress {
    background: var(--info);
}

.toast-info .toast-icon {
    color: var(--info);
}

.toast-warn::before {
    background: linear-gradient(135deg, var(--warning), #F59E0B);
}

.toast-warn .toast-progress {
    background: var(--warning);
}

.toast-warn .toast-icon {
    color: var(--warning);
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
}

.toast-body {
    flex: 1;
    min-width: 0;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 2px;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.8125rem;
}

.toast-close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-tag);
    transition: color 0.2s, background 0.2s;
}

.toast-close:hover {
    color: var(--text-primary);
    background: rgba(56, 68, 100, 0.2);
}

/* Toast container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: var(--z-toast);
    pointer-events: none;
}

.toast-container .toast {
    pointer-events: auto;
}

/* ── 10. Modal System ──────────────────────────────────────────────────── */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s var(--ease-out) both;
}

.modal-overlay.closing {
    animation: fadeIn 0.2s var(--ease-out) reverse both;
}

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 540px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(32px) saturate(1.3);
    -webkit-backdrop-filter: blur(32px) saturate(1.3);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    box-shadow:
        var(--shadow-lg),
        0 0 0 1px rgba(99, 102, 241, 0.05),
        var(--shadow-glow);
    animation: scaleIn 0.35s var(--ease-out) both;
}

.modal-overlay.closing .modal-panel {
    animation: scaleIn 0.25s var(--ease-out) reverse both;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.modal-header h2,
.modal-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 20px 24px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 24px 20px;
}

.modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-input);
    transition: color 0.2s, background 0.2s;
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(56, 68, 100, 0.2);
}

/* Wide modal variant */
.modal-panel-wide {
    max-width: 720px;
}

.modal-panel-full {
    max-width: 960px;
}

/* ── 11. Drop Zone ─────────────────────────────────────────────────────── */

.drop-zone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 24px;
    border: 2px dashed var(--border);
    border-radius: var(--radius-card);
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-muted);
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.3s var(--ease-out),
        background 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out),
        transform 0.3s var(--ease-out),
        color 0.3s var(--ease-out);
}

.drop-zone:hover {
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
    color: var(--text-secondary);
}

.drop-zone.drag-over {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.08);
    box-shadow:
        0 0 0 4px var(--accent-glow),
        var(--shadow-glow-lg);
    transform: scale(1.01);
    color: var(--accent-bright);
}

.drop-zone.drag-over .drop-zone-icon {
    color: var(--accent);
    transform: translateY(-2px);
}

.drop-zone-icon {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
    transition:
        color 0.3s var(--ease-out),
        transform 0.3s var(--ease-out);
}

.drop-zone-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.drop-zone-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ── 12. Table Styles ──────────────────────────────────────────────────── */

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-card);
    border: 1px solid var(--border);
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.table-wrapper table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.table-wrapper thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-wrapper thead th {
    padding: 12px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    background: rgba(12, 18, 32, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.table-wrapper tbody td {
    padding: 12px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
    vertical-align: middle;
}

.table-row {
    position: relative;
    transition:
        background 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
}

.table-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gradient-accent);
    border-radius: 0 var(--radius-full) var(--radius-full) 0;
    opacity: 0;
    transform: scaleY(0.5);
    transition:
        opacity 0.2s var(--ease-out),
        transform 0.2s var(--ease-out);
}

.table-row:hover {
    background: rgba(56, 68, 100, 0.08);
    color: var(--text-primary);
}

.table-row:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.table-row:hover td {
    color: var(--text-primary);
}

/* Alternating row tint */
.table-row:nth-child(even) {
    background: rgba(15, 23, 42, 0.2);
}

.table-row:nth-child(even):hover {
    background: rgba(56, 68, 100, 0.12);
}

/* Sortable header */
.table-sort {
    cursor: pointer;
    user-select: none;
    transition: color 0.2s;
}

.table-sort:hover {
    color: var(--text-primary);
}

.table-sort.asc::after,
.table-sort.desc::after {
    margin-left: 4px;
    color: var(--accent);
}

.table-sort.asc::after  { content: '↑'; }
.table-sort.desc::after { content: '↓'; }

/* ── 13. Tag / Badge System ────────────────────────────────────────────── */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-tag);
    white-space: nowrap;
    line-height: 1.6;
    transition:
        background 0.2s var(--ease-out),
        color 0.2s var(--ease-out);
}

.tag-new {
    background: var(--gradient-success);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.tag-full {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-bright);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.tag-delta {
    background: rgba(251, 191, 36, 0.12);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.tag-group {
    background: rgba(99, 102, 241, 0.14);
    color: #CBD5E1;
    border: 1px solid rgba(129, 140, 248, 0.26);
}

.tag-success {
    background: rgba(52, 211, 153, 0.12);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.2);
}

.tag-error {
    background: rgba(248, 113, 113, 0.12);
    color: var(--error);
    border: 1px solid rgba(248, 113, 113, 0.2);
}

.tag-info {
    background: rgba(96, 165, 250, 0.12);
    color: var(--info);
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.tag-warn {
    background: rgba(251, 191, 36, 0.12);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

.tag-channel-stable {
    background: rgba(52, 211, 153, 0.12);
    color: var(--success);
    border: 1px solid rgba(52, 211, 153, 0.24);
}

.tag-channel-preview {
    background: rgba(251, 191, 36, 0.14);
    color: var(--warning);
    border: 1px solid rgba(251, 191, 36, 0.24);
}

.tag-channel-nightly {
    background: rgba(129, 140, 248, 0.15);
    color: var(--accent-bright);
    border: 1px solid rgba(129, 140, 248, 0.3);
}

/* Dot indicator inside tags */
.tag-dot {
    width: 6px;
    height: 6px;
    border-radius: var(--radius-full);
    background: currentColor;
    flex-shrink: 0;
}

/* ── 14. Buttons ───────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.4;
    border: none;
    border-radius: var(--radius-input);
    cursor: pointer;
    white-space: nowrap;
    user-select: none;
    transition:
        background 0.25s var(--ease-out),
        color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        transform 0.15s var(--ease-out),
        border-color 0.25s var(--ease-out);
}

.btn:active {
    transform: scale(0.97);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn svg,
.btn .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Primary */
.btn-primary {
    background: var(--gradient-accent);
    color: #fff;
    box-shadow: var(--shadow-sm), 0 0 16px rgba(129, 140, 248, 0.15);
}

.btn-primary:hover:not(:disabled) {
    box-shadow:
        var(--shadow-md),
        0 0 24px rgba(129, 140, 248, 0.25);
    transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

/* Ghost */
.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-ghost:hover:not(:disabled) {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: rgba(56, 68, 100, 0.12);
}

/* Danger */
.btn-danger {
    background: linear-gradient(135deg, var(--error), #DC2626);
    color: #fff;
    box-shadow: var(--shadow-sm), 0 0 16px rgba(248, 113, 113, 0.15);
}

.btn-danger:hover:not(:disabled) {
    box-shadow:
        var(--shadow-md),
        0 0 24px rgba(248, 113, 113, 0.25);
    transform: translateY(-1px);
}

.btn-danger:active:not(:disabled) {
    transform: translateY(0) scale(0.97);
}

/* Subtle / text button */
.btn-subtle {
    background: transparent;
    color: var(--text-muted);
    padding: 6px 10px;
}

.btn-subtle:hover:not(:disabled) {
    color: var(--text-primary);
    background: rgba(56, 68, 100, 0.12);
}

/* Icon-only button */
.btn-icon {
    padding: 8px;
    width: 36px;
    height: 36px;
}

/* Small variant */
.btn-sm {
    padding: 5px 12px;
    font-size: 0.8125rem;
    border-radius: var(--radius-tag);
}

/* ── 15. Input Styles ──────────────────────────────────────────────────── */

.input {
    display: block;
    width: 100%;
    padding: 9px 14px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    outline: none;
    transition:
        border-color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background 0.25s var(--ease-out);
}

.input::placeholder {
    color: var(--text-dim);
}

.input:hover:not(:focus):not(:disabled) {
    border-color: rgba(56, 68, 100, 0.5);
}

.input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(10, 16, 30, 0.95);
}

.input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Select */
.select {
    display: block;
    width: 100%;
    padding: 9px 36px 9px 14px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    transition:
        border-color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background-color 0.25s var(--ease-out);
}

.select:hover:not(:focus):not(:disabled) {
    border-color: rgba(56, 68, 100, 0.5);
}

.select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Textarea */
.textarea {
    display: block;
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    outline: none;
    resize: vertical;
    min-height: 80px;
    transition:
        border-color 0.25s var(--ease-out),
        box-shadow 0.25s var(--ease-out),
        background 0.25s var(--ease-out);
}

.textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: rgba(10, 16, 30, 0.95);
}

/* Label */
.label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

/* Form group */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.form-error {
    font-size: 0.75rem;
    color: var(--error);
}

/* ── 16. Stat Card ─────────────────────────────────────────────────────── */

.stat-card {
    position: relative;
    padding: 20px;
    background: var(--bg-card);
    backdrop-filter: blur(24px) saturate(1.2);
    -webkit-backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    transition:
        border-color 0.3s var(--ease-out),
        box-shadow 0.3s var(--ease-out);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stat-accent, var(--gradient-accent));
    border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.stat-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.stat-card-label {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat-card-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 500;
}

.stat-card-change.up {
    color: var(--success);
}

.stat-card-change.down {
    color: var(--error);
}

/* Stat accent variants */
.stat-card-accent  { --stat-accent: var(--gradient-accent); }
.stat-card-success { --stat-accent: var(--gradient-success); }
.stat-card-warning { --stat-accent: linear-gradient(135deg, #FBBF24, #F59E0B); }
.stat-card-error   { --stat-accent: linear-gradient(135deg, #F87171, #DC2626); }
.stat-card-info    { --stat-accent: linear-gradient(135deg, #60A5FA, #3B82F6); }

/* Counter animation support */
.stat-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
    transition: transform 0.4s var(--ease-out);
}

/* ── 17. Progress Bar ──────────────────────────────────────────────────── */

.progress {
    position: relative;
    width: 100%;
    height: 6px;
    background: rgba(56, 68, 100, 0.2);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: var(--radius-full);
    background: var(--gradient-accent);
    box-shadow: 0 0 12px rgba(129, 140, 248, 0.3);
    transition: width 0.6s var(--ease-out);
}

.progress-fill-success {
    background: var(--gradient-success);
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.3);
}

.progress-fill-warning {
    background: linear-gradient(135deg, #FBBF24, #F59E0B);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.progress-fill-error {
    background: linear-gradient(135deg, #F87171, #DC2626);
    box-shadow: 0 0 12px rgba(248, 113, 113, 0.3);
}

/* Indeterminate progress */
.progress-indeterminate .progress-fill {
    width: 40% !important;
    animation: progressIndeterminate 1.5s var(--ease-smooth) infinite;
}

@keyframes progressIndeterminate {
    0%   { left: -40%; }
    100% { left: 100%; }
}

/* Thin variant */
.progress-thin {
    height: 3px;
}

/* ── 18. Empty State ───────────────────────────────────────────────────── */

.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    animation: fadeUp 0.5s var(--ease-out) both;
}

.empty-state-icon {
    width: 64px;
    height: 64px;
    color: var(--text-dim);
    margin-bottom: 16px;
    opacity: 0.6;
    animation: pulseGlow 3s ease-in-out infinite;
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 360px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* ── 19. Breadcrumb ────────────────────────────────────────────────────── */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 0.8125rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    transition: color 0.2s var(--ease-out);
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s var(--ease-out);
}

.breadcrumb-item a:hover {
    color: var(--accent-bright);
}

.breadcrumb-item:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    padding: 0 8px;
    color: var(--text-dim);
    font-size: 0.75rem;
    user-select: none;
}

.breadcrumb-sep::after {
    content: '/';
}

/* ── 20. Skeleton Loading ──────────────────────────────────────────────── */

.skeleton {
    position: relative;
    overflow: hidden;
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--radius-input);
    color: transparent !important;
    user-select: none;
    pointer-events: none;
}

.skeleton * {
    visibility: hidden;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(51, 65, 85, 0.4) 40%,
        rgba(51, 65, 85, 0.4) 60%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 1.8s ease infinite;
    border-radius: inherit;
}

.skeleton-text {
    height: 14px;
    border-radius: var(--radius-tag);
    margin-bottom: 8px;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-heading {
    height: 24px;
    width: 50%;
    border-radius: var(--radius-tag);
    margin-bottom: 12px;
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}

.skeleton-card {
    height: 120px;
    border-radius: var(--radius-card);
}

/* ── 21. Ambient Background Effects ────────────────────────────────────── */

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: -1;
    animation: orbFloat 20s ease-in-out infinite;
    will-change: transform;
}

.ambient-orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-dim), transparent 70%);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.ambient-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #6366F1, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -7s;
    animation-duration: 25s;
}

.ambient-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #34D399, transparent 70%);
    top: 40%;
    left: 30%;
    opacity: 0.06;
    animation-delay: -13s;
    animation-duration: 30s;
}

/* Noise texture overlay */
.ambient-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.015;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ── 22. Utility Classes ───────────────────────────────────────────────── */

/* Text */
.text-primary   { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted     { color: var(--text-muted); }
.text-dim       { color: var(--text-dim); }
.text-accent    { color: var(--accent); }
.text-success   { color: var(--success); }
.text-warning   { color: var(--warning); }
.text-error     { color: var(--error); }
.text-info      { color: var(--info); }

/* Font */
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

.font-medium    { font-weight: 500; }
.font-semibold  { font-weight: 600; }
.font-bold      { font-weight: 700; }

.text-xs  { font-size: 0.75rem; }
.text-sm  { font-size: 0.875rem; }
.text-base { font-size: 1rem; color: inherit; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }

/* Tabular numbers for data */
.tabular-nums {
    font-variant-numeric: tabular-nums;
}

/* Truncate */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Line clamp */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Divider */
.divider {
    height: 1px;
    background: var(--border);
    border: none;
    margin: 16px 0;
}

.divider-subtle {
    background: var(--border-subtle);
}

/* Focus visible ring */
.focus-ring:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px var(--bg-base), 0 0 0 4px var(--accent);
}

.shake-x {
    animation: shakeX 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

/* Visually hidden (accessible) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ── 23. Responsive Helpers ────────────────────────────────────────────── */

/* Main content offset for sidebar */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    transition: margin-left 0.35s var(--ease-out);
}

.sidebar-collapsed ~ .main-content,
.main-content-collapsed {
    margin-left: var(--sidebar-collapsed-width);
}

/* Responsive grid helpers */
.grid-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* Tablet */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content,
    .main-content-collapsed {
        margin-left: 0;
    }

    .grid-stats {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .modal-panel {
        max-width: calc(100vw - 48px);
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --sidebar-width: 100%;
    }

    .grid-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .grid-cards {
        grid-template-columns: 1fr;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-card-value {
        font-size: 1.375rem;
    }

    .toast {
        min-width: unset;
        max-width: calc(100vw - 32px);
    }

    .toast-container {
        left: 16px;
        right: 16px;
        top: 12px;
    }

    .modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .modal-panel {
        max-width: 100%;
        border-radius: var(--radius-card) var(--radius-card) 0 0;
        max-height: 85vh;
    }

    .table-wrapper {
        font-size: 0.8125rem;
    }

    .table-wrapper thead th,
    .table-wrapper tbody td {
        padding: 10px 12px;
    }

    .drop-zone {
        padding: 28px 16px;
    }

    .breadcrumb {
        font-size: 0.75rem;
    }
}

/* Small mobile */
@media (max-width: 380px) {
    .grid-stats {
        grid-template-columns: 1fr;
    }
}

/* ── 24. Reduced Motion ────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ambient-orb {
        display: none;
    }

    .shimmer::after,
    .skeleton::after {
        animation: none;
        background: rgba(51, 65, 85, 0.3);
    }

    .pulse-glow {
        animation: none;
        box-shadow: 0 0 8px var(--accent-glow);
    }

    .progress-fill {
        transition: none;
    }

    .shake-x {
        animation: none;
    }
}

/* ── 25. Print Styles ──────────────────────────────────────────────────── */

@media print {
    .sidebar,
    .ambient-orb,
    .ambient-noise,
    .toast-container,
    .modal-overlay {
        display: none !important;
    }

    .main-content {
        margin-left: 0 !important;
    }

    body {
        background: #fff;
        color: #000;
    }

    .glass,
    .glass-strong,
    .stat-card,
    .table-wrapper {
        background: #fff;
        border: 1px solid #ddd;
        backdrop-filter: none;
        box-shadow: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   End of Aurora Glass Design System
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 26. Header Search ─────────────────────────────────────────────────── */

.search-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-input);
    color: var(--text-muted);
    transition:
        border-color 0.2s var(--ease-out),
        background 0.2s var(--ease-out),
        box-shadow 0.2s var(--ease-out);
}

.search-box:hover {
    border-color: var(--border-hover);
    color: var(--text-secondary);
}

.search-box:focus-within {
    border-color: var(--accent);
    background: rgba(10, 16, 30, 0.95);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.8125rem;
    line-height: 1.4;
    -webkit-appearance: none;
    appearance: none;
    caret-color: var(--accent);
}

.search-input:focus {
    outline: none;
    box-shadow: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    max-height: min(65vh, 560px);
    overflow-y: auto;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 16px 48px rgba(2, 6, 23, 0.55);
    z-index: 52;
    padding: 8px;
}

.search-empty {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
    padding: 14px 10px;
}

.search-section {
    padding: 4px 0;
}

.search-section + .search-section {
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    margin-top: 6px;
    padding-top: 10px;
}

.search-section-title {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    padding: 0 8px 6px;
}

.search-item {
    width: 100%;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 10px;
    padding: 8px 10px;
    background: transparent;
    transition: background 0.16s ease, border-color 0.16s ease;
    border: 1px solid transparent;
}

.search-item:hover,
.search-item.active {
    background: rgba(99, 102, 241, 0.12);
    border-color: rgba(129, 140, 248, 0.3);
}

.search-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.search-item-title {
    font-size: 0.8125rem;
    color: var(--text-primary);
    font-weight: 600;
}

.search-item-kind {
    font-size: 0.625rem;
    color: var(--accent-bright);
    border: 1px solid rgba(129, 140, 248, 0.35);
    border-radius: 999px;
    padding: 1px 6px;
    line-height: 1.3;
    white-space: nowrap;
}

.search-item-subtitle {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    margin-top: 2px;
    word-break: break-word;
}

.search-item-description {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.release-row-highlight {
    animation: releaseRowHighlight 2s ease;
}

@keyframes releaseRowHighlight {
    0% {
        background: rgba(99, 102, 241, 0.42);
        box-shadow: inset 3px 0 0 rgba(129, 140, 248, 0.95);
    }

    100% {
        background: transparent;
        box-shadow: inset 0 0 0 transparent;
    }
}
