#card-background {
	align-items: center;
	justify-content: center;
}

#login_div{
    min-width: 50%;
    height: auto;
}

#login_div .form-group {
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: -5% !important;
}
#login_div .password{
    width: 88%;
    margin-right: 0rem;
}
#login_div .input-group-append button {
    width: 11%;
}

@media screen and (max-width: 350px){
    #login_div{
        font-size: 3vh !important;
    }
    #login_div .password{
        width: 100%;
        margin-bottom: 0em !important;
    }
    #togglePassword{
        margin-bottom: .5em;
    }
}
#div_password{
    margin-top: 0%;
}
#login_div .email{
    flex: 0 0 70%;
    max-width: 70%;
}
#login_div .text-center .email{ /* recupero_pw */
    flex: 0 0 100%;
    max-width: 100%;
}
#login_div .login{
    flex: 0 0 20%;
    max-width: 20%;
}
#card-background .juice_login{
    position: fixed;
    z-index: 10;
    bottom: 5%;
    right: 5%;
    height: auto;
    max-height: 30dvh;
    width: auto;
    max-width: 300px;
    pointer-events: none;
}

@media screen and (min-width: 1400){
    #card-background .juice_login{
        width: 300px;
    }
}

@media screen and (max-width: 767px){
    #login_div {
        width: 100%;
    }
    #login_div .email{
        max-width: 100% !important;
    }
    #login_div .login{
        width: 100%;
        max-width: 100% !important;
    }
    #card-background{
        opacity: 0.98;
    }
    #card-background .juice_login{
        position: fixed !important;
        bottom: 0%;
        height: 25dvh !important;
        width: auto !important;
        max-width: 100% !important;
        max-height: 100% !important;
    }
}

@media screen and (max-width: 767px) and (orientation: landscape){
    #card-background .juice_login{
        right: 5%;
    }
}

/* Link di registrazione e recupero password */
.text-center {
    margin: 0 0.5rem;
    text-decoration: none;
}
.text-center b {
    color: var(--char_col);
    font-weight: bold;
}

.text-center a {
    margin: 0 0.5rem;
    font-weight: bold;
    color: var(--orange);
}
.text-center a:hover {
    text-decoration: underline;
    color: var(--orange_hover);
}
@media screen and (max-width: 400px){
    .text-center{
        font-size: 3.5vw;
    }
}

#procedi{
	margin-bottom: 1rem !important;
}

/**
 * ==============================================
 * Dot Pulse
 * ==============================================
 */
.dot-pulse {
    position: relative;
    left: -9999px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--char_col);
    color: var(--char_col);
    box-shadow: 9999px 0 0 -5px;
    animation: dot-pulse 1.5s infinite linear;
    animation-delay: 0.25s;
}
.dot-pulse::before, .dot-pulse::after {
    content: "";
    display: inline;
    position: absolute;
    top: 0;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: var(--char_col);
    color: var(--char_col);
}
.dot-pulse::before {
    box-shadow: 9984px 0 0 -5px;
    animation: dot-pulse-before 1.5s infinite linear;
    animation-delay: 0s;
}
.dot-pulse::after {
    box-shadow: 10014px 0 0 -5px;
    animation: dot-pulse-after 1.5s infinite linear;
    animation-delay: 0.5s;
}

@keyframes dot-pulse-before {
    0% {
        box-shadow: 9984px 0 0 -5px;
    }
    30% {
        box-shadow: 9984px 0 0 2px;
    }
    60%, 100% {
        box-shadow: 9984px 0 0 -5px;
    }
}
@keyframes dot-pulse {
    0% {
        box-shadow: 9999px 0 0 -5px;
    }
    30% {
        box-shadow: 9999px 0 0 2px;
    }
    60%, 100% {
        box-shadow: 9999px 0 0 -5px;
    }
}
@keyframes dot-pulse-after {
    0% {
        box-shadow: 10014px 0 0 -5px;
    }
    30% {
        box-shadow: 10014px 0 0 2px;
    }
    60%, 100% {
        box-shadow: 10014px 0 0 -5px;
    }
}