/* Modern Floating Welcome Doctor Badge styling */

.header-glow-effect-654784f2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, rgba(26, 154, 147, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.doctor-welcome-badge-654784f2 {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Cairo', sans-serif;
  direction: rtl;
}

/* Character Styling with 3D Float effect */
.doctor-character-container-654784f2 {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(26, 154, 147, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
  animation: floatDoctor654784f2 4s ease-in-out infinite;
}

.doctor-character-container-654784f2:hover {
  transform: scale(1.1) rotate(2deg);
  box-shadow: 0 15px 35px rgba(26, 154, 147, 0.35);
}

.doctor-svg-654784f2 {
  width: 100%;
  height: 100%;
}

.doctor-glow-654784f2 {
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background: radial-gradient(circle, rgba(110, 193, 228, 0.4) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow654784f2 2.5s infinite alternate;
}

/* Beautiful Speech Bubble */
.doctor-speech-bubble-654784f2 {
  position: absolute;
  bottom: 110px;
  right: 0;
  width: 290px;
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 10px 35px rgba(28, 0, 101, 0.12);
  border: 1px solid rgba(26, 154, 147, 0.1);
  transform: scale(0);
  opacity: 0;
  transform-origin: bottom right;
  transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
  pointer-events: none;
}

.doctor-speech-bubble-654784f2.active {
  transform: scale(1);
  opacity: 1;
  pointer-events: all;
}

/* Speech Bubble triangle */
.doctor-speech-bubble-654784f2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 35px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #ffffff transparent;
  display: block;
  width: 0;
}

.bubble-close-654784f2 {
  position: absolute;
  top: 10px;
  left: 12px;
  cursor: pointer;
  font-size: 18px;
  color: #a0aec0;
  transition: color 0.2s;
}

.bubble-close-654784f2:hover {
  color: #1A9A93;
}

.welcome-text-654784f2 {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #1C0065;
  line-height: 1.5;
}

.sub-text-654784f2 {
  margin: 0 0 15px 0;
  font-size: 13px;
  color: #718096;
  line-height: 1.6;
}

.bubble-cta-654784f2 {
  display: inline-block;
  background: linear-gradient(135deg, #1A9A93, #6EC1E4);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 4px 15px rgba(26, 154, 147, 0.2);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bubble-cta-654784f2:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 154, 147, 0.3);
}

/* Animations */
@keyframes floatDoctor654784f2 {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

@keyframes pulseGlow654784f2 {
  0% { transform: scale(0.9); opacity: 0.5; }
  100% { transform: scale(1.15); opacity: 1; }
}

/* Mobile Adjustments */
@media (max-width: 767px) {
  .doctor-welcome-badge-654784f2 {
    bottom: 20px;
    right: 20px;
  }
  
  .doctor-character-container-654784f2 {
    width: 70px;
    height: 70px;
  }
  
  .doctor-speech-bubble-654784f2 {
    width: 250px;
    bottom: 85px;
    right: 0;
  }
}
