button[type="submit"].loading {
    position: relative;
    color: transparent;
}

button.loading::before {
    content: '';
    display: block;
    width: 30px;
    aspect-ratio: 1;
    border: 2px solid transparent;
    border-top: 1px solid white;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 0.8s infinite linear;
}

@keyframes rotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.white-popup form p.name:has(input:valid) label {
    position: absolute;
    color: dimgray;
    font-size: 12px;
    left: 30px;
    top: 0;
    transform: translateY(0);
    transition: all .4s ease;
    font-family: "RobR";
}
