/* =========================================================================
   SANDBOX-ONLY THEME  —  BLUE & BLACK
   Purpose: make the sandbox visually distinct from production at a glance.
   REVERT ON PRODUCTION PROMOTE: do NOT copy this file to production, and
   remove the <link rel="stylesheet" href="sandbox-theme.css"> line from
   index.html. hub.css is untouched, so production keeps the green scheme.
   ========================================================================= */

:root {
  --jd-green: #2563eb;        /* blue replaces John Deere green */
  --jd-green-dark: #1e40af;
  --jd-green-light: #3b82f6;
  --jd-yellow: #38bdf8;       /* accent shifts to sky-blue */
  --bg-dark: #060a12;         /* near-black with a blue tint */
  --bg-card: #0f1420;
  --bg-input: #0d1a30;
  --text-primary: #e8eefc;
  --text-muted: #93a4c4;
  --border: #1e2f4d;
  --border-green: #2563eb;
}

/* Hardcoded green gradients → blue gradients (same selectors as hub.css) */
.sidebar { background: linear-gradient(180deg, #0a1730 0%, #0f1420 100%) !important; }
.sidebar-header,
.nav-item.active,
.btn-primary,
.est-section-header,
.est-grand-total { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important; }
.btn-primary:hover { background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%) !important; }
.est-job-header,
.calc-closest { background: linear-gradient(135deg, #0f1f4d 0%, #1e3a8a 100%) !important; }

/* Login page background glow: green → blue */
.auth-bg-pattern {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37,99,235,0.28) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(56,189,248,0.12) 0%, transparent 50%) !important;
}

/* Clear SANDBOX badge so there is zero doubt which environment this is */
body::before {
  content: "\1F9EA  SANDBOX";
  position: fixed;
  top: 0; right: 0;
  z-index: 9999;
  background: #2563eb;
  color: #fff;
  font: 700 12px/1 'Inter', sans-serif;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  border-bottom-left-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  pointer-events: none;
}
