@import url(https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap);

body {
  font-family: Inter, sans-serif;
  background-color: #f8fafc;
}
.avatar-md,
.avatar-sm {
  align-items: center;
  font-weight: 700;
  display: flex;
}
.action-btn,
.avatar-md,
.avatar-sm,
.custom-danger {
  display: flex;
}
.avatar-xl {
  width: 80px;
  height: 80px;
  overflow: hidden;
  object-fit: cover;
  border: 3px solid #f1f5f9;
}
.avatar-md {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
}
.avatar-sm {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  justify-content: center;
  font-size: 0.9rem;
}
.mini-avatar,
.mini-avatar-img {
  height: 42px;
  border-radius: 12px;
}
.mini-avatar {
  width: 42px;
  font-size: 20px;
  background: linear-gradient(135deg, #f66d3b, #ef4444);
}
.mini-avatar-img {
  width: 42px;
  object-fit: cover;
}
.mini-call-btn {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  font-size: 15px;
}
.card-body::-webkit-scrollbar {
  width: 4px;
}
.card-body::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}
.contact-card {
  transition: 0.2s ease-in-out;
  border: 1px solid #f1f5f9;
}
.card-hover-shadow:hover,
.contact-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1) !important;
}
.cursor-pointer {
  cursor: pointer;
}
.badge-family {
  background-color: #dbeafe;
  color: #1e40af;
}
.badge-friends {
  background-color: #dcfce7;
  color: #166534;
}
.badge-work {
  background-color: #f3e8ff;
  color: #6b21a8;
}
.badge-other {
  background-color: #f1f5f9;
  color: #475569;
}
.bg-gradient-primary {
  background: linear-gradient(135deg, #7c3aed, #4f46e5);
}
.text-violet {
  color: #7c3aed;
}
.backdrop-blur {
  backdrop-filter: blur(10px);
}
.form-control,
.form-select {
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border-color: #e2e8f0;
  background-color: #fff;
}
.form-control:focus,
.form-select:focus {
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
  border-color: #7c3aed;
}
.btn-custom-primary {
  background: linear-gradient(to right, #7c3aed, #4f46e5);
  color: #fff;
  border: none;
  border-radius: 0.75rem;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  transition: 0.2s;
}
.btn-custom-primary:hover {
  color: #fff;
  opacity: 0.9;
  box-shadow: 0 4px 6px -1px rgba(124, 58, 237, 0.3);
  transform: translate(0, -1px);
}
.card-hover-shadow {
  transition: 0.2s ease-in-out;
}
.action-btn,
.custom-green-hover,
.custom-yellow-hover,
.dangerbg,
.lightbg {
  transition: 0.2s;
}
.action-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  border: none;
  background: #f8fafc;
  color: #64748b;
}
.danger-emphasis,
.warning-emphasis {
  border-radius: 6px;
  font-size: 14px;
  padding: 10px;
}
.action-btn:hover {
  background: #e2e8f0;
  color: #334155;
}
.custom-emphasis {
  background: #fff8ed;
  display: flex;
}
.custom-danger,
.hover-danger:hover {
  background: #fef2f2;
}
.warning-emphasis {
  background: linear-gradient(135deg, #ffb000, #f97316);
  color: #fff;
  box-shadow: 0 4px 5px -3px #fbbf24;
}
.danger-emphasis {
  background: linear-gradient(135deg, #fa1649, #dc2626);
  color: #fff;
  box-shadow: 0 4px 5px -3px #f43f5e;
}
.custom-span {
  font-size: 12px;
}
.cutom-total-icon {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 4px 5px -3px #3b82f6;
}
.dangerbg {
  background: #ffebee;
  color: #e53935;
}
.lightbg {
  background: #e6fff2;
  color: #1e9e5f;
}
.hover-danger,
.hover-light {
  background: #f8f9ff;
  transition: 0.2s;
  cursor: pointer;
}
.hover-danger:hover .dangerbg {
  background: #e53561;
  color: #fff;
}
.hover-light:hover {
  background: #fff8ed;
}
.hover-light:hover .lightbg {
  background: #1e9e5f;
  color: #fff;
}
.custom-phone-icon {
  background: #dbeafe;
  color: #155dfc;
  padding: 4px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 5px;
}
.custom-green-icon,
.custom-purple-icon,
.custom-red-icon,
.custom-yellow-icon {
  padding: 7px;
  border-radius: 6px;
  font-size: 8px;
}
.custom-green-icon {
  background: #d1fae5;
  color: #1d9348;
}
.custom-purple-icon {
  background: #ede9fe;
  color: #6c16ff;
}
.custom-yellow-icon {
  background: #FFB900;
  color: #fff;
  border: 3px solid #fff;
  z-index: 999;
}
.custom-red-icon {
  background: #f43f5e;
  color: #fff;
  border: 3px solid #fff;
  z-index: 999;
}
.custom-yellow-hover:hover {
  background: #fff8ed !important;
  color: #aaac41 !important;
  border: none !important;
}
.custom-green-hover:hover {
  background: #b8ffda !important;
  color: #1d9348 !important;
  border: none !important;
}
.custom-badge-position {
  position: absolute;
  top: -5px;
  left: 28px;
}