/* ==========================================================================
   DESIGN TOKENS - MYBENCHSPACE DESIGN SYSTEM
   Modern Biotech & Clean Lab Aesthetic
   ========================================================================== */

/* --- Self-Hosted Fonts --- */
@font-face {
  font-family: "Baloo 2";
  src: url("/fonts/Baloo2-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Montserrat (variable, latin subset): used only for the MyBlot wordmark */
@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Typography --- */
  --font-display: "Baloo 2", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nunito", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* --- Brand Core Colors --- */
  --brand-navy: #1F2248;
  --brand-navy-deep: #141738;
  --brand-teal: #0E9686;
  --brand-teal-light: #45B49F;
  --brand-teal-glow: rgba(14, 150, 134, 0.18);
  --brand-mint: #CCF5EC;
  --brand-mint-soft: #E6FAF5;

  /* --- App Identity Accents --- */
  /* MyBenchBook (Cerulean / Blue notebook & Coral) */
  --mbb-primary: #0284C7;
  --mbb-primary-hover: #0369A1;
  --mbb-light: #E0F2FE;
  --mbb-glow: rgba(2, 132, 199, 0.20);
  --mbb-coral: #FF4A38;
  --mbb-coral-light: #FFEBE8;

  /* MyWB (Ponceau Red & Western blot bands) */
  --mywb-primary: #C1392B;
  --mywb-primary-hover: #A02619;
  --mywb-light: #FDE8E6;
  --mywb-glow: rgba(193, 57, 43, 0.20);

  /* MyLIMS (Coming Soon - Deep Violet / Biotech Scanner) */
  --mylims-primary: #7C3AED;
  --mylims-primary-hover: #6D28D9;
  --mylims-light: #F3E8FF;
  --mylims-glow: rgba(124, 58, 237, 0.20);

  /* --- UI Surfaces & Backgrounds --- */
  --bg-body: #F4F9F8;
  --bg-body-gradient: radial-gradient(circle at 10% 10%, rgba(204, 245, 236, 0.6) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(224, 242, 254, 0.6) 0%, transparent 45%),
                      #F4F9F8;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-subtle: #EAF4F2;
  --bg-card-dim: #F6FBF9;
  --bg-glass: rgba(255, 255, 255, 0.85);

  /* --- Text Colors --- */
  --text-main: #1F2248;
  --text-muted: #536471;
  --text-subtle: #7A8B97;
  --text-inverted: #FFFFFF;

  /* --- Borders & Dividers --- */
  --border-light: rgba(31, 34, 72, 0.08);
  --border-medium: rgba(31, 34, 72, 0.15);
  --border-focus: #0E9686;

  /* --- Elevation & Shadows --- */
  --shadow-xs: 0 1px 2px rgba(31, 34, 72, 0.04);
  --shadow-sm: 0 2px 6px rgba(31, 34, 72, 0.06);
  --shadow-md: 0 8px 24px -4px rgba(31, 34, 72, 0.08), 0 2px 8px -2px rgba(31, 34, 72, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(31, 34, 72, 0.12), 0 4px 12px -2px rgba(31, 34, 72, 0.05);
  --shadow-xl: 0 30px 60px -12px rgba(31, 34, 72, 0.16);

  /* --- Radii --- */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 150ms;
  --duration-normal: 250ms;
  --duration-slow: 400ms;

  /* --- Layout Constraints --- */
  --container-max: 1200px;
  --header-height: 80px;
}

/* --- MyBlot wordmark (HTML text, mimics the old MyWB wordmark image) --- */
.brand-wordmark {
  display: inline-block;
  font-family: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand-wordmark .brand-my { font-weight: 500; color: #1B2C48; }
.brand-wordmark .brand-blot { font-weight: 800; color: #C9302B; }
.brand-wordmark.on-dark .brand-my { color: #F6F1E7; }
