/* ===== SQUAWK-AI SHARED STYLES ===== */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --green: #00ff88;
  --green-dim: rgba(0,255,136,0.15);
  --green-border: rgba(0,255,136,0.25);
  --bg: #050505;
  --bg2: #0a0a0a;
  --bg3: #111;
  --text: #f0f0f0;
  --text-muted: #888;
  --text-dim: #555;
}

@font-face {
  font-family: 'SuisseIntl';
  src: url('https://fonts.cdnfonts.com/css/suisse-intl') format('woff2');
  font-weight: 400;
}

body {
  font-family: 'SuisseIntl', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

canvas#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ===== BUTTONS ===== */
.btn-primary {
  width: 100%;
  padding: 16px;
  background: var(--green);
  color: #050505;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-primary:hover { background: #00e87a; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  width: 100%;
  padding: 14px;
  background: transparent;
  color: var(--green);
  border: 1px solid var(--green-border);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-secondary:hover { background: var(--green-dim); border-color: var(--green); }

/* ===== INPUT ===== */
.field-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; display: block; }
.field-input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.field-input:focus { border-color: var(--green); }
.field-input::placeholder { color: var(--text-dim); }

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: inline-flex;
  background: rgba(255,255,255,0.05);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
}
.lang-btn {
  padding: 6px 16px;
  border-radius: 16px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.lang-btn.active { background: var(--green); color: #050505; }

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--green);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.logo-text { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.logo-text span { color: var(--green); }

/* ===== ERROR ===== */
.error-msg {
  background: rgba(255,59,48,0.1);
  border: 1px solid rgba(255,59,48,0.3);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: #ff6b6b;
  display: none;
}
.error-msg.visible { display: block; }

/* ===== LOADER ===== */
.spinner {
  width: 20px; height: 20px;
  border: 2px solid rgba(5,5,5,0.3);
  border-top-color: #050505;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
