/* ---------------------------- Estilos popup alertas ----------------------------------- */

:root {
    --colorp1: #003653;
    --colorp2: #042f46;
    --colorp3: #1c9e9a;
    --colorp4: #29cca3;
    --colorp5: #FFFFFF;
    --colorp6: #797979;
    --colorp7: #D4D4D4;
    --colorp8: #ACB9BF;
}

.popup {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    /* background: rgba(0, 0, 0, .8); */
    z-index: 9999;
}

.popup:before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(10);
    background: rgb(25 73 101 / 80%);
    top: 50%;
    left: 50%;
    animation: animatepopupbefore .5s linear;
}

@keyframes animatepopupbefore {
    0% {
        width: 300px;
        height: 300px;
        border-radius: 50%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        transform: translate(-50%, -50%) scale(10);
    }
}

.popup-posicion {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* width: 100%;
    padding: 0px 10px; */
}

.popup-icon-listo {
    width: 40px;
    height: 20px;
    border-bottom: 7px solid var(--colorp5);
    border-left: 7px solid var(--colorp5);
    transform: rotate(-45deg);
}

.popup-icon-error:before {
    content: '';
    position: absolute;
    width: 7px;
    height: 40px;
    top: 50%;
    left: 50%;
    background: var(--colorp5);
    transform: translate(-50%, -50%);
}

.container-error {
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.container-error:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(15);
    background: linear-gradient(45deg, var(--colorp8), #D81E4B);
    border-radius: 50%;
    animation: animatecontainererror .3s linear;
}

@keyframes animatecontainererror {
    0% {
        transform: translate(-50%, -50%) scale(0);
    }

    100% {
        transform: translate(-50%, -50%) scale(15);
    }
}

@keyframes animatepopupcontainer {
    0% {
        transform: translateY(0px)
    }

    50% {
        transform: translateY(100px);
    }

    100% {
        transform: translateY(0px);
    }
}

.link-add-form {
    color: var(--colorp6);
    overflow: hidden;
    position: relative;
}

.link-add-form:hover {
    text-decoration: none;
    color: var(--colorp6);
}

/* .link-add-form:before{
  background: var(--colorp6);
  bottom: -1px;
  content: '';
  height: 1px;
  left: -100%;
  position: absolute;
  transition: .3s;
  width: 100%;
}
.link-add-form:hover:before{
  left: 0;
} */
.c-popup-icon-error,
.c-popup-icon-listo,
.c-popup-icon-warning {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: animatepopupicon .5s ease-in;
}

@keyframes animatepopupicon {
    0% {
        transform: scale(3);
    }

    100% {
        transform: scale(1);
    }
}

.c-popup-icon-error:after,
.c-popup-icon-listo:after,
.c-popup-icon-warning:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    bottom: 10px;
    right: 10px;
    border-radius: 50%;
    z-index: 2;
}

.c-popup-icon-listo:after {
    background: var(--colorp3);
}

.c-popup-icon-error:after {
    background: #de3152;
}

.c-popup-icon-warning:after {
    background: #d39757;
}

.c-popup-icon-warning i {
    z-index: 3;
    font-size: 32px;
}

.popup-icon-listo,
.popup-icon-error {
    position: relative;
    z-index: 3;
}

.popup-icon-error {
    width: 40px;
    height: 7px;
    background: var(--colorp5);
    position: relative;
    transform: rotate(45deg);
}

.text-alert {
    font-size: 18px;
}

@media (max-width: 480px) {
    .popup:before {
        width: 50px;
        height: 50px;
        transform: translate(-50%, -50%) scale(20);
    }

    @keyframes animatepopupbefore {
        0% {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%) scale(0);
        }

        100% {
            transform: translate(-50%, -50%) scale(20);
        }
    }
}