.callback-form {
    display: grid;
    gap: 1rem;
    color: var(--jet-black);
    font-size: 1rem;
    line-height: 1.5;
}

.callback-form.callback-form--panel {
    color: var(--the-white);
}

.callback-form .callback-form__field {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.callback-form label {
    font-size: 1rem;
}

.callback-form input:not([type="hidden"]):not([type="checkbox"]) {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    border: 1px solid currentColor;
    border-radius: 0;
    padding: 0.65rem 0.75rem;
    color: inherit;
    background: transparent;
    font: inherit;
}

.callback-form input::placeholder {
    color: inherit;
    opacity: 0.75;
}

.callback-form .callback-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.callback-form input[type="checkbox"] {
    appearance: auto;
    accent-color: currentColor;
    flex: 0 0 1.25rem;
    width: 1.25rem;
    height: 1.25rem;
    margin: 0.1rem 0 0;
}

.callback-form input[type="checkbox"]::after {
    content: none;
}

.callback-form :is(input, button, a):focus-visible,
.callback-form .callback-form__status:focus {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.callback-form .callback-form__error,
.callback-form .callback-form__notice,
.callback-form .callback-form__status,
.callback-form .callback-form__privacy {
    margin: 0;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.5;
}

.callback-form .callback-form__error {
    font-weight: 600;
}

.callback-form [aria-invalid="true"] {
    border-width: 2px !important;
}

.callback-form .callback-form__status,
.callback-form .callback-form__notice {
    border-inline-start: 3px solid currentColor;
    padding-inline-start: 0.75rem;
}

.callback-form .callback-form__status p {
    margin: 0;
    font-size: inherit;
}

.callback-form a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.callback-form .primary-btn {
    min-height: 44px;
    justify-content: center;
}

.callback-form .primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.callback-form .callback-form__trap,
.callback-form [hidden] {
    display: none !important;
}

.callback-form .callback-form__privacy.hover-underline {
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    .callback-form .callback-form__privacy {
        transition: none;
    }
}
