/* MCSD Environmental Intelligence Platform - Core Styles */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --mcsd-blue-primary: #0088cc;
  --mcsd-blue-light: #29b6f6;
  --mcsd-blue-dark: #005580;

  --mcsd-green-primary: #7cb342;
  --mcsd-green-light: #8bc34a;
  --mcsd-green-dark: #33691e;

  --mcsd-emerald: #10b981;
  --mcsd-emerald-dark: #064e3b;
  --mcsd-amber: #f59e0b;
  --mcsd-cyan: #06b6d4;

  --mcsd-black: #090d16;
  --mcsd-bg-dark: #0f172a;
  --mcsd-card-dark: #1e293b;
  --mcsd-card-border: #334155;
  --mcsd-card-hover: #24324a;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--mcsd-bg-dark);
  color: #f8fafc;
  font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

body.lang-en {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Glassmorphism & Cards */
.glass-card {
  background: rgba(30, 41, 59, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--mcsd-card-border);
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.glass-card:hover {
  border-color: rgba(41, 182, 246, 0.4);
}

.glow-blue {
  box-shadow: 0 0 25px rgba(41, 182, 246, 0.15);
}

.glow-green {
  box-shadow: 0 0 25px rgba(139, 195, 74, 0.15);
}

/* Inputs & Forms */
.form-input {
  background-color: #0b1120;
  border: 1px solid #334155;
  color: #f8fafc;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2);
}

/* Code Blocks & Results */
pre.code-block {
  background: #090d16;
  border: 1px solid #1e293b;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  color: #38bdf8;
  overflow-x: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #475569;
}
