/* kululu-icons.css
 * Companion stylesheet for kululu-icons.js.
 * Provides the .k-ico container + tone/size/shape variants.
 */

/* Base inline-flex container; the SVG inside inherits size from this. */
.k-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -0.18em;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  line-height: 0;
  color: inherit;
}
.k-ico svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Sizes — set the parent .k-ico width/height directly */
.k-ico-sm  { width: 14px; height: 14px; }
.k-ico-md  { width: 18px; height: 18px; }
.k-ico-lg  { width: 24px; height: 24px; }
.k-ico-xl  { width: 36px; height: 36px; }
.k-ico-2xl { width: 56px; height: 56px; }
.k-ico-3xl { width: 80px; height: 80px; }

/* Tones — use semantic colors that match the existing palette */
.k-ico-success { color: #10b981; }
.k-ico-danger  { color: #ef4444; }
.k-ico-warn    { color: #f59e0b; }
.k-ico-brand   { color: #7c3aed; }   /* primary purple */
.k-ico-accent  { color: #ec4899; }   /* secondary pink */
.k-ico-muted   { color: #94a3b8; }
.k-ico-info    { color: #3b82f6; }
.k-ico-aviv    { color: #10b981; }   /* Aviv green — matches existing badge */

/* Shape wrappers — for icons used as standalone pills/chips. */
.k-ico-circle {
  background: currentColor;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  padding: 6px;
  color: #fff;
}
.k-ico-circle.k-ico-success { background: #10b981; color: #fff; }
.k-ico-circle.k-ico-danger  { background: #ef4444; color: #fff; }
.k-ico-circle.k-ico-warn    { background: #f59e0b; color: #fff; }
.k-ico-circle.k-ico-brand   { background: #7c3aed; color: #fff; }
.k-ico-circle.k-ico-accent  { background: #ec4899; color: #fff; }
.k-ico-circle.k-ico-aviv    { background: #10b981; color: #fff; }
.k-ico-circle svg { width: 60%; height: 60%; }

.k-ico-pill {
  background: rgba(124, 58, 237, 0.08);
  color: #7c3aed;
  border-radius: 999px;
  padding: 4px 10px;
  width: auto;
  height: auto;
  font-size: 12px;
  font-weight: 700;
  gap: 4px;
}
.k-ico-pill.k-ico-success { background: rgba(16, 185, 129, 0.12); color: #047857; }
.k-ico-pill.k-ico-danger  { background: rgba(239, 68, 68, 0.10);  color: #b91c1c; }
.k-ico-pill.k-ico-warn    { background: rgba(245, 158, 11, 0.12); color: #b45309; }
.k-ico-pill.k-ico-aviv    { background: rgba(16, 185, 129, 0.12); color: #047857; }

/* Status dots — small 8px circles for "tentative", "booked", etc. */
.k-ico-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}
.k-ico-dot.k-ico-success { background: #10b981; }
.k-ico-dot.k-ico-warn    { background: #f59e0b; }
.k-ico-dot.k-ico-danger  { background: #ef4444; }
.k-ico-dot.k-ico-muted   { background: #94a3b8; }

/* Aviv composite badge — replaces "🤖 אביב · בשם הזוג" in the vendor-portal */
.k-aviv-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  color: #065f46;
  padding: 3px 10px 3px 4px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid #a7f3d0;
}
.k-aviv-tag .k-aviv-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 11px;
  font-family: 'Heebo', 'Assistant', sans-serif;
  flex-shrink: 0;
}

/* Button-with-icon helper */
.k-btn-ico {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Drawer / nav icons — replaces the colored squares behind 👥 📅 etc. */
.k-nav-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  flex-shrink: 0;
}
.k-nav-ico .k-ico { width: 20px; height: 20px; }
.k-nav-ico--guests   { background: #e7f6ec; color: #047857; }
.k-nav-ico--timeline { background: #fff1dc; color: #b45309; }
.k-nav-ico--vendors  { background: #ede9fe; color: #6d28d9; }
.k-nav-ico--budget   { background: #fef3c7; color: #b45309; }
.k-nav-ico--seating  { background: #fef2f2; color: #b91c1c; }
.k-nav-ico--gifts    { background: #fce7f3; color: #be185d; }
.k-nav-ico--photo    { background: #dbeafe; color: #1e40af; }
.k-nav-ico--music    { background: #ede9fe; color: #6d28d9; }
.k-nav-ico--food     { background: #ffedd5; color: #9a3412; }
.k-nav-ico--rsvp     { background: #ecfdf5; color: #047857; }
.k-nav-ico--rings    { background: #fef3c7; color: #b45309; }
.k-nav-ico--venue    { background: #f5f3ff; color: #6d28d9; }
.k-nav-ico--invite   { background: #fee7f3; color: #be185d; }

/* Toast tone strip — replaces the "❌"/"✅" prefix in toast strings */
.k-toast {
  position: relative;
  padding-right: 14px;
}
.k-toast::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0 4px 4px 0;
  background: #94a3b8;
}
.k-toast--success::before { background: #10b981; }
.k-toast--danger::before  { background: #ef4444; }
.k-toast--warn::before    { background: #f59e0b; }
.k-toast--info::before    { background: #3b82f6; }

/* Big hero illustration replacement — used where 🎉 was a 64px decorative emoji */
.k-hero-ill {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fce7f3, #fef3c7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #be185d;
}
.k-hero-ill .k-ico { width: 50%; height: 50%; }
