/* ==========================================================================
   Hamsayaa Vivid Blue Theme & Exact Dashboard Styles
   ========================================================================== */

/* Subtle vivid-blue hero mesh gradient */
.hero-mesh {
  background-color: #f8fafc;
  background-image:
    radial-gradient(at 15% 15%, rgba(0, 86, 158, 0.10) 0px, transparent 50%),
    radial-gradient(at 85% 20%, rgba(15, 23, 42, 0.06) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(0, 86, 158, 0.05) 0px, transparent 50%);
}

/* WhatsApp chat subtle pattern background */
.wa-wallpaper {
  background-color: #efeae2;
  background-image: radial-gradient(rgba(0, 86, 158, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
}

/* Message bubble entrance */
@keyframes bubblePop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-bubble {
  animation: bubblePop 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Typing indicator dots */
@keyframes typingBounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

.typing-dot {
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-dot:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-dot:nth-child(3) {
  animation-delay: 0.3s;
}

/* Modal entrance */
@keyframes modalIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-modal-in {
  animation: modalIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Exact Repo Horizontal Nav Items */
.dash-nav-item {
  border-color: transparent;
  color: #475569;
}
.dash-nav-item:hover {
  color: #0f172a;
  background-color: rgba(255, 255, 255, 0.6);
}
.dash-nav-item.active {
  border-color: #00569e;
  color: #00569e;
  background-color: #ffffff;
}

/* Exact Repo Status Pills */
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.status-pill-paid {
  background-color: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.status-pill-overdue {
  background-color: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  font-weight: 700;
}
.status-pill-unpaid {
  background-color: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}
.status-pill-pending {
  background-color: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

/* Invoice Filter Pills */
.inv-filter {
  background-color: #ffffff;
  border-color: #e2e8f0;
  color: #475569;
}
.inv-filter:hover {
  background-color: #f8fafc;
}
.inv-filter.active {
  background-color: #00569e;
  border-color: #00569e;
  color: #ffffff;
}

/* Custom sleek scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}
