/* ### Support ### */

form {
    position: relative;
}

.formoverlay {
    position: absolute;
    top: 0;
    bottom: 0;
}

.formoverlay.active {
    margin: -5px;
    left: 0;
    right: 0;
    display: flex;
    user-select: none;
}

.formoverlay.active .background {
    width: 100%;
    height: 100%;
    background: var(--main-color);
    opacity: 0.5;
}

.formoverlay .loader {
    width: 48px;
    height: 48px;
    top: 40%;
    left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    z-index: 1;
}

.formoverlay.active .loader {
    display: inline-block;
    border-top: 3px solid var(--border-color);
    border-right: 3px solid transparent;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@media (prefers-color-scheme: dark) {
    .formoverlay.active .loader {
        border-top: 3px solid var(--fc);
    }
}

@keyframes rotation {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.alertWrapper {
    display: none;
}

.alertWrapper.active {
    display: flex;
}

.suppForm .card {
    background-color: var(--main-color);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    padding: 2rem;
    width: 100%;
    max-width: 600px;
    border-radius: 1rem;
}

/* .suppForm .card * {
    width: 100%;
} */

.suppForm .card label {
    font-weight: 300;
}

.suppForm .card input,
.suppForm .card textarea {
    padding: 1rem;
    border: 1px solid var(--input-border-color);
    border-radius: 0.5rem;
    width: 100%;
    background: var(--input-color);
}

.suppForm .card button {
    max-width: 50%;
}

.suppForm .card textarea {
    height: 300px;
    resize: none;
}

.g-recaptcha {
    min-width: 100%;
    min-height: 78px;
}

.g-recaptcha div {
    margin-inline: auto;
}

.supportWarnings {
    display: flex;
    justify-content: center;
}

.supportWarnings p {
    text-align: center;
}