/* ============================================================
   NiCE Brand Primitives — logo lockup, smile, chat bubbles,
   squircles, gradient surfaces, buttons.
   Depends on colors_and_type.css (load it first).

   NOTE: official NiCE wordmark artwork now lives in /assets/logo
   (SVG + PNG, black/white ± blue dot) — prefer <img src> to that for
   any real use. The .nice-logo CSS below is a lightweight text
   fallback only.
   ============================================================ */

/* ---------- LOGO WORDMARK (approximation) ---------- */
.nice-logo {
  font-family: var(--font-sans);
  font-weight: var(--fw-semibold);
  font-size: 34px;
  letter-spacing: -0.03em;
  color: var(--charcoal);
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  user-select: none;
}
.nice-logo .dot { color: var(--nice-blue); }      /* the blue accent */
.nice-logo--light { color: var(--white); }
.nice-logo--blue  { color: var(--nice-blue); }
.nice-logo--blue .dot { color: var(--white); }

/* Use: <span class="nice-logo">N<span class="dot">i</span>CE</span>
   (capital N, C, E; lowercase i — never any other casing) */

/* ---------- SMILE AVATAR (background helper) ---------- */
.nice-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background-image: var(--grad-avatar);
  display: inline-grid; place-items: center; flex: none;
}
.nice-avatar svg { width: 56%; height: 56%; }

/* ---------- CHAT BUBBLES ---------- */
/* Single-line bubbles are pill-shaped; multi-line use a squircle panel. */
.nice-bubble {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  letter-spacing: var(--track-tight);
  padding: 14px 22px;
  border-radius: var(--r-pill);
  background: var(--warm-white);
  color: var(--charcoal);
  line-height: 1.1;
}
.nice-bubble--multiline { border-radius: var(--r-md); line-height: 1.25; }
.nice-bubble--blue  { background: var(--nice-blue); color: #fff; }
.nice-bubble--dark  { background: var(--charcoal);  color: #fff; }
.nice-bubble--white { background: #fff; color: var(--charcoal); box-shadow: var(--shadow-sm); }
.nice-bubble--gradient { background-image: var(--grad-brand); color: #fff; }
/* glassy bubble for use over imagery / gradients */
.nice-bubble--glass {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: 1px solid var(--stroke-on-glass);
  backdrop-filter: blur(10px);
}

/* ---------- SQUIRCLE & ROUNDED PANELS ---------- */
.nice-squircle { border-radius: var(--r-md); background: var(--warm-white); }
@supports (corner-shape: superellipse(2)) {
  .nice-squircle { corner-shape: superellipse(2.2); border-radius: 36px; }
}
.nice-panel {
  background: var(--surface);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ---------- GRADIENT SURFACES ---------- */
.nice-grad        { background-image: var(--grad-brand); color: #fff; }
.nice-grad-hero   { background-image: var(--grad-hero);  color: #fff; }
.nice-grad-indigo { background-image: var(--grad-indigo);color: #fff; }
.nice-grad-emerald{ background-image: var(--grad-emerald);color: #fff; }

/* ---------- BUTTONS ---------- */
.nice-btn {
  font-family: var(--font-sans);
  font-weight: var(--fw-medium);
  font-size: var(--fs-body);
  letter-spacing: var(--track-tight);
  border: none;
  border-radius: var(--r-pill);
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform var(--dur-fast) var(--ease),
              background-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nice-btn:active { transform: scale(0.97); }

.nice-btn--primary { background: var(--nice-blue); color: #fff; box-shadow: var(--shadow-blue); }
.nice-btn--primary:hover { background: #1f86fb; }

.nice-btn--dark { background: var(--charcoal); color: #fff; }
.nice-btn--dark:hover { background: #30303d; }

.nice-btn--ghost { background: transparent; color: var(--charcoal); border: 1.5px solid var(--border-strong); }
.nice-btn--ghost:hover { background: rgba(33,33,43,0.04); }

.nice-btn--on-dark { background: #fff; color: var(--charcoal); }
.nice-btn--on-dark:hover { opacity: 0.9; }

.nice-btn--sm { padding: 9px 18px; font-size: var(--fs-small); }
.nice-btn--lg { padding: 18px 36px; font-size: var(--fs-feature); }
