.contact-form-alert {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 3px;
    margin: 0 0 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--border-radius-xs);
    background: rgba(13, 15, 21, 0.82);
    color: var(--primary-text);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: contactAlertIn 220ms ease both;
}

.contact-form-alert[hidden] {
    display: none;
}

.contact-form-alert--success {
    border-color: rgba(87, 227, 137, 0.34);
    background:
        linear-gradient(180deg, rgba(87, 227, 137, 0.085), rgba(87, 227, 137, 0.035)),
        rgba(13, 15, 21, 0.86);
    color: #d9fbe6;
}

.contact-form-alert--error {
    border-color: rgba(224, 104, 104, 0.34);
    background:
        linear-gradient(180deg, rgba(224, 104, 104, 0.095), rgba(224, 104, 104, 0.04)),
        rgba(13, 15, 21, 0.88);
    color: #e06868;
}

.contact-form-alert--info {
    border-color: rgba(255, 107, 0, 0.38);
    background:
        linear-gradient(180deg, rgba(255, 107, 0, 0.095), rgba(255, 107, 0, 0.035)),
        rgba(13, 15, 21, 0.86);
    color: #ffd8bd;
}

.contact-form-alert__icon {
    width: 16px;
    height: 16px;
    margin-top: 0;
    background: var(--brand-orange);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 14 14%22%3E%3Cpath fill=%22black%22 fill-rule=%22evenodd%22 d=%22M7 0c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7zm1 8V3H6v5h2zm0 3V9H6v2h2z%22 clip-rule=%22evenodd%22/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 14 14%22%3E%3Cpath fill=%22black%22 fill-rule=%22evenodd%22 d=%22M7 0c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7zm1 8V3H6v5h2zm0 3V9H6v2h2z%22 clip-rule=%22evenodd%22/%3E%3C/svg%3E") center / contain no-repeat;
}

.contact-form-alert--success .contact-form-alert__icon {
    background: #57e389;
}

.contact-form-alert--error .contact-form-alert__icon {
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 14 14%22%3E%3Cpath fill=%22%23e06868%22 fill-rule=%22evenodd%22 d=%22M7 0c3.9 0 7 3.1 7 7s-3.1 7-7 7-7-3.1-7-7 3.1-7 7-7zm1 8V3H6v5h2zm0 3V9H6v2h2z%22 clip-rule=%22evenodd%22/%3E%3C/svg%3E") center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}

.contact-form-alert--info .contact-form-alert__icon {
    background: var(--brand-orange);
}

.contact__form__element .form-group.is-invalid input,
.contact__form__element .form-group.is-invalid textarea,
.contact__form__element .form-group.is-invalid select,
.contact__form__element .form-group.is-invalid .contact-custom-select__button {
    border-color: #DD3250;
    box-shadow: 0 0 0 3px rgba(255, 99, 99, 0.14);
}

.contact__form-checkbox.is-invalid {
    color: #DD3250;
}

.contact__form-checkbox.is-invalid input[type="checkbox"] {
    outline: 2px solid #DD3250;
    outline-offset: 2px;
    accent-color: #DD3250;
}

.contact__form-checkbox.is-invalid .form-check-label {
    color: #ffb8c4;
}

.contact__form__element .form-error {
    min-height: 16px;
    color: #DD3250;
    font-size: 12px;
    line-height: 1.35;
}

.contact-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.contact__form__submit:disabled {
    cursor: not-allowed;
    opacity: 0.72;
    transform: none;
}

.contact__form__submit.is-loading {
    position: relative;
}

.contact__form__submit.is-loading img {
    opacity: 0;
}

.contact__form__submit.is-loading::before {
    content: "";
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: contactButtonSpin 720ms linear infinite;
}

@keyframes contactAlertIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes contactButtonSpin {
    to {
        transform: rotate(360deg);
    }
}
