/* Direction: Nimbus Console — a technical cloud-drive dashboard.
   Cool paper canvas, deep navy command band, signal-green actions. */
/* Completed by the platform from the short form: both modes, every
   palette token, each text-on-ground pair at its floor. To restyle, write the
   short form again (the decisions in one :root) and it is completed again. */

:root {
  --canvas: #f3f6fc;
  --surface: #ffffff;
  --surface-2: #e9eff9;
  --border: #d4ddee;
  --border-strong: #abb3b4;
  --ink: #0f1b2f;
  --muted: #566882;
  --accent: #0f9b4c;
  --accent-hover: #0d8441;
  --accent-ink: #02160b;
  --accent-text: #0b7a3b;
  --accent-strong: #0a6c35;
  --accent-soft: #dcf3e4;
  --accent-border: #8ccdad;
  --success: #0f9b4c;
  --success-ink: #0f1b2f;
  --success-soft: #d8ebe7;
  --success-strong: #0b6f36;
  --warning: #a9650f;
  --warning-ink: #ffffff;
  --warning-soft: #eae5e0;
  --warning-strong: #8f560d;
  --danger: #d12b20;
  --danger-ink: #ffffff;
  --danger-soft: #efdee2;
  --danger-strong: #c0281d;
  --chart-1: #0f9b4c;
  --chart-2: #1197aa;
  --chart-3: #4a5fc5;
  --chart-4: #c668bd;
  --chart-5: #b03827;
  --chart-6: #a88819;

  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --radius-card: 16px;
  --radius-btn: 10px;
  --radius-input: 10px;
  --display-tracking: -0.02em;
  --x-band: #0b1b33;
  --x-on-dark: #ffffff;
  --x-blue: #1d4ed8;
  --x-blue-soft: #e3ebfd;
  --gradient-band: linear-gradient(118deg, #0b1b33 0%, #123a5e 58%, #0a5c39 100%);
  --font-sans: "Inter", system-ui, sans-serif;
  --display-weight: 700;
  --eyebrow-tracking: 0.08em;
}

html[data-theme="dark"] {
  --canvas: #021008;
  --surface: #1b2821;
  --surface-2: #0f1c14;
  --border: #25312b;
  --border-strong: #4e5852;
  --ink: #f3f6fc;
  --muted: #939a9a;
  --accent: #0f9b4c;
  --accent-hover: #33aa67;
  --accent-ink: #02160b;
  --accent-text: #22a35a;
  --accent-strong: #22a35a;
  --accent-soft: #052f17;
  --accent-border: #084f27;
  --success: #0f9b4c;
  --success-ink: #ffffff;
  --success-soft: #052f17;
  --success-strong: #22a35a;
  --warning: #a9650f;
  --warning-ink: #ffffff;
  --warning-soft: #27230a;
  --warning-strong: #bc8644;
  --danger: #d12b20;
  --danger-ink: #ffffff;
  --danger-soft: #30160d;
  --danger-strong: #de675f;
  --chart-1: #0f9b4c;
  --chart-2: #23afc5;
  --chart-3: #5e77de;
  --chart-4: #cd6ec3;
  --chart-5: #ce5341;
  --chart-6: #b99517;
}

/* File Unlimited Cloud Drive Storage — the drop zone and the live bars. */

#dropzone.is-dragging {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

#upload-queue > div,
#remote-queue > div {
  animation: queue-in 220ms ease-out both;
}

@keyframes queue-in {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(0);
  }
}

html.reduced-motion #upload-queue > div,
html.reduced-motion #remote-queue > div {
  animation: none;
}

/* A moving sheen while bytes are still arriving. */
.js-bar {
  background-image: linear-gradient(
    100deg,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 70%
  );
  background-size: 220% 100%;
  animation: bar-sheen 1.4s linear infinite;
}

@keyframes bar-sheen {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -120% 0;
  }
}

html.reduced-motion .js-bar {
  animation: none;
}
