@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --color-slate-50: #f8fafc;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;
  --color-slate-950: #020617;

  --color-blue-50: #eff6ff;
  --color-blue-100: #dbeafe;
  --color-blue-500: #3b82f6;
  --color-blue-600: #2563eb;
  --color-blue-700: #1d4ed8;

  --color-emerald-50: #ecfdf5;
  --color-emerald-100: #d1fae5;
  --color-emerald-500: #10b981;
  --color-emerald-600: #059669;

  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;

  --color-red-50: #fef2f2;
  --color-red-100: #fee2e2;
  --color-red-500: #ef4444;
  --color-red-600: #dc2626;

  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;

  --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, 'Liberation Mono', Menlo, monospace;

  --transition-base: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-colors: color 0.15s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.15s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

a {
  --un-text-opacity:1;color:rgb(96 165 250 / var(--un-text-opacity)) /* rgb(96 165 250 / 1) */;font-weight:800;

  text-decoration: none;
}

A:hover {
  --un-text-opacity:1;color:rgb(3 105 161 / var(--un-text-opacity)) /* #0369a1 */;
}

.bg-card {
  background: linear-gradient(135deg,
    rgba(59, 130, 246, 0.10) 0%,
    rgba(147, 197, 253, 0.08) 25%,
    rgba(219, 234, 254, 0.08) 50%,
    rgba(99, 179, 237, 0.06) 75%,
    rgba(37, 99, 235, 0.10) 100%);
  /*backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);*/
  border: 1px solid rgba(255, 255, 255, 0.125);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1),
    0 4px 32px rgba(37, 99, 235, 0.15),
    0 16px 64px rgba(59, 130, 246, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.12);
  /*position: relative;*/
  overflow: hidden;
}

.bg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
opacity: 0.5;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 40%,
    transparent 100%);
}

@keyframes subtle-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.9; transform: scale(1.50); }
}

html {
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: linear-gradient(135deg, var(--color-slate-50) 0%, #ffffff 100%);
  color: var(--color-slate-900);
  min-height: 100vh;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.4rem;
  box-sizing: border-box;
}

.grid {
  display: grid;
}

.gap-1 { gap: 0.25rem; }

.gap-2 { gap: 0.5rem; }

.gap-3 { gap: 0.75rem; }

.gap-4 { gap: 1rem; }

.gap-6 { gap: 1.5rem; }

.gap-8 { gap: 2rem; }

.gap-12 { gap: 3rem; }

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.w-full { width: 100%; }

.w-auto { width: auto; }

.w-fit { width: fit-content; }

.min-w-0 { min-width: 0; }

.h-full { height: 100%; }

.h-auto { height: auto; }

.min-h-screen { min-height: 100vh; }

.p-0 { padding: 0; }

.p-1 { padding: 0.25rem; }

.p-2 { padding: 0.5rem; }

.p-3 { padding: 0.75rem; }

.p-4 { padding: 1rem; }

.p-6 { padding: 1.5rem; }

.p-8 { padding: 2rem; }

.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }

.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }

.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }

.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

.py-12 { padding-top: 3rem; padding-bottom: 3rem; }

.m-0 { margin: 0; }

.m-auto { margin: auto; }

.mt-2 { margin-top: 0.5rem; }

.mt-4 { margin-top: 1rem; }

.mt-6 { margin-top: 1.5rem; }

.mt-8 { margin-top: 2rem; }

.mb-2 { margin-bottom: 0.5rem; }

.mb-4 { margin-bottom: 1rem; }

.mb-6 { margin-bottom: 1.5rem; }

.mb-8 { margin-bottom: 2rem; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }

.text-base { font-size: 1rem; line-height: 1.5rem; }

.text-lg { font-size: 1.125rem; line-height: 1.75rem; }

.text-xl { font-size: 1.25rem; line-height: 1.75rem; }

.text-2xl { font-size: 1.5rem; line-height: 2rem; }

.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }

.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }

.text-5xl { font-size: 3rem; line-height: 1; }

.text-6xl { font-size: 3.75rem; line-height: 1; }

.font-light { font-weight: 300; }

.font-normal { font-weight: 400; }

.font-medium { font-weight: 500; }

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

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

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

.leading-tight { line-height: 1.25; }

.leading-snug { line-height: 1.375; }

.leading-normal { line-height: 1.5; }

.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }

.tracking-normal { letter-spacing: 0em; }

.tracking-wide { letter-spacing: 0.025em; }

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

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

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

.text-slate-50 { color: var(--color-slate-50); }

.text-slate-100 { color: var(--color-slate-100); }

.text-slate-400 { color: var(--color-slate-400); }

.text-slate-500 { color: var(--color-slate-500); }

.text-slate-600 { color: var(--color-slate-600); }

.text-slate-700 { color: var(--color-slate-700); }

.text-slate-800 { color: var(--color-slate-800); }

.text-slate-900 { color: var(--color-slate-900); }

.text-blue-600 { color: var(--color-blue-600); }

.text-blue-700 { color: var(--color-blue-700); }

.text-emerald-600 { color: var(--color-emerald-600); }

.text-amber-600 { color: var(--color-amber-600); }

.text-red-600 { color: var(--color-red-600); }

.bg-white { background-color: #ffffff; }

.bg-slate-50 { background-color: var(--color-slate-50); }

.bg-slate-100 { background-color: var(--color-slate-100); }

.bg-slate-200 { background-color: var(--color-slate-200); }

.bg-slate-800 { background-color: var(--color-slate-800); }

.bg-slate-900 { background-color: var(--color-slate-900); }

.bg-blue-50 { background-color: var(--color-blue-50); }

.bg-blue-500 { background-color: var(--color-blue-500); }

.bg-blue-600 { background-color: var(--color-blue-600); }

.bg-emerald-50 { background-color: var(--color-emerald-50); }

.bg-emerald-500 { background-color: var(--color-emerald-500); }

.bg-amber-50 { background-color: var(--color-amber-50); }

.bg-amber-500 { background-color: var(--color-amber-500); }

.bg-red-50 { background-color: var(--color-red-50); }

.bg-red-500 { background-color: var(--color-red-500); }

.border { border-width: 1px; }

.border-0 { border-width: 0; }

.border-2 { border-width: 2px; }

.border-t { border-top-width: 1px; }

.border-b { border-bottom-width: 1px; }

.border-l { border-left-width: 1px; }

.border-r { border-right-width: 1px; }

.border-slate-200 { border-color: var(--color-slate-200); }

.border-slate-300 { border-color: var(--color-slate-300); }

.border-blue-200 { border-color: var(--color-blue-100); }

.border-emerald-200 { border-color: var(--color-emerald-100); }

.border-amber-200 { border-color: var(--color-amber-100); }

.border-red-200 { border-color: var(--color-red-100); }

.rounded { border-radius: var(--radius-md); }

.rounded-sm { border-radius: var(--radius-sm); }

.rounded-md { border-radius: var(--radius-md); }

.rounded-lg { border-radius: var(--radius-lg); }

.rounded-xl { border-radius: var(--radius-xl); }

.rounded-full { border-radius: 9999px; }

.shadow { box-shadow: var(--shadow-sm); }

.shadow-sm { box-shadow: var(--shadow-sm); }

.shadow-md { box-shadow: var(--shadow-md); }

.shadow-lg { box-shadow: var(--shadow-lg); }

.shadow-xl { box-shadow: var(--shadow-xl); }

.opacity-0 { opacity: 0; }

.opacity-50 { opacity: 0.5; }

.opacity-75 { opacity: 0.75; }

.opacity-100 { opacity: 1; }

.transition { transition: var(--transition-base); }

.transition-colors { transition: var(--transition-colors); }

.transition-opacity { transition: opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1); }

.transition-transform { transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1); }

.duration-150 { transition-duration: 150ms; }

.duration-200 { transition-duration: 200ms; }

.duration-300 { transition-duration: 300ms; }

.ease-in-out { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }

.transform { transform: translate(var(--tw-translate-x, 0), var(--tw-translate-y, 0)) rotate(var(--tw-rotate, 0)) skewX(var(--tw-skew-x, 0)) skewY(var(--tw-skew-y, 0)) scaleX(var(--tw-scale-x, 1)) scaleY(var(--tw-scale-y, 1)); }

.scale-95 { --tw-scale-x: 0.95; --tw-scale-y: 0.95; }

.scale-100 { --tw-scale-x: 1; --tw-scale-y: 1; }

.scale-105 { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }

.hover\:bg-slate-100:hover { background-color: var(--color-slate-100); }

.hover\:bg-blue-700:hover { background-color: var(--color-blue-700); }

.hover\:bg-emerald-600:hover { background-color: var(--color-emerald-600); }

.hover\:text-blue-700:hover { color: var(--color-blue-700); }

.hover\:scale-105:hover { --tw-scale-x: 1.05; --tw-scale-y: 1.05; }

.hover\:shadow-lg:hover { box-shadow: var(--shadow-lg); }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }

.focus\:ring-2:focus { --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width, 2px) var(--tw-ring-offset-color, #fff); --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width, 0px)) var(--tw-ring-color); box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000); }

.focus\:ring-blue-500:focus { --tw-ring-color: var(--color-blue-500); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.25rem;
  transition: var(--transition-colors);
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  user-select: none;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.btn-md {
  padding: 0.75rem 1.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.btn-primary {
  background-color: var(--color-blue-600);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-blue-700);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: white;
  color: var(--color-slate-700);
  border-color: var(--color-slate-300);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--color-slate-50);
  border-color: var(--color-slate-400);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-slate-600);
}

.btn-ghost:hover {
  background-color: var(--color-slate-100);
  color: var(--color-slate-900);
}

.btn-success {
  background-color: var(--color-emerald-600);
  color: white;
}

.btn-success:hover {
  background-color: var(--color-emerald-700);
}

.btn-warning {
  background-color: var(--color-amber-500);
  color: white;
}

.btn-warning:hover {
  background-color: var(--color-amber-600);
}

.btn-danger {
  background-color: var(--color-red-500);
  color: white;
}

.btn-danger:hover {
  background-color: var(--color-red-600);
}

.input {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-slate-300);
  background-color: white;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-slate-900);
  transition: var(--transition-colors);
}

.input:focus {
  outline: none;
  border-color: var(--color-blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.input:disabled {
  background-color: var(--color-slate-100);
  color: var(--color-slate-500);
  cursor: not-allowed;
}

.input-sm {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
}

.input-lg {
  padding: 1rem 1.25rem;
  font-size: 1rem;
  line-height: 1.5rem;
}

.textarea {
  resize: vertical;
  min-height: 6rem;
}

.select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

.card {
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-slate-200);
  overflow: hidden;
  transition: var(--transition-base);
}

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

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-slate-200);
  background-color: var(--color-slate-50);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-slate-200);
  background-color: var(--color-slate-50);
}

.alert {
  border-radius: var(--radius-lg);
  padding: 1rem;
  border: 1px solid;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.alert-info {
  background-color: var(--color-blue-50);
  border-color: var(--color-blue-200);
  color: var(--color-blue-700);
}

.alert-success {
  background-color: var(--color-emerald-50);
  border-color: var(--color-emerald-200);
  color: var(--color-emerald-700);
}

.alert-warning {
  background-color: var(--color-amber-50);
  border-color: var(--color-amber-200);
  color: var(--color-amber-700);
}

.alert-danger {
  background-color: var(--color-red-50);
  border-color: var(--color-red-200);
  color: var(--color-red-700);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.75rem;
  line-height: 1rem;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
}

.badge-primary {
  background-color: var(--color-blue-100);
  color: var(--color-blue-700);
}

.badge-success {
  background-color: var(--color-emerald-100);
  color: var(--color-emerald-700);
}

.badge-warning {
  background-color: var(--color-amber-100);
  color: var(--color-amber-700);
}

.badge-danger {
  background-color: var(--color-red-100);
  color: var(--color-red-700);
}

.badge-neutral {
  background-color: var(--color-slate-100);
  color: var(--color-slate-700);
}

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

.table th,
.table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-slate-200);
}

.table th {
  font-weight: 600;
  color: var(--color-slate-700);
  background-color: var(--color-slate-50);
}

.table tbody tr:hover {
  background-color: var(--color-slate-50);
}

.table-striped tbody tr:nth-child(even) {
  background-color: var(--color-slate-50);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal {
  background-color: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  max-width: 32rem;
  width: 100%;
  margin: 1rem;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--color-slate-200);
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  background-color: white;
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 12rem;
  padding: 0.5rem 0;
  margin-top: 0.25rem;
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  color: var(--color-slate-700);
  text-decoration: none;
  transition: var(--transition-colors);
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: var(--color-slate-100);
  color: var(--color-slate-900);
}

.dropdown-divider {
  height: 1px;
  background-color: var(--color-slate-200);
  margin: 0.5rem 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: var(--color-slate-600);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: var(--transition-colors);
}

.nav-link:hover {
  color: var(--color-slate-900);
  background-color: var(--color-slate-100);
}

.nav-link.active {
  color: var(--color-blue-600);
  background-color: var(--color-blue-50);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-slate-500);
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb-item:not(:last-child)::after {
  content: '/';
  color: var(--color-slate-400);
}

.breadcrumb-link {
  color: var(--color-slate-600);
  text-decoration: none;
  transition: var(--transition-colors);
}

.breadcrumb-link:hover {
  color: var(--color-blue-600);
}

.loading {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--color-slate-200);
  border-radius: 50%;
  border-top-color: var(--color-blue-600);
  animation: spin 1s ease-in-out infinite;
}

.menu-separator {
    height: 1px;
    background-color: var(--color-slate-200);
    margin: 0.5rem 0;
    border: none;
    width: 100%;
}


