/* ========== ИСПРАВЛЕНИЯ СТИЛЕЙ ОПЦИЙ ЧАТА ========== */

/* Базовые стили для иконок опций */
.chat-option-icon {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 3 !important;
}

.chat-option-icon::before {
  content: '' !important;
  width: 28px !important;
  height: 28px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Кольца для опций */
.chat-option-ring {
  position: absolute !important;
  border-radius: 50% !important;
  border: 1px solid !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.chat-option-ring-1 {
  top: -5px !important;
  left: -5px !important;
  right: -5px !important;
  bottom: -5px !important;
  animation: cosmic-pulse-1 2.5s ease-in-out infinite, cosmic-rotate-slow 8s linear infinite !important;
}

.chat-option-ring-2 {
  top: -10px !important;
  left: -10px !important;
  right: -10px !important;
  bottom: -10px !important;
  animation: cosmic-pulse-2 3s ease-in-out infinite 0.5s, cosmic-rotate-medium 6s linear infinite reverse !important;
}

/* ========== WHATSAPP ОПЦИЯ ========== */
.chat-option-whatsapp {
  background: transparent !important;
}

.chat-option-whatsapp .chat-option-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893A11.821 11.821 0 0020.465 3.488' fill='%2325D366'/%3E%3C/svg%3E") !important;
  filter: drop-shadow(0 0 8px rgba(37, 211, 102, 0.4)) !important;
}

.chat-option-whatsapp .chat-option-ring-1 {
  border-color: rgba(37, 211, 102, 0.4) !important;
  background: radial-gradient(circle, 
    rgba(37, 211, 102, 0.35) 0%, 
    rgba(37, 211, 102, 0.20) 50%, 
    rgba(37, 211, 102, 0.08) 100%) !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.3) !important;
}

.chat-option-whatsapp .chat-option-ring-2 {
  border-color: rgba(37, 211, 102, 0.3) !important;
  background: radial-gradient(circle, 
    rgba(37, 211, 102, 0.12) 0%, 
    rgba(37, 211, 102, 0.08) 40%, 
    transparent 100%) !important;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.2) !important;
}

.chat-option-whatsapp:hover .chat-option-icon::before {
  width: 32px !important;
  height: 32px !important;
  filter: drop-shadow(0 0 15px rgba(37, 211, 102, 0.8)) brightness(1.1) !important;
}

.chat-option-whatsapp:hover .chat-option-ring-1 {
  border-color: rgba(37, 211, 102, 0.7) !important;
  background: radial-gradient(circle, 
    rgba(37, 211, 102, 0.50) 0%, 
    rgba(37, 211, 102, 0.30) 50%, 
    rgba(37, 211, 102, 0.12) 100%) !important;
  animation: cosmic-pulse-hover-1 1s ease-in-out infinite, cosmic-rotate-hover 2s linear infinite !important;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6) !important;
}

.chat-option-whatsapp:hover .chat-option-ring-2 {
  border-color: rgba(37, 211, 102, 0.6) !important;
  background: radial-gradient(circle, 
    rgba(37, 211, 102, 0.45) 0%, 
    rgba(37, 211, 102, 0.30) 40%, 
    rgba(37, 211, 102, 0.10) 100%) !important;
  animation: cosmic-pulse-hover-2 1.2s ease-in-out infinite 0.2s, cosmic-rotate-hover 2.5s linear infinite reverse !important;
  box-shadow: 0 0 18px rgba(37, 211, 102, 0.5) !important;
}

/* ========== TELEGRAM ОПЦИЯ ========== */
.chat-option-telegram {
  background: transparent !important;
}

.chat-option-telegram .chat-option-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='m20.665 3.717-17.73 6.837c-1.21.486-1.203 1.161-.222 1.462l4.552 1.42 10.532-6.645c.498-.303.953-.14.579.192l-8.533 7.701h-.002l.002.001-.314 4.692c.46 0 .663-.211.921-.46l2.211-2.15 4.599 3.397c.848.467 1.457.227 1.668-.787L21.928 4.634c.309-1.239-.473-1.8-1.263-1.917z' fill='%23229ED9'/%3E%3C/svg%3E") !important;
  filter: drop-shadow(0 0 8px rgba(0, 136, 204, 0.4)) !important;
}

.chat-option-telegram .chat-option-ring-1 {
  border-color: rgba(0, 136, 204, 0.4) !important;
  background: radial-gradient(circle, 
    rgba(0, 136, 204, 0.35) 0%, 
    rgba(0, 136, 204, 0.20) 50%, 
    rgba(0, 136, 204, 0.08) 100%) !important;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.3) !important;
}

.chat-option-telegram .chat-option-ring-2 {
  border-color: rgba(0, 136, 204, 0.3) !important;
  background: radial-gradient(circle, 
    rgba(0, 136, 204, 0.12) 0%, 
    rgba(0, 136, 204, 0.08) 40%, 
    transparent 100%) !important;
  box-shadow: 0 0 18px rgba(0, 136, 204, 0.2) !important;
}

.chat-option-telegram:hover .chat-option-icon::before {
  width: 32px !important;
  height: 32px !important;
  filter: drop-shadow(0 0 15px rgba(0, 136, 204, 0.8)) brightness(1.1) !important;
}

.chat-option-telegram:hover .chat-option-ring-1 {
  border-color: rgba(0, 136, 204, 0.7) !important;
  background: radial-gradient(circle, 
    rgba(0, 136, 204, 0.50) 0%, 
    rgba(0, 136, 204, 0.30) 50%, 
    rgba(0, 136, 204, 0.12) 100%) !important;
  animation: cosmic-pulse-hover-1 1s ease-in-out infinite, cosmic-rotate-hover 2s linear infinite !important;
  box-shadow: 0 0 15px rgba(0, 136, 204, 0.6) !important;
}

.chat-option-telegram:hover .chat-option-ring-2 {
  border-color: rgba(0, 136, 204, 0.6) !important;
  background: radial-gradient(circle, 
    rgba(0, 136, 204, 0.45) 0%, 
    rgba(0, 136, 204, 0.30) 40%, 
    rgba(0, 136, 204, 0.10) 100%) !important;
  animation: cosmic-pulse-hover-2 1.2s ease-in-out infinite 0.2s, cosmic-rotate-hover 2.5s linear infinite reverse !important;
  box-shadow: 0 0 18px rgba(0, 136, 204, 0.5) !important;
}

/* ========== ФОРМА ОПЦИЯ ========== */
.chat-option-form {
  background: transparent !important;
}

.chat-option-form .chat-option-icon::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z' stroke='%23475569' stroke-width='2' fill='%23f8fafc'/%3E%3Cpolyline points='22,6 12,13 2,6' stroke='%23475569' stroke-width='2' fill='none'/%3E%3C/svg%3E") !important;
  filter: drop-shadow(0 0 8px rgba(148, 163, 184, 0.4)) !important;
}

.chat-option-form .chat-option-ring-1 {
  border-color: rgba(148, 163, 184, 0.4) !important;
  background: radial-gradient(circle, 
    rgba(148, 163, 184, 0.35) 0%, 
    rgba(148, 163, 184, 0.20) 50%, 
    rgba(148, 163, 184, 0.08) 100%) !important;
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.3) !important;
}

.chat-option-form .chat-option-ring-2 {
  border-color: rgba(148, 163, 184, 0.3) !important;
  background: radial-gradient(circle, 
    rgba(148, 163, 184, 0.12) 0%, 
    rgba(148, 163, 184, 0.08) 40%, 
    transparent 100%) !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.2) !important;
}

.chat-option-form:hover .chat-option-icon::before {
  width: 32px !important;
  height: 32px !important;
  filter: drop-shadow(0 0 15px rgba(148, 163, 184, 0.8)) brightness(1.1) !important;
}

.chat-option-form:hover .chat-option-ring-1 {
  border-color: rgba(148, 163, 184, 0.7) !important;
  background: radial-gradient(circle, 
    rgba(148, 163, 184, 0.50) 0%, 
    rgba(148, 163, 184, 0.30) 50%, 
    rgba(148, 163, 184, 0.12) 100%) !important;
  animation: cosmic-pulse-hover-1 1s ease-in-out infinite, cosmic-rotate-hover 2s linear infinite !important;
  box-shadow: 0 0 15px rgba(148, 163, 184, 0.6) !important;
}

.chat-option-form:hover .chat-option-ring-2 {
  border-color: rgba(148, 163, 184, 0.6) !important;
  background: radial-gradient(circle, 
    rgba(148, 163, 184, 0.45) 0%, 
    rgba(148, 163, 184, 0.30) 40%, 
    rgba(148, 163, 184, 0.10) 100%) !important;
  animation: cosmic-pulse-hover-2 1.2s ease-in-out infinite 0.2s, cosmic-rotate-hover 2.5s linear infinite reverse !important;
  box-shadow: 0 0 18px rgba(148, 163, 184, 0.5) !important;
}
