/* ==========================================================================
 * Panda Pcloud Cloner theme
 * pCloud — clean white with a calm teal accent and gentle gradients. Light by default.
 * Loaded after cloner.css; it only overrides design tokens and a few accents.
 * ========================================================================== */

/* Dark mode */
:root {
  --red: #22c3d8;
  --red-hover: #4fd3e3;
  --red-deep: #066f7e;
  --red-soft: rgba(34, 195, 216, 0.16);
  --red-ring: rgba(34, 195, 216, 0.3);
  --on-red: #ffffff;
  --bg: #0b1618;
  --canvas: #0d1b1f;
  --surface: #122429;
  --surface-2: #183037;
  --rail: #0c191c;
  --line: #1f3a41;
  --line-strong: #2a4b54;
  --text: #eaf6f8;
  --text-2: #bcd4d9;
  --muted: #81a0a7;
  --radius: 18px;
  --boot-bg: #0d1b1f;
  --boot-text: #eaf6f8;
  --boot-text-2: #bcd4d9;
  --boot-text-3: #81a0a7;
  --boot-track: #0b1618;
  --boot-bar: #22c3d8;
}

/* Light mode */
html.light {
  --red: #0aa3b8;
  --red-hover: #088a9c;
  --red-deep: #066f7e;
  --red-soft: #e1f5f8;
  --red-ring: rgba(10, 163, 184, 0.22);
  --on-red: #ffffff;
  --bg: #f2f7f8;
  --canvas: #ffffff;
  --surface: #ffffff;
  --surface-2: #ebf3f5;
  --rail: #ffffff;
  --line: #dce8eb;
  --line-strong: #c2d5da;
  --text: #10262b;
  --text-2: #3d555b;
  --muted: #7a9298;
  --green: #12a150;
  --green-soft: #e6f6ed;
  --amber: #b45309;
  --amber-soft: #fff6e8;
  --shadow: 0 1px 2px rgba(16, 38, 43, 0.05), 0 6px 20px rgba(16, 38, 43, 0.06);
  --boot-bg: #ffffff;
  --boot-text: #10262b;
  --boot-text-2: #3d555b;
  --boot-text-3: #7a9298;
  --boot-track: #ebf3f5;
  --boot-bar: #0aa3b8;
}

/* Loader spinners in the brand colour (light + dark) */
.spinner { background: rgba(34, 195, 216, 0.12); }
.spinner::before { border-color: #22c3d8; border-right-color: transparent; }
.spinner span { background: #122429; box-shadow: 0 0 0 4px #0d1b1f; }
html.light .spinner { background: #e1f5f8; }
html.light .spinner::before { border-color: #0aa3b8; border-right-color: transparent; }
html.light .spinner span { background: #e1f5f8; box-shadow: 0 0 0 4px #ffffff; }
.spinner.xs, .spinner.xs span, html.light .spinner.xs, html.light .spinner.xs span { background: transparent; box-shadow: none; }
.spinner.xs::before, html.light .spinner.xs::before { border-color: var(--red); border-right-color: transparent; }

/* Phase loader strip */
.phase-loader { background: linear-gradient(90deg, rgba(34, 195, 216, 0.1), rgba(34, 195, 216, 0.02)); }
html.light .phase-loader { background: linear-gradient(90deg, #e1f5f8, #ffffff); }

/* Brand, rails and cards */
.brand-name b { color: var(--red); }
html.light .brand-name b { color: #066f7e; }
html.light .topbar { background: rgba(255, 255, 255, 0.96); }
html.light .side { background: #ffffff; }
.side-item.active { background: var(--red-soft); color: var(--red); }
.side-item.active i { color: var(--red); }

/* Buttons */
.btn-red, .new-btn, .btn-lg { border-radius: 999px; }
.new-btn { box-shadow: 0 8px 20px var(--red-ring); }
.hero-orbit::before { border-color: var(--red); border-right-color: transparent; border-bottom-color: transparent; }
.hero h1 .red { background: linear-gradient(90deg, #066f7e, #0aa3b8, #3fd0e0); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Progress bar */
.fill { background: linear-gradient(90deg, #066f7e, #0aa3b8, #3fd0e0); }
.mini-bar span, .quota-track span { background: var(--red); }

/* Console stays dark for readability */
html.light .console { background: #0d1b1f; }
