/**
 * TokenScope - Clean Minimalistic UI
 * Pure black text, white background, no containers
 */

:root {
  --bg-white: #ffffff;
  --text-primary: #000000;
  --text-secondary: #333333;
  --text-muted: #666666;
  --neon-pink: #ff1493;
  --neon-cyan: #00d4ff;
  --neon-purple: #da70d6;
  --neon-orange: #ff8c42;
  --neon-green: #00ff9f;
  --neon-blue: #0099ff;
}

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
  color: var(--text-primary) !important;
}

html, body {
  height: 100%;
  width: 100%;
  background: var(--bg-white);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
}

/* FORCE ALL TEXT BLACK */
h1, h2, h3, h4, h5, h6, p, span, div, a, label, button, input, select, textarea {
  color: var(--text-primary) !important;
}

a { color: var(--text-primary); text-decoration: underline; }
a:hover { opacity: 0.7; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #f5f5f5; }
::-webkit-scrollbar-thumb { background: #cccccc; }

/* SIDEBAR - HIDDEN */
#mainSidebar {
  background: var(--bg-white) !important;
  border-right: none !important;
  display: none !important;
}

.sidebar-nav-btn {
  color: var(--text-primary) !important;
  border-radius: 0;
  transition: none;
  background: transparent !important;
  border: none !important;
}

.sidebar-nav-btn:hover {
  background: transparent !important;
  opacity: 0.7;
}

.sidebar-nav-btn.active {
  background: transparent !important;
  border-left: none;
}

/* TOPBAR - MINIMAL */
.topbar {
  background: var(--bg-white) !important;
  border-bottom: none !important;
}

.topbar .app-title {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1.2rem;
}

/* MAIN CONTENT */
main { 
  background: var(--bg-white);
  padding: 2rem;
}

.hero-title {
  color: var(--text-primary);
  font-size: 2.5rem;
  font-weight: 600;
  margin: 0;
}

.hero-description {
  color: var(--text-primary) !important;
}

/* NO CONTAINER STYLING */
.glass-morphism,
.model-card,
.stats-card,
.interactive-card,
.concept-card,
.feature-card,
.tip-card {
  background: var(--bg-white) !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  transition: none;
  padding: 1.5rem;
}

.glass-morphism:hover,
.model-card:hover,
.stats-card:hover {
  background: var(--bg-white) !important;
  box-shadow: none !important;
}

/* INPUT FIELDS */
.input-field,
input[type="text"],
input[type="email"],
textarea {
  background: var(--bg-white) !important;
  border: 1px solid #cccccc !important;
  border-radius: 0;
  color: var(--text-primary) !important;
  padding: 0.75rem 1rem;
  transition: none;
}

.input-field:focus,
input:focus,
textarea:focus {
  border-color: var(--text-primary) !important;
  background: var(--bg-white) !important;
  outline: none;
}

.input-field::placeholder {
  color: var(--text-muted) !important;
}

/* BUTTONS - BLACK ONLY */
.action-button,
button {
  background: #000000 !important;
  color: white !important;
  border: 1px solid #000000 !important;
  border-radius: 0;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  cursor: pointer;
  transition: none;
}

.action-button:hover,
button:hover {
  background: #222222 !important;
  border-color: #222222 !important;
}

.action-button:active,
button:active {
  background: #111111 !important;
}

/* SELECTS */
select {
  background: var(--bg-white) !important;
  color: var(--text-primary) !important;
  border: 1px solid #cccccc !important;
  border-radius: 0;
  padding: 0.75rem;
  transition: none;
  cursor: pointer;
}

select:focus {
  border-color: var(--text-primary) !important;
  outline: none;
}

select option {
  background: var(--bg-white);
  color: var(--text-primary);
}

/* TOKENS - COLORED ONLY */
.token-chip {
  transition: none;
  border: none;
  padding: 0.4rem 0.8rem;
  border-radius: 3px;
  font-weight: 500;
  color: white !important;
}

.token-chip:nth-child(1) { background: var(--neon-pink) !important; }
.token-chip:nth-child(2) { background: var(--neon-cyan) !important; color: #000 !important; }
.token-chip:nth-child(3) { background: var(--neon-purple) !important; }
.token-chip:nth-child(4) { background: var(--neon-orange) !important; color: #000 !important; }
.token-chip:nth-child(5) { background: var(--neon-green) !important; color: #000 !important; }
.token-chip:nth-child(6) { background: var(--neon-blue) !important; }
.token-chip:nth-child(7n) { background: #ffdd44 !important; color: #000 !important; }

/* STATS & DISPLAY */
.stats-label {
  color: var(--text-secondary) !important;
}

.stats-value {
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 1.5rem;
}

.cost-display {
  color: var(--text-primary) !important;
  font-weight: 700;
  font-size: 1.5rem;
}

.progress-bar {
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-cyan)) !important;
  height: 4px;
  border-radius: 0;
  box-shadow: none !important;
}

/* STATUS COLORS */
.text-green-400 { color: #10b981 !important; }
.text-red-400 { color: #ef4444 !important; }

/* ANIMATIONS */
.animate-spin { animation: spin 1s linear infinite; }

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

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

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

/* HOW TO SECTION - HIDDEN */
#howToSection {
  background: var(--bg-white) !important;
  display: none !important;
}

#howToSection .bg-white {
  background: var(--bg-white) !important;
  border: none;
  color: var(--text-primary);
}

#howToSection h2, 
#howToSection h3, 
#howToSection h4 {
  color: var(--text-primary) !important;
}

#howToSection p {
  color: var(--text-primary) !important;
}

/* UTILITY TEXT OVERRIDES */
.text-white\/40 { color: var(--text-muted) !important; }
.text-white\/80 { color: var(--text-primary) !important; }
.text-white\/60 { color: var(--text-secondary) !important; }
.text-gray-700 { color: var(--text-secondary) !important; }
.text-gray-600 { color: var(--text-secondary) !important; }

/* BG OVERRIDES */
.bg-white\/10 { background: transparent !important; }
.bg-white\/20 { background: transparent !important; }
.bg-white\/5 { background: transparent !important; }

/* PRINT */
@media print {
  body { background: white; color: black; }
  #mainSidebar { display: none; }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  main { padding: 1rem; }
  .hero-title { font-size: 1.875rem; }
}
