.input_radio input[type="radio"] {
    display: block !important;
}
.input_radio {
    display: block !important;
}
.input_radio .form-check-input {
    display: block !important;
}
 
.fixed-bottom-center {
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    font-size: 7px;
 }

 .input-group-text-fixed {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
 }


.logo_st{
    width: 80% !important;
}

.tdec{
    text-decoration: none !important;
}

.form-select{
    height: 48px;
    background: white;
}

.curp{
    cursor: pointer;
}

.bg_col_flag{
    background-color: #2F438C !important;
}

.fw600{
    font-weight: 600;
}

.custom_msg{
    background: white;
    border-radius: 5px;
    padding: 2px 5px;
 
}

.wd50-100 {
    width: 50%;
}

@media (max-width: 576px) {
    .wd50-100 {
        width: 100%;
    }
}


@media (max-width: 576px) {
    .text-sm {
      font-size: 0.9rem;  
    }
    }


.w30 {
    width: 30px !important;
}    



.whatsapp-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  z-index: 999;
}

/* Ascuns implicit pe desktop */
.whatsapp-bubble {
  display: none;
}

/* Animatie initiala pentru mobil */
.hidden-on-load {
  opacity: 0;
  transform: translateY(10px);
  animation: appearMobile 0.6s ease-out forwards;
}

@keyframes appearMobile {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.whatsapp-button {
  background-color: #25D366;
  color: white;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 230px;
  box-sizing: border-box;
  justify-content: flex-start;
  transition: all 0.3s ease;
}

.whatsapp-icon {
  fill: white;
  flex-shrink: 0;
  transition: fill 0.3s ease;
}

#whatsapp-text {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 20px;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1ebe5b;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.whatsapp-button:hover .whatsapp-icon {
  fill: #e0ffe0;
}

.text-animate.fly-up {
  animation: flyUp 0.8s forwards;
}
.text-animate.fly-in {
  animation: flyIn 0.8s forwards;
}

@keyframes flyUp {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}
@keyframes flyIn {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Doar pe mobil: afiseaza bula cu animatie si schimba stilul butonului */
@media (max-width: 600px) {
  .whatsapp-bubble {
    display: block;
    background-color: #25D366;
    color: white;
    font-family: 'Segoe UI', Tahoma, sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    position: relative;
    animation: bubbleFloat 3s infinite ease-in-out;
  }

  .whatsapp-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 20px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #25D366;
  }

  .whatsapp-button {
    width: 56px !important;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    gap: 0;
  }

  #whatsapp-text {
    display: none !important;
  }
}

@keyframes bubbleFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}