@charset "UTF-8";
:root {
  --color-primary: #3b82f6;
  --color-primary-hover: #2563eb;
  --color-success: #10b981;
  --color-success-hover: #059669;
  --color-warning: #f59e0b;
  --color-warning-hover: #d97706;
  --color-danger: #ef4444;
  --color-danger-hover: #dc2626;
  --color-buy: #10b981;
  --color-buy-light: #34d399;
  --color-sell: #f59e0b;
  --color-sell-light: #fbbf24;
  --bg-primary: #0d1117;
  --bg-secondary: #161b22;
  --bg-tertiary: #21262d;
  --bg-elevated: #2d333b;
  --text-primary: #f0f6fc;
  --text-secondary: #8b949e;
  --text-tertiary: #6e7681;
  --border-primary: #30363d;
  --border-secondary: #21262d;
  --font-sans: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  --font-mono: JetBrains Mono, Fira Code, SF Mono, Consolas, monospace;
  --sidebar-width: 260px;
  --topbar-height: 64px;
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -2px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -4px rgba(0, 0, 0, 0.4);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
  --transition-fast: 0.15s;
  --transition-normal: 0.25s;
}
*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
  font-size: 1rem;
  color: #f0f6fc;
  background-color: #0d1117;
  min-height: 100vh;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.25;
  color: #f0f6fc;
  margin-bottom: 1rem;
}
h1 {
  font-size: 2.25rem;
}
h2 {
  font-size: 1.875rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
p {
  color: #8b949e;
  margin-bottom: 1rem;
}
a {
  color: #58a6ff;
  text-decoration: none;
  transition: color 0.15s cubic-bezier(0, 0, 0.2, 1);
}
a:hover {
  color: #8bc1ff;
}
::selection {
  background-color: #3b82f64d;
  color: #f0f6fc;
}
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #161b22;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb {
  background: #475569;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #64748b;
}
:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.text-primary {
  color: #f0f6fc;
}
.text-secondary {
  color: #8b949e;
}
.text-tertiary {
  color: #6e7681;
}
.text-muted {
  color: #484f58;
}
.text-success {
  color: #10b981;
}
.text-warning {
  color: #f59e0b;
}
.text-danger {
  color: #ef4444;
}
.text-buy {
  color: #10b981;
}
.text-sell {
  color: #f59e0b;
}
.bg-primary {
  background-color: #0d1117;
}
.bg-secondary {
  background-color: #161b22;
}
.bg-tertiary {
  background-color: #21262d;
}
.bg-elevated {
  background-color: #2d333b;
}
.font-mono {
  font-family:
    JetBrains Mono,
    Fira Code,
    SF Mono,
    Consolas,
    monospace;
}
.font-sans {
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
}
.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;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.m-0 {
  margin: 0;
}
.mt-0 {
  margin-top: 0;
}
.mr-0 {
  margin-right: 0;
}
.mb-0 {
  margin-bottom: 0;
}
.ml-0 {
  margin-left: 0;
}
.mx-0 {
  margin-left: 0;
  margin-right: 0;
}
.my-0 {
  margin-top: 0;
  margin-bottom: 0;
}
.p-0 {
  padding: 0;
}
.pt-0 {
  padding-top: 0;
}
.pr-0 {
  padding-right: 0;
}
.pb-0 {
  padding-bottom: 0;
}
.pl-0 {
  padding-left: 0;
}
.px-0 {
  padding-left: 0;
  padding-right: 0;
}
.py-0 {
  padding-top: 0;
  padding-bottom: 0;
}
.m-1 {
  margin: 0.25rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.ml-1 {
  margin-left: 0.25rem;
}
.mx-1 {
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}
.my-1 {
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
}
.p-1 {
  padding: 0.25rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pr-1 {
  padding-right: 0.25rem;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pl-1 {
  padding-left: 0.25rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.m-2 {
  margin: 0.5rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.mx-2 {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}
.my-2 {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.p-2 {
  padding: 0.5rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pr-2 {
  padding-right: 0.5rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pl-2 {
  padding-left: 0.5rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.m-3 {
  margin: 0.75rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mr-3 {
  margin-right: 0.75rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.ml-3 {
  margin-left: 0.75rem;
}
.mx-3 {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
}
.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.p-3 {
  padding: 0.75rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pl-3 {
  padding-left: 0.75rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.m-4 {
  margin: 1rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mx-4 {
  margin-left: 1rem;
  margin-right: 1rem;
}
.my-4 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.p-4 {
  padding: 1rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pl-4 {
  padding-left: 1rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.m-5 {
  margin: 1.25rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mr-5 {
  margin-right: 1.25rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.ml-5 {
  margin-left: 1.25rem;
}
.mx-5 {
  margin-left: 1.25rem;
  margin-right: 1.25rem;
}
.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.p-5 {
  padding: 1.25rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pr-5 {
  padding-right: 1.25rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pl-5 {
  padding-left: 1.25rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.m-6 {
  margin: 1.5rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mr-6 {
  margin-right: 1.5rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.ml-6 {
  margin-left: 1.5rem;
}
.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}
.my-6 {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}
.p-6 {
  padding: 1.5rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pr-6 {
  padding-right: 1.5rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pl-6 {
  padding-left: 1.5rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.m-8 {
  margin: 2rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mr-8 {
  margin-right: 2rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-8 {
  margin-left: 2rem;
}
.mx-8 {
  margin-left: 2rem;
  margin-right: 2rem;
}
.my-8 {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.p-8 {
  padding: 2rem;
}
.pt-8 {
  padding-top: 2rem;
}
.pr-8 {
  padding-right: 2rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pl-8 {
  padding-left: 2rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.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;
}
.rounded-sm {
  border-radius: 0.25rem;
}
.rounded {
  border-radius: 0.375rem;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.flex-row {
  flex-direction: row;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.items-end {
  align-items: flex-end;
}
.justify-start {
  justify-content: flex-start;
}
.justify-center {
  justify-content: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-between {
  justify-content: space-between;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-auto {
  flex: 1 1 auto;
}
.flex-none {
  flex: none;
}
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.invisible {
  visibility: hidden;
}
.visible {
  visibility: visible;
}
.cursor-pointer {
  cursor: pointer;
}
.cursor-not-allowed {
  cursor: not-allowed;
}
.transition {
  transition: all 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.transition-fast {
  transition: all 0.15s cubic-bezier(0, 0, 0.2, 1);
}
.transition-slow {
  transition: all 0.35s cubic-bezier(0, 0, 0.2, 1);
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translate(20px);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes pulse {
  0%,
  to {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  0% {
    transform: translate(-100%);
  }
  to {
    transform: translate(100%);
  }
}
.animate-fadeIn {
  animation: fadeIn 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.animate-fadeInUp {
  animation: fadeInUp 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.animate-fadeInDown {
  animation: fadeInDown 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.animate-slideInRight {
  animation: slideInRight 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.animate-spin {
  animation: spin 1s linear infinite;
}
@media (min-width: 640px) {
  .sm\:hidden {
    display: none;
  }
  .sm\:block {
    display: block;
  }
  .sm\:flex {
    display: flex;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 768px) {
  .md\:hidden {
    display: none;
  }
  .md\:block {
    display: block;
  }
  .md\:flex {
    display: flex;
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .lg\:hidden {
    display: none;
  }
  .lg\:block {
    display: block;
  }
  .lg\:flex {
    display: flex;
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (min-width: 1280px) {
  .xl\:hidden {
    display: none;
  }
  .xl\:block {
    display: block;
  }
  .xl\:flex {
    display: flex;
  }
}
.tf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.15s cubic-bezier(0, 0, 0.2, 1);
  white-space: nowrap;
  user-select: none;
}
.tf-btn:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.tf-btn:disabled,
.tf-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
.tf-btn .btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.tf-btn.loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.tf-btn.loading:after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
.tf-btn-sm {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  gap: 0.25rem;
}
.tf-btn-sm .btn-icon {
  width: 14px;
  height: 14px;
}
.tf-btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  gap: 0.75rem;
}
.tf-btn-lg .btn-icon {
  width: 20px;
  height: 20px;
}
.tf-btn-block {
  width: 100%;
}
.tf-btn-primary {
  background-color: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.tf-btn-primary:hover:not(:disabled) {
  background-color: #1d4ed8;
  border-color: #1d4ed8;
}
.tf-btn-primary:active:not(:disabled) {
  background-color: #1e40af;
}
.tf-btn-secondary {
  background-color: #21262d;
  color: #f0f6fc;
  border-color: #30363d;
}
.tf-btn-secondary:hover:not(:disabled) {
  background-color: #2d333b;
  border-color: #30363d;
}
.tf-btn-secondary:active:not(:disabled) {
  background-color: #21262d;
}
.tf-btn-success {
  background-color: #059669;
  color: #fff;
  border-color: #059669;
}
.tf-btn-success:hover:not(:disabled) {
  background-color: #047857;
  border-color: #047857;
}
.tf-btn-success:active:not(:disabled) {
  background-color: #065f46;
}
.tf-btn-danger {
  background-color: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.tf-btn-danger:hover:not(:disabled) {
  background-color: #b91c1c;
  border-color: #b91c1c;
}
.tf-btn-danger:active:not(:disabled) {
  background-color: #991b1b;
}
.tf-btn-warning {
  background-color: #f59e0b;
  color: #0f172a;
  border-color: #f59e0b;
}
.tf-btn-warning:hover:not(:disabled) {
  background-color: #d97706;
  border-color: #d97706;
}
.tf-btn-warning:active:not(:disabled) {
  background-color: #b45309;
  color: #fff;
}
.tf-btn-ghost {
  background-color: transparent;
  color: #8b949e;
  border-color: transparent;
}
.tf-btn-ghost:hover:not(:disabled) {
  background-color: #ffffff0d;
  color: #f0f6fc;
}
.tf-btn-ghost:active:not(:disabled) {
  background-color: #ffffff14;
}
.tf-btn-link {
  background-color: transparent;
  color: #58a6ff;
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}
.tf-btn-link:hover:not(:disabled) {
  color: #8bc1ff;
  text-decoration: underline;
}
.tf-btn-buy {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  border-color: #10b981;
  font-weight: 600;
}
.tf-btn-buy:hover:not(:disabled) {
  background: linear-gradient(135deg, #059669, #047857);
  box-shadow: 0 0 20px #10b9814d;
}
.tf-btn-buy:active:not(:disabled) {
  background: #047857;
}
.tf-btn-sell {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0f172a;
  border-color: #f59e0b;
  font-weight: 600;
}
.tf-btn-sell:hover:not(:disabled) {
  background: linear-gradient(135deg, #d97706, #b45309);
  box-shadow: 0 0 20px #f59e0b4d;
  color: #fff;
}
.tf-btn-sell:active:not(:disabled) {
  background: #b45309;
}
.tf-btn-icon {
  padding: 0.5rem;
  aspect-ratio: 1;
}
.tf-btn-icon.tf-btn-sm {
  padding: 0.25rem;
}
.tf-btn-icon.tf-btn-lg {
  padding: 0.75rem;
}
.tf-btn-group {
  display: inline-flex;
}
.tf-btn-group .tf-btn {
  border-radius: 0;
}
.tf-btn-group .tf-btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.tf-btn-group .tf-btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.tf-btn-group .tf-btn:not(:first-child) {
  margin-left: -1px;
}
.tf-card {
  background-color: #161b22;
  border: 1px solid #30363d;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.tf-card.tf-card-elevated {
  background-color: #21262d;
  box-shadow:
    0 4px 6px -1px #0006,
    0 2px 4px -2px #0000004d;
}
.tf-card.tf-card-interactive {
  cursor: pointer;
}
.tf-card.tf-card-interactive:hover {
  border-color: #60a5fa;
  transform: translateY(-2px);
  box-shadow:
    0 10px 15px -3px #00000080,
    0 4px 6px -4px #0006;
}
.tf-card.tf-card-interactive:active {
  transform: translateY(0);
}
.tf-card.tf-card-success {
  border-color: #10b981;
  box-shadow: 0 0 0 1px #10b98133;
}
.tf-card.tf-card-warning {
  border-color: #f59e0b;
  box-shadow: 0 0 0 1px #f59e0b33;
}
.tf-card.tf-card-danger {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef444433;
}
.tf-card.tf-card-primary {
  border-color: #3b82f6;
  box-shadow: 0 0 0 1px #3b82f633;
}
.tf-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #21262d;
  background-color: #ffffff05;
}
.tf-card-header .tf-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #f0f6fc;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tf-card-header .tf-card-subtitle {
  font-size: 0.875rem;
  color: #8b949e;
  margin: 0;
}
.tf-card-header .tf-card-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.tf-card-header.tf-card-header-primary {
  background: linear-gradient(135deg, #3b82f626, #2563eb1a);
  border-bottom-color: #3b82f633;
}
.tf-card-header.tf-card-header-success {
  background: linear-gradient(135deg, #10b98126, #0596691a);
  border-bottom-color: #10b98133;
}
.tf-card-header.tf-card-header-warning {
  background: linear-gradient(135deg, #f59e0b26, #d977061a);
  border-bottom-color: #f59e0b33;
}
.tf-card-header.tf-card-header-danger {
  background: linear-gradient(135deg, #ef444426, #dc26261a);
  border-bottom-color: #ef444433;
}
.tf-card-body {
  padding: 1rem;
}
.tf-card-body.tf-card-body-sm {
  padding: 0.75rem;
}
.tf-card-body.tf-card-body-lg {
  padding: 1.5rem;
}
.tf-card-body.tf-card-body-none {
  padding: 0;
}
.tf-card-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-top: 1px solid #21262d;
  background-color: #ffffff05;
}
.tf-card-divider {
  height: 1px;
  background-color: #21262d;
  margin: 0;
  border: none;
}
.tf-card-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tf-card-list .tf-card-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #21262d;
  transition: background-color 0.15s;
}
.tf-card-list .tf-card-list-item:last-child {
  border-bottom: none;
}
.tf-card-list .tf-card-list-item:hover {
  background-color: #ffffff05;
}
.tf-card-list .tf-card-list-item.active {
  background-color: #3b82f61a;
}
.tf-stat-card {
  position: relative;
  overflow: hidden;
}
.tf-stat-card .tf-stat-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.875rem;
  opacity: 0.2;
  pointer-events: none;
}
.tf-stat-card .tf-stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  font-family:
    JetBrains Mono,
    Fira Code,
    SF Mono,
    Consolas,
    monospace;
  color: #f0f6fc;
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.tf-stat-card .tf-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.tf-stat-card .tf-stat-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  margin-top: 0.5rem;
}
.tf-stat-card .tf-stat-trend.up {
  color: #34d399;
}
.tf-stat-card .tf-stat-trend.down {
  color: #f87171;
}
.tf-stat-card .tf-stat-trend.neutral {
  color: #6e7681;
}
.tf-stat-card.tf-stat-primary {
  background: linear-gradient(135deg, #3b82f633, #1d4ed81a);
}
.tf-stat-card.tf-stat-success {
  background: linear-gradient(135deg, #10b98133, #0478571a);
}
.tf-stat-card.tf-stat-warning {
  background: linear-gradient(135deg, #f59e0b33, #b453091a);
}
.tf-stat-card.tf-stat-danger {
  background: linear-gradient(135deg, #ef444433, #b91c1c1a);
}
.tf-card-skeleton .tf-skeleton {
  background: linear-gradient(90deg, #ffffff0d 25%, #ffffff1a, #ffffff0d 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 0.25rem;
}
.tf-card-skeleton .tf-skeleton-text {
  height: 14px;
  margin-bottom: 0.5rem;
}
.tf-card-skeleton .tf-skeleton-text:last-child {
  width: 60%;
}
.tf-card-skeleton .tf-skeleton-title {
  height: 24px;
  width: 40%;
  margin-bottom: 0.75rem;
}
.tf-card-skeleton .tf-skeleton-rect {
  height: 100px;
}
.tf-input-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.tf-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8b949e;
  margin-bottom: 0.25rem;
}
.tf-label .required {
  color: #f87171;
  margin-left: 2px;
}
.tf-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Roboto,
    sans-serif;
  font-size: 0.875rem;
  color: #f0f6fc;
  background-color: #21262d;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  outline: none;
  transition: all 0.15s cubic-bezier(0, 0, 0.2, 1);
}
.tf-input::placeholder {
  color: #6e7681;
}
.tf-input:hover:not(:disabled):not(:focus) {
  border-color: #64748b;
}
.tf-input:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px #60a5fa26;
}
.tf-input:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #161b22;
}
.tf-input:read-only {
  background-color: #161b22;
  cursor: default;
}
.tf-input.error {
  border-color: #f87171;
}
.tf-input.error:focus {
  border-color: #f87171;
  box-shadow: 0 0 0 3px #f8717126;
}
.tf-input.success {
  border-color: #34d399;
}
.tf-input.success:focus {
  border-color: #34d399;
  box-shadow: 0 0 0 3px #34d39926;
}
.tf-input-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.tf-input-lg {
  padding: 0.75rem 1rem;
  font-size: 1rem;
}
.tf-input-icon-wrapper {
  position: relative;
}
.tf-input-icon-wrapper .tf-input-icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #6e7681;
  pointer-events: none;
}
.tf-input-icon-wrapper.icon-left .tf-input-icon {
  left: 0.75rem;
}
.tf-input-icon-wrapper.icon-left .tf-input {
  padding-left: 2rem;
}
.tf-input-icon-wrapper.icon-right .tf-input-icon {
  right: 0.75rem;
}
.tf-input-icon-wrapper.icon-right .tf-input {
  padding-right: 2rem;
}
.tf-input-hint {
  font-size: 0.75rem;
  color: #6e7681;
  margin-top: 0.25rem;
}
.tf-input-error {
  font-size: 0.75rem;
  color: #f87171;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.tf-input-error:before {
  content: '⚠';
}
.tf-select {
  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='%238b949e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}
.tf-select:disabled {
  cursor: not-allowed;
}
.tf-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.625;
}
.tf-check-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
}
.tf-check-wrapper:hover .tf-check,
.tf-check-wrapper:hover .tf-radio {
  border-color: #60a5fa;
}
.tf-check,
.tf-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  appearance: none;
  background-color: #21262d;
  border: 1px solid #30363d;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-check:checked,
.tf-radio:checked {
  background-color: #3b82f6;
  border-color: #3b82f6;
}
.tf-check:checked:after,
.tf-radio:checked:after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.tf-check:focus-visible,
.tf-radio:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.tf-check:disabled,
.tf-radio:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tf-radio {
  border-radius: 9999px;
}
.tf-radio:checked:after {
  content: '';
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 9999px;
}
.tf-check-label {
  font-size: 0.875rem;
  color: #8b949e;
  line-height: 1.4;
}
.tf-switch-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.tf-switch {
  position: relative;
  width: 44px;
  height: 24px;
  appearance: none;
  background-color: #475569;
  border-radius: 9999px;
  cursor: pointer;
  transition: background-color 0.15s;
}
.tf-switch:before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 9999px;
  transition: transform 0.15s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.tf-switch:checked {
  background-color: #3b82f6;
}
.tf-switch:checked:before {
  transform: translate(20px);
}
.tf-switch:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}
.tf-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tf-input-group {
  display: flex;
}
.tf-input-group .tf-input {
  border-radius: 0;
}
.tf-input-group .tf-input:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
}
.tf-input-group .tf-input:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}
.tf-input-group .tf-input:not(:first-child) {
  margin-left: -1px;
}
.tf-input-group .tf-input:focus {
  z-index: 1;
}
.tf-input-group .tf-input-addon {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #8b949e;
  background-color: #2d333b;
  border: 1px solid #30363d;
  white-space: nowrap;
}
.tf-input-group .tf-input-addon:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-right: none;
}
.tf-input-group .tf-input-addon:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border-left: none;
}
.tf-number-input {
  display: flex;
  align-items: center;
}
.tf-number-input .tf-input {
  text-align: center;
  border-radius: 0;
  -moz-appearance: textfield;
}
.tf-number-input .tf-input::-webkit-outer-spin-button,
.tf-number-input .tf-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.tf-number-input .tf-number-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: #21262d;
  border: 1px solid #30363d;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-number-input .tf-number-btn:first-child {
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border-right: none;
}
.tf-number-input .tf-number-btn:last-child {
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border-left: none;
}
.tf-number-input .tf-number-btn:hover:not(:disabled) {
  background-color: #2d333b;
  color: #f0f6fc;
}
.tf-number-input .tf-number-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.tf-badge,
.tf-status,
.tf-status-appeal,
.tf-status-expired,
.tf-status-cancelled,
.tf-status-completed,
.tf-status-confirming,
.tf-status-paid,
.tf-status-trading,
.tf-status-pending {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
  border-radius: 0.25rem;
  white-space: nowrap;
  background-color: #334155;
  color: #8b949e;
}
.tf-badge-sm {
  padding: 2px 0.25rem;
  font-size: 10px;
}
.tf-badge-lg {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
}
.tf-badge-pill,
.tf-status,
.tf-status-appeal,
.tf-status-expired,
.tf-status-cancelled,
.tf-status-completed,
.tf-status-confirming,
.tf-status-paid,
.tf-status-trading,
.tf-status-pending {
  border-radius: 9999px;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.tf-badge-primary {
  background-color: #3b82f633;
  color: #93c5fd;
}
.tf-badge-success {
  background-color: #10b98133;
  color: #6ee7b7;
}
.tf-badge-warning {
  background-color: #f59e0b33;
  color: #fcd34d;
}
.tf-badge-danger {
  background-color: #ef444433;
  color: #fca5a5;
}
.tf-badge-info {
  background-color: #22d3ee33;
  color: #22d3ee;
}
.tf-badge-buy {
  background-color: #10b98133;
  color: #34d399;
}
.tf-badge-sell {
  background-color: #f59e0b33;
  color: #fbbf24;
}
.tf-badge-solid.tf-badge-primary {
  background-color: #3b82f6;
  color: #fff;
}
.tf-badge-solid.tf-badge-success {
  background-color: #10b981;
  color: #fff;
}
.tf-badge-solid.tf-badge-warning {
  background-color: #f59e0b;
  color: #0f172a;
}
.tf-badge-solid.tf-badge-danger {
  background-color: #ef4444;
  color: #fff;
}
.tf-badge-solid.tf-badge-buy {
  background-color: #10b981;
  color: #fff;
}
.tf-badge-solid.tf-badge-sell {
  background-color: #f59e0b;
  color: #0f172a;
}
.tf-badge-dot:before,
.tf-status-offline:before,
.tf-status-online:before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background-color: currentColor;
}
.tf-badge-dot.tf-badge-success:before,
.tf-badge-success.tf-status-offline:before,
.tf-badge-success.tf-status-online:before {
  background-color: #34d399;
}
.tf-badge-dot.tf-badge-warning:before,
.tf-badge-warning.tf-status-offline:before,
.tf-badge-warning.tf-status-online:before {
  background-color: #fbbf24;
}
.tf-badge-dot.tf-badge-danger:before,
.tf-badge-danger.tf-status-offline:before,
.tf-badge-danger.tf-status-online:before {
  background-color: #f87171;
}
.tf-badge-pulse:before {
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  to {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(1.2);
  }
}
.tf-status-pending {
  background-color: #64748b33;
  color: #94a3b8;
}
.tf-status-trading {
  background-color: #22d3ee33;
  color: #22d3ee;
}
.tf-status-paid {
  background-color: #f59e0b33;
  color: #fcd34d;
}
.tf-status-confirming {
  background-color: #3b82f633;
  color: #93c5fd;
}
.tf-status-completed {
  background-color: #10b98133;
  color: #6ee7b7;
}
.tf-status-cancelled {
  background-color: #ef444433;
  color: #fca5a5;
}
.tf-status-expired {
  background-color: #33415566;
  color: #94a3b8;
}
.tf-status-appeal {
  background-color: #dc26264d;
  color: #fca5a5;
}
.tf-status-online:before {
  background-color: #34d399;
  box-shadow: 0 0 8px #34d39999;
}
.tf-status-offline:before {
  background-color: #64748b;
}
.tf-badge-counter {
  min-width: 18px;
  height: 18px;
  padding: 0 0.25rem;
  font-size: 10px;
  font-weight: 700;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ef4444;
  color: #fff;
}
.tf-toast-container {
  position: fixed;
  z-index: 800;
  pointer-events: none;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  width: 100%;
}
.tf-toast-container.top-right {
  top: 0;
  right: 0;
}
.tf-toast-container.top-left {
  top: 0;
  left: 0;
}
.tf-toast-container.top-center {
  top: 0;
  left: 50%;
  transform: translate(-50%);
}
.tf-toast-container.bottom-right {
  bottom: 0;
  right: 0;
}
.tf-toast-container.bottom-left {
  bottom: 0;
  left: 0;
}
.tf-toast-container.bottom-center {
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
}
.tf-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background-color: #2d333b;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  box-shadow:
    0 10px 15px -3px #00000080,
    0 4px 6px -4px #0006;
  animation: slideIn 0.25s cubic-bezier(0, 0, 0.2, 1);
  backdrop-filter: blur(8px);
}
.tf-toast.closing {
  animation: slideOut 0.15s cubic-bezier(0.4, 0, 1, 1) forwards;
}
.tf-toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}
.tf-toast-content {
  flex: 1;
  min-width: 0;
}
.tf-toast-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 0.25rem;
}
.tf-toast-message {
  font-size: 0.875rem;
  color: #8b949e;
  line-height: 1.375;
}
.tf-toast-close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  color: #6e7681;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-toast-close:hover {
  background-color: #ffffff1a;
  color: #f0f6fc;
}
.tf-toast-action {
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #58a6ff;
  background: transparent;
  border: none;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-toast-action:hover {
  background-color: #3b82f61a;
}
.tf-toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #ffffff1a;
  border-radius: 0 0 0.5rem 0.5rem;
  overflow: hidden;
}
.tf-toast-progress .tf-toast-progress-bar {
  height: 100%;
  background-color: currentColor;
  animation: progress linear forwards;
}
.tf-toast-success {
  border-left: 3px solid #10b981;
}
.tf-toast-success .tf-toast-icon {
  color: #34d399;
}
.tf-toast-success .tf-toast-progress-bar {
  background-color: #10b981;
}
.tf-toast-error {
  border-left: 3px solid #ef4444;
}
.tf-toast-error .tf-toast-icon {
  color: #f87171;
}
.tf-toast-error .tf-toast-progress-bar {
  background-color: #ef4444;
}
.tf-toast-warning {
  border-left: 3px solid #f59e0b;
}
.tf-toast-warning .tf-toast-icon {
  color: #fbbf24;
}
.tf-toast-warning .tf-toast-progress-bar {
  background-color: #f59e0b;
}
.tf-toast-info {
  border-left: 3px solid #3b82f6;
}
.tf-toast-info .tf-toast-icon {
  color: #60a5fa;
}
.tf-toast-info .tf-toast-progress-bar {
  background-color: #3b82f6;
}
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translate(100%);
  }
  to {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes slideOut {
  0% {
    opacity: 1;
    transform: translate(0);
  }
  to {
    opacity: 0;
    transform: translate(100%);
  }
}
@keyframes progress {
  0% {
    width: 100%;
  }
  to {
    width: 0%;
  }
}
@media (max-width: 640px) {
  .tf-toast-container {
    max-width: 100%;
    padding: 0.5rem;
  }
  .tf-toast-container.top-center,
  .tf-toast-container.bottom-center {
    left: 0;
    transform: none;
  }
  .tf-toast {
    border-radius: 0.375rem;
  }
}
.tf-app {
  display: flex;
  min-height: 100vh;
  background-color: #0d1117;
}
.tf-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: #161b22;
  border-right: 1px solid #30363d;
  display: flex;
  flex-direction: column;
  z-index: 200;
  transition:
    width 0.25s cubic-bezier(0, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.tf-sidebar.collapsed .tf-sidebar-logo-text,
.tf-sidebar.collapsed .tf-nav-label,
.tf-sidebar.collapsed .tf-nav-badge {
  opacity: 0;
  visibility: hidden;
}
.tf-sidebar.collapsed .tf-nav-tooltip {
  display: block;
}
@media (max-width: 1024px) {
  .tf-sidebar {
    transform: translate(-100%);
  }
  .tf-sidebar.open {
    transform: translate(0);
  }
}
.tf-sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid #21262d;
  min-height: 64px;
}
.tf-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.tf-sidebar-logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #a855f7);
  border-radius: 0.5rem;
  font-size: 1.125rem;
  color: #fff;
}
.tf-sidebar-logo-text {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f0f6fc;
  transition:
    opacity 0.15s,
    visibility 0.15s;
}
.tf-nav {
  flex: 1;
  padding: 1rem 0.5rem;
  overflow-y: auto;
}
.tf-nav-section {
  margin-bottom: 1.5rem;
}
.tf-nav-section:last-child {
  margin-bottom: 0;
}
.tf-nav-section-title {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e7681;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 0.75rem;
  margin-bottom: 0.5rem;
}
.tf-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tf-nav-item {
  margin-bottom: 0.25rem;
}
.tf-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #8b949e;
  text-decoration: none;
  border-radius: 0.5rem;
  transition: all 0.15s;
}
.tf-nav-link:hover {
  background-color: #ffffff0d;
  color: #f0f6fc;
}
.tf-nav-link.active {
  background-color: #3b82f626;
  color: #93c5fd;
}
.tf-nav-link.active .tf-nav-icon {
  color: #60a5fa;
}
.tf-nav-link.active:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background-color: #3b82f6;
  border-radius: 0 0.25rem 0.25rem 0;
}
.tf-nav-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #6e7681;
  transition: color 0.15s;
}
.tf-nav-label {
  flex: 1;
  transition:
    opacity 0.15s,
    visibility 0.15s;
}
.tf-nav-badge {
  font-size: 0.75rem;
  padding: 2px 0.5rem;
  background-color: #ef4444;
  color: #fff;
  border-radius: 9999px;
  transition:
    opacity 0.15s,
    visibility 0.15s;
}
.tf-nav-tooltip {
  display: none;
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  background-color: #2d333b;
  color: #f0f6fc;
  border-radius: 0.375rem;
  white-space: nowrap;
  box-shadow:
    0 4px 6px -1px #0006,
    0 2px 4px -2px #0000004d;
  z-index: 700;
}
.tf-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid #21262d;
}
.tf-sidebar-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  color: #8b949e;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-sidebar-toggle:hover {
  background-color: #ffffff0d;
  color: #f0f6fc;
}
.tf-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: margin-left 0.25s cubic-bezier(0, 0, 0.2, 1);
}
.tf-sidebar.collapsed + .tf-main {
  margin-left: 72px;
}
@media (max-width: 1024px) {
  .tf-main {
    margin-left: 0;
  }
}
.tf-topbar {
  position: sticky;
  top: 0;
  height: 64px;
  background-color: #161b22f2;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #30363d;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 200;
}
.tf-topbar-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tf-topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.tf-topbar-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f0f6fc;
  margin: 0;
}
.tf-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: #8b949e;
  cursor: pointer;
  border-radius: 0.5rem;
}
.tf-menu-toggle:hover {
  background-color: #ffffff0d;
  color: #f0f6fc;
}
@media (max-width: 1024px) {
  .tf-menu-toggle {
    display: flex;
  }
}
.tf-content {
  flex: 1;
  padding: 1.5rem;
}
@media (max-width: 768px) {
  .tf-content {
    padding: 1rem;
  }
}
.tf-page-header {
  margin-bottom: 1.5rem;
}
.tf-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0f6fc;
  margin-bottom: 0.5rem;
}
.tf-page-subtitle {
  font-size: 0.875rem;
  color: #8b949e;
}
.tf-grid {
  display: grid;
  gap: 1rem;
}
.tf-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 768px) {
  .tf-grid-2 {
    grid-template-columns: 1fr;
  }
}
.tf-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1024px) {
  .tf-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .tf-grid-3 {
    grid-template-columns: 1fr;
  }
}
.tf-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1280px) {
  .tf-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .tf-grid-4 {
    grid-template-columns: 1fr;
  }
}
.tf-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #00000080;
  z-index: 400;
}
@media (max-width: 1024px) {
  .tf-sidebar-overlay.open {
    display: block;
  }
}
.tf-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: linear-gradient(180deg, #0f141ef2, #0a0e1afa);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  transition:
    width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 24px #0000004d;
}
.tf-sidebar:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: radial-gradient(ellipse at top, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.tf-sidebar.collapsed {
  width: 72px;
}
.tf-sidebar.collapsed .tf-sidebar-logo-text,
.tf-sidebar.collapsed .tf-sidebar-link-text,
.tf-sidebar.collapsed .tf-sidebar-section-title,
.tf-sidebar.collapsed .tf-sidebar-user-info {
  opacity: 0;
  visibility: hidden;
  width: 0;
  overflow: hidden;
}
.tf-sidebar.collapsed .tf-sidebar-logo {
  gap: 0;
}
.tf-sidebar.collapsed .tf-sidebar-collapse-btn svg {
  transform: rotate(180deg);
}
.tf-sidebar.collapsed .tf-sidebar-link {
  justify-content: center;
  padding: 0.75rem;
  gap: 0;
}
.tf-sidebar.collapsed .tf-sidebar-user {
  justify-content: center;
  padding: 0.625rem;
}
.tf-sidebar.collapsed .tf-sidebar-section {
  opacity: 0;
  height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}
.tf-sidebar-header {
  position: relative;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.tf-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f6f8fa;
  letter-spacing: -0.02em;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}
.tf-sidebar-logo-icon {
  font-size: 1.75rem;
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.5));
  flex-shrink: 0;
}
.tf-sidebar-logo-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition:
    opacity 0.3s,
    width 0.3s,
    visibility 0.3s;
}
.tf-sidebar-collapse-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: #06b6d41a;
  border: 1px solid rgba(6, 182, 212, 0.2);
  border-radius: 8px;
  color: #22d3ee;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.tf-sidebar-collapse-btn svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 18px;
  height: 18px;
}
.tf-sidebar-collapse-btn:hover {
  background: #06b6d433;
  border-color: #06b6d466;
  color: #06b6d4;
  transform: scale(1.08);
}
.tf-sidebar-collapse-btn:active {
  transform: scale(0.95);
}
.tf-sidebar-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 0.75rem;
}
.tf-sidebar-nav::-webkit-scrollbar {
  width: 4px;
}
.tf-sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}
.tf-sidebar-nav::-webkit-scrollbar-thumb {
  background: #ffffff1a;
  border-radius: 2px;
}
.tf-sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: #fff3;
}
.tf-sidebar-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.75rem 1rem;
  margin-bottom: 0.25rem;
  color: #adbac7;
  text-decoration: none;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
}
.tf-sidebar-link:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, #06b6d4, #0891b2);
  border-radius: 0 2px 2px 0;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tf-sidebar-link:after {
  content: attr(data-tooltip);
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%) translate(8px);
  padding: 0.5rem 0.875rem;
  background: #161b22fa;
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: 8px;
  color: #f6f8fa;
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px #0006;
  z-index: 1000;
}
.tf-sidebar-link:hover {
  background: #06b6d414;
  color: #22d3ee;
  transform: translate(2px);
}
.tf-sidebar-link:hover .tf-sidebar-link-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(6, 182, 212, 0.4));
}
.tf-sidebar-link.active {
  background: linear-gradient(90deg, #06b6d426, #06b6d40d);
  color: #22d3ee;
  font-weight: 600;
}
.tf-sidebar-link.active:before {
  height: 24px;
}
.tf-sidebar-link.active .tf-sidebar-link-icon {
  filter: drop-shadow(0 0 12px rgba(6, 182, 212, 0.6));
}
.tf-sidebar.collapsed .tf-sidebar-link:hover:after {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translate(12px);
}
.tf-sidebar-link-icon {
  font-size: 1.25rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}
.tf-sidebar-link-text {
  flex: 1;
  letter-spacing: -0.01em;
}
.tf-sidebar-divider {
  height: 1px;
  margin: 1rem 0.5rem;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}
.tf-sidebar-section {
  padding: 0.5rem 1rem;
  margin-top: 0.5rem;
}
.tf-sidebar-section-title {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #768390;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.tf-sidebar-footer {
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.2) 100%);
}
.tf-sidebar-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem;
  border-radius: 10px;
  background: #ffffff08;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.2s;
  cursor: pointer;
}
.tf-sidebar-user:hover {
  background: #ffffff0d;
  border-color: #ffffff1a;
  transform: translateY(-1px);
}
.tf-sidebar-user-info {
  flex: 1;
  min-width: 0;
}
.tf-sidebar-user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #f6f8fa;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.125rem;
}
.tf-sidebar-user-role {
  font-size: 0.75rem;
  color: #768390;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tf-sidebar-overlay {
  display: none;
}
@media (max-width: 768px) {
  .tf-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: #0009;
    backdrop-filter: blur(4px);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
  }
  .tf-sidebar-overlay.active {
    display: block;
    opacity: 1;
    visibility: visible;
  }
}
.tf-main {
  margin-left: 280px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tf-main.sidebar-collapsed {
  margin-left: 72px;
}
@media (max-width: 768px) {
  .tf-sidebar {
    transform: translate(-100%);
  }
  .tf-sidebar.active {
    transform: translate(0);
  }
  .tf-sidebar.collapsed {
    width: 280px;
  }
  .tf-main {
    margin-left: 0 !important;
  }
}
.tf-compete-card {
  background: linear-gradient(135deg, #161b2299, #0f141e99);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.tf-compete-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #0891b2);
  opacity: 0.6;
}
.tf-compete-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.05) 0%, transparent 100%);
}
.tf-compete-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #f6f8fa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}
.tf-compete-body {
  padding: 1.5rem;
}
.tf-compete-alias-group {
  margin-bottom: 1.5rem;
}
.tf-compete-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #adbac7;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tf-compete-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #161b2299;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #f6f8fa;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: all 0.2s;
  cursor: pointer;
}
.tf-compete-select:hover {
  border-color: #06b6d44d;
  background: #161b22cc;
}
.tf-compete-select:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px #06b6d41a;
}
.tf-compete-select option {
  background: #161b22;
  color: #f6f8fa;
}
.tf-compete-hint {
  display: block;
  font-size: 0.75rem;
  color: #768390;
  margin-top: 0.375rem;
}
.tf-compete-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}
.tf-compete-action-btn {
  padding: 0.625rem 0.75rem;
  background: #ffffff08;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: #adbac7;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.tf-compete-action-btn:hover {
  background: #06b6d41a;
  border-color: #06b6d44d;
  color: #22d3ee;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px #06b6d426;
}
.tf-compete-action-btn:active {
  transform: translateY(0);
}
.tf-compete-action-btn.full-width {
  grid-column: 1/-1;
}
.tf-compete-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 1.25rem 0;
}
.tf-compete-section {
  margin-bottom: 1.25rem;
}
.tf-compete-section:last-child {
  margin-bottom: 0;
}
.tf-compete-section-title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #adbac7;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.tf-compete-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.tf-compete-form-group {
  margin-bottom: 0;
}
.tf-compete-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: #161b2299;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f6f8fa;
  font-size: 0.875rem;
  font-family:
    JetBrains Mono,
    monospace;
  transition: all 0.2s;
}
.tf-compete-input::placeholder {
  color: #768390;
}
.tf-compete-input:hover {
  border-color: #06b6d44d;
  background: #161b22cc;
}
.tf-compete-input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px #06b6d41a;
}
.tf-compete-btn-start {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px #10b9814d;
}
.tf-compete-btn-start:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #10b98166;
  background: linear-gradient(135deg, #059669, #047857);
}
.tf-compete-btn-start:active {
  transform: translateY(0);
}
.tf-compete-btn-stop {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px #f43f5e4d;
}
.tf-compete-btn-stop:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px #f43f5e66;
  background: linear-gradient(135deg, #e11d48, #be123c);
}
.tf-compete-btn-stop:active {
  transform: translateY(0);
}
.tf-compete-ignore-actions {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.tf-compete-ignore-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  background: #161b2299;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #f6f8fa;
  font-size: 0.875rem;
  transition: all 0.2s;
}
.tf-compete-ignore-input::placeholder {
  color: #768390;
}
.tf-compete-ignore-input:focus {
  outline: none;
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px #06b6d41a;
}
.tf-compete-ignore-btn {
  padding: 0.625rem 1rem;
  background: #f59e0b26;
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.2s;
}
.tf-compete-ignore-btn:hover {
  background: #f59e0b40;
  border-color: #f59e0b80;
  transform: scale(1.05);
}
.tf-compete-ignore-btn.secondary {
  background: #ffffff08;
  border-color: #ffffff1a;
  color: #adbac7;
}
.tf-compete-ignore-btn.secondary:hover {
  background: #ffffff14;
  border-color: #fff3;
}
.tf-compete-list-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #ffffff08;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #adbac7;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}
.tf-compete-list-btn:hover {
  background: #ffffff14;
  border-color: #fff3;
  color: #f6f8fa;
}
.tf-compete-output {
  margin-top: 1.25rem;
  padding: 1rem;
  background: #0000004d;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  font-family:
    JetBrains Mono,
    monospace;
  font-size: 0.8125rem;
  color: #adbac7;
  max-height: 300px;
  overflow-y: auto;
}
.tf-compete-output::-webkit-scrollbar {
  width: 6px;
}
.tf-compete-output::-webkit-scrollbar-track {
  background: #0003;
  border-radius: 3px;
}
.tf-compete-output::-webkit-scrollbar-thumb {
  background: #ffffff1a;
  border-radius: 3px;
}
.tf-compete-output::-webkit-scrollbar-thumb:hover {
  background: #fff3;
}
@media (max-width: 768px) {
  .tf-compete-actions,
  .tf-compete-form-row {
    grid-template-columns: 1fr;
  }
}
.tf-loading {
  opacity: 0.5;
  pointer-events: none;
}
.tf-overlay-loading {
  position: relative;
}
.tf-overlay-loading:after {
  content: '';
  position: absolute;
  inset: 0;
  background-color: #0d1117b3;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}
.tf-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}
.tf-empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}
.tf-empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f0f6fc;
  margin-bottom: 0.5rem;
}
.tf-empty-description {
  font-size: 0.875rem;
  color: #8b949e;
  max-width: 320px;
}
.tf-divider {
  height: 1px;
  background-color: #21262d;
  border: none;
  margin: 1rem 0;
}
.tf-divider.tf-divider-vertical {
  width: 1px;
  height: auto;
  margin: 0 1rem;
}
.tf-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: #21262d;
  color: #8b949e;
  font-weight: 500;
  overflow: hidden;
}
.tf-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tf-avatar-xs {
  width: 24px;
  height: 24px;
  font-size: 0.75rem;
}
.tf-avatar-sm {
  width: 32px;
  height: 32px;
  font-size: 0.875rem;
}
.tf-avatar-md {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}
.tf-avatar-lg {
  width: 48px;
  height: 48px;
  font-size: 1.125rem;
}
.tf-avatar-xl {
  width: 64px;
  height: 64px;
  font-size: 1.5rem;
}
.tf-price {
  font-family:
    JetBrains Mono,
    Fira Code,
    SF Mono,
    Consolas,
    monospace;
  font-weight: 600;
  letter-spacing: -0.5px;
}
.tf-price.tf-price-lg {
  font-size: 1.5rem;
}
.tf-price.tf-price-success {
  color: #34d399;
}
.tf-price.tf-price-danger {
  color: #f87171;
}
.tf-currency {
  font-size: 0.75em;
  color: #8b949e;
  font-weight: 500;
  margin-left: 4px;
}
.tf-table {
  width: 100%;
  border-collapse: collapse;
}
.tf-table th,
.tf-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #21262d;
}
.tf-table th {
  font-size: 0.75rem;
  font-weight: 600;
  color: #6e7681;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #ffffff05;
}
.tf-table td {
  font-size: 0.875rem;
  color: #f0f6fc;
}
.tf-table tbody tr {
  transition: background-color 0.15s;
}
.tf-table tbody tr:hover {
  background-color: #ffffff05;
}
.tf-table.tf-table-striped tbody tr:nth-child(2n) {
  background-color: #ffffff05;
}
.tf-table.tf-table-compact th,
.tf-table.tf-table-compact td {
  padding: 0.5rem 0.75rem;
}
.tf-dropdown {
  position: relative;
  display: inline-block;
}
.tf-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 180px;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background-color: #2d333b;
  border: 1px solid #30363d;
  border-radius: 0.5rem;
  box-shadow:
    0 20px 25px -5px #0009,
    0 8px 10px -6px #00000080;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.15s;
}
.tf-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.tf-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  color: #8b949e;
  text-decoration: none;
  border-radius: 0.375rem;
  cursor: pointer;
  transition: all 0.15s;
}
.tf-dropdown-item:hover {
  background-color: #ffffff0d;
  color: #f0f6fc;
}
.tf-dropdown-item.danger {
  color: #f87171;
}
.tf-dropdown-item.danger:hover {
  background-color: #ef44441a;
}
.tf-dropdown-divider {
  height: 1px;
  margin: 0.5rem 0;
  background-color: #21262d;
}
.tf-spinner {
  width: 24px;
  height: 24px;
  border: 2px solid #30363d;
  border-top-color: #3b82f6;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}
.tf-spinner-sm {
  width: 16px;
  height: 16px;
  border-width: 2px;
}
.tf-spinner-lg {
  width: 32px;
  height: 32px;
  border-width: 3px;
}
.tf-tooltip {
  position: relative;
  display: inline-block;
}
.tf-tooltip:before,
.tf-tooltip:after {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: all 0.15s;
  pointer-events: none;
}
.tf-tooltip:before {
  content: attr(data-tooltip);
  bottom: 100%;
  left: 50%;
  transform: translate(-50%) translateY(-4px);
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  color: #fff;
  background-color: #2d333b;
  border-radius: 0.375rem;
  white-space: nowrap;
  box-shadow:
    0 4px 6px -1px #0006,
    0 2px 4px -2px #0000004d;
}
.tf-tooltip:after {
  content: '';
  bottom: 100%;
  left: 50%;
  transform: translate(-50%) translateY(4px);
  border: 4px solid transparent;
  border-top-color: #2d333b;
}
.tf-tooltip:hover:before,
.tf-tooltip:hover:after {
  opacity: 1;
  visibility: visible;
}
.tf-tooltip:hover:before {
  transform: translate(-50%) translateY(-8px);
}
.tf-tooltip:hover:after {
  transform: translate(-50%) translateY(0);
}
.tf-code {
  font-family:
    JetBrains Mono,
    Fira Code,
    SF Mono,
    Consolas,
    monospace;
  font-size: 0.9em;
  padding: 2px 6px;
  background-color: #ffffff0d;
  border-radius: 0.25rem;
  color: #22d3ee;
}
.tf-link {
  color: #58a6ff;
  text-decoration: none;
  transition: color 0.15s;
}
.tf-link:hover {
  color: #8bc1ff;
  text-decoration: underline;
}
.tf-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
