.atm-form {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    font-family: inherit;
}

.atm-form__row {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.atm-form .screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.atm-form input[type=text],
.atm-form input[type=email],
.atm-form input[type=tel],
.atm-form select,
.atm-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    font-size: 1rem;
    font-family: inherit;
    background: #fff;
    color: #1a1a1a;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.atm-form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'><path fill='%231a1a1a' d='M7 8L0 0h14z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.atm-form input::placeholder,
.atm-form textarea::placeholder {
    color: #b5b5b5;
    opacity: 1;
}

.atm-form input:focus,
.atm-form select:focus,
.atm-form textarea:focus {
    outline: 2px solid #a30056;
    outline-offset: 1px;
    border-color: #a30056;
}

.atm-form textarea {
    resize: vertical;
    min-height: 160px;
}

.atm-form__submit {
    width: 100%;
    padding: 1rem 1.4rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border: 0;
    border-radius: 0;
    background: #a30056;
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease;
}

.atm-form__submit:hover:not(:disabled) {
    background: #7c0041;
}

.atm-form__submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.atm-form__hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.atm-form__status {
    margin: 0;
    min-height: 1.25rem;
    font-size: 0.95rem;
}

.atm-form__status.is-success { color: #1a7f37; }
.atm-form__status.is-error   { color: #b00020; }
.atm-form__status.is-sending { color: #555; }

.atm-form__altcha altcha-widget {
    --altcha-max-width: 100%;
}
