.dealers {
    margin-top: 32px;
}

.dealers__form {
    display: flex;
    flex-direction: column;
    width: 50%;
    row-gap: 16px;
}

.dealers__label sup {
    color: red;
    font-weight: bold;
    font-size: 12px;
}

.dealers__label {
    display: block;
    margin-bottom: 5px;
}

.dealers__btn.button {
    width: max-content;
}

@media (max-width: 767px) {
    .dealers__form {
        row-gap: 12px;
        width: 100%;
    }
}

.loader {
    margin: 0 auto;
    width: 33px;
    height: 33px;
    border-radius: 50%;
    display: none;
    position: relative;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}
.loader::after,
.loader::before {
    content: '';
    box-sizing: border-box;
    position: absolute;
    left: 0;
    top: 0;
    background: #893ca9;
    width: 10px;
    height: 10px;
    transform: translate(-50%, 50%);
    border-radius: 50%;
}
.loader::before {
    left: auto;
    right: 0;
    background: #0065bb;
    transform: translate(50%, 100%);
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.success-form-block {
    margin-top: 12px;
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #4fad00;
    width: max-content;
    opacity: 1;
    min-height: 20px;
    z-index: 15;
    transition: opacity 1s ease, transform .3s ease-in-out;
}

.success-form-block--hidden {
    opacity: 0;
    transition: opacity 1s ease, transform .3s ease-in-out;
}

.dealers__btn-container {
    display: block;
    width: 88px;
    height: 33px;
}

.success-content {
    display: block;
    width: 100%;
    height: 100%;
}

input[type="tel"]:focus {
    outline: none;
}
