/**
 * FB Travel Call Us 24/7 Support V2 Elementor Widget Styles
 */

/* Main Widget Container */
.fb-travel-support-v2-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #f8f8f8;
  border-radius: 50px;
  padding: 15px 25px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.fb-travel-support-v2-widget:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.fb-travel-support-v2-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Avatar Styles */
.fb-travel-support-v2-avatar-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fb-travel-support-v2-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
}

.fb-travel-support-v2-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text Styles */
.fb-travel-support-v2-info {
  display: flex;
  flex-direction: column;
}

.fb-travel-support-v2-text {
  font-size: 14px;
  color: #666666;
  margin-bottom: 2px;
  font-weight: 500;
}

.fb-travel-support-v2-phone {
  font-size: 20px;
  font-weight: 700;
  color: #0047AB;
  line-height: 1.2;
}

/* Button Styles */
.fb-travel-support-v2-button-wrapper {
  margin-left: 15px;
}

.fb-travel-support-v2-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #0047AB;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 71, 171, 0.2);
}

.fb-travel-support-v2-button:hover {
  background-color: #003380;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 71, 171, 0.3);
}

/* Widget Animation Styles */

/* Float Animation */
.fb-travel-support-v2-animation-float {
  animation: float 1.5s ease-in-out infinite alternate;
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-10px);
  }
}

/* Pulse Animation */
.fb-travel-support-v2-animation-pulse {
  animation: widget-pulse 1.5s infinite;
}

@keyframes widget-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 71, 171, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(0, 71, 171, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 71, 171, 0);
  }
}

/* Gradient Flow Animation */
.fb-travel-support-v2-animation-gradient {
  --gradient-color: #0047AB;
  background: linear-gradient(90deg, #f8f8f8, var(--gradient-color), #f8f8f8);
  background-size: 200% 100%;
  animation: gradient-flow 4.5s ease infinite;
}

@keyframes gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Shine Effect Animation */
.fb-travel-support-v2-animation-shine {
  position: relative;
  overflow: hidden;
}

.fb-travel-support-v2-animation-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

/* Button Animation Styles */

/* Pulse Animation for Button */
.fb-travel-support-v2-button-animation-pulse {
  animation: button-pulse 1.5s infinite;
}

@keyframes button-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 71, 171, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 71, 171, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 71, 171, 0);
  }
}

/* Bounce Animation for Button */
.fb-travel-support-v2-button-animation-bounce {
  animation: button-bounce 1.5s infinite;
}

@keyframes button-bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Glow Animation for Button */
.fb-travel-support-v2-button-animation-glow {
  animation: button-glow 1.5s infinite alternate;
}

@keyframes button-glow {
  0% {
    box-shadow: 0 0 5px rgba(0, 71, 171, 0.5);
  }
  100% {
    box-shadow: 0 0 20px rgba(0, 71, 171, 0.8), 0 0 30px rgba(0, 71, 171, 0.6);
  }
}

/* Shake Animation for Button */
.fb-travel-support-v2-button-animation-shake {
  animation: button-shake 0.75s cubic-bezier(.36,.07,.19,.97) infinite;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

@keyframes button-shake {
  10%, 90% {
    transform: translate3d(-1px, 0, 0);
  }
  
  20%, 80% {
    transform: translate3d(2px, 0, 0);
  }

  30%, 50%, 70% {
    transform: translate3d(-3px, 0, 0);
  }

  40%, 60% {
    transform: translate3d(3px, 0, 0);
  }
}

/* Responsive Styles */
@media (max-width: 767px) {
  .fb-travel-support-v2-widget {
    flex-direction: column;
    padding: 15px;
    gap: 15px;
  }
  
  .fb-travel-support-v2-avatar {
    width: 45px;
    height: 45px;
  }
  
  .fb-travel-support-v2-text {
    font-size: 12px;
  }
  
  .fb-travel-support-v2-phone {
    font-size: 16px;
  }
  
  .fb-travel-support-v2-button-wrapper {
    margin-left: 0;
    width: 100%;
  }
  
  .fb-travel-support-v2-button {
    display: block;
    width: 100%;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .fb-travel-support-v2-widget {
    padding: 12px 20px;
  }
  
  .fb-travel-support-v2-avatar {
    width: 50px;
    height: 50px;
  }
  
  .fb-travel-support-v2-phone {
    font-size: 18px;
  }
  
  .fb-travel-support-v2-button {
    padding: 8px 16px;
    font-size: 13px;
  }
}