/* Стили для валидации формы */
.form-label.error input.form-input,
.form-label.error textarea.form-input {
    border-color: #ff0000 !important;
}

.form-label {
    position: relative;
    margin-bottom: 20px;
}

.form-label.error {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.form-error {
    display: none;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    font-weight: 400;
    line-height: 1.4;
    position: relative;
    width: 100%;
}

.form-label.error .form-error {
    display: block !important;
    margin-bottom: 15px;
}

.form-check.error {
    border: 1px solid #ff0000;
    padding: 10px;
    border-radius: 4px;
}

/* Сообщение об успешной отправке */
.form-success-message {
    color: #4caf50;
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    padding: 10px;
    text-align: center;
}

/* Toast уведомление */
.feedback-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 90%;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.feedback-toast--show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.feedback-toast--success {
    background: #4caf50;
    color: #fff;
}

.feedback-toast--error {
    background: #f44336;
    color: #fff;
}

/* Стили для заблокированной кнопки */
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed !important;
    pointer-events: none;
}

/* Кнопка с сообщением об успехе - на всю ширину */
.btn--success {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
    padding: 15px 20px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
}

.btn--success span {
    display: block;
    width: 100%;
    text-align: center;
}


