/* Прелоадер для кнопки отправки формы */
.btn-submit {
    position: relative;
    transition: all 0.3s ease;
}

.btn-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit .loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-submit.loading .loader {
    display: block;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Анимация для текста кнопки */
.btn-text {
    transition: opacity 0.3s ease;
}

/* Стили для alert-success в стиле кнопки отправки */
.alert.alert-success,
.alert-success,
#alert3.alert-success,
.success-send.alert-success {
    background-color: #CB7350 !important;
    background-image: none !important;
    border: none !important;
    border-color: transparent !important;
    color: #fff !important;
    padding: 15px 20px !important;
    border-radius: 0 !important;
    font-family: Aeroport, sans-serif !important;
    font-weight: 300 !important;
    font-size: 16px !important;
    line-height: 140% !important;
    text-align: center !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
}

.alert.alert-success:hover,
.alert-success:hover,
#alert3.alert-success:hover,
.success-send.alert-success:hover {
    background-color: #c98a71 !important;
    background-image: none !important;
    transition: background-color 0.35s ease;
} 