/* אדומים בקליק – CYBER PALETTE + ANIMATIONS */

:root {
  /* ═══ Cyber Palette ═══ */
  --blue: #0d47a1;        /* Cyber Blue */
  --blue-ink: #0a3d91;    /* Darker */
  --blue-soft: #e3f2fd;   /* Light */
  --cyan: #00d4ff;        /* Electric Cyan */
  --cyan-dark: #00a8cc;   /* Dark Cyan */
  --green: #00c853;       /* Tech Green */
  --green-ink: #00a844;   /* Darker */

  /* ═══ Existing (Keep) ═══ */
  --bg: #f5f7fb;
  --paper: #ffffff;
  --ink: #0f1d33;
  --ink-2: #44546c;
  --ink-3: #7a879b;
  --line: #e2e7ef;
  --amber-soft: #fff6e0;
  --r: 16px;

  /* ═══ Animations ═══ */
  --transition: 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════ */
/* ENHANCED ANIMATIONS */
/* ═══════════════════════════════════════════════════════════ */

@keyframes card-glow {
  from {
    box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.1);
  }
  to {
    box-shadow: 0 0 0 8px rgba(0, 212, 255, 0);
  }
}

@keyframes slide-up-fade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes row-hover {
  from {
    background: var(--paper);
  }
  to {
    background: rgba(0, 212, 255, 0.04);
  }
}

@keyframes chip-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(13, 71, 161, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(13, 71, 161, 0);
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* CARD ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(18px, 3vw, 28px);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
    rgba(0, 212, 255, 0) 0%,
    rgba(0, 212, 255, 0.03) 50%,
    rgba(0, 212, 255, 0) 100%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.card:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 32px rgba(0, 212, 255, 0.15);
  transform: translateY(-2px);
}

.card:hover::before {
  opacity: 1;
}

/* ═══════════════════════════════════════════════════════════ */
/* ROW ENHANCEMENTS (Business List) */
/* ═══════════════════════════════════════════════════════════ */

.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: center;
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  transition: all var(--transition);
  animation: slide-up-fade 0.4s ease-out backwards;
}

.row:hover {
  background: rgba(0, 212, 255, 0.04);
  padding-left: 20px;
}

/* Stagger rows */
.row:nth-child(1) { animation-delay: 0.05s; }
.row:nth-child(2) { animation-delay: 0.10s; }
.row:nth-child(3) { animation-delay: 0.15s; }
.row:nth-child(4) { animation-delay: 0.20s; }
.row:nth-child(5) { animation-delay: 0.25s; }

.row-name {
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  display: block;
  color: var(--ink);
  transition: color var(--transition);
}

.row:hover .row-name {
  color: var(--blue);
}

/* ═══════════════════════════════════════════════════════════ */
/* ICON BUTTON ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.icon-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

.icon-btn:hover {
  border-color: var(--cyan);
  background: rgba(0, 212, 255, 0.08);
  transform: scale(1.05);
}

.icon-btn.wa {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.icon-btn.wa:hover {
  background: var(--green-ink);
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/* CHIPS (Category Filter) */
/* ═══════════════════════════════════════════════════════════ */

.chip {
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-2);
  transition: all var(--transition);
}

.chip:hover {
  border-color: var(--cyan);
  color: var(--blue);
  background: rgba(0, 212, 255, 0.04);
}

.chip[aria-pressed="true"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(13, 71, 161, 0.25);
}

/* ═══════════════════════════════════════════════════════════ */
/* BUTTON ENHANCEMENTS */
/* ═══════════════════════════════════════════════════════════ */

.btn-blue {
  background: var(--blue);
  color: #fff;
  transition: all var(--transition);
}

.btn-blue:hover {
  background: var(--blue-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 71, 161, 0.3);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  transition: all var(--transition);
}

.btn-wa:hover {
  background: var(--green-ink);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 200, 83, 0.3);
}

/* ═══════════════════════════════════════════════════════════ */
/* INPUT FOCUS GLOW */
/* ═══════════════════════════════════════════════════════════ */

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* ═══════════════════════════════════════════════════════════ */
/* ACCESSIBILITY & REDUCED MOTION */
/* ═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/* MOBILE OPTIMIZATIONS */
/* ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .row-actions {
    display: flex;
    gap: 8px;
  }

  .btn {
    font-size: 0.95rem;
    min-height: 44px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }
}
