﻿/* =========================
   Globo de ayuda
   - Oculto por defecto
   - Visible mediante JS cuando el destino no esta visible
   ========================= */

#globoAyuda {
    position: fixed;
    bottom: 40px;
    right: calc((100vw - 620px) / 2 - 80px);
    width: 120px;
    height: 80px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background-color: transparent;
    background: url("../../account/portal2/images/chat2.png") no-repeat center / 100% auto;
    display: none;
    align-items: center;
    justify-content: center;
    --scale: 1;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
    transition: transform .25s ease;
    animation: flotar 4s ease-in-out infinite;
    z-index: 9999999;
}


#globoAyuda.is-hidden {
    display: none !important;
}

#globoAyuda:hover {
    --scale: 1.08;
}


#globoAyuda > span {
    margin-top: -7px;
    margin-left: 7px;
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-align: center;
    pointer-events: none;
}

@keyframes flotar {
    0%,100% {
        transform: translate3d(0, 0, 0) scale(var(--scale));
    }

    50% {
        transform: translate3d(0,-6px,0) scale(var(--scale));
    }
}

@media (max-width: 700px) {
    #globoAyuda {
        bottom: 20px;
    }
}

.portal2-budget-acceptance {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    vertical-align: middle;
}

.portal2-budget-acceptance__text {
    font-size: 14px;
    color: #0078be;
    font-weight: 700;
    line-height: 32px;
    white-space: nowrap;
}

.portal2-budget-acceptance__switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    transform: scale(0.8);
    transform-origin: left center;
}

.portal2-budget-acceptance__switch .switch {
    margin: 0;
}






