/* Crystal Cleaning V101 - asynchronous contact form */
.contact-submit-v101 {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    transition: opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}

.contact-submit-v101:disabled {
    cursor: wait;
    opacity: .82;
}

.contact-submit-v101__spinner {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255,255,255,.48);
    border-top-color: #fff;
    border-radius: 50%;
    display: none;
    animation: contactSpinV101 .72s linear infinite;
}

.contact-form.is-sending .contact-submit-v101__spinner {
    display: inline-block;
}

.contact-status-v101 {
    margin-top: 12px;
    min-height: 62px;
    padding: 13px 15px;
    border: 1px solid transparent;
    border-radius: 14px;
    display: grid;
    grid-template-columns: 34px minmax(0,1fr);
    gap: 11px;
    align-items: center;
    box-sizing: border-box;
    animation: contactStatusInV101 .2s ease both;
}

.contact-status-v101[hidden] {
    display: none !important;
}

.contact-status-v101__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 18px;
    font-weight: 900;
}

.contact-status-v101__icon::before {
    content: '!';
}

.contact-status-v101__copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-status-v101__copy strong {
    font-size: 13px;
    line-height: 1.25;
    color: #172018;
}

.contact-status-v101__copy small {
    font-size: 12px;
    line-height: 1.45;
    color: #5f6b64;
}

.contact-status-v101.is-success {
    background: #f2f9e8;
    border-color: #d7e9bd;
}

.contact-status-v101.is-success .contact-status-v101__icon {
    color: #fff;
    background: #72b61c;
}

.contact-status-v101.is-success .contact-status-v101__icon::before {
    content: '✓';
}

.contact-status-v101.is-error {
    background: #fff5f4;
    border-color: #f1cfcb;
}

.contact-status-v101.is-error .contact-status-v101__icon {
    color: #fff;
    background: #b84036;
}

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

@keyframes contactStatusInV101 {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .contact-submit-v101,
    .contact-status-v101,
    .contact-submit-v101__spinner {
        transition: none !important;
        animation: none !important;
    }
}
