.leadform, .leadform * {
    box-sizing: border-box;
}
.leadform {
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1;
}
.leadform > div {
    margin: 10px 0;
    position: relative;
}
.iti {
    width: 100%;
    font-size: 18px;
}
.leadform input {
    width: 100%;
    font-size: 18px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    line-height: 1;
    transition: .2s all;
}
.leadform .error {
    background: #fff1f1;
    border: 1px solid #cd5757;
}
.leadform button[type=submit] {
    width: 100%;
    border: none;
    padding: 20px 20px;
    border-radius: 10px;
    background: #1a7cc3;
    color: #fff;
    text-align: center;
    font-size: 22px;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 600;
    transition: .5s all;
}
.leadform button[type=submit]:not([disabled]):hover {
    background: #3196df;
}
.leadform button[type=submit]:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* Стили тултипа */
.error-msg {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ff4444;
    color: white!important;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-top: 5px;
}

/* Треугольник сверху */
.error-msg::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 15px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid #ff4444;
}
.hide {
    display: none;
}
.err {
    position: relative;
}
.err:after {
    display: block;
    content: ' \2297';
    position: absolute;
    right: 10px;top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    line-height: 1;
    color: red;
    width: auto;
    height: auto;
    z-index: 99;
}
/* Loader */
.loader {
    margin: auto;
    width: 30px;
    padding: 4px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #fff;
    --_m:
            conic-gradient(#0000 10%,#000),
            linear-gradient(#000 0 0, #eee) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}