/* Спиннер загрузки формы */
.form-preloader-orange {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 999;
    border-radius: 16px;
}

.form-preloader-orange.hidden {
    display: none;
}

/* Анимация спиннера */
.dot-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.dot-spinner .dot {
    width: 12px;
    height: 12px;
    background-color: #EE6129;
    border-radius: 50%;
    animation: dot-pulse 1.4s ease-in-out infinite;
}

.dot-spinner .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot-spinner .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    40% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Стили для ошибок валидации */
.error-msg {
    display: block;
    color: red;
    font-size: 14px;
    margin-top: 5px;
}

.error-msg.hide {
    display: none;
}

/* Дополнительные стили для совместимости */
.leadform input[type="text"],
.leadform input[type="email"],
.leadform input[type="tel"] {
    width: 100%;
    padding: 15px 17px 14px 17px;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 5px;
    font-size: 16px;
    color: #010E12;
}

/* Removed - placeholder color is now controlled by form-white-text.css and inline styles */

.leadform input:focus {
    outline: none;
    border-color: #EE6129;
}
