/* Floating container (button + label) */
.call-float-container {
  position: fixed;
  bottom: 120px;
  right: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  cursor: pointer;
}

.call-label {
  background: #f5f7f9;
  color: #333;
  font-weight: 500;
  border-radius: 5px;
  padding: 3px 12px;
  font-size: 12px;
  transition: all 0.3s 
ease;
  opacity: 1;
}


/* Floating call button */
.call-float-btn {
  background: #25d366;
  border-radius: 50%;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}
.call-float-btn:hover {
  transform: scale(1.1);
}
.call-float-btn img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

/* Call Widget Box */
.call-widget {
  position: fixed;
  bottom: 190px;
  right: 30px;
  width: 220px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.4s ease;
}
.call-widget.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Header */
.call-header {
  background: #25d366;
  color: #fff;
  padding: 10px 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 15px;
}
.call-header .close-btn {
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  transition: 0.3s;
}
.call-header .close-btn:hover {
  color: #ffdddd;
}

/* Contact List */
.call-list {
  padding: 10px;
}
.call-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  background: #f7f7f7;
  margin-bottom: 8px;
  padding: 10px;
  border-radius: 8px;
  opacity: 0;
  transform: translateX(20px);
}
.call-widget.open .call-item {
  animation: slideIn 0.4s forwards;
}
.call-widget.open .call-item:nth-child(1) { animation-delay: 0.1s; }
.call-widget.open .call-item:nth-child(2) { animation-delay: 0.2s; }
.call-widget.open .call-item:nth-child(3) { animation-delay: 0.3s; }
.call-widget.open .call-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.call-item:hover {
  background: #e6ffe6;
  transform: translateX(-3px);
  transition: 0.3s;
}
.call-item img {
  width: 45px;
  height: 45px;
  margin-right: 10px;
  background: #25d366;
  border-radius: 50%;
  padding: 10px;
}
.call-info {
  flex: 1;
}
.call-info .name {
  font-weight: 600;
  display: block;
}
.call-info .role {
  font-size: 13px;
  color: #666;
}