/* Form Validation Styles */

/* Error message container */
.field-error {
    display: none;
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(255, 107, 107, 0.1);
    border-left: 3px solid #ff6b6b;
    border-radius: 4px;
    animation: slideDown 0.3s ease;
}

.field-error.show {
    display: block;
}

.field-error-text {
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.1px;
}

/* Input error state */
.exchange__block-input.error {
    border: 1px solid #ff6b6b !important;
    background: rgba(255, 107, 107, 0.05) !important;
}

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Success state */
.exchange__block-input.success {
    border: 1px solid #43e97b !important;
}

/* Disabled button state */
.exchange__block-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form error message */
.form-error-message {
    display: none;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(255, 107, 107, 0.15);
    border: 1px solid rgba(255, 107, 107, 0.4);
    border-left: 4px solid #ff6b6b;
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 14px;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

.form-error-message strong {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
