/**
 * Eva Unit-01 Theme
 * Dark theme inspired by Evangelion Unit-01 (purple/green)
 */

:root,
.theme-eva01 {
  /* Base colors */
  --color-bg: #1a0a2e;
  --color-bg-secondary: #2d1b4e;
  --color-bg-tertiary: #3d2b5e;

  /* Text colors */
  --color-text: #e8e8e8;
  --color-text-muted: #a0a0a0;
  --color-text-inverse: #1a0a2e;

  /* Accent colors */
  --color-accent: #00ff41;
  --color-accent-hover: #7fff00;
  --color-accent-secondary: #9d4edd;

  /* UI colors */
  --color-border: #3d2b5e;
  --color-border-focus: #00ff41;

  /* Code colors */
  --color-code-bg: #0d0518;
  --color-code-text: #e8e8e8;

  /* Link colors */
  --color-link: #00ff41;
  --color-link-hover: #7fff00;
  --color-link-visited: #9d4edd;

  /* Component colors */
  --color-homework: #ff6b35;
  --color-exercise: #00b4d8;
  --color-prompt: #9d4edd;
  --color-example: #6c757d;
  --color-exam: #ef233c;
  --color-project: #ffd60a;

  /* Calendar colors */
  --color-calendar-class: #00ff41;
  --color-calendar-holiday: #ef233c;
  --color-calendar-shadow: #000000;

  /* Status colors */
  --color-success: #00ff41;
  --color-warning: #ffd60a;
  --color-error: #ef233c;
  --color-info: #00b4d8;

  /* Typography */
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

/* Syntax highlighting for dark theme */
.theme-eva01 pre code {
  color: #e8e8e8;
}

.theme-eva01 .token.comment,
.theme-eva01 .token.prolog,
.theme-eva01 .token.doctype,
.theme-eva01 .token.cdata {
  color: #6c757d;
}

.theme-eva01 .token.punctuation {
  color: #a0a0a0;
}

.theme-eva01 .token.property,
.theme-eva01 .token.tag,
.theme-eva01 .token.boolean,
.theme-eva01 .token.number,
.theme-eva01 .token.constant,
.theme-eva01 .token.symbol,
.theme-eva01 .token.deleted {
  color: #ff6b35;
}

.theme-eva01 .token.selector,
.theme-eva01 .token.attr-name,
.theme-eva01 .token.string,
.theme-eva01 .token.char,
.theme-eva01 .token.builtin,
.theme-eva01 .token.inserted {
  color: #00ff41;
}

.theme-eva01 .token.operator,
.theme-eva01 .token.entity,
.theme-eva01 .token.url,
.theme-eva01 .language-css .token.string,
.theme-eva01 .style .token.string {
  color: #ffd60a;
}

.theme-eva01 .token.atrule,
.theme-eva01 .token.attr-value,
.theme-eva01 .token.keyword {
  color: #9d4edd;
}

.theme-eva01 .token.function,
.theme-eva01 .token.class-name {
  color: #00b4d8;
}

.theme-eva01 .token.regex,
.theme-eva01 .token.important,
.theme-eva01 .token.variable {
  color: #ffd60a;
}

/* Scrollbar styling */
.theme-eva01 ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.theme-eva01 ::-webkit-scrollbar-track {
  background: var(--color-bg);
}

.theme-eva01 ::-webkit-scrollbar-thumb {
  background: var(--color-bg-tertiary);
  border-radius: 4px;
}

.theme-eva01 ::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-secondary);
}

/* Selection */
.theme-eva01 ::selection {
  background: var(--color-accent-secondary);
  color: var(--color-text);
}

/* Focus styles */
.theme-eva01 *:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}
