@import './base.css';
@import './base.dark.css';
@import './sigma.css';
@import './shorts.css';
@import './dashboard.css';
@import './code-highlight.less';

:root {
  --header-height: 45px;
  --min-width: 450px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  position: relative;
  font-weight: normal;
}

body {
  display: flow-root;
  min-height: 100vh;
  color: var(--gray-900);
  background: var(--gray-0);
  line-height: 1.6;
  font-family:
    -apple-system, BlinkMacSystemFont, 'Noto Sans SC', 'Roboto', 'HarmonyOS Sans SC', 'Segoe UI',
    'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* layout */

.layout-container {
  width: 100%;

  h2 {
    margin: 20px 0 10px 0;
  }
}

.lucide-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lucide-icon-btn svg {
  flex-shrink: 0;
}

.ant-btn.lucide-icon-btn,
.lucide-icon-btn.ant-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ant-btn .ant-btn-icon,
.ant-btn .anticon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: 4px;
}

.card-tag.tag-purple,
.card-tag.tag-cyan {
  background: var(--color-accent-50);
  color: var(--color-accent-700);
}

.card-tag.tag-blue {
  background: var(--color-info-50);
  color: var(--color-info-700);
}

.card-tag.tag-red,
.card-tag.tag-orange {
  background: var(--color-error-50);
  color: var(--color-error-700);
}

.card-tag.tag-green {
  background: var(--color-success-50);
  color: var(--color-success-700);
}

.card-tag.tag-gold {
  background: var(--color-warning-50);
  color: var(--color-warning-900);
}
