/* style.css — WidgetBubble v2.1 */
#widgetBubbleRow {
  position: fixed;
  bottom: 170px;
  right: 20px;
  z-index: 99999;
  font-family: Arial, sans-serif;
}
#widgetBubble {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  box-shadow: 0 8px 30px rgba(3,10,25,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .24s ease;
}
#widgetBubble:hover { transform: translateY(-3px); }
#widgetBubble img.icon { width: 34px; height: 34px; display:block; }

.--wiggle-animation { animation: wiggle 3s infinite; }
@keyframes wiggle {
  0%, 90%, 100% { transform: rotate(0deg); }
  93% { transform: rotate(6deg); }
  96% { transform: rotate(-6deg); }
}

.widget-popup {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(3,10,25,0.12);
  z-index: 100000;
  overflow: hidden;
  transition: all .25s ease;
}
.widget-popup.active { display:block; transform: translateY(0); opacity: 1; }
.widget-popup .popup-inner { padding: 16px; }
.popup-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:0px; }
.popup-top__title { margin:0; font-size:16px; color:#111; }
.socials { display:flex; gap:8px; flex-wrap:wrap; }
.s-link { background:transparent; border:1px solid #eef2f7; padding:6px 8px; border-radius:8px; text-decoration:none; color:#cb11ab; font-size:13px; }

.widget-form input[type="text"],
.widget-form input[type="email"],
.widget-form input[type="tel"],
.widget-form textarea {
  width:100%;
  padding:10px 12px;
  margin:6px 0;
  border-radius:8px;
  border:1px solid #e6eef6;
  box-sizing:border-box;
}
.widget-form textarea { min-height:80px; resize:vertical; }
.send-btn {
  background:#0088ff;
  color:#fff;
  border:none;
  padding:10px 14px;
  border-radius:10px;
  width:100%;
  margin-top:6px;
  cursor:pointer;
  font-weight:600;
}
.widget-result { margin-top:8px; font-size:14px; }
.success { color: #0b7b00; }
.error { color: #b00000; }

.socials-bubbles {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  margin-bottom: 0px;
}

.bubble {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.25s ease;
}

.bubble img {
  width: 22px;
  height: 22px;
}

.bubble:hover {
  transform: scale(1.08);
}

/* Цвета для каждой сети */
.bubble.tg:hover { background: #2AABEE; }
.bubble.ig:hover { background: #E1306C; }
.bubble.vk:hover { background: #0077FF; }

#widgetBubbleWrapper {
  opacity: 0;
  transition: opacity 0.6s ease;
}
#widgetBubbleWrapper.visible {
  opacity: 1;
}


