/* ck-vibe.css - 2026-11-06 (owner): the CRM in the same look as the new arizonavibe.com home page and the email templates.
   Neon pink / cyan / violet / orange, Montserrat headings, Inter text, pill buttons, glowing frames - in BOTH modes:
   Vibe Dark (black, like the website) and Vibe Light (white with neon accents). The top-bar moon/sun button switches them.
   Only applies on html[data-ck-vibe="1"] (index.html boot script, localStorage 'ck-vibe'; ?vibe=1 on, ?vibe=0 off).
   Restyle only - no layout or behavior changes. */

/* ---- Vibe Light (neon on white) ---- */
html[data-ck-vibe="1"] {
  --ck-bg: #fbf8fe;
  --ck-card: #ffffff;
  --ck-card-2: #f7f2fc;
  --ck-line: rgba(255, 0, 132, .16);
  --ck-ink: #120a1e;
  --ck-muted: #6d6585;
  --ck-menu-bg: #ffffff;
  --ck-bar-bg: #000000;
  --ck-input-bg: #ffffff;
  --ck-input-line: rgba(177, 77, 255, .3);
  --ck-pink: #ff0084;
  --ck-blue: #00b8d4;
  --ck-grad: linear-gradient(90deg, #00e5ff, #b14dff, #ff0084, #ff7a1a);
  --ck-tab-bg: linear-gradient(90deg, rgba(0, 229, 255, .14), rgba(255, 0, 132, .08));
  --ck-tab-line: #00c4e0;
  --ck-tab-ink: #120a1e;
  --ck-shadow: 0 0 14px rgba(255, 0, 132, .12);
  --vb-surface: #ffffff;   /* cards */
  --vb-chip: #f7f2fc;      /* icon squares, soft fills */
  --vb-strong: #120a1e;    /* big numbers, headings */
  --vb-link: #0097b2;
  --vb-kicker: #0097b2;
  --vb-pink-a: rgba(255, 0, 132, .45);
  --vb-cyan-a: rgba(0, 196, 224, .55);
  --vb-violet-a: rgba(177, 77, 255, .5);
  --vb-glow-p: 0 0 12px rgba(255, 0, 132, .22);
  --vb-glow-c: 0 0 12px rgba(0, 229, 255, .3);
  --vb-glow-v: 0 0 12px rgba(177, 77, 255, .25);
  --vb-title-glow: 0 0 14px rgba(255, 0, 132, .25);
  --vb-hover: rgba(0, 229, 255, .08);
  --vb-active: rgba(255, 0, 132, .08);
}
/* ---- Vibe Dark (black, like the website and the emails) ---- */
html[data-ck-vibe="1"][data-ck-theme="dark"] {
  --ck-bg: #000000;
  --ck-card: #0a0812;
  --ck-card-2: #0f0b1a;
  --ck-line: rgba(255, 0, 132, .2);
  --ck-ink: #ffffff;
  --ck-muted: #a9a3c2;
  --ck-menu-bg: #05040a;
  --ck-input-bg: #05040a;
  --ck-input-line: rgba(0, 229, 255, .28);
  --ck-blue: #00e5ff;
  --ck-tab-bg: linear-gradient(90deg, rgba(0, 229, 255, .16), rgba(255, 0, 132, .1));
  --ck-tab-line: #00e5ff;
  --ck-tab-ink: #ffffff;
  --ck-shadow: 0 0 14px rgba(255, 0, 132, .18);
  --vb-surface: #0a0812;
  --vb-chip: #0f0b1a;
  --vb-strong: #ffffff;
  --vb-link: #5ff2ff;
  --vb-kicker: #5ff2ff;
  --vb-pink-a: rgba(255, 0, 132, .55);
  --vb-cyan-a: rgba(0, 229, 255, .55);
  --vb-violet-a: rgba(177, 77, 255, .6);
  --vb-glow-p: 0 0 14px rgba(255, 0, 132, .45), inset 0 0 10px rgba(255, 0, 132, .1);
  --vb-glow-c: 0 0 14px rgba(0, 229, 255, .4), inset 0 0 10px rgba(0, 229, 255, .08);
  --vb-glow-v: 0 0 14px rgba(177, 77, 255, .45), inset 0 0 10px rgba(177, 77, 255, .1);
  --vb-title-glow: 0 0 6px rgba(255, 255, 255, .35), 0 0 16px rgba(255, 0, 132, .55);
  --vb-hover: rgba(0, 229, 255, .07);
  --vb-active: rgba(255, 0, 132, .12);
}
html[data-ck-vibe="1"]:not([data-ck-theme="dark"]),
html[data-ck-vibe="1"]:not([data-ck-theme="dark"]) body,
html[data-ck-vibe="1"]:not([data-ck-theme="dark"]) #root { background: var(--ck-bg) !important; }

/* rainbow line across the very top, like the emails */
html[data-ck-vibe="1"] body::after {
  content: ''; position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999; pointer-events: none;
  background: linear-gradient(90deg, #00e5ff, #b14dff, #ff0084, #ff7a1a);
}

/* ---- type ---- */
html[data-ck-vibe="1"] body,
html[data-ck-vibe="1"] #root { font-family: 'Inter', -apple-system, 'Segoe UI', Arial, sans-serif; }
html[data-ck-vibe="1"] :is(h1, h2, h3, .ckd-name, .ckc-h1, .section-title, .ckn-panel-title) {
  font-family: 'Montserrat', Arial, sans-serif !important; font-weight: 800 !important; letter-spacing: .01em;
}
html[data-ck-vibe="1"] :is(h1, .ckd-name, .ckc-h1) { text-shadow: var(--vb-title-glow); }

/* ---- sidebar ---- */
html[data-ck-vibe="1"] .ckn-item:hover { background: var(--vb-hover) !important; border-color: var(--vb-cyan-a) !important; }
html[data-ck-vibe="1"] .ckn-item.active { background: var(--vb-active) !important; border-color: #ff0084 !important; box-shadow: 0 0 12px rgba(255, 0, 132, .4) !important; }
html[data-ck-vibe="1"] .ckn-item.active .ib { background: #ff0084 !important; color: #fff !important; box-shadow: 0 0 10px rgba(255, 0, 132, .6); }
html[data-ck-vibe="1"] .ckn-item .ib { background: var(--vb-chip) !important; }
html[data-ck-vibe="1"] .ckn-gh { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; letter-spacing: .25em; color: var(--vb-kicker) !important; }

/* ---- top bar (stays black in both modes, like the website's nav) ---- */
html[data-ck-vibe="1"] .ckt { border-bottom: 1px solid rgba(255, 0, 132, .3) !important; }
html[data-ck-vibe="1"] .ckt-tab.active { box-shadow: inset 0 -2px 0 #00e5ff; }
html[data-ck-vibe="1"] .ckt-tab.active .n { background: #ff0084 !important; color: #fff !important; }
html[data-ck-vibe="1"] .ckt-search { border: 1px solid rgba(0, 229, 255, .35) !important; border-radius: 30px !important; }
html[data-ck-vibe="1"] .ckt-badge { background: #ff0084 !important; box-shadow: 0 0 8px rgba(255, 0, 132, .8); }

/* ---- cards: neon frame + glow (pink; every 2nd cyan, every 3rd violet) ---- */
html[data-ck-vibe="1"] :is(.ckd-card, .ckd-hero, .ckd-stat, .ckd-tile, .ckd-mini, .ckd-glance) {
  border: 1px solid var(--vb-pink-a) !important; border-radius: 18px !important; box-shadow: var(--vb-glow-p) !important;
}
/* dark only: in light mode each card keeps its own fill (the Pipeline value card is dark with white text) */
html[data-ck-vibe="1"][data-ck-theme="dark"] :is(.ckd-card, .ckd-stat, .ckd-tile, .ckd-mini, .ckd-glance) { background: var(--vb-surface) !important; }
/* contacts.js paints #ck-contacts light grey in an inline sheet; follow the theme instead */
html[data-ck-vibe="1"] #ck-contacts.crm-font.dt-page { background: var(--ck-bg) !important; }
html[data-ck-vibe="1"] :is(.ckd-stat, .ckd-mini, .ckd-card):nth-child(3n+2) { border-color: var(--vb-cyan-a) !important; box-shadow: var(--vb-glow-c) !important; }
html[data-ck-vibe="1"] :is(.ckd-stat, .ckd-mini, .ckd-card):nth-child(3n) { border-color: var(--vb-violet-a) !important; box-shadow: var(--vb-glow-v) !important; }
html[data-ck-vibe="1"] :is(.bg-white, .bg-dark-card):is(.rounded-xl, .rounded-2xl),
html[data-ck-vibe="1"] :is(.bg-white, .bg-dark-card).rounded-lg:is(.shadow, .shadow-sm) {
  border: 1px solid var(--vb-pink-a) !important; box-shadow: var(--vb-glow-p) !important;
}
html[data-ck-vibe="1"] .ckd-gl-n,
html[data-ck-vibe="1"] .ckd-stat :is(b, strong, .n, .num) { font-family: 'Montserrat', Arial, sans-serif; font-weight: 800; color: var(--vb-strong); }
html[data-ck-vibe="1"][data-ck-theme="dark"] .ckd-gl-n,
html[data-ck-vibe="1"][data-ck-theme="dark"] .ckd-stat :is(b, strong, .n, .num) { text-shadow: 0 0 10px rgba(255, 0, 132, .55); }

/* ---- buttons: pill; main actions neon pink, others cyan outline ---- */
html[data-ck-vibe="1"] :is(.ckd-btn, .ckc-btn, button.btn, a.btn, .btn-primary, .btn-secondary) { border-radius: 40px !important; font-family: 'Montserrat', Arial, sans-serif; font-weight: 700; }
html[data-ck-vibe="1"] :is(.ckc-btn.primary, .btn-primary, .ckd-btn.primary, .ckd-btn.ckd-pink,
  button[class*="bg-pink-"], a[class*="bg-pink-"], button[class*="from-pink"], a[class*="from-pink"], button[class*="bg-gradient"]) {
  background: #ff0084 !important; background-image: none !important; color: #fff !important; border: 1px solid #ff0084 !important;
  border-radius: 40px !important; box-shadow: 0 0 12px rgba(255, 0, 132, .5) !important;
}
html[data-ck-vibe="1"] :is(.ckc-btn.primary, .btn-primary, button[class*="bg-pink-"], button[class*="bg-gradient"]):hover { box-shadow: 0 0 20px rgba(255, 0, 132, .8) !important; }
html[data-ck-vibe="1"] :is(.ckc-btn:not(.primary), .btn-secondary, .ckd-btn:not(.primary):not(.ckd-pink)) { border: 1px solid var(--vb-cyan-a) !important; box-shadow: var(--vb-glow-c); }

/* ---- tabs, chips, segmented controls ---- */
html[data-ck-vibe="1"] :is(.ckd-seg, .dt-pill, .ckc-stage) { border-radius: 30px !important; }
html[data-ck-vibe="1"] :is(.ckd-tab.active, .ckd-seg .active, .ckd-seg button.on) { background: #ff0084 !important; color: #fff !important; border-radius: 30px !important; box-shadow: 0 0 10px rgba(255, 0, 132, .5); }

/* ---- forms ---- */
html[data-ck-vibe="1"] :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select, textarea):focus {
  border-color: #00e5ff !important; box-shadow: 0 0 0 1px #00e5ff, 0 0 12px rgba(0, 229, 255, .35) !important; outline: none !important;
}
html[data-ck-vibe="1"] :is(input[type="checkbox"], input[type="radio"], input[type="range"]) { accent-color: #ff0084; }

/* ---- links + scrollbars ---- */
html[data-ck-vibe="1"] a:not([class]) { color: var(--vb-link); }
html[data-ck-vibe="1"] ::-webkit-scrollbar-thumb { background: linear-gradient(#b14dff, #ff0084) !important; border-radius: 8px; }

/* ---- logo (all modes, Vibe on or off): the Vibe ring is a transparent logo - show it on the black rail, not on a white tile ---- */
html .ckn-logo { background: #000 !important; padding: 0 !important; box-shadow: none !important; border-radius: 50% !important; }
