/* assets/widgets.css - Modern floating Instagram + WhatsApp widgets */

.floating-widgets {
  position: fixed;
  right: 16px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  font-family: "Poppins", sans-serif;
}

/* Common widget base */
.widget {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
  min-height: 44px;
}

/* Icon holder */
.widget .icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

/* Label text */
.widget .label {
  color: #ececec;
  white-space: nowrap;
}

/* Instagram widget (gradient background) */
.widget.instagram {
  background: linear-gradient(135deg, #feda75, #fa7e1e, #d62976, #962fbf);
}
.widget.instagram .icon {
  background: rgba(255, 255, 255, 0.08);
}

/* WhatsApp widget (green gradient background) */
.widget.whatsapp {
  background: linear-gradient(180deg, #25D366, #128C7E);
}
.widget.whatsapp .icon {
  background: rgba(255, 255, 255, 0.06);
}

/* Hover effects */
.widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

/* Mobile view adjustments */
@media (max-width: 640px) {
  .floating-widgets {
    right: 10px;
    bottom: 10px;
  }
  .widget .label {
    display: none;
  }
  .widget {
    padding: 8px;
    min-height: 40px;
  }
}

/* Focus (accessibility) */
.widget:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 133, 179, 0.18),
              0 14px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-4px);
}
