  .tooltipdesc {
  position: relative;
}

.tooltip-text {
  visibility: hidden;
  background-color: black;
  color: white;
  text-align: center;
  border-radius: 4px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.tooltip-text2:hover ~ .tooltip-text {
  visibility: visible;
  cursor:default;
}

.tooltip-text2 {
  
  cursor:default;
}

.tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}
.flag-icon {
  height: 1.4em; 
  width: auto; 
  vertical-align: middle; 
margin-left: 10px;
padding-bottom: 2px;;

}

.personal-feature {
    position: relative;
}

.personal-feature.highlight {
    color: #ffc107 !important;
    font-weight: bold;
}

.tooltip-box {
    position: absolute;
    bottom: -2.3rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ffc107;
    color: #000;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.2);
    display: none;

    /* flex para alinear texto y cruz */
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-box::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffc107;
}

.tooltip-box .close-tooltip {
    cursor: pointer;
    font-weight: bold;
    color: #000;
    font-size: 1.25rem;
    line-height: 1;
}

.perColo{
  color:rgb(9 44 116) !important;border:  1px solid rgb(9 44 116) !important;
}
.perColo:hover{


color:#ffffff !important;
background-color: rgb(9 44 116) !important;

}


#refBanner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #4a90e2, #007bff);
    color: white;
    padding: 8px 20px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    margin: 20px auto;
    width: 80%;
    max-width: 650px;
    font-size: 16px;
    animation: fadeInDown 0.6s ease-out;
}

#btnInvitar, #btnCerrarBanner {
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
}

#btnInvitar {
    padding: 2px 10px;
    background: white;
    color: #007bff;
    transition: 0.3s;
    margin-left:25px ;
}

#btnInvitar:hover {
    background: #f0f0f0;
}

#btnCerrarBanner {
    background: transparent;
    color: white;
    font-size: 18px;
    padding: 4px 10px;
    margin-left: 15px;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}



#refPopup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.35); /* sin blur */
    display: none;
    z-index: 9999;
     animation: fadeIn 0.4s ease-out;
}


.popup-content {
    background: white;
    max-width: 360px;
    width: 90%;
    margin: 120px auto;
    padding: 22px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.22);
    animation: zoomIn 0.25s ease-out;
}


.popup-content p {
    color: #666;
    font-size: 15px;
    margin-bottom: 20px;
}

#refLink {
    width: 100%;
    padding: 10px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    text-align: center;
    background: #f9f9f9;
}



#btnWhatsapp {
    display: block;
    background: #25d366;
    color: white !important;
    padding: 11px 0;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
}
#btnWhatsapp:hover {
    background: #1eb255;
}

#btnCerrarPopup {
    border: none;
    background: #ddd;
    color: #333;
    padding: 10px 0;
    width: 100%;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

#btnCerrarPopup:hover {
    background: #c8c8c8;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    .popup-content {
        margin: 40px auto;
        padding: 25px;
    }
}
#btnInvitar .wicon {
    width: 35px;
    height: auto;
    margin-right: 0px;
    vertical-align: middle;
    color: #007bff;
}


.popup-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
    font-weight: 700;
    color: #333;
}


#btnCopiar {
    width: 100%;
    padding: 10px 0;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 10px;
    margin-bottom: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

#btnCopiar:hover {
    background: #005fcc;
}



/* Animación */
@keyframes zoomIn {
    from { transform: scale(0.88); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.ref-aviso {
    position: fixed;
    left: 50%;
    top: calc(50% ); /* Ajusta esta distancia si el popup es más alto o más bajo */
    transform: translateX(-50%) translateY(10px);
    background: #007bff;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 999999;
}

.ref-aviso.mostrar {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}