@import "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap";
/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg-primary: #0a0e1a;
  --bg-secondary: #111827;
  --bg-tertiary: #1a2035;
  --bg-card: #111827b3;
  --bg-card-hover: #1a2035d9;
  --bg-glass: #11182780;
  --bg-input: #1a203599;
  --border-subtle: #ffffff0f;
  --border-default: #ffffff1a;
  --border-strong: #ffffff26;
  --border-accent: #6366f166;
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-tertiary: #64748b;
  --text-inverse: #0a0e1a;
  --accent-primary: #6366f1;
  --accent-primary-hover: #818cf8;
  --accent-primary-muted: #6366f126;
  --accent-secondary: #8b5cf6;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a78bfa 100%);
  --accent-glow: 0 0 20px #6366f14d, 0 0 60px #6366f11a;
  --status-success: #34d399;
  --status-success-bg: #34d3991f;
  --status-success-border: #34d3994d;
  --status-warning: #fbbf24;
  --status-warning-bg: #fbbf241f;
  --status-warning-border: #fbbf244d;
  --status-error: #f87171;
  --status-error-bg: #f871711f;
  --status-error-border: #f871714d;
  --status-info: #60a5fa;
  --status-info-bg: #60a5fa1f;
  --status-info-border: #60a5fa4d;
  --status-processing: #c084fc;
  --status-processing-bg: #c084fc1f;
  --status-processing-border: #c084fc4d;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --text-xs: .75rem;
  --text-sm: .8125rem;
  --text-base: .9375rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px #0000004d;
  --shadow-md: 0 4px 12px #00000040;
  --shadow-lg: 0 8px 30px #0000004d;
  --shadow-xl: 0 16px 50px #0006;
  --transition-fast: .15s cubic-bezier(.4, 0, .2, 1);
  --transition-base: .25s cubic-bezier(.4, 0, .2, 1);
  --transition-slow: .4s cubic-bezier(.4, 0, .2, 1);
  --transition-spring: .5s cubic-bezier(.34, 1.56, .64, 1);
  --sidebar-width: 260px;
  --sidebar-collapsed: 72px;
  --header-height: 64px;
}

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

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

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

body:before {
  content: "";
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(80% 50% at 50% -20%, #6366f114, #0000), radial-gradient(60% 40% at 80% 100%, #8b5cf60d, #0000);
  position: fixed;
  inset: 0;
}

a {
  color: var(--accent-primary);
  transition: color var(--transition-fast);
  text-decoration: none;
}

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--border-default);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--border-strong);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .5;
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

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

  100% {
    background-position: 200% 0;
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn var(--transition-slow) ease-out both;
}

.animate-slide-up {
  animation: slideInUp var(--transition-slow) ease-out both;
}

.stagger-children > * {
  animation: fadeIn var(--transition-slow) ease-out both;
}

.stagger-children > :first-child {
  animation-delay: 0s;
}

.stagger-children > :nth-child(2) {
  animation-delay: 60ms;
}

.stagger-children > :nth-child(3) {
  animation-delay: .12s;
}

.stagger-children > :nth-child(4) {
  animation-delay: .18s;
}

.stagger-children > :nth-child(5) {
  animation-delay: .24s;
}

.stagger-children > :nth-child(6) {
  animation-delay: .3s;
}

.stagger-children > :nth-child(7) {
  animation-delay: .36s;
}

.stagger-children > :nth-child(8) {
  animation-delay: .42s;
}

.app-layout {
  z-index: 1;
  min-height: 100vh;
  display: flex;
  position: relative;
}

.main-content {
  margin-left: var(--sidebar-width);
  padding: var(--space-8);
  padding-top: calc(var(--header-height)  + var(--space-8));
  transition: margin-left var(--transition-base);
  flex: 1;
  max-width: 100%;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
  z-index: 100;
  transition: width var(--transition-base);
  flex-direction: column;
  display: flex;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

.sidebar-logo {
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-subtle);
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-height);
  display: flex;
}

.sidebar-logo-icon {
  border-radius: var(--radius-md);
  background: var(--accent-gradient);
  width: 36px;
  height: 36px;
  box-shadow: var(--accent-glow);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  display: flex;
}

.sidebar-logo-text {
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sidebar-logo-text span {
  font-weight: 400;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  display: block;
}

.sidebar-nav {
  padding: var(--space-4);
  gap: var(--space-1);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow-y: auto;
}

.sidebar-section-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: var(--space-4) var(--space-3) var(--space-2);
  font-weight: 600;
}

.sidebar-link {
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-3);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  width: 100%;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  position: relative;
}

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

.sidebar-link.active {
  background: var(--accent-primary-muted);
  color: var(--accent-primary-hover);
}

.sidebar-link.active:before {
  content: "";
  border-radius: var(--radius-full);
  background: var(--accent-primary);
  width: 3px;
  height: 60%;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.sidebar-link-icon {
  text-align: center;
  flex-shrink: 0;
  width: 24px;
  font-size: 1.15rem;
}

.sidebar-link-badge {
  font-size: var(--text-xs);
  border-radius: var(--radius-full);
  background: var(--accent-primary-muted);
  color: var(--accent-primary);
  margin-left: auto;
  padding: 2px 8px;
  font-weight: 600;
}

.sidebar-footer {
  padding: var(--space-4);
  border-top: 1px solid var(--border-subtle);
}

.header {
  top: 0;
  left: var(--sidebar-width);
  height: var(--header-height);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-8);
  z-index: 90;
  transition: left var(--transition-base);
  background: #0a0e1acc;
  justify-content: space-between;
  align-items: center;
  display: flex;
  position: fixed;
  right: 0;
}

.header-title {
  font-size: var(--text-lg);
  letter-spacing: -.02em;
  font-weight: 700;
}

.header-actions {
  align-items: center;
  gap: var(--space-3);
  display: flex;
}

.card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

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

.card-header {
  margin-bottom: var(--space-5);
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.card-title {
  font-size: var(--text-base);
  color: var(--text-primary);
  font-weight: 600;
}

.card-subtitle {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.stat-grid {
  gap: var(--space-5);
  margin-bottom: var(--space-8);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  display: grid;
}

.stat-card {
  background: var(--bg-card);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-base);
  display: flex;
  position: relative;
  overflow: hidden;
}

.stat-card:after {
  content: "";
  background: var(--accent-gradient);
  opacity: 0;
  height: 2px;
  transition: opacity var(--transition-base);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.stat-card:hover {
  border-color: var(--border-default);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.stat-card:hover:after {
  opacity: 1;
}

.stat-icon {
  border-radius: var(--radius-md);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.3rem;
  display: flex;
}

.stat-icon.indigo {
  background: var(--accent-primary-muted);
}

.stat-icon.green {
  background: var(--status-success-bg);
}

.stat-icon.yellow {
  background: var(--status-warning-bg);
}

.stat-icon.red {
  background: var(--status-error-bg);
}

.stat-icon.blue {
  background: var(--status-info-bg);
}

.stat-icon.purple {
  background: var(--status-processing-bg);
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-label {
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 500;
}

.stat-value {
  font-size: var(--text-3xl);
  letter-spacing: -.03em;
  margin-top: var(--space-1);
  animation: countUp var(--transition-spring) ease-out;
  font-weight: 800;
  line-height: 1.1;
}

.stat-change {
  font-size: var(--text-xs);
  margin-top: var(--space-1);
  align-items: center;
  gap: var(--space-1);
  font-weight: 500;
  display: flex;
}

.stat-change.positive {
  color: var(--status-success);
}

.stat-change.negative {
  color: var(--status-error);
}

.btn {
  justify-content: center;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid #0000;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  border-color: #0000;
  box-shadow: 0 2px 8px #6366f14d;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px #6366f166;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border-color: var(--border-default);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.btn-ghost {
  color: var(--text-secondary);
  background: none;
  border-color: #0000;
}

.btn-ghost:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.btn-sm {
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
}

.btn-danger {
  background: var(--status-error-bg);
  color: var(--status-error);
  border-color: var(--status-error-border);
}

.btn-danger:hover {
  background: #f8717133;
}

.btn-success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border-color: var(--status-success-border);
}

.btn-success:hover {
  background: #34d39933;
}

.table-container {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--text-sm);
}

.table th {
  text-align: left;
  padding: var(--space-3) var(--space-4);
  font-weight: 600;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-tertiary);
  background: var(--bg-tertiary);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.table td {
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  vertical-align: middle;
}

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

.table tr:hover td {
  background: var(--bg-card);
  color: var(--text-primary);
}

.table tr {
  transition: background var(--transition-fast);
}

.badge {
  align-items: center;
  gap: var(--space-1);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  letter-spacing: .02em;
  white-space: nowrap;
  padding: 2px 10px;
  font-weight: 600;
  display: inline-flex;
}

.badge-success {
  background: var(--status-success-bg);
  color: var(--status-success);
  border: 1px solid var(--status-success-border);
}

.badge-warning {
  background: var(--status-warning-bg);
  color: var(--status-warning);
  border: 1px solid var(--status-warning-border);
}

.badge-error {
  background: var(--status-error-bg);
  color: var(--status-error);
  border: 1px solid var(--status-error-border);
}

.badge-info {
  background: var(--status-info-bg);
  color: var(--status-info);
  border: 1px solid var(--status-info-border);
}

.badge-processing {
  background: var(--status-processing-bg);
  color: var(--status-processing);
  border: 1px solid var(--status-processing-border);
}

.badge-neutral {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border: 1px solid var(--border-default);
}

.badge:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.input {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  outline: none;
}

.input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px var(--accent-primary-muted);
}

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

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 32px;
}

.input-group {
  gap: var(--space-2);
  flex-direction: column;
  display: flex;
}

.input-label {
  font-size: var(--text-xs);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}

.page-header {
  margin-bottom: var(--space-8);
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
  display: flex;
}

.page-title {
  font-size: var(--text-2xl);
  letter-spacing: -.03em;
  font-weight: 800;
}

.page-description {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  margin-top: var(--space-1);
}

.empty-state {
  text-align: center;
  padding: var(--space-12) var(--space-8);
  color: var(--text-tertiary);
}

.empty-state-icon {
  margin-bottom: var(--space-4);
  opacity: .5;
  font-size: 3rem;
}

.empty-state-title {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.empty-state-text {
  font-size: var(--text-sm);
  max-width: 400px;
  margin: 0 auto;
}

.spinner {
  border: 2px solid var(--border-default);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  animation: .6s linear infinite spin;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-card-hover) 50%, var(--bg-tertiary) 75%);
  border-radius: var(--radius-sm);
  background-size: 400% 100%;
  animation: 1.5s ease-in-out infinite shimmer;
}

.tabs {
  gap: var(--space-1);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-6);
  display: flex;
}

.tab {
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-weight: 500;
  font-family: var(--font-sans);
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
}

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

.tab.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.upload-zone {
  border: 2px dashed var(--border-default);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  cursor: pointer;
  position: relative;
}

.upload-zone:hover, .upload-zone.dragging {
  border-color: var(--accent-primary);
  background: var(--accent-primary-muted);
}

.upload-zone-icon {
  margin-bottom: var(--space-4);
  color: var(--text-tertiary);
  font-size: 3rem;
}

.upload-zone-text {
  font-size: var(--text-base);
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.upload-zone-subtext {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.grid-2 {
  gap: var(--space-6);
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}

.grid-3 {
  gap: var(--space-6);
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.text-mono {
  font-family: var(--font-mono);
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-muted {
  color: var(--text-tertiary);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.flex {
  display: flex;
}

.items-center {
  align-items: center;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

@media (max-width: 1024px) {
  .stat-grid, .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .main-content {
    padding: var(--space-4);
    padding-top: calc(var(--header-height)  + var(--space-4));
    margin-left: 0;
  }

  .header {
    left: 0;
  }

  .sidebar {
    transform: translateX(-100%);
  }

  .stat-grid, .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/