/* Extras din einpanel.css (fisier unic anterior) -- vezi INSTALL.md / notele proiectului pt. harta completa a fisierelor CSS. */

/* ============================================================
 * Widget flotant de contact (FAB) — stanga-jos
 * ============================================================ */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 200; font-family: 'Rajdhani', sans-serif; }
.fab-btn {
  position: relative; width: 58px; height: 58px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--gold), var(--orange)); color: #101010;
  box-shadow: 0 8px 24px rgba(222,155,53,.35), 0 2px 6px rgba(0,0,0,.4);
  clip-path: polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px);
  display: grid; place-items: center; transition: transform .15s ease, box-shadow .2s ease;
}
.fab-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(222,155,53,.45); }
.fab-btn .fab-ic-close { display: none; }
.fab.open .fab-btn .fab-ic-open { display: none; }
.fab.open .fab-btn .fab-ic-close { display: block; }
.fab-badge {
  position: absolute; top: 8px; right: 8px; width: 10px; height: 10px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 8px #22c55e; border: 2px solid #101010;
}
.fab.is-away .fab-badge { background: #eab308; box-shadow: 0 0 8px #eab308; }
.fab.is-offline .fab-badge { background: #ef4444; box-shadow: none; }

.fab-panel {
  position: absolute; right: 0; bottom: 72px; width: 300px; max-width: calc(100vw - 44px);
  background: var(--bg-1, #101216); border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  clip-path: polygon(0 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%);
  opacity: 0; transform: translateY(10px) scale(.98); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.fab.open .fab-panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(222,155,53,.12), transparent);
}
.fab-live { display: flex; align-items: center; gap: 8px; font-weight: 700; letter-spacing: .5px; color: var(--txt); text-transform: uppercase; font-size: 13px; }
.fab-dot { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 8px #22c55e; }
.fab.is-away #fabDot { background: #eab308; box-shadow: 0 0 8px #eab308; }
.fab.is-offline #fabDot { background: #ef4444; box-shadow: none; }
.fab-sched { font-size: 11px; color: var(--txt-mute); font-family: ui-monospace, monospace; }
.fab-items { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.fab-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; text-decoration: none;
  background: var(--bg-2, #16191f); border: 1px solid var(--line); color: var(--txt);
  border-left: 3px solid var(--line-2); transition: background .15s ease, border-color .15s ease, transform .1s ease;
}
.fab-item:hover { background: #1b1f26; transform: translateX(2px); }
.fab-item svg { flex-shrink: 0; opacity: .95; }
.fab-item span { display: flex; flex-direction: column; line-height: 1.25; }
.fab-t { font-weight: 700; font-size: 14px; letter-spacing: .3px; }
.fab-s { font-size: 11.5px; color: var(--txt-mute); font-family: ui-monospace, monospace; }
.fab-phone { border-left-color: #16a34a; } .fab-phone:hover { border-left-color: #22c55e; } .fab-phone svg { color: #22c55e; }
.fab-wa    { border-left-color: #25d366; } .fab-wa:hover    { border-left-color: #25d366; } .fab-wa svg    { color: #25d366; }
.fab-ts    { border-left-color: #3b82f6; } .fab-ts:hover    { border-left-color: #60a5fa; } .fab-ts svg    { color: #60a5fa; }
.fab-dc    { border-left-color: #5865F2; } .fab-dc:hover    { border-left-color: #7983f5; } .fab-dc svg    { color: #7983f5; }
.fab-em    { border-left-color: var(--gold); } .fab-em:hover { border-left-color: var(--orange); } .fab-em svg { color: var(--gold); }
